diff --git a/generated_cpp.5.10 b/generated_cpp.5.10 new file mode 120000 index 000000000..f9913a19c --- /dev/null +++ b/generated_cpp.5.10 @@ -0,0 +1 @@ +generated_cpp_5.10 \ No newline at end of file diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui11.h b/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui11.h deleted file mode 100644 index c1d8621ef..000000000 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui11.h +++ /dev/null @@ -1,2019 +0,0 @@ -#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 PythonQtWrapper_QTextInlineObject : public QObject -{ Q_OBJECT -public: -public Q_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; - bool __nonzero__(QTextInlineObject* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtShell_QTextItem : public QTextItem -{ -public: - PythonQtShell_QTextItem():QTextItem(),_wrapper(nullptr) {}; - - ~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 Q_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_QTextLayout : public QObject -{ Q_OBJECT -public: -Q_ENUMS(CursorMode ) -enum CursorMode{ - SkipCharacters = QTextLayout::SkipCharacters, SkipWords = QTextLayout::SkipWords}; -public Q_SLOTS: -QTextLayout* new_QTextLayout(); -QTextLayout* new_QTextLayout(const QString& text); -QTextLayout* new_QTextLayout(const QString& text, const QFont& font, QPaintDevice* paintdevice = nullptr); -QTextLayout* new_QTextLayout(const QTextBlock& b); -void delete_QTextLayout(QTextLayout* obj) { delete obj; } - QList additionalFormats(QTextLayout* theWrappedObject) const; - void beginLayout(QTextLayout* theWrappedObject); - QRectF boundingRect(QTextLayout* theWrappedObject) const; - bool cacheEnabled(QTextLayout* theWrappedObject) const; - void clearAdditionalFormats(QTextLayout* theWrappedObject); - void clearFormats(QTextLayout* theWrappedObject); - void clearLayout(QTextLayout* theWrappedObject); - QTextLine createLine(QTextLayout* theWrappedObject); - Qt::CursorMoveStyle cursorMoveStyle(QTextLayout* theWrappedObject) const; - void draw(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, const QVector& selections = QVector(), const QRectF& clip = QRectF()) const; - void drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition) const; - void drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition, int width) const; - void endLayout(QTextLayout* theWrappedObject); - QFont font(QTextLayout* theWrappedObject) const; - QVector formats(QTextLayout* theWrappedObject) const; - QList glyphRuns(QTextLayout* theWrappedObject, int from = -1, int length = -1) const; - bool isValidCursorPosition(QTextLayout* theWrappedObject, int pos) const; - int leftCursorPosition(QTextLayout* theWrappedObject, int oldPos) const; - QTextLine lineAt(QTextLayout* theWrappedObject, int i) const; - int lineCount(QTextLayout* theWrappedObject) const; - QTextLine lineForTextPosition(QTextLayout* theWrappedObject, int pos) const; - qreal maximumWidth(QTextLayout* theWrappedObject) const; - qreal minimumWidth(QTextLayout* theWrappedObject) const; - int nextCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode = QTextLayout::SkipCharacters) const; - QPointF position(QTextLayout* theWrappedObject) const; - int preeditAreaPosition(QTextLayout* theWrappedObject) const; - QString preeditAreaText(QTextLayout* theWrappedObject) const; - int previousCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode = QTextLayout::SkipCharacters) const; - int rightCursorPosition(QTextLayout* theWrappedObject, int oldPos) const; - void setAdditionalFormats(QTextLayout* theWrappedObject, const QList& overrides); - void setCacheEnabled(QTextLayout* theWrappedObject, bool enable); - void setCursorMoveStyle(QTextLayout* theWrappedObject, Qt::CursorMoveStyle style); - void setFlags(QTextLayout* theWrappedObject, int flags); - void setFont(QTextLayout* theWrappedObject, const QFont& f); - void setFormats(QTextLayout* theWrappedObject, const QVector& overrides); - void setPosition(QTextLayout* theWrappedObject, const QPointF& p); - void setPreeditArea(QTextLayout* theWrappedObject, int position, const QString& text); - void setRawFont(QTextLayout* theWrappedObject, const QRawFont& rawFont); - void setText(QTextLayout* theWrappedObject, const QString& string); - void setTextOption(QTextLayout* theWrappedObject, const QTextOption& option); - QString text(QTextLayout* theWrappedObject) const; - const QTextOption* textOption(QTextLayout* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QTextLayout__FormatRange : public QTextLayout::FormatRange -{ -public: - PythonQtShell_QTextLayout__FormatRange():QTextLayout::FormatRange(),_wrapper(nullptr) {}; - - ~PythonQtShell_QTextLayout__FormatRange(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextLayout__FormatRange : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QTextLayout::FormatRange* new_QTextLayout__FormatRange(); -QTextLayout::FormatRange* new_QTextLayout__FormatRange(const QTextLayout::FormatRange& other) { -PythonQtShell_QTextLayout__FormatRange* a = new PythonQtShell_QTextLayout__FormatRange(); -*((QTextLayout::FormatRange*)a) = other; -return a; } -void delete_QTextLayout__FormatRange(QTextLayout::FormatRange* obj) { delete obj; } -void py_set_format(QTextLayout::FormatRange* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } -QTextCharFormat py_get_format(QTextLayout::FormatRange* theWrappedObject){ return theWrappedObject->format; } -void py_set_length(QTextLayout::FormatRange* theWrappedObject, int length){ theWrappedObject->length = length; } -int py_get_length(QTextLayout::FormatRange* theWrappedObject){ return theWrappedObject->length; } -void py_set_start(QTextLayout::FormatRange* theWrappedObject, int start){ theWrappedObject->start = start; } -int py_get_start(QTextLayout::FormatRange* theWrappedObject){ return theWrappedObject->start; } -}; - - - - - -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 Q_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 = nullptr) const; - QList glyphRuns(QTextLine* theWrappedObject, int from = -1, int length = -1) 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; - bool __nonzero__(QTextLine* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtShell_QTextList : public QTextList -{ -public: - PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(nullptr) {}; - - ~PythonQtShell_QTextList() override; - -void blockFormatChanged(const QTextBlock& block) override; -void blockInserted(const QTextBlock& block) override; -void blockRemoved(const QTextBlock& block) override; -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextList : public QObject -{ Q_OBJECT -public: -public Q_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); - bool __nonzero__(QTextList* obj) { return !obj->isEmpty(); } -}; - - - - - -class PythonQtShell_QTextListFormat : public QTextListFormat -{ -public: - PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(nullptr) {}; - PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(nullptr) {}; - - ~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 Q_SLOTS: -QTextListFormat* new_QTextListFormat(); -QTextListFormat* new_QTextListFormat(const QTextFormat& fmt); -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; - bool __nonzero__(QTextListFormat* obj) { return !obj->isEmpty(); } -}; - - - - - -class PythonQtShell_QTextObject : public QTextObject -{ -public: - PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(nullptr) {}; - - ~PythonQtShell_QTextObject() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTextObject : public QTextObject -{ public: -inline void promoted_setFormat(const QTextFormat& format) { this->setFormat(format); } -}; - -class PythonQtWrapper_QTextObject : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QTextObject* new_QTextObject(QTextDocument* doc); - QTextDocument* document(QTextObject* theWrappedObject) const; - QTextFormat format(QTextObject* theWrappedObject) const; - int formatIndex(QTextObject* theWrappedObject) const; - int objectIndex(QTextObject* theWrappedObject) const; - void setFormat(QTextObject* theWrappedObject, const QTextFormat& format); -}; - - - - - -class PythonQtWrapper_QTextOption : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Flag TabType WrapMode ) -Q_FLAGS(Flags ) -enum Flag{ - ShowTabsAndSpaces = QTextOption::ShowTabsAndSpaces, ShowLineAndParagraphSeparators = QTextOption::ShowLineAndParagraphSeparators, AddSpaceForLineAndParagraphSeparators = QTextOption::AddSpaceForLineAndParagraphSeparators, SuppressColors = QTextOption::SuppressColors, ShowDocumentTerminator = QTextOption::ShowDocumentTerminator, IncludeTrailingSpaces = QTextOption::IncludeTrailingSpaces}; -enum TabType{ - LeftTab = QTextOption::LeftTab, RightTab = QTextOption::RightTab, CenterTab = QTextOption::CenterTab, DelimiterTab = QTextOption::DelimiterTab}; -enum WrapMode{ - NoWrap = QTextOption::NoWrap, WordWrap = QTextOption::WordWrap, ManualWrap = QTextOption::ManualWrap, WrapAnywhere = QTextOption::WrapAnywhere, WrapAtWordBoundaryOrAnywhere = QTextOption::WrapAtWordBoundaryOrAnywhere}; -Q_DECLARE_FLAGS(Flags, Flag) -public Q_SLOTS: -QTextOption* new_QTextOption(); -QTextOption* new_QTextOption(Qt::Alignment alignment); -QTextOption* new_QTextOption(const QTextOption& o); -void delete_QTextOption(QTextOption* obj) { delete obj; } - Qt::Alignment alignment(QTextOption* theWrappedObject) const; - QTextOption::Flags flags(QTextOption* theWrappedObject) const; - void setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment); - void setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags); - void setTabArray(QTextOption* theWrappedObject, const QList& tabStops); - void setTabStop(QTextOption* theWrappedObject, qreal tabStop); - void setTabStopDistance(QTextOption* theWrappedObject, qreal tabStopDistance); - void setTabs(QTextOption* theWrappedObject, const QList& tabStops); - void setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection); - void setUseDesignMetrics(QTextOption* theWrappedObject, bool b); - void setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap); - QList tabArray(QTextOption* theWrappedObject) const; - qreal tabStop(QTextOption* theWrappedObject) const; - qreal tabStopDistance(QTextOption* theWrappedObject) const; - QList tabs(QTextOption* theWrappedObject) const; - Qt::LayoutDirection textDirection(QTextOption* theWrappedObject) const; - bool useDesignMetrics(QTextOption* theWrappedObject) const; - QTextOption::WrapMode wrapMode(QTextOption* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QTextOption__Tab : public QTextOption::Tab -{ -public: - PythonQtShell_QTextOption__Tab():QTextOption::Tab(),_wrapper(nullptr) {}; - PythonQtShell_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()):QTextOption::Tab(pos, tabType, delim),_wrapper(nullptr) {}; - - ~PythonQtShell_QTextOption__Tab(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextOption__Tab : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QTextOption::Tab* new_QTextOption__Tab(); -QTextOption::Tab* new_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()); -QTextOption::Tab* new_QTextOption__Tab(const QTextOption::Tab& other) { -PythonQtShell_QTextOption__Tab* a = new PythonQtShell_QTextOption__Tab(); -*((QTextOption::Tab*)a) = other; -return a; } -void delete_QTextOption__Tab(QTextOption::Tab* obj) { delete obj; } - bool __ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const; - bool __eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const; -void py_set_delimiter(QTextOption::Tab* theWrappedObject, QChar delimiter){ theWrappedObject->delimiter = delimiter; } -QChar py_get_delimiter(QTextOption::Tab* theWrappedObject){ return theWrappedObject->delimiter; } -void py_set_position(QTextOption::Tab* theWrappedObject, qreal position){ theWrappedObject->position = position; } -qreal py_get_position(QTextOption::Tab* theWrappedObject){ return theWrappedObject->position; } -void py_set_type(QTextOption::Tab* theWrappedObject, QTextOption::TabType type){ theWrappedObject->type = type; } -QTextOption::TabType py_get_type(QTextOption::Tab* theWrappedObject){ return theWrappedObject->type; } -}; - - - - - -class PythonQtShell_QTextTable : public QTextTable -{ -public: - PythonQtShell_QTextTable(QTextDocument* doc):QTextTable(doc),_wrapper(nullptr) {}; - - ~PythonQtShell_QTextTable() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextTable : public QObject -{ Q_OBJECT -public: -public Q_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 Q_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; - bool __nonzero__(QTextTableCell* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat -{ -public: - PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(nullptr) {}; - PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(nullptr) {}; - - ~PythonQtShell_QTextTableCellFormat(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextTableCellFormat : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QTextTableCellFormat* new_QTextTableCellFormat(); -QTextTableCellFormat* new_QTextTableCellFormat(const QTextFormat& fmt); -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; - bool __nonzero__(QTextTableCellFormat* obj) { return !obj->isEmpty(); } -}; - - - - - -class PythonQtShell_QTextTableFormat : public QTextTableFormat -{ -public: - PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(nullptr) {}; - PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(nullptr) {}; - - ~PythonQtShell_QTextTableFormat(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextTableFormat : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QTextTableFormat* new_QTextTableFormat(); -QTextTableFormat* new_QTextTableFormat(const QTextFormat& fmt); -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); - bool __nonzero__(QTextTableFormat* obj) { return !obj->isEmpty(); } -}; - - - - - -class PythonQtShell_QTileRules : public QTileRules -{ -public: - PythonQtShell_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule):QTileRules(horizontalRule, verticalRule),_wrapper(nullptr) {}; - PythonQtShell_QTileRules(Qt::TileRule rule = Qt::StretchTile):QTileRules(rule),_wrapper(nullptr) {}; - - ~PythonQtShell_QTileRules(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTileRules : public QObject -{ Q_OBJECT -public: -public Q_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_horizontal(QTileRules* theWrappedObject, Qt::TileRule horizontal){ theWrappedObject->horizontal = horizontal; } -Qt::TileRule py_get_horizontal(QTileRules* theWrappedObject){ return theWrappedObject->horizontal; } -void py_set_vertical(QTileRules* theWrappedObject, Qt::TileRule vertical){ theWrappedObject->vertical = vertical; } -Qt::TileRule py_get_vertical(QTileRules* theWrappedObject){ return theWrappedObject->vertical; } -}; - - - - - -class PythonQtShell_QTimeEdit : public QTimeEdit -{ -public: - PythonQtShell_QTimeEdit(QWidget* parent = nullptr):QTimeEdit(parent),_wrapper(nullptr) {}; - PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = nullptr):QTimeEdit(time, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QTimeEdit() override; - -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* event) override; -void childEvent(QChildEvent* event) override; -void clear() override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* event) override; -void customEvent(QEvent* event) override; -QDateTime dateTimeFromText(const QString& text) const override; -int devType() const override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void fixup(QString& input) const override; -void focusInEvent(QFocusEvent* event) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* event) override; -void keyReleaseEvent(QKeyEvent* event) override; -void leaveEvent(QEvent* event) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* event) override; -void mousePressEvent(QMouseEvent* event) override; -void mouseReleaseEvent(QMouseEvent* event) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* event) override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* event) override; -void setVisible(bool visible) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* event) override; -QSize sizeHint() const override; -void stepBy(int steps) override; -QAbstractSpinBox::StepEnabled stepEnabled() const override; -void tabletEvent(QTabletEvent* event) override; -QString textFromDateTime(const QDateTime& dt) const override; -void timerEvent(QTimerEvent* event) override; -QValidator::State validate(QString& input, int& pos) const override; -void wheelEvent(QWheelEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTimeEdit : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QTimeEdit* new_QTimeEdit(QWidget* parent = nullptr); -QTimeEdit* new_QTimeEdit(const QTime& time, QWidget* parent = nullptr); -void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } -}; - - - - - -class PythonQtShell_QToolBar : public QToolBar -{ -public: - PythonQtShell_QToolBar(QWidget* parent = nullptr):QToolBar(parent),_wrapper(nullptr) {}; - PythonQtShell_QToolBar(const QString& title, QWidget* parent = nullptr):QToolBar(title, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QToolBar() override; - -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* event) override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* event) override; -void customEvent(QEvent* event) override; -int devType() const override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void focusInEvent(QFocusEvent* event) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* event) override; -void keyReleaseEvent(QKeyEvent* event) override; -void leaveEvent(QEvent* event) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* event) override; -void mousePressEvent(QMouseEvent* event) override; -void mouseReleaseEvent(QMouseEvent* event) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* event) override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* event) override; -void setVisible(bool visible) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* event) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* event) override; -void wheelEvent(QWheelEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QToolBar : public QToolBar -{ public: -inline void promoted_actionEvent(QActionEvent* event) { this->actionEvent(event); } -inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } -inline bool promoted_event(QEvent* event) { return this->event(event); } -inline void promoted_initStyleOption(QStyleOptionToolBar* option) const { this->initStyleOption(option); } -inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } -inline void py_q_actionEvent(QActionEvent* event) { QToolBar::actionEvent(event); } -inline void py_q_changeEvent(QEvent* event) { QToolBar::changeEvent(event); } -inline bool py_q_event(QEvent* event) { return QToolBar::event(event); } -inline void py_q_paintEvent(QPaintEvent* event) { QToolBar::paintEvent(event); } -}; - -class PythonQtWrapper_QToolBar : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QToolBar* new_QToolBar(QWidget* parent = nullptr); -QToolBar* new_QToolBar(const QString& title, QWidget* parent = nullptr); -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 py_q_actionEvent(QToolBar* theWrappedObject, QActionEvent* event){ (((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->py_q_actionEvent(event));} - QRect actionGeometry(QToolBar* theWrappedObject, QAction* action) const; - QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text); - QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member); - QAction* addAction(QToolBar* theWrappedObject, const QString& text); - QAction* addAction(QToolBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member); - QAction* addSeparator(QToolBar* theWrappedObject); - QAction* addWidget(QToolBar* theWrappedObject, QWidget* widget); - Qt::ToolBarAreas allowedAreas(QToolBar* theWrappedObject) const; - void py_q_changeEvent(QToolBar* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->py_q_changeEvent(event));} - void clear(QToolBar* theWrappedObject); - bool py_q_event(QToolBar* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->py_q_event(event));} - QSize iconSize(QToolBar* theWrappedObject) const; - void initStyleOption(QToolBar* theWrappedObject, QStyleOptionToolBar* option) 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 py_q_paintEvent(QToolBar* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->py_q_paintEvent(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 Q_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 = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QToolBox(parent, f),_wrapper(nullptr) {}; - - ~PythonQtShell_QToolBox() override; - -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* arg__1) override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* event) override; -void customEvent(QEvent* event) override; -int devType() const override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* e) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void focusInEvent(QFocusEvent* event) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void itemInserted(int index) override; -void itemRemoved(int index) override; -void keyPressEvent(QKeyEvent* event) override; -void keyReleaseEvent(QKeyEvent* event) override; -void leaveEvent(QEvent* event) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* event) override; -void mousePressEvent(QMouseEvent* event) override; -void mouseReleaseEvent(QMouseEvent* event) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* arg__1) override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* event) override; -void setVisible(bool visible) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* e) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* event) override; -void wheelEvent(QWheelEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QToolBox : public QToolBox -{ public: -inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_itemInserted(int index) { this->itemInserted(index); } -inline void promoted_itemRemoved(int index) { this->itemRemoved(index); } -inline void promoted_showEvent(QShowEvent* e) { this->showEvent(e); } -inline void py_q_changeEvent(QEvent* arg__1) { QToolBox::changeEvent(arg__1); } -inline bool py_q_event(QEvent* e) { return QToolBox::event(e); } -inline void py_q_itemInserted(int index) { QToolBox::itemInserted(index); } -inline void py_q_itemRemoved(int index) { QToolBox::itemRemoved(index); } -inline void py_q_showEvent(QShowEvent* e) { QToolBox::showEvent(e); } -}; - -class PythonQtWrapper_QToolBox : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QToolBox* new_QToolBox(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QToolBox(QToolBox* obj) { delete obj; } - int addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text); - int addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& text); - void py_q_changeEvent(QToolBox* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_changeEvent(arg__1));} - int count(QToolBox* theWrappedObject) const; - int currentIndex(QToolBox* theWrappedObject) const; - QWidget* currentWidget(QToolBox* theWrappedObject) const; - bool py_q_event(QToolBox* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_event(e));} - int indexOf(QToolBox* theWrappedObject, QWidget* widget) const; - int insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text); - int insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP 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 py_q_itemInserted(QToolBox* theWrappedObject, int index){ (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_itemInserted(index));} - void itemRemoved(QToolBox* theWrappedObject, int index); - void py_q_itemRemoved(QToolBox* theWrappedObject, int index){ (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_itemRemoved(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 py_q_showEvent(QToolBox* theWrappedObject, QShowEvent* e){ (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_showEvent(e));} - QWidget* widget(QToolBox* theWrappedObject, int index) const; -}; - - - - - -class PythonQtShell_QToolButton : public QToolButton -{ -public: - PythonQtShell_QToolButton(QWidget* parent = nullptr):QToolButton(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QToolButton() override; - -void actionEvent(QActionEvent* arg__1) override; -void changeEvent(QEvent* arg__1) override; -void checkStateSet() override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* event) override; -void customEvent(QEvent* event) override; -int devType() const override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; -void enterEvent(QEvent* arg__1) override; -bool event(QEvent* e) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void focusInEvent(QFocusEvent* e) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* e) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -bool hitButton(const QPoint& pos) const override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* e) override; -void keyReleaseEvent(QKeyEvent* e) override; -void leaveEvent(QEvent* arg__1) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* e) override; -void mousePressEvent(QMouseEvent* arg__1) override; -void mouseReleaseEvent(QMouseEvent* arg__1) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -void nextCheckState() override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* arg__1) override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* event) override; -void setVisible(bool visible) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* event) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* arg__1) override; -void wheelEvent(QWheelEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QToolButton : public QToolButton -{ public: -inline void promoted_actionEvent(QActionEvent* arg__1) { this->actionEvent(arg__1); } -inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } -inline void promoted_enterEvent(QEvent* arg__1) { this->enterEvent(arg__1); } -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline bool promoted_hitButton(const QPoint& pos) const { return this->hitButton(pos); } -inline void promoted_initStyleOption(QStyleOptionToolButton* option) const { this->initStyleOption(option); } -inline void promoted_leaveEvent(QEvent* arg__1) { this->leaveEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } -inline void promoted_nextCheckState() { this->nextCheckState(); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } -inline void py_q_actionEvent(QActionEvent* arg__1) { QToolButton::actionEvent(arg__1); } -inline void py_q_changeEvent(QEvent* arg__1) { QToolButton::changeEvent(arg__1); } -inline void py_q_enterEvent(QEvent* arg__1) { QToolButton::enterEvent(arg__1); } -inline bool py_q_event(QEvent* e) { return QToolButton::event(e); } -inline bool py_q_hitButton(const QPoint& pos) const { return QToolButton::hitButton(pos); } -inline void py_q_leaveEvent(QEvent* arg__1) { QToolButton::leaveEvent(arg__1); } -inline QSize py_q_minimumSizeHint() const { return QToolButton::minimumSizeHint(); } -inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QToolButton::mousePressEvent(arg__1); } -inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QToolButton::mouseReleaseEvent(arg__1); } -inline void py_q_nextCheckState() { QToolButton::nextCheckState(); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QToolButton::paintEvent(arg__1); } -inline QSize py_q_sizeHint() const { return QToolButton::sizeHint(); } -inline void py_q_timerEvent(QTimerEvent* arg__1) { QToolButton::timerEvent(arg__1); } -}; - -class PythonQtWrapper_QToolButton : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QToolButton* new_QToolButton(QWidget* parent = nullptr); -void delete_QToolButton(QToolButton* obj) { delete obj; } - void py_q_actionEvent(QToolButton* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_actionEvent(arg__1));} - Qt::ArrowType arrowType(QToolButton* theWrappedObject) const; - bool autoRaise(QToolButton* theWrappedObject) const; - void py_q_changeEvent(QToolButton* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_changeEvent(arg__1));} - QAction* defaultAction(QToolButton* theWrappedObject) const; - void py_q_enterEvent(QToolButton* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_enterEvent(arg__1));} - bool py_q_event(QToolButton* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_event(e));} - bool py_q_hitButton(QToolButton* theWrappedObject, const QPoint& pos) const{ return (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_hitButton(pos));} - void initStyleOption(QToolButton* theWrappedObject, QStyleOptionToolButton* option) const; - void py_q_leaveEvent(QToolButton* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_leaveEvent(arg__1));} - QMenu* menu(QToolButton* theWrappedObject) const; - QSize py_q_minimumSizeHint(QToolButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_minimumSizeHint());} - void py_q_mousePressEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_mousePressEvent(arg__1));} - void py_q_mouseReleaseEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} - void py_q_nextCheckState(QToolButton* theWrappedObject){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_nextCheckState());} - void py_q_paintEvent(QToolButton* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_paintEvent(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 py_q_sizeHint(QToolButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_sizeHint());} - void py_q_timerEvent(QToolButton* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_timerEvent(arg__1));} - Qt::ToolButtonStyle toolButtonStyle(QToolButton* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QToolTip : public QObject -{ Q_OBJECT -public: -public Q_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 = nullptr); - void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect); - void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect, int msecShowTime); - QString static_QToolTip_text(); -}; - - - - - -class PythonQtWrapper_QTouchDevice : public QObject -{ Q_OBJECT -public: -Q_ENUMS(CapabilityFlag DeviceType ) -Q_FLAGS(Capabilities ) -enum CapabilityFlag{ - Position = QTouchDevice::Position, Area = QTouchDevice::Area, Pressure = QTouchDevice::Pressure, Velocity = QTouchDevice::Velocity, RawPositions = QTouchDevice::RawPositions, NormalizedPosition = QTouchDevice::NormalizedPosition, MouseEmulation = QTouchDevice::MouseEmulation}; -enum DeviceType{ - TouchScreen = QTouchDevice::TouchScreen, TouchPad = QTouchDevice::TouchPad}; -Q_DECLARE_FLAGS(Capabilities, CapabilityFlag) -public Q_SLOTS: -QTouchDevice* new_QTouchDevice(); -void delete_QTouchDevice(QTouchDevice* obj) { delete obj; } - QTouchDevice::Capabilities capabilities(QTouchDevice* theWrappedObject) const; - QList static_QTouchDevice_devices(); - int maximumTouchPoints(QTouchDevice* theWrappedObject) const; - QString name(QTouchDevice* theWrappedObject) const; - void setCapabilities(QTouchDevice* theWrappedObject, QTouchDevice::Capabilities caps); - void setMaximumTouchPoints(QTouchDevice* theWrappedObject, int max); - void setName(QTouchDevice* theWrappedObject, const QString& name); - void setType(QTouchDevice* theWrappedObject, QTouchDevice::DeviceType devType); - QTouchDevice::DeviceType type(QTouchDevice* theWrappedObject) const; - QString py_toString(QTouchDevice*); -}; - - - - - -class PythonQtShell_QTouchEvent : public QTouchEvent -{ -public: - PythonQtShell_QTouchEvent(QEvent::Type eventType, QTouchDevice* device = nullptr, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = Qt::TouchPointStates(), const QList& touchPoints = QList()):QTouchEvent(eventType, device, modifiers, touchPointStates, touchPoints),_wrapper(nullptr) {}; - - ~PythonQtShell_QTouchEvent() override; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTouchEvent : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QTouchEvent* new_QTouchEvent(QEvent::Type eventType, QTouchDevice* device = nullptr, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = Qt::TouchPointStates(), const QList& touchPoints = QList()); -void delete_QTouchEvent(QTouchEvent* obj) { delete obj; } - QTouchDevice* device(QTouchEvent* theWrappedObject) const; - void setDevice(QTouchEvent* theWrappedObject, QTouchDevice* adevice); - void setTarget(QTouchEvent* theWrappedObject, QObject* atarget); - void setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates); - void setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints); - void setWindow(QTouchEvent* theWrappedObject, QWindow* awindow); - QObject* target(QTouchEvent* theWrappedObject) const; - Qt::TouchPointStates touchPointStates(QTouchEvent* theWrappedObject) const; - const QList* touchPoints(QTouchEvent* theWrappedObject) const; - QWindow* window(QTouchEvent* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QTouchEvent__TouchPoint : public QObject -{ Q_OBJECT -public: -Q_ENUMS(InfoFlag ) -Q_FLAGS(InfoFlags ) -enum InfoFlag{ - Pen = QTouchEvent::TouchPoint::Pen, Token = QTouchEvent::TouchPoint::Token}; -Q_DECLARE_FLAGS(InfoFlags, InfoFlag) -public Q_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; } - QSizeF ellipseDiameters(QTouchEvent::TouchPoint* theWrappedObject) const; - QTouchEvent::TouchPoint::InfoFlags flags(QTouchEvent::TouchPoint* theWrappedObject) const; - 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; - qreal rotation(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 setEllipseDiameters(QTouchEvent::TouchPoint* theWrappedObject, const QSizeF& dia); - void setFlags(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint::InfoFlags flags); - 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 setRotation(QTouchEvent::TouchPoint* theWrappedObject, qreal angle); - 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 setUniqueId(QTouchEvent::TouchPoint* theWrappedObject, qint64 uid); - 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; - QString py_toString(QTouchEvent::TouchPoint*); -}; - - - - - -class PythonQtShell_QTreeView : public QTreeView -{ -public: - PythonQtShell_QTreeView(QWidget* parent = nullptr):QTreeView(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QTreeView() override; - -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* arg__1) override; -void childEvent(QChildEvent* event) override; -void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; -void closeEvent(QCloseEvent* event) override; -void commitData(QWidget* editor) override; -void contextMenuEvent(QContextMenuEvent* arg__1) override; -void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; -void customEvent(QEvent* event) override; -void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; -int devType() const override; -void doItemsLayout() override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const override; -void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const override; -void dropEvent(QDropEvent* event) override; -bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; -void editorDestroyed(QObject* editor) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* arg__1, QEvent* arg__2) override; -void focusInEvent(QFocusEvent* event) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -int horizontalOffset() const override; -void horizontalScrollbarAction(int action) override; -void horizontalScrollbarValueChanged(int value) override; -QModelIndex indexAt(const QPoint& p) const override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* event) override; -QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; -bool isIndexHidden(const QModelIndex& index) const override; -void keyPressEvent(QKeyEvent* event) override; -void keyReleaseEvent(QKeyEvent* event) override; -void keyboardSearch(const QString& search) override; -void leaveEvent(QEvent* event) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* event) override; -void mousePressEvent(QMouseEvent* event) override; -void mouseReleaseEvent(QMouseEvent* event) override; -QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* event) override; -QPaintDevice* redirected(QPoint* offset) const override; -void reset() override; -void resizeEvent(QResizeEvent* event) override; -void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; -void rowsInserted(const QModelIndex& parent, int start, int end) override; -void scrollContentsBy(int dx, int dy) override; -void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; -void selectAll() override; -QList selectedIndexes() const override; -void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; -QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; -void setModel(QAbstractItemModel* model) override; -void setRootIndex(const QModelIndex& index) override; -void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; -void setSelectionModel(QItemSelectionModel* selectionModel) override; -void setVisible(bool visible) override; -void setupViewport(QWidget* viewport) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* event) override; -QSize sizeHint() const override; -int sizeHintForColumn(int column) const override; -int sizeHintForRow(int row) const override; -void startDrag(Qt::DropActions supportedActions) override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* event) override; -void updateEditorData() override; -void updateEditorGeometries() override; -void updateGeometries() override; -int verticalOffset() const override; -void verticalScrollbarAction(int action) override; -void verticalScrollbarValueChanged(int value) override; -QStyleOptionViewItem viewOptions() const override; -bool viewportEvent(QEvent* event) override; -QSize viewportSizeHint() const override; -QRect visualRect(const QModelIndex& index) const override; -QRegion visualRegionForSelection(const QItemSelection& selection) const override; -void wheelEvent(QWheelEvent* arg__1) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTreeView : public QTreeView -{ public: -inline void promoted_columnCountChanged(int oldCount, int newCount) { this->columnCountChanged(oldCount, newCount); } -inline void promoted_columnMoved() { this->columnMoved(); } -inline void promoted_columnResized(int column, int oldSize, int newSize) { this->columnResized(column, oldSize, newSize); } -inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { this->currentChanged(current, previous); } -inline void promoted_dragMoveEvent(QDragMoveEvent* event) { this->dragMoveEvent(event); } -inline void promoted_drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const { this->drawBranches(painter, rect, index); } -inline void promoted_drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const { this->drawRow(painter, options, index); } -inline void promoted_drawTree(QPainter* painter, const QRegion& region) const { this->drawTree(painter, region); } -inline int promoted_horizontalOffset() const { return this->horizontalOffset(); } -inline void promoted_horizontalScrollbarAction(int action) { this->horizontalScrollbarAction(action); } -inline int promoted_indexRowSizeHint(const QModelIndex& index) const { return this->indexRowSizeHint(index); } -inline bool promoted_isIndexHidden(const QModelIndex& index) const { return this->isIndexHidden(index); } -inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { this->mouseDoubleClickEvent(event); } -inline void promoted_mouseMoveEvent(QMouseEvent* event) { this->mouseMoveEvent(event); } -inline void promoted_mousePressEvent(QMouseEvent* event) { this->mousePressEvent(event); } -inline void promoted_mouseReleaseEvent(QMouseEvent* event) { this->mouseReleaseEvent(event); } -inline QModelIndex promoted_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return this->moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } -inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } -inline void promoted_reexpand() { this->reexpand(); } -inline int promoted_rowHeight(const QModelIndex& index) const { return this->rowHeight(index); } -inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { this->rowsAboutToBeRemoved(parent, start, end); } -inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { this->rowsInserted(parent, start, end); } -inline void promoted_rowsRemoved(const QModelIndex& parent, int first, int last) { this->rowsRemoved(parent, first, last); } -inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } -inline QList promoted_selectedIndexes() const { return this->selectedIndexes(); } -inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { this->selectionChanged(selected, deselected); } -inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { this->setSelection(rect, command); } -inline int promoted_sizeHintForColumn(int column) const { return this->sizeHintForColumn(column); } -inline void promoted_timerEvent(QTimerEvent* event) { this->timerEvent(event); } -inline void promoted_updateGeometries() { this->updateGeometries(); } -inline int promoted_verticalOffset() const { return this->verticalOffset(); } -inline bool promoted_viewportEvent(QEvent* event) { return this->viewportEvent(event); } -inline QSize promoted_viewportSizeHint() const { return this->viewportSizeHint(); } -inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return this->visualRegionForSelection(selection); } -inline void py_q_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTreeView::currentChanged(current, previous); } -inline void py_q_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) { QTreeView::dataChanged(topLeft, bottomRight, roles); } -inline void py_q_doItemsLayout() { QTreeView::doItemsLayout(); } -inline void py_q_dragMoveEvent(QDragMoveEvent* event) { QTreeView::dragMoveEvent(event); } -inline void py_q_drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const { QTreeView::drawBranches(painter, rect, index); } -inline void py_q_drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const { QTreeView::drawRow(painter, options, index); } -inline int py_q_horizontalOffset() const { return QTreeView::horizontalOffset(); } -inline void py_q_horizontalScrollbarAction(int action) { QTreeView::horizontalScrollbarAction(action); } -inline QModelIndex py_q_indexAt(const QPoint& p) const { return QTreeView::indexAt(p); } -inline bool py_q_isIndexHidden(const QModelIndex& index) const { return QTreeView::isIndexHidden(index); } -inline void py_q_keyPressEvent(QKeyEvent* event) { QTreeView::keyPressEvent(event); } -inline void py_q_keyboardSearch(const QString& search) { QTreeView::keyboardSearch(search); } -inline void py_q_mouseDoubleClickEvent(QMouseEvent* event) { QTreeView::mouseDoubleClickEvent(event); } -inline void py_q_mouseMoveEvent(QMouseEvent* event) { QTreeView::mouseMoveEvent(event); } -inline void py_q_mousePressEvent(QMouseEvent* event) { QTreeView::mousePressEvent(event); } -inline void py_q_mouseReleaseEvent(QMouseEvent* event) { QTreeView::mouseReleaseEvent(event); } -inline QModelIndex py_q_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return QTreeView::moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } -inline void py_q_paintEvent(QPaintEvent* event) { QTreeView::paintEvent(event); } -inline void py_q_reset() { QTreeView::reset(); } -inline void py_q_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QTreeView::rowsAboutToBeRemoved(parent, start, end); } -inline void py_q_rowsInserted(const QModelIndex& parent, int start, int end) { QTreeView::rowsInserted(parent, start, end); } -inline void py_q_scrollContentsBy(int dx, int dy) { QTreeView::scrollContentsBy(dx, dy); } -inline void py_q_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QTreeView::scrollTo(index, hint); } -inline void py_q_selectAll() { QTreeView::selectAll(); } -inline QList py_q_selectedIndexes() const { return QTreeView::selectedIndexes(); } -inline void py_q_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QTreeView::selectionChanged(selected, deselected); } -inline void py_q_setModel(QAbstractItemModel* model) { QTreeView::setModel(model); } -inline void py_q_setRootIndex(const QModelIndex& index) { QTreeView::setRootIndex(index); } -inline void py_q_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QTreeView::setSelection(rect, command); } -inline void py_q_setSelectionModel(QItemSelectionModel* selectionModel) { QTreeView::setSelectionModel(selectionModel); } -inline int py_q_sizeHintForColumn(int column) const { return QTreeView::sizeHintForColumn(column); } -inline void py_q_timerEvent(QTimerEvent* event) { QTreeView::timerEvent(event); } -inline void py_q_updateGeometries() { QTreeView::updateGeometries(); } -inline int py_q_verticalOffset() const { return QTreeView::verticalOffset(); } -inline bool py_q_viewportEvent(QEvent* event) { return QTreeView::viewportEvent(event); } -inline QSize py_q_viewportSizeHint() const { return QTreeView::viewportSizeHint(); } -inline QRect py_q_visualRect(const QModelIndex& index) const { return QTreeView::visualRect(index); } -inline QRegion py_q_visualRegionForSelection(const QItemSelection& selection) const { return QTreeView::visualRegionForSelection(selection); } -}; - -class PythonQtWrapper_QTreeView : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QTreeView* new_QTreeView(QWidget* parent = nullptr); -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 py_q_currentChanged(QTreeView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_currentChanged(current, previous));} - void py_q_dataChanged(QTreeView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_dataChanged(topLeft, bottomRight, roles));} - void py_q_doItemsLayout(QTreeView* theWrappedObject){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_doItemsLayout());} - void py_q_dragMoveEvent(QTreeView* theWrappedObject, QDragMoveEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_dragMoveEvent(event));} - void drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const; - void py_q_drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_drawBranches(painter, rect, index));} - void drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; - void py_q_drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_drawRow(painter, options, index));} - void drawTree(QTreeView* theWrappedObject, QPainter* painter, const QRegion& region) const; - bool expandsOnDoubleClick(QTreeView* theWrappedObject) const; - QHeaderView* header(QTreeView* theWrappedObject) const; - int py_q_horizontalOffset(QTreeView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_horizontalOffset());} - void py_q_horizontalScrollbarAction(QTreeView* theWrappedObject, int action){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_horizontalScrollbarAction(action));} - int indentation(QTreeView* theWrappedObject) const; - QModelIndex indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const; - QModelIndex py_q_indexAt(QTreeView* theWrappedObject, const QPoint& p) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_indexAt(p));} - QModelIndex indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const; - int indexRowSizeHint(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 py_q_isIndexHidden(QTreeView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_isIndexHidden(index));} - bool isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const; - bool isSortingEnabled(QTreeView* theWrappedObject) const; - bool itemsExpandable(QTreeView* theWrappedObject) const; - void py_q_keyPressEvent(QTreeView* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_keyPressEvent(event));} - void py_q_keyboardSearch(QTreeView* theWrappedObject, const QString& search){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_keyboardSearch(search));} - void py_q_mouseDoubleClickEvent(QTreeView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} - void py_q_mouseMoveEvent(QTreeView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_mouseMoveEvent(event));} - void py_q_mousePressEvent(QTreeView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_mousePressEvent(event));} - void py_q_mouseReleaseEvent(QTreeView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_mouseReleaseEvent(event));} - QModelIndex py_q_moveCursor(QTreeView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers){ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_moveCursor(cursorAction, modifiers));} - void py_q_paintEvent(QTreeView* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_paintEvent(event));} - void py_q_reset(QTreeView* theWrappedObject){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_reset());} - void resetIndentation(QTreeView* theWrappedObject); - bool rootIsDecorated(QTreeView* theWrappedObject) const; - int rowHeight(QTreeView* theWrappedObject, const QModelIndex& index) const; - void py_q_rowsAboutToBeRemoved(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_rowsAboutToBeRemoved(parent, start, end));} - void py_q_rowsInserted(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_rowsInserted(parent, start, end));} - void py_q_scrollContentsBy(QTreeView* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} - void py_q_scrollTo(QTreeView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_scrollTo(index, hint));} - void py_q_selectAll(QTreeView* theWrappedObject){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_selectAll());} - QList py_q_selectedIndexes(QTreeView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_selectedIndexes());} - void py_q_selectionChanged(QTreeView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_selectionChanged(selected, 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 py_q_setModel(QTreeView* theWrappedObject, QAbstractItemModel* model){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_setModel(model));} - void py_q_setRootIndex(QTreeView* theWrappedObject, const QModelIndex& index){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_setRootIndex(index));} - void setRootIsDecorated(QTreeView* theWrappedObject, bool show); - void setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide); - void py_q_setSelection(QTreeView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_setSelection(rect, command));} - void py_q_setSelectionModel(QTreeView* theWrappedObject, QItemSelectionModel* selectionModel){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_setSelectionModel(selectionModel));} - void setSortingEnabled(QTreeView* theWrappedObject, bool enable); - void setTreePosition(QTreeView* theWrappedObject, int logicalIndex); - void setUniformRowHeights(QTreeView* theWrappedObject, bool uniform); - void setWordWrap(QTreeView* theWrappedObject, bool on); - int py_q_sizeHintForColumn(QTreeView* theWrappedObject, int column) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_sizeHintForColumn(column));} - void sortByColumn(QTreeView* theWrappedObject, int column, Qt::SortOrder order); - void py_q_timerEvent(QTreeView* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_timerEvent(event));} - int treePosition(QTreeView* theWrappedObject) const; - bool uniformRowHeights(QTreeView* theWrappedObject) const; - void py_q_updateGeometries(QTreeView* theWrappedObject){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_updateGeometries());} - int py_q_verticalOffset(QTreeView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_verticalOffset());} - bool py_q_viewportEvent(QTreeView* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_viewportEvent(event));} - QSize py_q_viewportSizeHint(QTreeView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_viewportSizeHint());} - QRect py_q_visualRect(QTreeView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_visualRect(index));} - QRegion py_q_visualRegionForSelection(QTreeView* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_visualRegionForSelection(selection));} - bool wordWrap(QTreeView* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QTreeWidget : public QTreeWidget -{ -public: - PythonQtShell_QTreeWidget(QWidget* parent = nullptr):QTreeWidget(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QTreeWidget() override; - -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* arg__1) override; -void childEvent(QChildEvent* event) override; -void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; -void closeEvent(QCloseEvent* event) override; -void commitData(QWidget* editor) override; -void contextMenuEvent(QContextMenuEvent* arg__1) override; -void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; -void customEvent(QEvent* event) override; -void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; -int devType() const override; -void doItemsLayout() override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const override; -void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const override; -void dropEvent(QDropEvent* event) override; -bool dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) override; -bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; -void editorDestroyed(QObject* editor) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* e) override; -bool eventFilter(QObject* arg__1, QEvent* arg__2) override; -void focusInEvent(QFocusEvent* event) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -int horizontalOffset() const override; -void horizontalScrollbarAction(int action) override; -void horizontalScrollbarValueChanged(int value) override; -QModelIndex indexAt(const QPoint& p) const override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* event) override; -QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; -bool isIndexHidden(const QModelIndex& index) const override; -void keyPressEvent(QKeyEvent* event) override; -void keyReleaseEvent(QKeyEvent* event) override; -void keyboardSearch(const QString& search) override; -void leaveEvent(QEvent* event) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QMimeData* mimeData(const QList items) const override; -QStringList mimeTypes() const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* event) override; -void mousePressEvent(QMouseEvent* event) override; -void mouseReleaseEvent(QMouseEvent* event) override; -QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* event) override; -QPaintDevice* redirected(QPoint* offset) const override; -void reset() override; -void resizeEvent(QResizeEvent* event) override; -void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; -void rowsInserted(const QModelIndex& parent, int start, int end) override; -void scrollContentsBy(int dx, int dy) override; -void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; -void selectAll() override; -QList selectedIndexes() const override; -void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; -QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; -void setRootIndex(const QModelIndex& index) override; -void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; -void setSelectionModel(QItemSelectionModel* selectionModel) override; -void setVisible(bool visible) override; -void setupViewport(QWidget* viewport) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* event) override; -QSize sizeHint() const override; -int sizeHintForColumn(int column) const override; -int sizeHintForRow(int row) const override; -void startDrag(Qt::DropActions supportedActions) override; -Qt::DropActions supportedDropActions() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* event) override; -void updateEditorData() override; -void updateEditorGeometries() override; -void updateGeometries() override; -int verticalOffset() const override; -void verticalScrollbarAction(int action) override; -void verticalScrollbarValueChanged(int value) override; -QStyleOptionViewItem viewOptions() const override; -bool viewportEvent(QEvent* event) override; -QSize viewportSizeHint() const override; -QRect visualRect(const QModelIndex& index) const override; -QRegion visualRegionForSelection(const QItemSelection& selection) const override; -void wheelEvent(QWheelEvent* arg__1) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTreeWidget : public QTreeWidget -{ public: -inline void promoted_dropEvent(QDropEvent* event) { this->dropEvent(event); } -inline bool promoted_dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) { return this->dropMimeData(parent, index, data, action); } -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline QModelIndex promoted_indexFromItem(QTreeWidgetItem* item, int column = 0) const { return this->indexFromItem(item, column); } -inline QModelIndex promoted_indexFromItem(const QTreeWidgetItem* item, int column = 0) const { return this->indexFromItem(item, column); } -inline QTreeWidgetItem* promoted_itemFromIndex(const QModelIndex& index) const { return this->itemFromIndex(index); } -inline QMimeData* promoted_mimeData(const QList items) const { return this->mimeData(items); } -inline QStringList promoted_mimeTypes() const { return this->mimeTypes(); } -inline Qt::DropActions promoted_supportedDropActions() const { return this->supportedDropActions(); } -inline void py_q_dropEvent(QDropEvent* event) { QTreeWidget::dropEvent(event); } -inline bool py_q_dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) { return QTreeWidget::dropMimeData(parent, index, data, action); } -inline bool py_q_event(QEvent* e) { return QTreeWidget::event(e); } -inline QMimeData* py_q_mimeData(const QList items) const { return QTreeWidget::mimeData(items); } -inline QStringList py_q_mimeTypes() const { return QTreeWidget::mimeTypes(); } -inline void py_q_setSelectionModel(QItemSelectionModel* selectionModel) { QTreeWidget::setSelectionModel(selectionModel); } -inline Qt::DropActions py_q_supportedDropActions() const { return QTreeWidget::supportedDropActions(); } -}; - -class PythonQtWrapper_QTreeWidget : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QTreeWidget* new_QTreeWidget(QWidget* parent = nullptr); -void delete_QTreeWidget(QTreeWidget* obj) { delete obj; } - void addTopLevelItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item); - void addTopLevelItems(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP > items); - void closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); - int columnCount(QTreeWidget* theWrappedObject) const; - int currentColumn(QTreeWidget* theWrappedObject) const; - QTreeWidgetItem* currentItem(QTreeWidget* theWrappedObject) const; - void py_q_dropEvent(QTreeWidget* theWrappedObject, QDropEvent* event){ (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_dropEvent(event));} - bool dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action); - bool py_q_dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action){ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_dropMimeData(parent, index, data, action));} - void editItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); - bool py_q_event(QTreeWidget* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_event(e));} - QList findItems(QTreeWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column = 0) const; - QTreeWidgetItem* headerItem(QTreeWidget* theWrappedObject) const; - QModelIndex indexFromItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0) const; - QModelIndex indexFromItem(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, int column = 0) const; - int indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const; - void insertTopLevelItem(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP item); - void insertTopLevelItems(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP > items); - QTreeWidgetItem* invisibleRootItem(QTreeWidget* theWrappedObject) const; - bool isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; - bool isPersistentEditorOpen(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0) const; - QTreeWidgetItem* itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; - QTreeWidgetItem* itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const; - QTreeWidgetItem* itemAt(QTreeWidget* theWrappedObject, int x, int y) const; - QTreeWidgetItem* itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; - QTreeWidgetItem* itemFromIndex(QTreeWidget* theWrappedObject, const QModelIndex& index) const; - QWidget* itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const; - PythonQtPassOwnershipToPython mimeData(QTreeWidget* theWrappedObject, const QList items) const; - PythonQtPassOwnershipToPython py_q_mimeData(QTreeWidget* theWrappedObject, const QList items) const{ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_mimeData(items));} - QStringList mimeTypes(QTreeWidget* theWrappedObject) const; - QStringList py_q_mimeTypes(QTreeWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_mimeTypes());} - void openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); - void removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column); - QList selectedItems(QTreeWidget* theWrappedObject) const; - void setColumnCount(QTreeWidget* theWrappedObject, int columns); - void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item); - void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column); - void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command); - void setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span); - void setHeaderItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item); - void setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label); - void setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels); - void setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget); - void py_q_setSelectionModel(QTreeWidget* theWrappedObject, QItemSelectionModel* selectionModel){ (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_setSelectionModel(selectionModel));} - int sortColumn(QTreeWidget* theWrappedObject) const; - void sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order); - Qt::DropActions supportedDropActions(QTreeWidget* theWrappedObject) const; - Qt::DropActions py_q_supportedDropActions(QTreeWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_supportedDropActions());} - PythonQtPassOwnershipToPython takeTopLevelItem(QTreeWidget* theWrappedObject, int index); - QTreeWidgetItem* topLevelItem(QTreeWidget* theWrappedObject, int index) const; - int topLevelItemCount(QTreeWidget* theWrappedObject) const; - QRect visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; -}; - - - - - -class PythonQtShell_QTreeWidgetItem : public QTreeWidgetItem -{ -public: - PythonQtShell_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(view, after, type),_wrapper(nullptr) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type = Type):QTreeWidgetItem(view, strings, type),_wrapper(nullptr) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidget* view, int type = Type):QTreeWidgetItem(view, type),_wrapper(nullptr) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(parent, after, type),_wrapper(nullptr) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type):QTreeWidgetItem(parent, strings, type),_wrapper(nullptr) {}; - PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type):QTreeWidgetItem(parent, type),_wrapper(nullptr) {}; - PythonQtShell_QTreeWidgetItem(const QStringList& strings, int type = Type):QTreeWidgetItem(strings, type),_wrapper(nullptr) {}; - PythonQtShell_QTreeWidgetItem(int type = Type):QTreeWidgetItem(type),_wrapper(nullptr) {}; - - ~PythonQtShell_QTreeWidgetItem() override; - -QTreeWidgetItem* clone() const override; -QVariant data(int column, int role) const override; -void read(QDataStream& in) override; -void setData(int column, int role, const QVariant& value) override; -void write(QDataStream& out) const override; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTreeWidgetItem : public QTreeWidgetItem -{ public: -inline void promoted_emitDataChanged() { this->emitDataChanged(); } -inline QTreeWidgetItem* py_q_clone() const { return QTreeWidgetItem::clone(); } -inline QVariant py_q_data(int column, int role) const { return QTreeWidgetItem::data(column, role); } -inline void py_q_read(QDataStream& in) { QTreeWidgetItem::read(in); } -inline void py_q_setData(int column, int role, const QVariant& value) { QTreeWidgetItem::setData(column, role, value); } -inline void py_q_write(QDataStream& out) const { QTreeWidgetItem::write(out); } -}; - -class PythonQtWrapper_QTreeWidgetItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ChildIndicatorPolicy ItemType ) -enum ChildIndicatorPolicy{ - ShowIndicator = QTreeWidgetItem::ShowIndicator, DontShowIndicator = QTreeWidgetItem::DontShowIndicator, DontShowIndicatorWhenChildless = QTreeWidgetItem::DontShowIndicatorWhenChildless}; -enum ItemType{ - Type = QTreeWidgetItem::Type, UserType = QTreeWidgetItem::UserType}; -public Q_SLOTS: -QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, QTreeWidgetItem* after, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, const QStringList& strings, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, QTreeWidgetItem* after, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, const QStringList& strings, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(const QStringList& strings, int type = Type); -QTreeWidgetItem* new_QTreeWidgetItem(int type = Type); -void delete_QTreeWidgetItem(QTreeWidgetItem* obj) { delete obj; } - void addChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP child); - void addChildren(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP > children); - QBrush background(QTreeWidgetItem* theWrappedObject, int column) const; - Qt::CheckState checkState(QTreeWidgetItem* theWrappedObject, int column) const; - QTreeWidgetItem* child(QTreeWidgetItem* theWrappedObject, int index) const; - int childCount(QTreeWidgetItem* theWrappedObject) const; - QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const; - QTreeWidgetItem* clone(QTreeWidgetItem* theWrappedObject) const; - QTreeWidgetItem* py_q_clone(QTreeWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_clone());} - int columnCount(QTreeWidgetItem* theWrappedObject) const; - QVariant data(QTreeWidgetItem* theWrappedObject, int column, int role) const; - QVariant py_q_data(QTreeWidgetItem* theWrappedObject, int column, int role) const{ return (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_data(column, role));} - void emitDataChanged(QTreeWidgetItem* theWrappedObject); - Qt::ItemFlags flags(QTreeWidgetItem* theWrappedObject) const; - QFont font(QTreeWidgetItem* theWrappedObject, int column) const; - QBrush foreground(QTreeWidgetItem* theWrappedObject, int column) const; - QIcon icon(QTreeWidgetItem* theWrappedObject, int column) const; - int indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const; - void insertChild(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP child); - void insertChildren(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP > children); - bool isDisabled(QTreeWidgetItem* theWrappedObject) const; - bool isExpanded(QTreeWidgetItem* theWrappedObject) const; - bool isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const; - bool isHidden(QTreeWidgetItem* theWrappedObject) const; - bool isSelected(QTreeWidgetItem* theWrappedObject) const; - void writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out); - void readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in); - QTreeWidgetItem* parent(QTreeWidgetItem* theWrappedObject) const; - void read(QTreeWidgetItem* theWrappedObject, QDataStream& in); - void py_q_read(QTreeWidgetItem* theWrappedObject, QDataStream& in){ (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_read(in));} - void removeChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToPython child); - void setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush); - void setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state); - void setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy); - void setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value); - void py_q_setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value){ (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_setData(column, role, value));} - void setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled); - void setExpanded(QTreeWidgetItem* theWrappedObject, bool expand); - void setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span); - void setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags); - void setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font); - void setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush); - void setHidden(QTreeWidgetItem* theWrappedObject, bool hide); - void setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon); - void setSelected(QTreeWidgetItem* theWrappedObject, bool select); - void setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size); - void setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip); - void setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text); - void setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment); - void setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip); - void setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis); - QSize sizeHint(QTreeWidgetItem* theWrappedObject, int column) const; - void sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order); - QString statusTip(QTreeWidgetItem* theWrappedObject, int column) const; - PythonQtPassOwnershipToPython takeChild(QTreeWidgetItem* theWrappedObject, int index); - PythonQtPassOwnershipToCPP > takeChildren(QTreeWidgetItem* theWrappedObject); - QString text(QTreeWidgetItem* theWrappedObject, int column) const; - int textAlignment(QTreeWidgetItem* theWrappedObject, int column) const; - QString toolTip(QTreeWidgetItem* theWrappedObject, int column) const; - QTreeWidget* treeWidget(QTreeWidgetItem* theWrappedObject) const; - int type(QTreeWidgetItem* theWrappedObject) const; - QString whatsThis(QTreeWidgetItem* theWrappedObject, int column) const; - void write(QTreeWidgetItem* theWrappedObject, QDataStream& out) const; - void py_q_write(QTreeWidgetItem* theWrappedObject, QDataStream& out) const{ (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_write(out));} -}; - - - - - -class PythonQtShell_QUndoCommand : public QUndoCommand -{ -public: - PythonQtShell_QUndoCommand(QUndoCommand* parent = nullptr):QUndoCommand(parent),_wrapper(nullptr) {}; - PythonQtShell_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr):QUndoCommand(text, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QUndoCommand() override; - -int id() const override; -bool mergeWith(const QUndoCommand* other) override; -void redo() override; -void undo() override; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QUndoCommand : public QUndoCommand -{ public: -inline int py_q_id() const { return QUndoCommand::id(); } -inline bool py_q_mergeWith(const QUndoCommand* other) { return QUndoCommand::mergeWith(other); } -inline void py_q_redo() { QUndoCommand::redo(); } -inline void py_q_undo() { QUndoCommand::undo(); } -}; - -class PythonQtWrapper_QUndoCommand : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QUndoCommand* new_QUndoCommand(QUndoCommand* parent = nullptr); -QUndoCommand* new_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr); -void delete_QUndoCommand(QUndoCommand* obj) { delete obj; } - QString actionText(QUndoCommand* theWrappedObject) const; - const QUndoCommand* child(QUndoCommand* theWrappedObject, int index) const; - int childCount(QUndoCommand* theWrappedObject) const; - int id(QUndoCommand* theWrappedObject) const; - int py_q_id(QUndoCommand* theWrappedObject) const{ return (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_id());} - bool isObsolete(QUndoCommand* theWrappedObject) const; - bool mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other); - bool py_q_mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other){ return (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_mergeWith(other));} - void redo(QUndoCommand* theWrappedObject); - void py_q_redo(QUndoCommand* theWrappedObject){ (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_redo());} - void setObsolete(QUndoCommand* theWrappedObject, bool obsolete); - void setText(QUndoCommand* theWrappedObject, const QString& text); - QString text(QUndoCommand* theWrappedObject) const; - void undo(QUndoCommand* theWrappedObject); - void py_q_undo(QUndoCommand* theWrappedObject){ (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_undo());} -}; - - - - - -class PythonQtShell_QUndoGroup : public QUndoGroup -{ -public: - PythonQtShell_QUndoGroup(QObject* parent = nullptr):QUndoGroup(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QUndoGroup() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QUndoGroup : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QUndoGroup* new_QUndoGroup(QObject* parent = nullptr); -void delete_QUndoGroup(QUndoGroup* obj) { delete obj; } - QUndoStack* activeStack(QUndoGroup* theWrappedObject) const; - void addStack(QUndoGroup* theWrappedObject, QUndoStack* stack); - bool canRedo(QUndoGroup* theWrappedObject) const; - bool canUndo(QUndoGroup* theWrappedObject) const; - QAction* createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; - QAction* createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; - bool isClean(QUndoGroup* theWrappedObject) const; - QString redoText(QUndoGroup* theWrappedObject) const; - void removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack); - QList stacks(QUndoGroup* theWrappedObject) const; - QString undoText(QUndoGroup* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QUndoStack : public QUndoStack -{ -public: - PythonQtShell_QUndoStack(QObject* parent = nullptr):QUndoStack(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QUndoStack() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QUndoStack : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QUndoStack* new_QUndoStack(QObject* parent = nullptr); -void delete_QUndoStack(QUndoStack* obj) { delete obj; } - void beginMacro(QUndoStack* theWrappedObject, const QString& text); - bool canRedo(QUndoStack* theWrappedObject) const; - bool canUndo(QUndoStack* theWrappedObject) const; - int cleanIndex(QUndoStack* theWrappedObject) const; - void clear(QUndoStack* theWrappedObject); - const QUndoCommand* command(QUndoStack* theWrappedObject, int index) const; - int count(QUndoStack* theWrappedObject) const; - QAction* createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; - QAction* createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; - void endMacro(QUndoStack* theWrappedObject); - int index(QUndoStack* theWrappedObject) const; - bool isActive(QUndoStack* theWrappedObject) const; - bool isClean(QUndoStack* theWrappedObject) const; - void push(QUndoStack* theWrappedObject, QUndoCommand* cmd); - QString redoText(QUndoStack* theWrappedObject) const; - void setUndoLimit(QUndoStack* theWrappedObject, int limit); - QString text(QUndoStack* theWrappedObject, int idx) const; - int undoLimit(QUndoStack* theWrappedObject) const; - QString undoText(QUndoStack* theWrappedObject) const; -}; - - diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp b/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp deleted file mode 100644 index d2d4daa76..000000000 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui12.cpp +++ /dev/null @@ -1,11544 +0,0 @@ -#include "com_trolltech_qt_gui12.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 -#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 - -PythonQtShell_QUndoView::~PythonQtShell_QUndoView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QUndoView::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::actionEvent(event0); -} -void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::changeEvent(arg__1); -} -void PythonQtShell_QUndoView::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::childEvent(event0); -} -void PythonQtShell_QUndoView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::closeEditor(editor0, hint1); -} -void PythonQtShell_QUndoView::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::closeEvent(event0); -} -void PythonQtShell_QUndoView::commitData(QWidget* editor0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::commitData(editor0); -} -void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::contextMenuEvent(arg__1); -} -void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::currentChanged(current0, previous1); -} -void PythonQtShell_QUndoView::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::customEvent(event0); -} -void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dataChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::dataChanged(topLeft0, bottomRight1, roles2); -} -int PythonQtShell_QUndoView::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::devType(); -} -void PythonQtShell_QUndoView::doItemsLayout() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::doItemsLayout(); -} -void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::dragEnterEvent(event0); -} -void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::dragLeaveEvent(e0); -} -void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::dragMoveEvent(e0); -} -void PythonQtShell_QUndoView::dropEvent(QDropEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::dropEvent(e0); -} -bool PythonQtShell_QUndoView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::edit(index0, trigger1, event2); -} -void PythonQtShell_QUndoView::editorDestroyed(QObject* editor0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::editorDestroyed(editor0); -} -void PythonQtShell_QUndoView::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::enterEvent(event0); -} -bool PythonQtShell_QUndoView::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::event(e0); -} -bool PythonQtShell_QUndoView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::focusInEvent(event0); -} -bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::focusNextPrevChild(next0); -} -void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::focusOutEvent(event0); -} -bool PythonQtShell_QUndoView::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::hasHeightForWidth(); -} -int PythonQtShell_QUndoView::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::heightForWidth(arg__1); -} -void PythonQtShell_QUndoView::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::hideEvent(event0); -} -int PythonQtShell_QUndoView::horizontalOffset() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::horizontalOffset(); -} -void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::horizontalScrollbarAction(action0); -} -void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::horizontalScrollbarValueChanged(value0); -} -QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {nullptr, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::indexAt(p0); -} -void PythonQtShell_QUndoView::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::initPainter(painter0); -} -void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::inputMethodEvent(event0); -} -QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::inputMethodQuery(query0); -} -bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("isIndexHidden"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::isIndexHidden(index0); -} -void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::keyPressEvent(event0); -} -void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::keyReleaseEvent(event0); -} -void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyboardSearch"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&search0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::keyboardSearch(search0); -} -void PythonQtShell_QUndoView::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::leaveEvent(event0); -} -int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::metric(arg__1); -} -QSize PythonQtShell_QUndoView::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::minimumSizeHint(); -} -void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::mouseMoveEvent(e0); -} -void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::mousePressEvent(event0); -} -void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::mouseReleaseEvent(e0); -} -QModelIndex PythonQtShell_QUndoView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveCursor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue{}; - void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::moveCursor(cursorAction0, modifiers1); -} -void PythonQtShell_QUndoView::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::moveEvent(event0); -} -bool PythonQtShell_QUndoView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QUndoView::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::paintEngine(); -} -void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::paintEvent(e0); -} -QPaintDevice* PythonQtShell_QUndoView::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::redirected(offset0); -} -void PythonQtShell_QUndoView::reset() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::reset(); -} -void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::resizeEvent(e0); -} -void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::rowsAboutToBeRemoved(parent0, start1, end2); -} -void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("rowsInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::rowsInserted(parent0, start1, end2); -} -void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("scrollTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::scrollTo(index0, hint1); -} -void PythonQtShell_QUndoView::selectAll() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectAll"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::selectAll(); -} -QList PythonQtShell_QUndoView::selectedIndexes() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectedIndexes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::selectedIndexes(); -} -void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectionChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::selectionChanged(selected0, deselected1); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectionCommand"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue{}; - void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::selectionCommand(index0, event1); -} -void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&model0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::setModel(model0); -} -void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setRootIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::setRootIndex(index0); -} -void PythonQtShell_QUndoView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::setSelection(rect0, command1); -} -void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setSelectionModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&selectionModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::setSelectionModel(selectionModel0); -} -void PythonQtShell_QUndoView::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::setVisible(visible0); -} -void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::setupViewport(viewport0); -} -QPainter* PythonQtShell_QUndoView::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::sharedPainter(); -} -void PythonQtShell_QUndoView::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::showEvent(event0); -} -QSize PythonQtShell_QUndoView::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::sizeHint(); -} -int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&column0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::sizeHintForColumn(column0); -} -int PythonQtShell_QUndoView::sizeHintForRow(int row0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHintForRow"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&row0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::sizeHintForRow(row0); -} -void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("startDrag"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&supportedActions0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::startDrag(supportedActions0); -} -void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::tabletEvent(event0); -} -void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::timerEvent(e0); -} -void PythonQtShell_QUndoView::updateEditorData() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::updateEditorData(); -} -void PythonQtShell_QUndoView::updateEditorGeometries() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::updateEditorGeometries(); -} -void PythonQtShell_QUndoView::updateGeometries() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::updateGeometries(); -} -int PythonQtShell_QUndoView::verticalOffset() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::verticalOffset(); -} -void PythonQtShell_QUndoView::verticalScrollbarAction(int action0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::verticalScrollbarAction(action0); -} -void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::verticalScrollbarValueChanged(value0); -} -QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewOptions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::viewOptions(); -} -bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::viewportEvent(event0); -} -QSize PythonQtShell_QUndoView::viewportSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::viewportSizeHint(); -} -QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("visualRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::visualRect(index0); -} -QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {nullptr, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QUndoView::visualRegionForSelection(selection0); -} -void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QUndoView::wheelEvent(e0); -} -QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QUndoGroup* group, QWidget* parent) -{ -return new PythonQtShell_QUndoView(group, parent); } - -QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QUndoStack* stack, QWidget* parent) -{ -return new PythonQtShell_QUndoView(stack, parent); } - -QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QWidget* parent) -{ -return new PythonQtShell_QUndoView(parent); } - -const QMetaObject* PythonQtShell_QUndoView::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoView::staticMetaObject); - } else { - return &QUndoView::staticMetaObject; - } -} -int PythonQtShell_QUndoView::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QUndoView::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QIcon PythonQtWrapper_QUndoView::cleanIcon(QUndoView* theWrappedObject) const -{ - return ( theWrappedObject->cleanIcon()); -} - -QString PythonQtWrapper_QUndoView::emptyLabel(QUndoView* theWrappedObject) const -{ - return ( theWrappedObject->emptyLabel()); -} - -QUndoGroup* PythonQtWrapper_QUndoView::group(QUndoView* theWrappedObject) const -{ - return ( theWrappedObject->group()); -} - -void PythonQtWrapper_QUndoView::setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setCleanIcon(icon)); -} - -void PythonQtWrapper_QUndoView::setEmptyLabel(QUndoView* theWrappedObject, const QString& label) -{ - ( theWrappedObject->setEmptyLabel(label)); -} - -QUndoStack* PythonQtWrapper_QUndoView::stack(QUndoView* theWrappedObject) const -{ - return ( theWrappedObject->stack()); -} - - - -PythonQtShell_QVBoxLayout::~PythonQtShell_QVBoxLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("addItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QLayoutItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QVBoxLayout::addItem(arg__1); -} -void PythonQtShell_QVBoxLayout::childEvent(QChildEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QVBoxLayout::childEvent(e0); -} -QSizePolicy::ControlTypes PythonQtShell_QVBoxLayout::controlTypes() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("controlTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); - } else { - returnValue = *((QSizePolicy::ControlTypes*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::controlTypes(); -} -int PythonQtShell_QVBoxLayout::count() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("count"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::count(); -} -void PythonQtShell_QVBoxLayout::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QVBoxLayout::customEvent(event0); -} -bool PythonQtShell_QVBoxLayout::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::event(event0); -} -bool PythonQtShell_QVBoxLayout::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::eventFilter(watched0, event1); -} -Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("expandingDirections"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::expandingDirections(); -} -QRect PythonQtShell_QVBoxLayout::geometry() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("geometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::geometry(); -} -bool PythonQtShell_QVBoxLayout::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::hasHeightForWidth(); -} -int PythonQtShell_QVBoxLayout::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::heightForWidth(arg__1); -} -int PythonQtShell_QVBoxLayout::indexOf(QWidget* arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("indexOf"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::indexOf(arg__1); -} -void PythonQtShell_QVBoxLayout::invalidate() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QVBoxLayout::invalidate(); -} -bool PythonQtShell_QVBoxLayout::isEmpty() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("isEmpty"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::isEmpty(); -} -QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("itemAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::itemAt(arg__1); -} -QLayout* PythonQtShell_QVBoxLayout::layout() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("layout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); - } else { - returnValue = *((QLayout**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::layout(); -} -QSize PythonQtShell_QVBoxLayout::maximumSize() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("maximumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::maximumSize(); -} -int PythonQtShell_QVBoxLayout::minimumHeightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::minimumHeightForWidth(arg__1); -} -QSize PythonQtShell_QVBoxLayout::minimumSize() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::minimumSize(); -} -void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QVBoxLayout::setGeometry(arg__1); -} -QSize PythonQtShell_QVBoxLayout::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::sizeHint(); -} -QSpacerItem* PythonQtShell_QVBoxLayout::spacerItem() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("spacerItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSpacerItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); - } else { - returnValue = *((QSpacerItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::spacerItem(); -} -QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("takeAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayoutItem*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QLayoutItem* returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); - } else { - returnValue = *((QLayoutItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::takeAt(arg__1); -} -void PythonQtShell_QVBoxLayout::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QVBoxLayout::timerEvent(event0); -} -QWidget* PythonQtShell_QVBoxLayout::widget() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("widget"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QVBoxLayout::widget(); -} -QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout() -{ -return new PythonQtShell_QVBoxLayout(); } - -QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout(QWidget* parent) -{ -return new PythonQtShell_QVBoxLayout(parent); } - -const QMetaObject* PythonQtShell_QVBoxLayout::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QVBoxLayout::staticMetaObject); - } else { - return &QVBoxLayout::staticMetaObject; - } -} -int PythonQtShell_QVBoxLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QVBoxLayout::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} - - -PythonQtShell_QValidator::~PythonQtShell_QValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QValidator::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QValidator::childEvent(event0); -} -void PythonQtShell_QValidator::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QValidator::customEvent(event0); -} -bool PythonQtShell_QValidator::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QValidator::event(event0); -} -bool PythonQtShell_QValidator::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QValidator::eventFilter(watched0, event1); -} -void PythonQtShell_QValidator::fixup(QString& arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("fixup"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QValidator::fixup(arg__1); -} -void PythonQtShell_QValidator::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QValidator::timerEvent(event0); -} -QValidator::State PythonQtShell_QValidator::validate(QString& arg__1, int& arg__2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("validate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QValidator::State(); -} -QValidator* PythonQtWrapper_QValidator::new_QValidator(QObject* parent) -{ -return new PythonQtShell_QValidator(parent); } - -const QMetaObject* PythonQtShell_QValidator::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QValidator::staticMetaObject); - } else { - return &QValidator::staticMetaObject; - } -} -int PythonQtShell_QValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QValidator::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QValidator::fixup(QValidator* theWrappedObject, QString& arg__1) const -{ - ( theWrappedObject->fixup(arg__1)); -} - -QLocale PythonQtWrapper_QValidator::locale(QValidator* theWrappedObject) const -{ - return ( theWrappedObject->locale()); -} - -void PythonQtWrapper_QValidator::setLocale(QValidator* theWrappedObject, const QLocale& locale) -{ - ( theWrappedObject->setLocale(locale)); -} - -QValidator::State PythonQtWrapper_QValidator::validate(QValidator* theWrappedObject, QString& arg__1, int& arg__2) const -{ - return ( theWrappedObject->validate(arg__1, arg__2)); -} - - - -QVector2D* PythonQtWrapper_QVector2D::new_QVector2D() -{ -return new QVector2D(); } - -QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QPoint& point) -{ -return new QVector2D(point); } - -QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QPointF& point) -{ -return new QVector2D(point); } - -QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QVector3D& vector) -{ -return new QVector2D(vector); } - -QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QVector4D& vector) -{ -return new QVector2D(vector); } - -QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(float xpos, float ypos) -{ -return new QVector2D(xpos, ypos); } - -float PythonQtWrapper_QVector2D::distanceToLine(QVector2D* theWrappedObject, const QVector2D& point, const QVector2D& direction) const -{ - return ( theWrappedObject->distanceToLine(point, direction)); -} - -float PythonQtWrapper_QVector2D::distanceToPoint(QVector2D* theWrappedObject, const QVector2D& point) const -{ - return ( theWrappedObject->distanceToPoint(point)); -} - -float PythonQtWrapper_QVector2D::static_QVector2D_dotProduct(const QVector2D& v1, const QVector2D& v2) -{ - return (QVector2D::dotProduct(v1, v2)); -} - -bool PythonQtWrapper_QVector2D::isNull(QVector2D* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -float PythonQtWrapper_QVector2D::length(QVector2D* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -float PythonQtWrapper_QVector2D::lengthSquared(QVector2D* theWrappedObject) const -{ - return ( theWrappedObject->lengthSquared()); -} - -void PythonQtWrapper_QVector2D::normalize(QVector2D* theWrappedObject) -{ - ( theWrappedObject->normalize()); -} - -QVector2D PythonQtWrapper_QVector2D::normalized(QVector2D* theWrappedObject) const -{ - return ( theWrappedObject->normalized()); -} - -bool PythonQtWrapper_QVector2D::__ne__(QVector2D* theWrappedObject, const QVector2D& v2) -{ - return ( (*theWrappedObject)!= v2); -} - -const QVector2D PythonQtWrapper_QVector2D::__mul__(QVector2D* theWrappedObject, const QVector2D& v2) -{ - return ( (*theWrappedObject)* v2); -} - -const QVector2D PythonQtWrapper_QVector2D::__mul__(QVector2D* theWrappedObject, float factor) -{ - return ( (*theWrappedObject)* factor); -} - -QVector2D* PythonQtWrapper_QVector2D::__imul__(QVector2D* theWrappedObject, const QVector2D& vector) -{ - return &( (*theWrappedObject)*= vector); -} - -QVector2D* PythonQtWrapper_QVector2D::__imul__(QVector2D* theWrappedObject, float factor) -{ - return &( (*theWrappedObject)*= factor); -} - -const QVector2D PythonQtWrapper_QVector2D::__add__(QVector2D* theWrappedObject, const QVector2D& v2) -{ - return ( (*theWrappedObject)+ v2); -} - -QVector2D* PythonQtWrapper_QVector2D::__iadd__(QVector2D* theWrappedObject, const QVector2D& vector) -{ - return &( (*theWrappedObject)+= vector); -} - -const QVector2D PythonQtWrapper_QVector2D::__sub__(QVector2D* theWrappedObject) -{ - return (- (*theWrappedObject)); -} - -const QVector2D PythonQtWrapper_QVector2D::__sub__(QVector2D* theWrappedObject, const QVector2D& v2) -{ - return ( (*theWrappedObject)- v2); -} - -QVector2D* PythonQtWrapper_QVector2D::__isub__(QVector2D* theWrappedObject, const QVector2D& vector) -{ - return &( (*theWrappedObject)-= vector); -} - -const QVector2D PythonQtWrapper_QVector2D::__div__(QVector2D* theWrappedObject, const QVector2D& divisor) -{ - return ( (*theWrappedObject)/ divisor); -} - -const QVector2D PythonQtWrapper_QVector2D::__div__(QVector2D* theWrappedObject, float divisor) -{ - return ( (*theWrappedObject)/ divisor); -} - -QVector2D* PythonQtWrapper_QVector2D::__idiv__(QVector2D* theWrappedObject, const QVector2D& vector) -{ - return &( (*theWrappedObject)/= vector); -} - -QVector2D* PythonQtWrapper_QVector2D::__idiv__(QVector2D* theWrappedObject, float divisor) -{ - return &( (*theWrappedObject)/= divisor); -} - -void PythonQtWrapper_QVector2D::writeTo(QVector2D* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QVector2D::__eq__(QVector2D* theWrappedObject, const QVector2D& v2) -{ - return ( (*theWrappedObject)== v2); -} - -void PythonQtWrapper_QVector2D::readFrom(QVector2D* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -float PythonQtWrapper_QVector2D::operator_subscript(QVector2D* theWrappedObject, int i) const -{ - return ( (*theWrappedObject)[i]); -} - -void PythonQtWrapper_QVector2D::setX(QVector2D* theWrappedObject, float x) -{ - ( theWrappedObject->setX(x)); -} - -void PythonQtWrapper_QVector2D::setY(QVector2D* theWrappedObject, float y) -{ - ( theWrappedObject->setY(y)); -} - -QPoint PythonQtWrapper_QVector2D::toPoint(QVector2D* theWrappedObject) const -{ - return ( theWrappedObject->toPoint()); -} - -QPointF PythonQtWrapper_QVector2D::toPointF(QVector2D* theWrappedObject) const -{ - return ( theWrappedObject->toPointF()); -} - -QVector3D PythonQtWrapper_QVector2D::toVector3D(QVector2D* theWrappedObject) const -{ - return ( theWrappedObject->toVector3D()); -} - -QVector4D PythonQtWrapper_QVector2D::toVector4D(QVector2D* theWrappedObject) const -{ - return ( theWrappedObject->toVector4D()); -} - -float PythonQtWrapper_QVector2D::x(QVector2D* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -float PythonQtWrapper_QVector2D::y(QVector2D* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -QString PythonQtWrapper_QVector2D::py_toString(QVector2D* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -QVector3D* PythonQtWrapper_QVector3D::new_QVector3D() -{ -return new QVector3D(); } - -QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QPoint& point) -{ -return new QVector3D(point); } - -QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QPointF& point) -{ -return new QVector3D(point); } - -QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QVector2D& vector) -{ -return new QVector3D(vector); } - -QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QVector2D& vector, float zpos) -{ -return new QVector3D(vector, zpos); } - -QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QVector4D& vector) -{ -return new QVector3D(vector); } - -QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(float xpos, float ypos, float zpos) -{ -return new QVector3D(xpos, ypos, zpos); } - -QVector3D PythonQtWrapper_QVector3D::static_QVector3D_crossProduct(const QVector3D& v1, const QVector3D& v2) -{ - return (QVector3D::crossProduct(v1, v2)); -} - -float PythonQtWrapper_QVector3D::distanceToLine(QVector3D* theWrappedObject, const QVector3D& point, const QVector3D& direction) const -{ - return ( theWrappedObject->distanceToLine(point, direction)); -} - -float PythonQtWrapper_QVector3D::distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane, const QVector3D& normal) const -{ - return ( theWrappedObject->distanceToPlane(plane, normal)); -} - -float PythonQtWrapper_QVector3D::distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane1, const QVector3D& plane2, const QVector3D& plane3) const -{ - return ( theWrappedObject->distanceToPlane(plane1, plane2, plane3)); -} - -float PythonQtWrapper_QVector3D::distanceToPoint(QVector3D* theWrappedObject, const QVector3D& point) const -{ - return ( theWrappedObject->distanceToPoint(point)); -} - -float PythonQtWrapper_QVector3D::static_QVector3D_dotProduct(const QVector3D& v1, const QVector3D& v2) -{ - return (QVector3D::dotProduct(v1, v2)); -} - -bool PythonQtWrapper_QVector3D::isNull(QVector3D* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -float PythonQtWrapper_QVector3D::length(QVector3D* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -float PythonQtWrapper_QVector3D::lengthSquared(QVector3D* theWrappedObject) const -{ - return ( theWrappedObject->lengthSquared()); -} - -QVector3D PythonQtWrapper_QVector3D::static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2) -{ - return (QVector3D::normal(v1, v2)); -} - -QVector3D PythonQtWrapper_QVector3D::static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2, const QVector3D& v3) -{ - return (QVector3D::normal(v1, v2, v3)); -} - -void PythonQtWrapper_QVector3D::normalize(QVector3D* theWrappedObject) -{ - ( theWrappedObject->normalize()); -} - -QVector3D PythonQtWrapper_QVector3D::normalized(QVector3D* theWrappedObject) const -{ - return ( theWrappedObject->normalized()); -} - -bool PythonQtWrapper_QVector3D::__ne__(QVector3D* theWrappedObject, const QVector3D& v2) -{ - return ( (*theWrappedObject)!= v2); -} - -QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, const QMatrix4x4& matrix) -{ - return ( (*theWrappedObject)* matrix); -} - -const QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, const QVector3D& v2) -{ - return ( (*theWrappedObject)* v2); -} - -const QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, float factor) -{ - return ( (*theWrappedObject)* factor); -} - -QVector3D* PythonQtWrapper_QVector3D::__imul__(QVector3D* theWrappedObject, const QVector3D& vector) -{ - return &( (*theWrappedObject)*= vector); -} - -QVector3D* PythonQtWrapper_QVector3D::__imul__(QVector3D* theWrappedObject, float factor) -{ - return &( (*theWrappedObject)*= factor); -} - -const QVector3D PythonQtWrapper_QVector3D::__add__(QVector3D* theWrappedObject, const QVector3D& v2) -{ - return ( (*theWrappedObject)+ v2); -} - -QVector3D* PythonQtWrapper_QVector3D::__iadd__(QVector3D* theWrappedObject, const QVector3D& vector) -{ - return &( (*theWrappedObject)+= vector); -} - -const QVector3D PythonQtWrapper_QVector3D::__sub__(QVector3D* theWrappedObject) -{ - return (- (*theWrappedObject)); -} - -const QVector3D PythonQtWrapper_QVector3D::__sub__(QVector3D* theWrappedObject, const QVector3D& v2) -{ - return ( (*theWrappedObject)- v2); -} - -QVector3D* PythonQtWrapper_QVector3D::__isub__(QVector3D* theWrappedObject, const QVector3D& vector) -{ - return &( (*theWrappedObject)-= vector); -} - -const QVector3D PythonQtWrapper_QVector3D::__div__(QVector3D* theWrappedObject, const QVector3D& divisor) -{ - return ( (*theWrappedObject)/ divisor); -} - -const QVector3D PythonQtWrapper_QVector3D::__div__(QVector3D* theWrappedObject, float divisor) -{ - return ( (*theWrappedObject)/ divisor); -} - -QVector3D* PythonQtWrapper_QVector3D::__idiv__(QVector3D* theWrappedObject, const QVector3D& vector) -{ - return &( (*theWrappedObject)/= vector); -} - -QVector3D* PythonQtWrapper_QVector3D::__idiv__(QVector3D* theWrappedObject, float divisor) -{ - return &( (*theWrappedObject)/= divisor); -} - -void PythonQtWrapper_QVector3D::writeTo(QVector3D* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QVector3D::__eq__(QVector3D* theWrappedObject, const QVector3D& v2) -{ - return ( (*theWrappedObject)== v2); -} - -void PythonQtWrapper_QVector3D::readFrom(QVector3D* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -float PythonQtWrapper_QVector3D::operator_subscript(QVector3D* theWrappedObject, int i) const -{ - return ( (*theWrappedObject)[i]); -} - -QVector3D PythonQtWrapper_QVector3D::project(QVector3D* theWrappedObject, const QMatrix4x4& modelView, const QMatrix4x4& projection, const QRect& viewport) const -{ - return ( theWrappedObject->project(modelView, projection, viewport)); -} - -void PythonQtWrapper_QVector3D::setX(QVector3D* theWrappedObject, float x) -{ - ( theWrappedObject->setX(x)); -} - -void PythonQtWrapper_QVector3D::setY(QVector3D* theWrappedObject, float y) -{ - ( theWrappedObject->setY(y)); -} - -void PythonQtWrapper_QVector3D::setZ(QVector3D* theWrappedObject, float z) -{ - ( theWrappedObject->setZ(z)); -} - -QPoint PythonQtWrapper_QVector3D::toPoint(QVector3D* theWrappedObject) const -{ - return ( theWrappedObject->toPoint()); -} - -QPointF PythonQtWrapper_QVector3D::toPointF(QVector3D* theWrappedObject) const -{ - return ( theWrappedObject->toPointF()); -} - -QVector2D PythonQtWrapper_QVector3D::toVector2D(QVector3D* theWrappedObject) const -{ - return ( theWrappedObject->toVector2D()); -} - -QVector4D PythonQtWrapper_QVector3D::toVector4D(QVector3D* theWrappedObject) const -{ - return ( theWrappedObject->toVector4D()); -} - -QVector3D PythonQtWrapper_QVector3D::unproject(QVector3D* theWrappedObject, const QMatrix4x4& modelView, const QMatrix4x4& projection, const QRect& viewport) const -{ - return ( theWrappedObject->unproject(modelView, projection, viewport)); -} - -float PythonQtWrapper_QVector3D::x(QVector3D* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -float PythonQtWrapper_QVector3D::y(QVector3D* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -float PythonQtWrapper_QVector3D::z(QVector3D* theWrappedObject) const -{ - return ( theWrappedObject->z()); -} - -QString PythonQtWrapper_QVector3D::py_toString(QVector3D* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -QVector4D* PythonQtWrapper_QVector4D::new_QVector4D() -{ -return new QVector4D(); } - -QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QPoint& point) -{ -return new QVector4D(point); } - -QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QPointF& point) -{ -return new QVector4D(point); } - -QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector2D& vector) -{ -return new QVector4D(vector); } - -QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector2D& vector, float zpos, float wpos) -{ -return new QVector4D(vector, zpos, wpos); } - -QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector3D& vector) -{ -return new QVector4D(vector); } - -QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector3D& vector, float wpos) -{ -return new QVector4D(vector, wpos); } - -QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(float xpos, float ypos, float zpos, float wpos) -{ -return new QVector4D(xpos, ypos, zpos, wpos); } - -float PythonQtWrapper_QVector4D::static_QVector4D_dotProduct(const QVector4D& v1, const QVector4D& v2) -{ - return (QVector4D::dotProduct(v1, v2)); -} - -bool PythonQtWrapper_QVector4D::isNull(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -float PythonQtWrapper_QVector4D::length(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -float PythonQtWrapper_QVector4D::lengthSquared(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->lengthSquared()); -} - -void PythonQtWrapper_QVector4D::normalize(QVector4D* theWrappedObject) -{ - ( theWrappedObject->normalize()); -} - -QVector4D PythonQtWrapper_QVector4D::normalized(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->normalized()); -} - -bool PythonQtWrapper_QVector4D::__ne__(QVector4D* theWrappedObject, const QVector4D& v2) -{ - return ( (*theWrappedObject)!= v2); -} - -QVector4D PythonQtWrapper_QVector4D::__mul__(QVector4D* theWrappedObject, const QMatrix4x4& matrix) -{ - return ( (*theWrappedObject)* matrix); -} - -const QVector4D PythonQtWrapper_QVector4D::__mul__(QVector4D* theWrappedObject, const QVector4D& v2) -{ - return ( (*theWrappedObject)* v2); -} - -const QVector4D PythonQtWrapper_QVector4D::__mul__(QVector4D* theWrappedObject, float factor) -{ - return ( (*theWrappedObject)* factor); -} - -QVector4D* PythonQtWrapper_QVector4D::__imul__(QVector4D* theWrappedObject, const QVector4D& vector) -{ - return &( (*theWrappedObject)*= vector); -} - -QVector4D* PythonQtWrapper_QVector4D::__imul__(QVector4D* theWrappedObject, float factor) -{ - return &( (*theWrappedObject)*= factor); -} - -const QVector4D PythonQtWrapper_QVector4D::__add__(QVector4D* theWrappedObject, const QVector4D& v2) -{ - return ( (*theWrappedObject)+ v2); -} - -QVector4D* PythonQtWrapper_QVector4D::__iadd__(QVector4D* theWrappedObject, const QVector4D& vector) -{ - return &( (*theWrappedObject)+= vector); -} - -const QVector4D PythonQtWrapper_QVector4D::__sub__(QVector4D* theWrappedObject) -{ - return (- (*theWrappedObject)); -} - -const QVector4D PythonQtWrapper_QVector4D::__sub__(QVector4D* theWrappedObject, const QVector4D& v2) -{ - return ( (*theWrappedObject)- v2); -} - -QVector4D* PythonQtWrapper_QVector4D::__isub__(QVector4D* theWrappedObject, const QVector4D& vector) -{ - return &( (*theWrappedObject)-= vector); -} - -const QVector4D PythonQtWrapper_QVector4D::__div__(QVector4D* theWrappedObject, const QVector4D& divisor) -{ - return ( (*theWrappedObject)/ divisor); -} - -const QVector4D PythonQtWrapper_QVector4D::__div__(QVector4D* theWrappedObject, float divisor) -{ - return ( (*theWrappedObject)/ divisor); -} - -QVector4D* PythonQtWrapper_QVector4D::__idiv__(QVector4D* theWrappedObject, const QVector4D& vector) -{ - return &( (*theWrappedObject)/= vector); -} - -QVector4D* PythonQtWrapper_QVector4D::__idiv__(QVector4D* theWrappedObject, float divisor) -{ - return &( (*theWrappedObject)/= divisor); -} - -void PythonQtWrapper_QVector4D::writeTo(QVector4D* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -bool PythonQtWrapper_QVector4D::__eq__(QVector4D* theWrappedObject, const QVector4D& v2) -{ - return ( (*theWrappedObject)== v2); -} - -void PythonQtWrapper_QVector4D::readFrom(QVector4D* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -float PythonQtWrapper_QVector4D::operator_subscript(QVector4D* theWrappedObject, int i) const -{ - return ( (*theWrappedObject)[i]); -} - -void PythonQtWrapper_QVector4D::setW(QVector4D* theWrappedObject, float w) -{ - ( theWrappedObject->setW(w)); -} - -void PythonQtWrapper_QVector4D::setX(QVector4D* theWrappedObject, float x) -{ - ( theWrappedObject->setX(x)); -} - -void PythonQtWrapper_QVector4D::setY(QVector4D* theWrappedObject, float y) -{ - ( theWrappedObject->setY(y)); -} - -void PythonQtWrapper_QVector4D::setZ(QVector4D* theWrappedObject, float z) -{ - ( theWrappedObject->setZ(z)); -} - -QPoint PythonQtWrapper_QVector4D::toPoint(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->toPoint()); -} - -QPointF PythonQtWrapper_QVector4D::toPointF(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->toPointF()); -} - -QVector2D PythonQtWrapper_QVector4D::toVector2D(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->toVector2D()); -} - -QVector2D PythonQtWrapper_QVector4D::toVector2DAffine(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->toVector2DAffine()); -} - -QVector3D PythonQtWrapper_QVector4D::toVector3D(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->toVector3D()); -} - -QVector3D PythonQtWrapper_QVector4D::toVector3DAffine(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->toVector3DAffine()); -} - -float PythonQtWrapper_QVector4D::w(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->w()); -} - -float PythonQtWrapper_QVector4D::x(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -float PythonQtWrapper_QVector4D::y(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -float PythonQtWrapper_QVector4D::z(QVector4D* theWrappedObject) const -{ - return ( theWrappedObject->z()); -} - -QString PythonQtWrapper_QVector4D::py_toString(QVector4D* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -QAction* PythonQtWrapper_QWhatsThis::static_QWhatsThis_createAction(QObject* parent) -{ - return (QWhatsThis::createAction(parent)); -} - -void PythonQtWrapper_QWhatsThis::static_QWhatsThis_enterWhatsThisMode() -{ - (QWhatsThis::enterWhatsThisMode()); -} - -void PythonQtWrapper_QWhatsThis::static_QWhatsThis_hideText() -{ - (QWhatsThis::hideText()); -} - -bool PythonQtWrapper_QWhatsThis::static_QWhatsThis_inWhatsThisMode() -{ - return (QWhatsThis::inWhatsThisMode()); -} - -void PythonQtWrapper_QWhatsThis::static_QWhatsThis_leaveWhatsThisMode() -{ - (QWhatsThis::leaveWhatsThisMode()); -} - -void PythonQtWrapper_QWhatsThis::static_QWhatsThis_showText(const QPoint& pos, const QString& text, QWidget* w) -{ - (QWhatsThis::showText(pos, text, w)); -} - - - -QWhatsThisClickedEvent* PythonQtWrapper_QWhatsThisClickedEvent::new_QWhatsThisClickedEvent(const QString& href) -{ -return new QWhatsThisClickedEvent(href); } - -QString PythonQtWrapper_QWhatsThisClickedEvent::href(QWhatsThisClickedEvent* theWrappedObject) const -{ - return ( theWrappedObject->href()); -} - - - -PythonQtShell_QWheelEvent::~PythonQtShell_QWheelEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) -{ -return new PythonQtShell_QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers); } - -QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase) -{ -return new PythonQtShell_QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase); } - -QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source) -{ -return new PythonQtShell_QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source); } - -QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source, bool inverted) -{ -return new PythonQtShell_QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source, inverted); } - -QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient) -{ -return new PythonQtShell_QWheelEvent(pos, globalPos, delta, buttons, modifiers, orient); } - -QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient) -{ -return new PythonQtShell_QWheelEvent(pos, delta, buttons, modifiers, orient); } - -QPoint PythonQtWrapper_QWheelEvent::angleDelta(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->angleDelta()); -} - -Qt::MouseButtons PythonQtWrapper_QWheelEvent::buttons(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->buttons()); -} - -int PythonQtWrapper_QWheelEvent::delta(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->delta()); -} - -QPoint PythonQtWrapper_QWheelEvent::globalPos(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalPos()); -} - -const QPointF* PythonQtWrapper_QWheelEvent::globalPosF(QWheelEvent* theWrappedObject) const -{ - return &( theWrappedObject->globalPosF()); -} - -int PythonQtWrapper_QWheelEvent::globalX(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalX()); -} - -int PythonQtWrapper_QWheelEvent::globalY(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalY()); -} - -bool PythonQtWrapper_QWheelEvent::inverted(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->inverted()); -} - -Qt::Orientation PythonQtWrapper_QWheelEvent::orientation(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -Qt::ScrollPhase PythonQtWrapper_QWheelEvent::phase(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->phase()); -} - -QPoint PythonQtWrapper_QWheelEvent::pixelDelta(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->pixelDelta()); -} - -QPoint PythonQtWrapper_QWheelEvent::pos(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -const QPointF* PythonQtWrapper_QWheelEvent::posF(QWheelEvent* theWrappedObject) const -{ - return &( theWrappedObject->posF()); -} - -Qt::MouseEventSource PythonQtWrapper_QWheelEvent::source(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->source()); -} - -int PythonQtWrapper_QWheelEvent::x(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -int PythonQtWrapper_QWheelEvent::y(QWheelEvent* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - - - -PythonQtShell_QWidget::~PythonQtShell_QWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QWidget::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::actionEvent(event0); -} -void PythonQtShell_QWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::changeEvent(arg__1); -} -void PythonQtShell_QWidget::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::childEvent(event0); -} -void PythonQtShell_QWidget::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::closeEvent(event0); -} -void PythonQtShell_QWidget::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::contextMenuEvent(event0); -} -void PythonQtShell_QWidget::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::customEvent(event0); -} -int PythonQtShell_QWidget::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidget::devType(); -} -void PythonQtShell_QWidget::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::dragEnterEvent(event0); -} -void PythonQtShell_QWidget::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::dragLeaveEvent(event0); -} -void PythonQtShell_QWidget::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::dragMoveEvent(event0); -} -void PythonQtShell_QWidget::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::dropEvent(event0); -} -void PythonQtShell_QWidget::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::enterEvent(event0); -} -bool PythonQtShell_QWidget::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidget::event(event0); -} -bool PythonQtShell_QWidget::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidget::eventFilter(watched0, event1); -} -void PythonQtShell_QWidget::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::focusInEvent(event0); -} -bool PythonQtShell_QWidget::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidget::focusNextPrevChild(next0); -} -void PythonQtShell_QWidget::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::focusOutEvent(event0); -} -bool PythonQtShell_QWidget::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidget::hasHeightForWidth(); -} -int PythonQtShell_QWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidget::heightForWidth(arg__1); -} -void PythonQtShell_QWidget::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::hideEvent(event0); -} -void PythonQtShell_QWidget::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::initPainter(painter0); -} -void PythonQtShell_QWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QWidget::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::keyPressEvent(event0); -} -void PythonQtShell_QWidget::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::keyReleaseEvent(event0); -} -void PythonQtShell_QWidget::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::leaveEvent(event0); -} -int PythonQtShell_QWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidget::metric(arg__1); -} -QSize PythonQtShell_QWidget::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidget::minimumSizeHint(); -} -void PythonQtShell_QWidget::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QWidget::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::mouseMoveEvent(event0); -} -void PythonQtShell_QWidget::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::mousePressEvent(event0); -} -void PythonQtShell_QWidget::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::mouseReleaseEvent(event0); -} -void PythonQtShell_QWidget::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::moveEvent(event0); -} -bool PythonQtShell_QWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidget::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QWidget::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidget::paintEngine(); -} -void PythonQtShell_QWidget::paintEvent(QPaintEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QWidget::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidget::redirected(offset0); -} -void PythonQtShell_QWidget::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::resizeEvent(event0); -} -void PythonQtShell_QWidget::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::setVisible(visible0); -} -QPainter* PythonQtShell_QWidget::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidget::sharedPainter(); -} -void PythonQtShell_QWidget::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::showEvent(event0); -} -QSize PythonQtShell_QWidget::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidget::sizeHint(); -} -void PythonQtShell_QWidget::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::tabletEvent(event0); -} -void PythonQtShell_QWidget::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::timerEvent(event0); -} -void PythonQtShell_QWidget::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidget::wheelEvent(event0); -} -QWidget* PythonQtWrapper_QWidget::new_QWidget(QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QWidget(parent, f); } - -const QMetaObject* PythonQtShell_QWidget::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWidget::staticMetaObject); - } else { - return &QWidget::staticMetaObject; - } -} -int PythonQtShell_QWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QWidget::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QWidget::acceptDrops(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->acceptDrops()); -} - -QString PythonQtWrapper_QWidget::accessibleDescription(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->accessibleDescription()); -} - -QString PythonQtWrapper_QWidget::accessibleName(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->accessibleName()); -} - -void PythonQtWrapper_QWidget::actionEvent(QWidget* theWrappedObject, QActionEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_actionEvent(event)); -} - -QList PythonQtWrapper_QWidget::actions(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->actions()); -} - -void PythonQtWrapper_QWidget::activateWindow(QWidget* theWrappedObject) -{ - ( theWrappedObject->activateWindow()); -} - -void PythonQtWrapper_QWidget::addAction(QWidget* theWrappedObject, QAction* action) -{ - ( theWrappedObject->addAction(action)); -} - -void PythonQtWrapper_QWidget::addActions(QWidget* theWrappedObject, QList actions) -{ - ( theWrappedObject->addActions(actions)); -} - -void PythonQtWrapper_QWidget::adjustSize(QWidget* theWrappedObject) -{ - ( theWrappedObject->adjustSize()); -} - -bool PythonQtWrapper_QWidget::autoFillBackground(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->autoFillBackground()); -} - -QPalette::ColorRole PythonQtWrapper_QWidget::backgroundRole(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->backgroundRole()); -} - -QBackingStore* PythonQtWrapper_QWidget::backingStore(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->backingStore()); -} - -QSize PythonQtWrapper_QWidget::baseSize(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->baseSize()); -} - -void PythonQtWrapper_QWidget::changeEvent(QWidget* theWrappedObject, QEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_changeEvent(arg__1)); -} - -QWidget* PythonQtWrapper_QWidget::childAt(QWidget* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->childAt(p)); -} - -QWidget* PythonQtWrapper_QWidget::childAt(QWidget* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->childAt(x, y)); -} - -QRect PythonQtWrapper_QWidget::childrenRect(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->childrenRect()); -} - -QRegion PythonQtWrapper_QWidget::childrenRegion(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->childrenRegion()); -} - -void PythonQtWrapper_QWidget::clearFocus(QWidget* theWrappedObject) -{ - ( theWrappedObject->clearFocus()); -} - -void PythonQtWrapper_QWidget::clearMask(QWidget* theWrappedObject) -{ - ( theWrappedObject->clearMask()); -} - -void PythonQtWrapper_QWidget::closeEvent(QWidget* theWrappedObject, QCloseEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_closeEvent(event)); -} - -QMargins PythonQtWrapper_QWidget::contentsMargins(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->contentsMargins()); -} - -QRect PythonQtWrapper_QWidget::contentsRect(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->contentsRect()); -} - -void PythonQtWrapper_QWidget::contextMenuEvent(QWidget* theWrappedObject, QContextMenuEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_contextMenuEvent(event)); -} - -Qt::ContextMenuPolicy PythonQtWrapper_QWidget::contextMenuPolicy(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->contextMenuPolicy()); -} - -void PythonQtWrapper_QWidget::createWinId(QWidget* theWrappedObject) -{ - ( theWrappedObject->createWinId()); -} - -QWidget* PythonQtWrapper_QWidget::static_QWidget_createWindowContainer(QWindow* window, QWidget* parent, Qt::WindowFlags flags) -{ - return (QWidget::createWindowContainer(window, parent, flags)); -} - -QCursor PythonQtWrapper_QWidget::cursor(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->cursor()); -} - -void PythonQtWrapper_QWidget::destroy(QWidget* theWrappedObject, bool destroyWindow, bool destroySubWindows) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_destroy(destroyWindow, destroySubWindows)); -} - -void PythonQtWrapper_QWidget::dragEnterEvent(QWidget* theWrappedObject, QDragEnterEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragEnterEvent(event)); -} - -void PythonQtWrapper_QWidget::dragLeaveEvent(QWidget* theWrappedObject, QDragLeaveEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragLeaveEvent(event)); -} - -void PythonQtWrapper_QWidget::dragMoveEvent(QWidget* theWrappedObject, QDragMoveEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragMoveEvent(event)); -} - -void PythonQtWrapper_QWidget::dropEvent(QWidget* theWrappedObject, QDropEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dropEvent(event)); -} - -WId PythonQtWrapper_QWidget::effectiveWinId(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->effectiveWinId()); -} - -void PythonQtWrapper_QWidget::ensurePolished(QWidget* theWrappedObject) const -{ - ( theWrappedObject->ensurePolished()); -} - -void PythonQtWrapper_QWidget::enterEvent(QWidget* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_enterEvent(event)); -} - -void PythonQtWrapper_QWidget::focusInEvent(QWidget* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusInEvent(event)); -} - -bool PythonQtWrapper_QWidget::focusNextChild(QWidget* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusNextChild()); -} - -bool PythonQtWrapper_QWidget::focusNextPrevChild(QWidget* theWrappedObject, bool next) -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); -} - -void PythonQtWrapper_QWidget::focusOutEvent(QWidget* theWrappedObject, QFocusEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusOutEvent(event)); -} - -Qt::FocusPolicy PythonQtWrapper_QWidget::focusPolicy(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->focusPolicy()); -} - -bool PythonQtWrapper_QWidget::focusPreviousChild(QWidget* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusPreviousChild()); -} - -QWidget* PythonQtWrapper_QWidget::focusProxy(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->focusProxy()); -} - -QWidget* PythonQtWrapper_QWidget::focusWidget(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->focusWidget()); -} - -const QFont* PythonQtWrapper_QWidget::font(QWidget* theWrappedObject) const -{ - return &( theWrappedObject->font()); -} - -QFontInfo PythonQtWrapper_QWidget::fontInfo(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->fontInfo()); -} - -QFontMetrics PythonQtWrapper_QWidget::fontMetrics(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->fontMetrics()); -} - -QPalette::ColorRole PythonQtWrapper_QWidget::foregroundRole(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->foregroundRole()); -} - -QRect PythonQtWrapper_QWidget::frameGeometry(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->frameGeometry()); -} - -QSize PythonQtWrapper_QWidget::frameSize(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->frameSize()); -} - -const QRect* PythonQtWrapper_QWidget::geometry(QWidget* theWrappedObject) const -{ - return &( theWrappedObject->geometry()); -} - -QPixmap PythonQtWrapper_QWidget::grab(QWidget* theWrappedObject, const QRect& rectangle) -{ - return ( theWrappedObject->grab(rectangle)); -} - -void PythonQtWrapper_QWidget::grabGesture(QWidget* theWrappedObject, Qt::GestureType type, Qt::GestureFlags flags) -{ - ( theWrappedObject->grabGesture(type, flags)); -} - -void PythonQtWrapper_QWidget::grabKeyboard(QWidget* theWrappedObject) -{ - ( theWrappedObject->grabKeyboard()); -} - -void PythonQtWrapper_QWidget::grabMouse(QWidget* theWrappedObject) -{ - ( theWrappedObject->grabMouse()); -} - -void PythonQtWrapper_QWidget::grabMouse(QWidget* theWrappedObject, const QCursor& arg__1) -{ - ( theWrappedObject->grabMouse(arg__1)); -} - -int PythonQtWrapper_QWidget::grabShortcut(QWidget* theWrappedObject, const QKeySequence& key, Qt::ShortcutContext context) -{ - return ( theWrappedObject->grabShortcut(key, context)); -} - -QGraphicsEffect* PythonQtWrapper_QWidget::graphicsEffect(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->graphicsEffect()); -} - -QGraphicsProxyWidget* PythonQtWrapper_QWidget::graphicsProxyWidget(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->graphicsProxyWidget()); -} - -bool PythonQtWrapper_QWidget::hasFocus(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->hasFocus()); -} - -bool PythonQtWrapper_QWidget::hasHeightForWidth(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->hasHeightForWidth()); -} - -bool PythonQtWrapper_QWidget::hasMouseTracking(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->hasMouseTracking()); -} - -bool PythonQtWrapper_QWidget::hasTabletTracking(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->hasTabletTracking()); -} - -int PythonQtWrapper_QWidget::height(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -int PythonQtWrapper_QWidget::heightForWidth(QWidget* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->heightForWidth(arg__1)); -} - -void PythonQtWrapper_QWidget::hideEvent(QWidget* theWrappedObject, QHideEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_hideEvent(event)); -} - -void PythonQtWrapper_QWidget::inputMethodEvent(QWidget* theWrappedObject, QInputMethodEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); -} - -Qt::InputMethodHints PythonQtWrapper_QWidget::inputMethodHints(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->inputMethodHints()); -} - -QVariant PythonQtWrapper_QWidget::inputMethodQuery(QWidget* theWrappedObject, Qt::InputMethodQuery arg__1) const -{ - return ( theWrappedObject->inputMethodQuery(arg__1)); -} - -void PythonQtWrapper_QWidget::insertAction(QWidget* theWrappedObject, QAction* before, QAction* action) -{ - ( theWrappedObject->insertAction(before, action)); -} - -void PythonQtWrapper_QWidget::insertActions(QWidget* theWrappedObject, QAction* before, QList actions) -{ - ( theWrappedObject->insertActions(before, actions)); -} - -bool PythonQtWrapper_QWidget::isActiveWindow(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isActiveWindow()); -} - -bool PythonQtWrapper_QWidget::isAncestorOf(QWidget* theWrappedObject, const QWidget* child) const -{ - return ( theWrappedObject->isAncestorOf(child)); -} - -bool PythonQtWrapper_QWidget::isEnabled(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isEnabled()); -} - -bool PythonQtWrapper_QWidget::isEnabledTo(QWidget* theWrappedObject, const QWidget* arg__1) const -{ - return ( theWrappedObject->isEnabledTo(arg__1)); -} - -bool PythonQtWrapper_QWidget::isFullScreen(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isFullScreen()); -} - -bool PythonQtWrapper_QWidget::isHidden(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isHidden()); -} - -bool PythonQtWrapper_QWidget::isLeftToRight(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isLeftToRight()); -} - -bool PythonQtWrapper_QWidget::isMaximized(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isMaximized()); -} - -bool PythonQtWrapper_QWidget::isMinimized(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isMinimized()); -} - -bool PythonQtWrapper_QWidget::isModal(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isModal()); -} - -bool PythonQtWrapper_QWidget::isRightToLeft(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isRightToLeft()); -} - -bool PythonQtWrapper_QWidget::isVisible(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isVisible()); -} - -bool PythonQtWrapper_QWidget::isVisibleTo(QWidget* theWrappedObject, const QWidget* arg__1) const -{ - return ( theWrappedObject->isVisibleTo(arg__1)); -} - -bool PythonQtWrapper_QWidget::isWindow(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isWindow()); -} - -bool PythonQtWrapper_QWidget::isWindowModified(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->isWindowModified()); -} - -void PythonQtWrapper_QWidget::keyPressEvent(QWidget* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_keyPressEvent(event)); -} - -void PythonQtWrapper_QWidget::keyReleaseEvent(QWidget* theWrappedObject, QKeyEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_keyReleaseEvent(event)); -} - -QWidget* PythonQtWrapper_QWidget::static_QWidget_keyboardGrabber() -{ - return (QWidget::keyboardGrabber()); -} - -QLayout* PythonQtWrapper_QWidget::layout(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->layout()); -} - -Qt::LayoutDirection PythonQtWrapper_QWidget::layoutDirection(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->layoutDirection()); -} - -void PythonQtWrapper_QWidget::leaveEvent(QWidget* theWrappedObject, QEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_leaveEvent(event)); -} - -QLocale PythonQtWrapper_QWidget::locale(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->locale()); -} - -QPoint PythonQtWrapper_QWidget::mapFrom(QWidget* theWrappedObject, const QWidget* arg__1, const QPoint& arg__2) const -{ - return ( theWrappedObject->mapFrom(arg__1, arg__2)); -} - -QPoint PythonQtWrapper_QWidget::mapFromGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const -{ - return ( theWrappedObject->mapFromGlobal(arg__1)); -} - -QPoint PythonQtWrapper_QWidget::mapFromParent(QWidget* theWrappedObject, const QPoint& arg__1) const -{ - return ( theWrappedObject->mapFromParent(arg__1)); -} - -QPoint PythonQtWrapper_QWidget::mapTo(QWidget* theWrappedObject, const QWidget* arg__1, const QPoint& arg__2) const -{ - return ( theWrappedObject->mapTo(arg__1, arg__2)); -} - -QPoint PythonQtWrapper_QWidget::mapToGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const -{ - return ( theWrappedObject->mapToGlobal(arg__1)); -} - -QPoint PythonQtWrapper_QWidget::mapToParent(QWidget* theWrappedObject, const QPoint& arg__1) const -{ - return ( theWrappedObject->mapToParent(arg__1)); -} - -QRegion PythonQtWrapper_QWidget::mask(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->mask()); -} - -int PythonQtWrapper_QWidget::maximumHeight(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->maximumHeight()); -} - -QSize PythonQtWrapper_QWidget::maximumSize(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->maximumSize()); -} - -int PythonQtWrapper_QWidget::maximumWidth(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->maximumWidth()); -} - -int PythonQtWrapper_QWidget::minimumHeight(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->minimumHeight()); -} - -QSize PythonQtWrapper_QWidget::minimumSize(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - -QSize PythonQtWrapper_QWidget::minimumSizeHint(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->minimumSizeHint()); -} - -int PythonQtWrapper_QWidget::minimumWidth(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->minimumWidth()); -} - -void PythonQtWrapper_QWidget::mouseDoubleClickEvent(QWidget* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); -} - -QWidget* PythonQtWrapper_QWidget::static_QWidget_mouseGrabber() -{ - return (QWidget::mouseGrabber()); -} - -void PythonQtWrapper_QWidget::mouseMoveEvent(QWidget* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseMoveEvent(event)); -} - -void PythonQtWrapper_QWidget::mousePressEvent(QWidget* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mousePressEvent(event)); -} - -void PythonQtWrapper_QWidget::mouseReleaseEvent(QWidget* theWrappedObject, QMouseEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseReleaseEvent(event)); -} - -void PythonQtWrapper_QWidget::move(QWidget* theWrappedObject, const QPoint& arg__1) -{ - ( theWrappedObject->move(arg__1)); -} - -void PythonQtWrapper_QWidget::move(QWidget* theWrappedObject, int x, int y) -{ - ( theWrappedObject->move(x, y)); -} - -void PythonQtWrapper_QWidget::moveEvent(QWidget* theWrappedObject, QMoveEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_moveEvent(event)); -} - -bool PythonQtWrapper_QWidget::nativeEvent(QWidget* theWrappedObject, const QByteArray& eventType, void* message, long* result) -{ - return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_nativeEvent(eventType, message, result)); -} - -QWidget* PythonQtWrapper_QWidget::nativeParentWidget(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->nativeParentWidget()); -} - -QWidget* PythonQtWrapper_QWidget::nextInFocusChain(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->nextInFocusChain()); -} - -QRect PythonQtWrapper_QWidget::normalGeometry(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->normalGeometry()); -} - -void PythonQtWrapper_QWidget::overrideWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type) -{ - ( theWrappedObject->overrideWindowFlags(type)); -} - -void PythonQtWrapper_QWidget::overrideWindowState(QWidget* theWrappedObject, Qt::WindowStates state) -{ - ( theWrappedObject->overrideWindowState(state)); -} - -void PythonQtWrapper_QWidget::paintEvent(QWidget* theWrappedObject, QPaintEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_paintEvent(event)); -} - -const QPalette* PythonQtWrapper_QWidget::palette(QWidget* theWrappedObject) const -{ - return &( theWrappedObject->palette()); -} - -QWidget* PythonQtWrapper_QWidget::parentWidget(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->parentWidget()); -} - -QPoint PythonQtWrapper_QWidget::pos(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->pos()); -} - -QWidget* PythonQtWrapper_QWidget::previousInFocusChain(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->previousInFocusChain()); -} - -QRect PythonQtWrapper_QWidget::rect(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -void PythonQtWrapper_QWidget::releaseKeyboard(QWidget* theWrappedObject) -{ - ( theWrappedObject->releaseKeyboard()); -} - -void PythonQtWrapper_QWidget::releaseMouse(QWidget* theWrappedObject) -{ - ( theWrappedObject->releaseMouse()); -} - -void PythonQtWrapper_QWidget::releaseShortcut(QWidget* theWrappedObject, int id) -{ - ( theWrappedObject->releaseShortcut(id)); -} - -void PythonQtWrapper_QWidget::removeAction(QWidget* theWrappedObject, QAction* action) -{ - ( theWrappedObject->removeAction(action)); -} - -void PythonQtWrapper_QWidget::render(QWidget* theWrappedObject, QPaintDevice* target, const QPoint& targetOffset, const QRegion& sourceRegion, QWidget::RenderFlags renderFlags) -{ - ( theWrappedObject->render(target, targetOffset, sourceRegion, renderFlags)); -} - -void PythonQtWrapper_QWidget::render(QWidget* theWrappedObject, QPainter* painter, const QPoint& targetOffset, const QRegion& sourceRegion, QWidget::RenderFlags renderFlags) -{ - ( theWrappedObject->render(painter, targetOffset, sourceRegion, renderFlags)); -} - -void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, const QRect& arg__1) -{ - ( theWrappedObject->repaint(arg__1)); -} - -void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, const QRegion& arg__1) -{ - ( theWrappedObject->repaint(arg__1)); -} - -void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->repaint(x, y, w, h)); -} - -void PythonQtWrapper_QWidget::resize(QWidget* theWrappedObject, const QSize& arg__1) -{ - ( theWrappedObject->resize(arg__1)); -} - -void PythonQtWrapper_QWidget::resize(QWidget* theWrappedObject, int w, int h) -{ - ( theWrappedObject->resize(w, h)); -} - -void PythonQtWrapper_QWidget::resizeEvent(QWidget* theWrappedObject, QResizeEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_resizeEvent(event)); -} - -bool PythonQtWrapper_QWidget::restoreGeometry(QWidget* theWrappedObject, const QByteArray& geometry) -{ - return ( theWrappedObject->restoreGeometry(geometry)); -} - -QByteArray PythonQtWrapper_QWidget::saveGeometry(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->saveGeometry()); -} - -void PythonQtWrapper_QWidget::scroll(QWidget* theWrappedObject, int dx, int dy) -{ - ( theWrappedObject->scroll(dx, dy)); -} - -void PythonQtWrapper_QWidget::scroll(QWidget* theWrappedObject, int dx, int dy, const QRect& arg__3) -{ - ( theWrappedObject->scroll(dx, dy, arg__3)); -} - -void PythonQtWrapper_QWidget::setAcceptDrops(QWidget* theWrappedObject, bool on) -{ - ( theWrappedObject->setAcceptDrops(on)); -} - -void PythonQtWrapper_QWidget::setAccessibleDescription(QWidget* theWrappedObject, const QString& description) -{ - ( theWrappedObject->setAccessibleDescription(description)); -} - -void PythonQtWrapper_QWidget::setAccessibleName(QWidget* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setAccessibleName(name)); -} - -void PythonQtWrapper_QWidget::setAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1, bool on) -{ - ( theWrappedObject->setAttribute(arg__1, on)); -} - -void PythonQtWrapper_QWidget::setAutoFillBackground(QWidget* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setAutoFillBackground(enabled)); -} - -void PythonQtWrapper_QWidget::setBackgroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1) -{ - ( theWrappedObject->setBackgroundRole(arg__1)); -} - -void PythonQtWrapper_QWidget::setBaseSize(QWidget* theWrappedObject, const QSize& arg__1) -{ - ( theWrappedObject->setBaseSize(arg__1)); -} - -void PythonQtWrapper_QWidget::setBaseSize(QWidget* theWrappedObject, int basew, int baseh) -{ - ( theWrappedObject->setBaseSize(basew, baseh)); -} - -void PythonQtWrapper_QWidget::setContentsMargins(QWidget* theWrappedObject, const QMargins& margins) -{ - ( theWrappedObject->setContentsMargins(margins)); -} - -void PythonQtWrapper_QWidget::setContentsMargins(QWidget* theWrappedObject, int left, int top, int right, int bottom) -{ - ( theWrappedObject->setContentsMargins(left, top, right, bottom)); -} - -void PythonQtWrapper_QWidget::setContextMenuPolicy(QWidget* theWrappedObject, Qt::ContextMenuPolicy policy) -{ - ( theWrappedObject->setContextMenuPolicy(policy)); -} - -void PythonQtWrapper_QWidget::setCursor(QWidget* theWrappedObject, const QCursor& arg__1) -{ - ( theWrappedObject->setCursor(arg__1)); -} - -void PythonQtWrapper_QWidget::setFixedHeight(QWidget* theWrappedObject, int h) -{ - ( theWrappedObject->setFixedHeight(h)); -} - -void PythonQtWrapper_QWidget::setFixedSize(QWidget* theWrappedObject, const QSize& arg__1) -{ - ( theWrappedObject->setFixedSize(arg__1)); -} - -void PythonQtWrapper_QWidget::setFixedSize(QWidget* theWrappedObject, int w, int h) -{ - ( theWrappedObject->setFixedSize(w, h)); -} - -void PythonQtWrapper_QWidget::setFixedWidth(QWidget* theWrappedObject, int w) -{ - ( theWrappedObject->setFixedWidth(w)); -} - -void PythonQtWrapper_QWidget::setFocus(QWidget* theWrappedObject, Qt::FocusReason reason) -{ - ( theWrappedObject->setFocus(reason)); -} - -void PythonQtWrapper_QWidget::setFocusPolicy(QWidget* theWrappedObject, Qt::FocusPolicy policy) -{ - ( theWrappedObject->setFocusPolicy(policy)); -} - -void PythonQtWrapper_QWidget::setFocusProxy(QWidget* theWrappedObject, QWidget* arg__1) -{ - ( theWrappedObject->setFocusProxy(arg__1)); -} - -void PythonQtWrapper_QWidget::setFont(QWidget* theWrappedObject, const QFont& arg__1) -{ - ( theWrappedObject->setFont(arg__1)); -} - -void PythonQtWrapper_QWidget::setForegroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1) -{ - ( theWrappedObject->setForegroundRole(arg__1)); -} - -void PythonQtWrapper_QWidget::setGeometry(QWidget* theWrappedObject, const QRect& arg__1) -{ - ( theWrappedObject->setGeometry(arg__1)); -} - -void PythonQtWrapper_QWidget::setGeometry(QWidget* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->setGeometry(x, y, w, h)); -} - -void PythonQtWrapper_QWidget::setGraphicsEffect(QWidget* theWrappedObject, QGraphicsEffect* effect) -{ - ( theWrappedObject->setGraphicsEffect(effect)); -} - -void PythonQtWrapper_QWidget::setInputMethodHints(QWidget* theWrappedObject, Qt::InputMethodHints hints) -{ - ( theWrappedObject->setInputMethodHints(hints)); -} - -void PythonQtWrapper_QWidget::setLayout(QWidget* theWrappedObject, PythonQtPassOwnershipToCPP arg__1) -{ - ( theWrappedObject->setLayout(arg__1)); -} - -void PythonQtWrapper_QWidget::setLayoutDirection(QWidget* theWrappedObject, Qt::LayoutDirection direction) -{ - ( theWrappedObject->setLayoutDirection(direction)); -} - -void PythonQtWrapper_QWidget::setLocale(QWidget* theWrappedObject, const QLocale& locale) -{ - ( theWrappedObject->setLocale(locale)); -} - -void PythonQtWrapper_QWidget::setMask(QWidget* theWrappedObject, const QBitmap& arg__1) -{ - ( theWrappedObject->setMask(arg__1)); -} - -void PythonQtWrapper_QWidget::setMask(QWidget* theWrappedObject, const QRegion& arg__1) -{ - ( theWrappedObject->setMask(arg__1)); -} - -void PythonQtWrapper_QWidget::setMaximumHeight(QWidget* theWrappedObject, int maxh) -{ - ( theWrappedObject->setMaximumHeight(maxh)); -} - -void PythonQtWrapper_QWidget::setMaximumSize(QWidget* theWrappedObject, const QSize& arg__1) -{ - ( theWrappedObject->setMaximumSize(arg__1)); -} - -void PythonQtWrapper_QWidget::setMaximumSize(QWidget* theWrappedObject, int maxw, int maxh) -{ - ( theWrappedObject->setMaximumSize(maxw, maxh)); -} - -void PythonQtWrapper_QWidget::setMaximumWidth(QWidget* theWrappedObject, int maxw) -{ - ( theWrappedObject->setMaximumWidth(maxw)); -} - -void PythonQtWrapper_QWidget::setMinimumHeight(QWidget* theWrappedObject, int minh) -{ - ( theWrappedObject->setMinimumHeight(minh)); -} - -void PythonQtWrapper_QWidget::setMinimumSize(QWidget* theWrappedObject, const QSize& arg__1) -{ - ( theWrappedObject->setMinimumSize(arg__1)); -} - -void PythonQtWrapper_QWidget::setMinimumSize(QWidget* theWrappedObject, int minw, int minh) -{ - ( theWrappedObject->setMinimumSize(minw, minh)); -} - -void PythonQtWrapper_QWidget::setMinimumWidth(QWidget* theWrappedObject, int minw) -{ - ( theWrappedObject->setMinimumWidth(minw)); -} - -void PythonQtWrapper_QWidget::setMouseTracking(QWidget* theWrappedObject, bool enable) -{ - ( theWrappedObject->setMouseTracking(enable)); -} - -void PythonQtWrapper_QWidget::setPalette(QWidget* theWrappedObject, const QPalette& arg__1) -{ - ( theWrappedObject->setPalette(arg__1)); -} - -void PythonQtWrapper_QWidget::setParent(QWidget* theWrappedObject, PythonQtNewOwnerOfThis parent) -{ - ( theWrappedObject->setParent(parent)); -} - -void PythonQtWrapper_QWidget::setParent(QWidget* theWrappedObject, PythonQtNewOwnerOfThis parent, Qt::WindowFlags f) -{ - ( theWrappedObject->setParent(parent, f)); -} - -void PythonQtWrapper_QWidget::setShortcutAutoRepeat(QWidget* theWrappedObject, int id, bool enable) -{ - ( theWrappedObject->setShortcutAutoRepeat(id, enable)); -} - -void PythonQtWrapper_QWidget::setShortcutEnabled(QWidget* theWrappedObject, int id, bool enable) -{ - ( theWrappedObject->setShortcutEnabled(id, enable)); -} - -void PythonQtWrapper_QWidget::setSizeIncrement(QWidget* theWrappedObject, const QSize& arg__1) -{ - ( theWrappedObject->setSizeIncrement(arg__1)); -} - -void PythonQtWrapper_QWidget::setSizeIncrement(QWidget* theWrappedObject, int w, int h) -{ - ( theWrappedObject->setSizeIncrement(w, h)); -} - -void PythonQtWrapper_QWidget::setSizePolicy(QWidget* theWrappedObject, QSizePolicy arg__1) -{ - ( theWrappedObject->setSizePolicy(arg__1)); -} - -void PythonQtWrapper_QWidget::setSizePolicy(QWidget* theWrappedObject, QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical) -{ - ( theWrappedObject->setSizePolicy(horizontal, vertical)); -} - -void PythonQtWrapper_QWidget::setStatusTip(QWidget* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setStatusTip(arg__1)); -} - -void PythonQtWrapper_QWidget::setStyle(QWidget* theWrappedObject, QStyle* arg__1) -{ - ( theWrappedObject->setStyle(arg__1)); -} - -void PythonQtWrapper_QWidget::static_QWidget_setTabOrder(QWidget* arg__1, QWidget* arg__2) -{ - (QWidget::setTabOrder(arg__1, arg__2)); -} - -void PythonQtWrapper_QWidget::setTabletTracking(QWidget* theWrappedObject, bool enable) -{ - ( theWrappedObject->setTabletTracking(enable)); -} - -void PythonQtWrapper_QWidget::setToolTip(QWidget* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setToolTip(arg__1)); -} - -void PythonQtWrapper_QWidget::setToolTipDuration(QWidget* theWrappedObject, int msec) -{ - ( theWrappedObject->setToolTipDuration(msec)); -} - -void PythonQtWrapper_QWidget::setUpdatesEnabled(QWidget* theWrappedObject, bool enable) -{ - ( theWrappedObject->setUpdatesEnabled(enable)); -} - -void PythonQtWrapper_QWidget::setWhatsThis(QWidget* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setWhatsThis(arg__1)); -} - -void PythonQtWrapper_QWidget::setWindowFilePath(QWidget* theWrappedObject, const QString& filePath) -{ - ( theWrappedObject->setWindowFilePath(filePath)); -} - -void PythonQtWrapper_QWidget::setWindowFlag(QWidget* theWrappedObject, Qt::WindowType arg__1, bool on) -{ - ( theWrappedObject->setWindowFlag(arg__1, on)); -} - -void PythonQtWrapper_QWidget::setWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type) -{ - ( theWrappedObject->setWindowFlags(type)); -} - -void PythonQtWrapper_QWidget::setWindowIcon(QWidget* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setWindowIcon(icon)); -} - -void PythonQtWrapper_QWidget::setWindowIconText(QWidget* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setWindowIconText(arg__1)); -} - -void PythonQtWrapper_QWidget::setWindowModality(QWidget* theWrappedObject, Qt::WindowModality windowModality) -{ - ( theWrappedObject->setWindowModality(windowModality)); -} - -void PythonQtWrapper_QWidget::setWindowOpacity(QWidget* theWrappedObject, qreal level) -{ - ( theWrappedObject->setWindowOpacity(level)); -} - -void PythonQtWrapper_QWidget::setWindowRole(QWidget* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setWindowRole(arg__1)); -} - -void PythonQtWrapper_QWidget::setWindowState(QWidget* theWrappedObject, Qt::WindowStates state) -{ - ( theWrappedObject->setWindowState(state)); -} - -void PythonQtWrapper_QWidget::showEvent(QWidget* theWrappedObject, QShowEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_showEvent(event)); -} - -QSize PythonQtWrapper_QWidget::size(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QSize PythonQtWrapper_QWidget::sizeHint(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -QSize PythonQtWrapper_QWidget::sizeIncrement(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->sizeIncrement()); -} - -QSizePolicy PythonQtWrapper_QWidget::sizePolicy(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->sizePolicy()); -} - -void PythonQtWrapper_QWidget::stackUnder(QWidget* theWrappedObject, QWidget* arg__1) -{ - ( theWrappedObject->stackUnder(arg__1)); -} - -QString PythonQtWrapper_QWidget::statusTip(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->statusTip()); -} - -QStyle* PythonQtWrapper_QWidget::style(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->style()); -} - -QString PythonQtWrapper_QWidget::styleSheet(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->styleSheet()); -} - -void PythonQtWrapper_QWidget::tabletEvent(QWidget* theWrappedObject, QTabletEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_tabletEvent(event)); -} - -bool PythonQtWrapper_QWidget::testAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1) const -{ - return ( theWrappedObject->testAttribute(arg__1)); -} - -QString PythonQtWrapper_QWidget::toolTip(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->toolTip()); -} - -int PythonQtWrapper_QWidget::toolTipDuration(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->toolTipDuration()); -} - -bool PythonQtWrapper_QWidget::underMouse(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->underMouse()); -} - -void PythonQtWrapper_QWidget::ungrabGesture(QWidget* theWrappedObject, Qt::GestureType type) -{ - ( theWrappedObject->ungrabGesture(type)); -} - -void PythonQtWrapper_QWidget::unsetCursor(QWidget* theWrappedObject) -{ - ( theWrappedObject->unsetCursor()); -} - -void PythonQtWrapper_QWidget::unsetLayoutDirection(QWidget* theWrappedObject) -{ - ( theWrappedObject->unsetLayoutDirection()); -} - -void PythonQtWrapper_QWidget::unsetLocale(QWidget* theWrappedObject) -{ - ( theWrappedObject->unsetLocale()); -} - -void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, const QRect& arg__1) -{ - ( theWrappedObject->update(arg__1)); -} - -void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, const QRegion& arg__1) -{ - ( theWrappedObject->update(arg__1)); -} - -void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->update(x, y, w, h)); -} - -void PythonQtWrapper_QWidget::updateGeometry(QWidget* theWrappedObject) -{ - ( theWrappedObject->updateGeometry()); -} - -bool PythonQtWrapper_QWidget::updatesEnabled(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->updatesEnabled()); -} - -QRegion PythonQtWrapper_QWidget::visibleRegion(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->visibleRegion()); -} - -QString PythonQtWrapper_QWidget::whatsThis(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->whatsThis()); -} - -void PythonQtWrapper_QWidget::wheelEvent(QWidget* theWrappedObject, QWheelEvent* event) -{ - ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_wheelEvent(event)); -} - -int PythonQtWrapper_QWidget::width(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -WId PythonQtWrapper_QWidget::winId(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->winId()); -} - -QWidget* PythonQtWrapper_QWidget::window(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->window()); -} - -QString PythonQtWrapper_QWidget::windowFilePath(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowFilePath()); -} - -Qt::WindowFlags PythonQtWrapper_QWidget::windowFlags(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowFlags()); -} - -QWindow* PythonQtWrapper_QWidget::windowHandle(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowHandle()); -} - -QIcon PythonQtWrapper_QWidget::windowIcon(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowIcon()); -} - -QString PythonQtWrapper_QWidget::windowIconText(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowIconText()); -} - -Qt::WindowModality PythonQtWrapper_QWidget::windowModality(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowModality()); -} - -qreal PythonQtWrapper_QWidget::windowOpacity(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowOpacity()); -} - -QString PythonQtWrapper_QWidget::windowRole(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowRole()); -} - -Qt::WindowStates PythonQtWrapper_QWidget::windowState(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowState()); -} - -QString PythonQtWrapper_QWidget::windowTitle(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowTitle()); -} - -Qt::WindowType PythonQtWrapper_QWidget::windowType(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->windowType()); -} - -int PythonQtWrapper_QWidget::x(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -int PythonQtWrapper_QWidget::y(QWidget* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -QString PythonQtWrapper_QWidget::py_toString(QWidget* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; -} - - - -PythonQtShell_QWidgetAction::~PythonQtShell_QWidgetAction() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QWidgetAction::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidgetAction::childEvent(event0); -} -QWidget* PythonQtShell_QWidgetAction::createWidget(QWidget* parent0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("createWidget"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QWidget*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QWidget* returnValue{}; - void* args[2] = {nullptr, (void*)&parent0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetAction::createWidget(parent0); -} -void PythonQtShell_QWidgetAction::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidgetAction::customEvent(event0); -} -void PythonQtShell_QWidgetAction::deleteWidget(QWidget* widget0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("deleteWidget"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&widget0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidgetAction::deleteWidget(widget0); -} -bool PythonQtShell_QWidgetAction::event(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetAction::event(arg__1); -} -bool PythonQtShell_QWidgetAction::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetAction::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QWidgetAction::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidgetAction::timerEvent(event0); -} -QWidgetAction* PythonQtWrapper_QWidgetAction::new_QWidgetAction(QObject* parent) -{ -return new PythonQtShell_QWidgetAction(parent); } - -const QMetaObject* PythonQtShell_QWidgetAction::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWidgetAction::staticMetaObject); - } else { - return &QWidgetAction::staticMetaObject; - } -} -int PythonQtShell_QWidgetAction::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QWidgetAction::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QWidget* PythonQtWrapper_QWidgetAction::createWidget(QWidgetAction* theWrappedObject, QWidget* parent) -{ - return ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_createWidget(parent)); -} - -QList PythonQtWrapper_QWidgetAction::createdWidgets(QWidgetAction* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_createdWidgets()); -} - -QWidget* PythonQtWrapper_QWidgetAction::defaultWidget(QWidgetAction* theWrappedObject) const -{ - return ( theWrappedObject->defaultWidget()); -} - -void PythonQtWrapper_QWidgetAction::deleteWidget(QWidgetAction* theWrappedObject, QWidget* widget) -{ - ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_deleteWidget(widget)); -} - -void PythonQtWrapper_QWidgetAction::releaseWidget(QWidgetAction* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->releaseWidget(widget)); -} - -QWidget* PythonQtWrapper_QWidgetAction::requestWidget(QWidgetAction* theWrappedObject, QWidget* parent) -{ - return ( theWrappedObject->requestWidget(parent)); -} - -void PythonQtWrapper_QWidgetAction::setDefaultWidget(QWidgetAction* theWrappedObject, QWidget* w) -{ - ( theWrappedObject->setDefaultWidget(w)); -} - - - -PythonQtShell_QWidgetItem::~PythonQtShell_QWidgetItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QSizePolicy::ControlTypes PythonQtShell_QWidgetItem::controlTypes() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("controlTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizePolicy::ControlTypes returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); - } else { - returnValue = *((QSizePolicy::ControlTypes*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetItem::controlTypes(); -} -Qt::Orientations PythonQtShell_QWidgetItem::expandingDirections() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("expandingDirections"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"Qt::Orientations"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::Orientations returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); - } else { - returnValue = *((Qt::Orientations*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetItem::expandingDirections(); -} -QRect PythonQtShell_QWidgetItem::geometry() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("geometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRect returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetItem::geometry(); -} -bool PythonQtShell_QWidgetItem::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetItem::hasHeightForWidth(); -} -int PythonQtShell_QWidgetItem::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetItem::heightForWidth(arg__1); -} -void PythonQtShell_QWidgetItem::invalidate() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("invalidate"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidgetItem::invalidate(); -} -bool PythonQtShell_QWidgetItem::isEmpty() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("isEmpty"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetItem::isEmpty(); -} -QLayout* PythonQtShell_QWidgetItem::layout() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("layout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QLayout*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QLayout* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); - } else { - returnValue = *((QLayout**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetItem::layout(); -} -QSize PythonQtShell_QWidgetItem::maximumSize() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("maximumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetItem::maximumSize(); -} -int PythonQtShell_QWidgetItem::minimumHeightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetItem::minimumHeightForWidth(arg__1); -} -QSize PythonQtShell_QWidgetItem::minimumSize() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetItem::minimumSize(); -} -void PythonQtShell_QWidgetItem::setGeometry(const QRect& arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWidgetItem::setGeometry(arg__1); -} -QSize PythonQtShell_QWidgetItem::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetItem::sizeHint(); -} -QSpacerItem* PythonQtShell_QWidgetItem::spacerItem() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("spacerItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSpacerItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSpacerItem* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); - } else { - returnValue = *((QSpacerItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetItem::spacerItem(); -} -QWidget* PythonQtShell_QWidgetItem::widget() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("widget"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QWidget* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWidgetItem::widget(); -} -QWidgetItem* PythonQtWrapper_QWidgetItem::new_QWidgetItem(QWidget* w) -{ -return new PythonQtShell_QWidgetItem(w); } - - - -PythonQtShell_QWindow::~PythonQtShell_QWindow() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QWindow::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::childEvent(event0); -} -void PythonQtShell_QWindow::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::customEvent(event0); -} -bool PythonQtShell_QWindow::event(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWindow::event(arg__1); -} -bool PythonQtShell_QWindow::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWindow::eventFilter(watched0, event1); -} -void PythonQtShell_QWindow::exposeEvent(QExposeEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("exposeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QExposeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::exposeEvent(arg__1); -} -void PythonQtShell_QWindow::focusInEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::focusInEvent(arg__1); -} -QObject* PythonQtShell_QWindow::focusObject() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusObject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); - } else { - returnValue = *((QObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWindow::focusObject(); -} -void PythonQtShell_QWindow::focusOutEvent(QFocusEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::focusOutEvent(arg__1); -} -QSurfaceFormat PythonQtShell_QWindow::format() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("format"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSurfaceFormat"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurfaceFormat returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); - } else { - returnValue = *((QSurfaceFormat*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWindow::format(); -} -void PythonQtShell_QWindow::hideEvent(QHideEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::hideEvent(arg__1); -} -void PythonQtShell_QWindow::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::keyPressEvent(arg__1); -} -void PythonQtShell_QWindow::keyReleaseEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::keyReleaseEvent(arg__1); -} -void PythonQtShell_QWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::mouseDoubleClickEvent(arg__1); -} -void PythonQtShell_QWindow::mouseMoveEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::mouseMoveEvent(arg__1); -} -void PythonQtShell_QWindow::mousePressEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::mousePressEvent(arg__1); -} -void PythonQtShell_QWindow::mouseReleaseEvent(QMouseEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::mouseReleaseEvent(arg__1); -} -void PythonQtShell_QWindow::moveEvent(QMoveEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::moveEvent(arg__1); -} -bool PythonQtShell_QWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWindow::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QWindow::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::resizeEvent(arg__1); -} -void PythonQtShell_QWindow::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::showEvent(arg__1); -} -QSize PythonQtShell_QWindow::size() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("size"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWindow::size(); -} -QSurface::SurfaceType PythonQtShell_QWindow::surfaceType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("surfaceType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSurface::SurfaceType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurface::SurfaceType returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); - } else { - returnValue = *((QSurface::SurfaceType*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWindow::surfaceType(); -} -void PythonQtShell_QWindow::tabletEvent(QTabletEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::tabletEvent(arg__1); -} -void PythonQtShell_QWindow::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::timerEvent(event0); -} -void PythonQtShell_QWindow::touchEvent(QTouchEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("touchEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTouchEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::touchEvent(arg__1); -} -void PythonQtShell_QWindow::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWindow::wheelEvent(arg__1); -} -QWindow* PythonQtWrapper_QWindow::new_QWindow(QScreen* screen) -{ -return new PythonQtShell_QWindow(screen); } - -QWindow* PythonQtWrapper_QWindow::new_QWindow(QWindow* parent) -{ -return new PythonQtShell_QWindow(parent); } - -const QMetaObject* PythonQtShell_QWindow::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWindow::staticMetaObject); - } else { - return &QWindow::staticMetaObject; - } -} -int PythonQtShell_QWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QWindow::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QSize PythonQtWrapper_QWindow::baseSize(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->baseSize()); -} - -Qt::ScreenOrientation PythonQtWrapper_QWindow::contentOrientation(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->contentOrientation()); -} - -void PythonQtWrapper_QWindow::create(QWindow* theWrappedObject) -{ - ( theWrappedObject->create()); -} - -QCursor PythonQtWrapper_QWindow::cursor(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->cursor()); -} - -void PythonQtWrapper_QWindow::destroy(QWindow* theWrappedObject) -{ - ( theWrappedObject->destroy()); -} - -qreal PythonQtWrapper_QWindow::devicePixelRatio(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->devicePixelRatio()); -} - -void PythonQtWrapper_QWindow::exposeEvent(QWindow* theWrappedObject, QExposeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_exposeEvent(arg__1)); -} - -QString PythonQtWrapper_QWindow::filePath(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->filePath()); -} - -Qt::WindowFlags PythonQtWrapper_QWindow::flags(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -void PythonQtWrapper_QWindow::focusInEvent(QWindow* theWrappedObject, QFocusEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_focusInEvent(arg__1)); -} - -QObject* PythonQtWrapper_QWindow::focusObject(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->focusObject()); -} - -void PythonQtWrapper_QWindow::focusOutEvent(QWindow* theWrappedObject, QFocusEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_focusOutEvent(arg__1)); -} - -QRect PythonQtWrapper_QWindow::frameGeometry(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->frameGeometry()); -} - -QMargins PythonQtWrapper_QWindow::frameMargins(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->frameMargins()); -} - -QPoint PythonQtWrapper_QWindow::framePosition(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->framePosition()); -} - -QWindow* PythonQtWrapper_QWindow::static_QWindow_fromWinId(WId id) -{ - return (QWindow::fromWinId(id)); -} - -QRect PythonQtWrapper_QWindow::geometry(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->geometry()); -} - -int PythonQtWrapper_QWindow::height(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -void PythonQtWrapper_QWindow::hideEvent(QWindow* theWrappedObject, QHideEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_hideEvent(arg__1)); -} - -QIcon PythonQtWrapper_QWindow::icon(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -bool PythonQtWrapper_QWindow::isActive(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); -} - -bool PythonQtWrapper_QWindow::isAncestorOf(QWindow* theWrappedObject, const QWindow* child, QWindow::AncestorMode mode) const -{ - return ( theWrappedObject->isAncestorOf(child, mode)); -} - -bool PythonQtWrapper_QWindow::isExposed(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->isExposed()); -} - -bool PythonQtWrapper_QWindow::isModal(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->isModal()); -} - -bool PythonQtWrapper_QWindow::isTopLevel(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->isTopLevel()); -} - -bool PythonQtWrapper_QWindow::isVisible(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->isVisible()); -} - -void PythonQtWrapper_QWindow::keyPressEvent(QWindow* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_keyPressEvent(arg__1)); -} - -void PythonQtWrapper_QWindow::keyReleaseEvent(QWindow* theWrappedObject, QKeyEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_keyReleaseEvent(arg__1)); -} - -QPoint PythonQtWrapper_QWindow::mapFromGlobal(QWindow* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->mapFromGlobal(pos)); -} - -QPoint PythonQtWrapper_QWindow::mapToGlobal(QWindow* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->mapToGlobal(pos)); -} - -QRegion PythonQtWrapper_QWindow::mask(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->mask()); -} - -int PythonQtWrapper_QWindow::maximumHeight(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->maximumHeight()); -} - -QSize PythonQtWrapper_QWindow::maximumSize(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->maximumSize()); -} - -int PythonQtWrapper_QWindow::maximumWidth(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->maximumWidth()); -} - -int PythonQtWrapper_QWindow::minimumHeight(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->minimumHeight()); -} - -QSize PythonQtWrapper_QWindow::minimumSize(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->minimumSize()); -} - -int PythonQtWrapper_QWindow::minimumWidth(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->minimumWidth()); -} - -Qt::WindowModality PythonQtWrapper_QWindow::modality(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->modality()); -} - -void PythonQtWrapper_QWindow::mouseDoubleClickEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); -} - -void PythonQtWrapper_QWindow::mouseMoveEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); -} - -void PythonQtWrapper_QWindow::mousePressEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mousePressEvent(arg__1)); -} - -void PythonQtWrapper_QWindow::mouseReleaseEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); -} - -void PythonQtWrapper_QWindow::moveEvent(QWindow* theWrappedObject, QMoveEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_moveEvent(arg__1)); -} - -bool PythonQtWrapper_QWindow::nativeEvent(QWindow* theWrappedObject, const QByteArray& eventType, void* message, long* result) -{ - return ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_nativeEvent(eventType, message, result)); -} - -qreal PythonQtWrapper_QWindow::opacity(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->opacity()); -} - -QWindow* PythonQtWrapper_QWindow::parent(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->parent()); -} - -QWindow* PythonQtWrapper_QWindow::parent(QWindow* theWrappedObject, QWindow::AncestorMode mode) const -{ - return ( theWrappedObject->parent(mode)); -} - -QPoint PythonQtWrapper_QWindow::position(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -void PythonQtWrapper_QWindow::reportContentOrientationChange(QWindow* theWrappedObject, Qt::ScreenOrientation orientation) -{ - ( theWrappedObject->reportContentOrientationChange(orientation)); -} - -QSurfaceFormat PythonQtWrapper_QWindow::requestedFormat(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->requestedFormat()); -} - -void PythonQtWrapper_QWindow::resize(QWindow* theWrappedObject, const QSize& newSize) -{ - ( theWrappedObject->resize(newSize)); -} - -void PythonQtWrapper_QWindow::resize(QWindow* theWrappedObject, int w, int h) -{ - ( theWrappedObject->resize(w, h)); -} - -void PythonQtWrapper_QWindow::resizeEvent(QWindow* theWrappedObject, QResizeEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_resizeEvent(arg__1)); -} - -QScreen* PythonQtWrapper_QWindow::screen(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->screen()); -} - -void PythonQtWrapper_QWindow::setBaseSize(QWindow* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setBaseSize(size)); -} - -void PythonQtWrapper_QWindow::setCursor(QWindow* theWrappedObject, const QCursor& arg__1) -{ - ( theWrappedObject->setCursor(arg__1)); -} - -void PythonQtWrapper_QWindow::setFilePath(QWindow* theWrappedObject, const QString& filePath) -{ - ( theWrappedObject->setFilePath(filePath)); -} - -void PythonQtWrapper_QWindow::setFlag(QWindow* theWrappedObject, Qt::WindowType arg__1, bool on) -{ - ( theWrappedObject->setFlag(arg__1, on)); -} - -void PythonQtWrapper_QWindow::setFlags(QWindow* theWrappedObject, Qt::WindowFlags flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -void PythonQtWrapper_QWindow::setFormat(QWindow* theWrappedObject, const QSurfaceFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QWindow::setFramePosition(QWindow* theWrappedObject, const QPoint& point) -{ - ( theWrappedObject->setFramePosition(point)); -} - -void PythonQtWrapper_QWindow::setIcon(QWindow* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setIcon(icon)); -} - -bool PythonQtWrapper_QWindow::setKeyboardGrabEnabled(QWindow* theWrappedObject, bool grab) -{ - return ( theWrappedObject->setKeyboardGrabEnabled(grab)); -} - -void PythonQtWrapper_QWindow::setMask(QWindow* theWrappedObject, const QRegion& region) -{ - ( theWrappedObject->setMask(region)); -} - -void PythonQtWrapper_QWindow::setMaximumSize(QWindow* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setMaximumSize(size)); -} - -void PythonQtWrapper_QWindow::setMinimumSize(QWindow* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setMinimumSize(size)); -} - -void PythonQtWrapper_QWindow::setModality(QWindow* theWrappedObject, Qt::WindowModality modality) -{ - ( theWrappedObject->setModality(modality)); -} - -bool PythonQtWrapper_QWindow::setMouseGrabEnabled(QWindow* theWrappedObject, bool grab) -{ - return ( theWrappedObject->setMouseGrabEnabled(grab)); -} - -void PythonQtWrapper_QWindow::setOpacity(QWindow* theWrappedObject, qreal level) -{ - ( theWrappedObject->setOpacity(level)); -} - -void PythonQtWrapper_QWindow::setParent(QWindow* theWrappedObject, QWindow* parent) -{ - ( theWrappedObject->setParent(parent)); -} - -void PythonQtWrapper_QWindow::setPosition(QWindow* theWrappedObject, const QPoint& pt) -{ - ( theWrappedObject->setPosition(pt)); -} - -void PythonQtWrapper_QWindow::setPosition(QWindow* theWrappedObject, int posx, int posy) -{ - ( theWrappedObject->setPosition(posx, posy)); -} - -void PythonQtWrapper_QWindow::setScreen(QWindow* theWrappedObject, QScreen* screen) -{ - ( theWrappedObject->setScreen(screen)); -} - -void PythonQtWrapper_QWindow::setSizeIncrement(QWindow* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setSizeIncrement(size)); -} - -void PythonQtWrapper_QWindow::setSurfaceType(QWindow* theWrappedObject, QSurface::SurfaceType surfaceType) -{ - ( theWrappedObject->setSurfaceType(surfaceType)); -} - -void PythonQtWrapper_QWindow::setTransientParent(QWindow* theWrappedObject, QWindow* parent) -{ - ( theWrappedObject->setTransientParent(parent)); -} - -void PythonQtWrapper_QWindow::setVisibility(QWindow* theWrappedObject, QWindow::Visibility v) -{ - ( theWrappedObject->setVisibility(v)); -} - -void PythonQtWrapper_QWindow::setWindowState(QWindow* theWrappedObject, Qt::WindowState state) -{ - ( theWrappedObject->setWindowState(state)); -} - -void PythonQtWrapper_QWindow::setWindowStates(QWindow* theWrappedObject, Qt::WindowStates states) -{ - ( theWrappedObject->setWindowStates(states)); -} - -void PythonQtWrapper_QWindow::showEvent(QWindow* theWrappedObject, QShowEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_showEvent(arg__1)); -} - -QSize PythonQtWrapper_QWindow::sizeIncrement(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->sizeIncrement()); -} - -void PythonQtWrapper_QWindow::tabletEvent(QWindow* theWrappedObject, QTabletEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_tabletEvent(arg__1)); -} - -QString PythonQtWrapper_QWindow::title(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->title()); -} - -void PythonQtWrapper_QWindow::touchEvent(QWindow* theWrappedObject, QTouchEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_touchEvent(arg__1)); -} - -QWindow* PythonQtWrapper_QWindow::transientParent(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->transientParent()); -} - -Qt::WindowType PythonQtWrapper_QWindow::type(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -void PythonQtWrapper_QWindow::unsetCursor(QWindow* theWrappedObject) -{ - ( theWrappedObject->unsetCursor()); -} - -QWindow::Visibility PythonQtWrapper_QWindow::visibility(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->visibility()); -} - -void PythonQtWrapper_QWindow::wheelEvent(QWindow* theWrappedObject, QWheelEvent* arg__1) -{ - ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_wheelEvent(arg__1)); -} - -int PythonQtWrapper_QWindow::width(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -WId PythonQtWrapper_QWindow::winId(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->winId()); -} - -Qt::WindowState PythonQtWrapper_QWindow::windowState(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->windowState()); -} - -Qt::WindowStates PythonQtWrapper_QWindow::windowStates(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->windowStates()); -} - -int PythonQtWrapper_QWindow::x(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -int PythonQtWrapper_QWindow::y(QWindow* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - -QString PythonQtWrapper_QWindow::py_toString(QWindow* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; -} - - - -QWindowStateChangeEvent* PythonQtWrapper_QWindowStateChangeEvent::new_QWindowStateChangeEvent(Qt::WindowStates aOldState, bool isOverride) -{ -return new QWindowStateChangeEvent(aOldState, isOverride); } - -bool PythonQtWrapper_QWindowStateChangeEvent::isOverride(QWindowStateChangeEvent* theWrappedObject) const -{ - return ( theWrappedObject->isOverride()); -} - -Qt::WindowStates PythonQtWrapper_QWindowStateChangeEvent::oldState(QWindowStateChangeEvent* theWrappedObject) const -{ - return ( theWrappedObject->oldState()); -} - - - -PythonQtShell_QWizard::~PythonQtShell_QWizard() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QWizard::accept() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("accept"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::accept(); -} -void PythonQtShell_QWizard::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::actionEvent(event0); -} -void PythonQtShell_QWizard::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::changeEvent(arg__1); -} -void PythonQtShell_QWizard::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::childEvent(event0); -} -void PythonQtShell_QWizard::cleanupPage(int id0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("cleanupPage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&id0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::cleanupPage(id0); -} -void PythonQtShell_QWizard::closeEvent(QCloseEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::closeEvent(arg__1); -} -void PythonQtShell_QWizard::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::contextMenuEvent(arg__1); -} -void PythonQtShell_QWizard::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::customEvent(event0); -} -int PythonQtShell_QWizard::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::devType(); -} -void PythonQtShell_QWizard::done(int result0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("done"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&result0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::done(result0); -} -void PythonQtShell_QWizard::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::dragEnterEvent(event0); -} -void PythonQtShell_QWizard::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::dragLeaveEvent(event0); -} -void PythonQtShell_QWizard::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::dragMoveEvent(event0); -} -void PythonQtShell_QWizard::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::dropEvent(event0); -} -void PythonQtShell_QWizard::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::enterEvent(event0); -} -bool PythonQtShell_QWizard::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::event(event0); -} -bool PythonQtShell_QWizard::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QWizard::exec() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("exec"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::exec(); -} -void PythonQtShell_QWizard::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::focusInEvent(event0); -} -bool PythonQtShell_QWizard::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::focusNextPrevChild(next0); -} -void PythonQtShell_QWizard::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::focusOutEvent(event0); -} -bool PythonQtShell_QWizard::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::hasHeightForWidth(); -} -int PythonQtShell_QWizard::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::heightForWidth(arg__1); -} -void PythonQtShell_QWizard::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::hideEvent(event0); -} -void PythonQtShell_QWizard::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::initPainter(painter0); -} -void PythonQtShell_QWizard::initializePage(int id0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initializePage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&id0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::initializePage(id0); -} -void PythonQtShell_QWizard::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QWizard::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::inputMethodQuery(arg__1); -} -void PythonQtShell_QWizard::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::keyPressEvent(arg__1); -} -void PythonQtShell_QWizard::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::keyReleaseEvent(event0); -} -void PythonQtShell_QWizard::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::leaveEvent(event0); -} -int PythonQtShell_QWizard::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::metric(arg__1); -} -QSize PythonQtShell_QWizard::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::minimumSizeHint(); -} -void PythonQtShell_QWizard::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QWizard::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::mouseMoveEvent(event0); -} -void PythonQtShell_QWizard::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::mousePressEvent(event0); -} -void PythonQtShell_QWizard::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::mouseReleaseEvent(event0); -} -void PythonQtShell_QWizard::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::moveEvent(event0); -} -bool PythonQtShell_QWizard::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::nativeEvent(eventType0, message1, result2); -} -int PythonQtShell_QWizard::nextId() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nextId"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::nextId(); -} -void PythonQtShell_QWizard::open() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("open"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::open(); -} -QPaintEngine* PythonQtShell_QWizard::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::paintEngine(); -} -void PythonQtShell_QWizard::paintEvent(QPaintEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QWizard::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::redirected(offset0); -} -void PythonQtShell_QWizard::reject() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("reject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::reject(); -} -void PythonQtShell_QWizard::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::resizeEvent(event0); -} -void PythonQtShell_QWizard::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::setVisible(visible0); -} -QPainter* PythonQtShell_QWizard::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::sharedPainter(); -} -void PythonQtShell_QWizard::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::showEvent(arg__1); -} -QSize PythonQtShell_QWizard::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::sizeHint(); -} -void PythonQtShell_QWizard::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::tabletEvent(event0); -} -void PythonQtShell_QWizard::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::timerEvent(event0); -} -bool PythonQtShell_QWizard::validateCurrentPage() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("validateCurrentPage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("validateCurrentPage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizard::validateCurrentPage(); -} -void PythonQtShell_QWizard::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizard::wheelEvent(event0); -} -QWizard* PythonQtWrapper_QWizard::new_QWizard(QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QWizard(parent, flags); } - -const QMetaObject* PythonQtShell_QWizard::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWizard::staticMetaObject); - } else { - return &QWizard::staticMetaObject; - } -} -int PythonQtShell_QWizard::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QWizard::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -int PythonQtWrapper_QWizard::addPage(QWizard* theWrappedObject, PythonQtPassOwnershipToCPP page) -{ - return ( theWrappedObject->addPage(page)); -} - -QAbstractButton* PythonQtWrapper_QWizard::button(QWizard* theWrappedObject, QWizard::WizardButton which) const -{ - return ( theWrappedObject->button(which)); -} - -QString PythonQtWrapper_QWizard::buttonText(QWizard* theWrappedObject, QWizard::WizardButton which) const -{ - return ( theWrappedObject->buttonText(which)); -} - -void PythonQtWrapper_QWizard::cleanupPage(QWizard* theWrappedObject, int id) -{ - ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_cleanupPage(id)); -} - -int PythonQtWrapper_QWizard::currentId(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->currentId()); -} - -QWizardPage* PythonQtWrapper_QWizard::currentPage(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->currentPage()); -} - -QVariant PythonQtWrapper_QWizard::field(QWizard* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->field(name)); -} - -bool PythonQtWrapper_QWizard::hasVisitedPage(QWizard* theWrappedObject, int id) const -{ - return ( theWrappedObject->hasVisitedPage(id)); -} - -void PythonQtWrapper_QWizard::initializePage(QWizard* theWrappedObject, int id) -{ - ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_initializePage(id)); -} - -int PythonQtWrapper_QWizard::nextId(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->nextId()); -} - -QWizard::WizardOptions PythonQtWrapper_QWizard::options(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->options()); -} - -QWizardPage* PythonQtWrapper_QWizard::page(QWizard* theWrappedObject, int id) const -{ - return ( theWrappedObject->page(id)); -} - -QList PythonQtWrapper_QWizard::pageIds(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->pageIds()); -} - -QPixmap PythonQtWrapper_QWizard::pixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which) const -{ - return ( theWrappedObject->pixmap(which)); -} - -void PythonQtWrapper_QWizard::removePage(QWizard* theWrappedObject, int id) -{ - ( theWrappedObject->removePage(id)); -} - -void PythonQtWrapper_QWizard::setButton(QWizard* theWrappedObject, QWizard::WizardButton which, PythonQtPassOwnershipToCPP button) -{ - ( theWrappedObject->setButton(which, button)); -} - -void PythonQtWrapper_QWizard::setButtonLayout(QWizard* theWrappedObject, const QList& layout) -{ - ( theWrappedObject->setButtonLayout(layout)); -} - -void PythonQtWrapper_QWizard::setButtonText(QWizard* theWrappedObject, QWizard::WizardButton which, const QString& text) -{ - ( theWrappedObject->setButtonText(which, text)); -} - -void PythonQtWrapper_QWizard::setField(QWizard* theWrappedObject, const QString& name, const QVariant& value) -{ - ( theWrappedObject->setField(name, value)); -} - -void PythonQtWrapper_QWizard::setOption(QWizard* theWrappedObject, QWizard::WizardOption option, bool on) -{ - ( theWrappedObject->setOption(option, on)); -} - -void PythonQtWrapper_QWizard::setOptions(QWizard* theWrappedObject, QWizard::WizardOptions options) -{ - ( theWrappedObject->setOptions(options)); -} - -void PythonQtWrapper_QWizard::setPage(QWizard* theWrappedObject, int id, QWizardPage* page) -{ - ( theWrappedObject->setPage(id, page)); -} - -void PythonQtWrapper_QWizard::setPixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap) -{ - ( theWrappedObject->setPixmap(which, pixmap)); -} - -void PythonQtWrapper_QWizard::setSideWidget(QWizard* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setSideWidget(widget)); -} - -void PythonQtWrapper_QWizard::setStartId(QWizard* theWrappedObject, int id) -{ - ( theWrappedObject->setStartId(id)); -} - -void PythonQtWrapper_QWizard::setSubTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format) -{ - ( theWrappedObject->setSubTitleFormat(format)); -} - -void PythonQtWrapper_QWizard::setTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format) -{ - ( theWrappedObject->setTitleFormat(format)); -} - -void PythonQtWrapper_QWizard::setWizardStyle(QWizard* theWrappedObject, QWizard::WizardStyle style) -{ - ( theWrappedObject->setWizardStyle(style)); -} - -QWidget* PythonQtWrapper_QWizard::sideWidget(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->sideWidget()); -} - -int PythonQtWrapper_QWizard::startId(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->startId()); -} - -Qt::TextFormat PythonQtWrapper_QWizard::subTitleFormat(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->subTitleFormat()); -} - -bool PythonQtWrapper_QWizard::testOption(QWizard* theWrappedObject, QWizard::WizardOption option) const -{ - return ( theWrappedObject->testOption(option)); -} - -Qt::TextFormat PythonQtWrapper_QWizard::titleFormat(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->titleFormat()); -} - -bool PythonQtWrapper_QWizard::validateCurrentPage(QWizard* theWrappedObject) -{ - return ( theWrappedObject->validateCurrentPage()); -} - -QList PythonQtWrapper_QWizard::visitedPages(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->visitedPages()); -} - -QWizard::WizardStyle PythonQtWrapper_QWizard::wizardStyle(QWizard* theWrappedObject) const -{ - return ( theWrappedObject->wizardStyle()); -} - - - -PythonQtShell_QWizardPage::~PythonQtShell_QWizardPage() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QWizardPage::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::actionEvent(event0); -} -void PythonQtShell_QWizardPage::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::changeEvent(arg__1); -} -void PythonQtShell_QWizardPage::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::childEvent(event0); -} -void PythonQtShell_QWizardPage::cleanupPage() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("cleanupPage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::cleanupPage(); -} -void PythonQtShell_QWizardPage::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::closeEvent(event0); -} -void PythonQtShell_QWizardPage::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::contextMenuEvent(event0); -} -void PythonQtShell_QWizardPage::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::customEvent(event0); -} -int PythonQtShell_QWizardPage::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::devType(); -} -void PythonQtShell_QWizardPage::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::dragEnterEvent(event0); -} -void PythonQtShell_QWizardPage::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::dragLeaveEvent(event0); -} -void PythonQtShell_QWizardPage::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::dragMoveEvent(event0); -} -void PythonQtShell_QWizardPage::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::dropEvent(event0); -} -void PythonQtShell_QWizardPage::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::enterEvent(event0); -} -bool PythonQtShell_QWizardPage::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::event(event0); -} -bool PythonQtShell_QWizardPage::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::eventFilter(watched0, event1); -} -void PythonQtShell_QWizardPage::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::focusInEvent(event0); -} -bool PythonQtShell_QWizardPage::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::focusNextPrevChild(next0); -} -void PythonQtShell_QWizardPage::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::focusOutEvent(event0); -} -bool PythonQtShell_QWizardPage::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::hasHeightForWidth(); -} -int PythonQtShell_QWizardPage::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::heightForWidth(arg__1); -} -void PythonQtShell_QWizardPage::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::hideEvent(event0); -} -void PythonQtShell_QWizardPage::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::initPainter(painter0); -} -void PythonQtShell_QWizardPage::initializePage() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initializePage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::initializePage(); -} -void PythonQtShell_QWizardPage::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QWizardPage::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::inputMethodQuery(arg__1); -} -bool PythonQtShell_QWizardPage::isComplete() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("isComplete"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("isComplete", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::isComplete(); -} -void PythonQtShell_QWizardPage::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::keyPressEvent(event0); -} -void PythonQtShell_QWizardPage::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::keyReleaseEvent(event0); -} -void PythonQtShell_QWizardPage::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::leaveEvent(event0); -} -int PythonQtShell_QWizardPage::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::metric(arg__1); -} -QSize PythonQtShell_QWizardPage::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::minimumSizeHint(); -} -void PythonQtShell_QWizardPage::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QWizardPage::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::mouseMoveEvent(event0); -} -void PythonQtShell_QWizardPage::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::mousePressEvent(event0); -} -void PythonQtShell_QWizardPage::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::mouseReleaseEvent(event0); -} -void PythonQtShell_QWizardPage::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::moveEvent(event0); -} -bool PythonQtShell_QWizardPage::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::nativeEvent(eventType0, message1, result2); -} -int PythonQtShell_QWizardPage::nextId() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nextId"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::nextId(); -} -QPaintEngine* PythonQtShell_QWizardPage::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::paintEngine(); -} -void PythonQtShell_QWizardPage::paintEvent(QPaintEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::paintEvent(event0); -} -QPaintDevice* PythonQtShell_QWizardPage::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::redirected(offset0); -} -void PythonQtShell_QWizardPage::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::resizeEvent(event0); -} -void PythonQtShell_QWizardPage::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::setVisible(visible0); -} -QPainter* PythonQtShell_QWizardPage::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::sharedPainter(); -} -void PythonQtShell_QWizardPage::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::showEvent(event0); -} -QSize PythonQtShell_QWizardPage::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::sizeHint(); -} -void PythonQtShell_QWizardPage::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::tabletEvent(event0); -} -void PythonQtShell_QWizardPage::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::timerEvent(event0); -} -bool PythonQtShell_QWizardPage::validatePage() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("validatePage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("validatePage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QWizardPage::validatePage(); -} -void PythonQtShell_QWizardPage::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QWizardPage::wheelEvent(event0); -} -QWizardPage* PythonQtWrapper_QWizardPage::new_QWizardPage(QWidget* parent) -{ -return new PythonQtShell_QWizardPage(parent); } - -const QMetaObject* PythonQtShell_QWizardPage::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWizardPage::staticMetaObject); - } else { - return &QWizardPage::staticMetaObject; - } -} -int PythonQtShell_QWizardPage::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QWizardPage::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QString PythonQtWrapper_QWizardPage::buttonText(QWizardPage* theWrappedObject, QWizard::WizardButton which) const -{ - return ( theWrappedObject->buttonText(which)); -} - -void PythonQtWrapper_QWizardPage::cleanupPage(QWizardPage* theWrappedObject) -{ - ( theWrappedObject->cleanupPage()); -} - -QVariant PythonQtWrapper_QWizardPage::field(QWizardPage* theWrappedObject, const QString& name) const -{ - return ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_field(name)); -} - -void PythonQtWrapper_QWizardPage::initializePage(QWizardPage* theWrappedObject) -{ - ( theWrappedObject->initializePage()); -} - -bool PythonQtWrapper_QWizardPage::isCommitPage(QWizardPage* theWrappedObject) const -{ - return ( theWrappedObject->isCommitPage()); -} - -bool PythonQtWrapper_QWizardPage::isComplete(QWizardPage* theWrappedObject) const -{ - return ( theWrappedObject->isComplete()); -} - -bool PythonQtWrapper_QWizardPage::isFinalPage(QWizardPage* theWrappedObject) const -{ - return ( theWrappedObject->isFinalPage()); -} - -int PythonQtWrapper_QWizardPage::nextId(QWizardPage* theWrappedObject) const -{ - return ( theWrappedObject->nextId()); -} - -QPixmap PythonQtWrapper_QWizardPage::pixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which) const -{ - return ( theWrappedObject->pixmap(which)); -} - -void PythonQtWrapper_QWizardPage::registerField(QWizardPage* theWrappedObject, const QString& name, QWidget* widget, const char* property, const char* changedSignal) -{ - ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_registerField(name, widget, property, changedSignal)); -} - -void PythonQtWrapper_QWizardPage::setButtonText(QWizardPage* theWrappedObject, QWizard::WizardButton which, const QString& text) -{ - ( theWrappedObject->setButtonText(which, text)); -} - -void PythonQtWrapper_QWizardPage::setCommitPage(QWizardPage* theWrappedObject, bool commitPage) -{ - ( theWrappedObject->setCommitPage(commitPage)); -} - -void PythonQtWrapper_QWizardPage::setField(QWizardPage* theWrappedObject, const QString& name, const QVariant& value) -{ - ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_setField(name, value)); -} - -void PythonQtWrapper_QWizardPage::setFinalPage(QWizardPage* theWrappedObject, bool finalPage) -{ - ( theWrappedObject->setFinalPage(finalPage)); -} - -void PythonQtWrapper_QWizardPage::setPixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap) -{ - ( theWrappedObject->setPixmap(which, pixmap)); -} - -void PythonQtWrapper_QWizardPage::setSubTitle(QWizardPage* theWrappedObject, const QString& subTitle) -{ - ( theWrappedObject->setSubTitle(subTitle)); -} - -void PythonQtWrapper_QWizardPage::setTitle(QWizardPage* theWrappedObject, const QString& title) -{ - ( theWrappedObject->setTitle(title)); -} - -QString PythonQtWrapper_QWizardPage::subTitle(QWizardPage* theWrappedObject) const -{ - return ( theWrappedObject->subTitle()); -} - -QString PythonQtWrapper_QWizardPage::title(QWizardPage* theWrappedObject) const -{ - return ( theWrappedObject->title()); -} - -bool PythonQtWrapper_QWizardPage::validatePage(QWizardPage* theWrappedObject) -{ - return ( theWrappedObject->validatePage()); -} - -QWizard* PythonQtWrapper_QWizardPage::wizard(QWizardPage* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_wizard()); -} - - diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui5.h b/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui5.h deleted file mode 100644 index bdf09cec1..000000000 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui5.h +++ /dev/null @@ -1,2418 +0,0 @@ -#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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - - -class PythonQtShell_QListWidgetItem : public QListWidgetItem -{ -public: - PythonQtShell_QListWidgetItem(QListWidget* view = nullptr, int type = Type):QListWidgetItem(view, type),_wrapper(nullptr) {}; - PythonQtShell_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view = nullptr, int type = Type):QListWidgetItem(icon, text, view, type),_wrapper(nullptr) {}; - PythonQtShell_QListWidgetItem(const QString& text, QListWidget* view = nullptr, int type = Type):QListWidgetItem(text, view, type),_wrapper(nullptr) {}; - - ~PythonQtShell_QListWidgetItem() override; - -QListWidgetItem* clone() const override; -QVariant data(int role) const override; -void read(QDataStream& in) override; -void setData(int role, const QVariant& value) override; -void write(QDataStream& out) const override; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QListWidgetItem : public QListWidgetItem -{ public: -inline QListWidgetItem* py_q_clone() const { return QListWidgetItem::clone(); } -inline QVariant py_q_data(int role) const { return QListWidgetItem::data(role); } -inline void py_q_read(QDataStream& in) { QListWidgetItem::read(in); } -inline void py_q_setData(int role, const QVariant& value) { QListWidgetItem::setData(role, value); } -inline void py_q_write(QDataStream& out) const { QListWidgetItem::write(out); } -}; - -class PythonQtWrapper_QListWidgetItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ItemType ) -enum ItemType{ - Type = QListWidgetItem::Type, UserType = QListWidgetItem::UserType}; -public Q_SLOTS: -QListWidgetItem* new_QListWidgetItem(PythonQtNewOwnerOfThis view = nullptr, int type = Type); -QListWidgetItem* new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis view = nullptr, int type = Type); -QListWidgetItem* new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis view = nullptr, int type = Type); -void delete_QListWidgetItem(QListWidgetItem* obj) { delete obj; } - QBrush background(QListWidgetItem* theWrappedObject) const; - Qt::CheckState checkState(QListWidgetItem* theWrappedObject) const; - QListWidgetItem* clone(QListWidgetItem* theWrappedObject) const; - QListWidgetItem* py_q_clone(QListWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_clone());} - QVariant data(QListWidgetItem* theWrappedObject, int role) const; - QVariant py_q_data(QListWidgetItem* theWrappedObject, int role) const{ return (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_data(role));} - Qt::ItemFlags flags(QListWidgetItem* theWrappedObject) const; - QFont font(QListWidgetItem* theWrappedObject) const; - QBrush foreground(QListWidgetItem* theWrappedObject) const; - QIcon icon(QListWidgetItem* theWrappedObject) const; - bool isHidden(QListWidgetItem* theWrappedObject) const; - bool isSelected(QListWidgetItem* theWrappedObject) const; - QListWidget* listWidget(QListWidgetItem* theWrappedObject) const; - void writeTo(QListWidgetItem* theWrappedObject, QDataStream& out); - void readFrom(QListWidgetItem* theWrappedObject, QDataStream& in); - void read(QListWidgetItem* theWrappedObject, QDataStream& in); - void py_q_read(QListWidgetItem* theWrappedObject, QDataStream& in){ (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_read(in));} - void setBackground(QListWidgetItem* theWrappedObject, const QBrush& brush); - void setCheckState(QListWidgetItem* theWrappedObject, Qt::CheckState state); - void setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value); - void py_q_setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value){ (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_setData(role, value));} - void setFlags(QListWidgetItem* theWrappedObject, Qt::ItemFlags flags); - void setFont(QListWidgetItem* theWrappedObject, const QFont& font); - void setForeground(QListWidgetItem* theWrappedObject, const QBrush& brush); - void setHidden(QListWidgetItem* theWrappedObject, bool hide); - void setIcon(QListWidgetItem* theWrappedObject, const QIcon& icon); - void setSelected(QListWidgetItem* theWrappedObject, bool select); - void setSizeHint(QListWidgetItem* theWrappedObject, const QSize& size); - void setStatusTip(QListWidgetItem* theWrappedObject, const QString& statusTip); - void setText(QListWidgetItem* theWrappedObject, const QString& text); - void setTextAlignment(QListWidgetItem* theWrappedObject, int alignment); - void setToolTip(QListWidgetItem* theWrappedObject, const QString& toolTip); - void setWhatsThis(QListWidgetItem* theWrappedObject, const QString& whatsThis); - QSize sizeHint(QListWidgetItem* theWrappedObject) const; - QString statusTip(QListWidgetItem* theWrappedObject) const; - QString text(QListWidgetItem* theWrappedObject) const; - int textAlignment(QListWidgetItem* theWrappedObject) const; - QString toolTip(QListWidgetItem* theWrappedObject) const; - int type(QListWidgetItem* theWrappedObject) const; - QString whatsThis(QListWidgetItem* theWrappedObject) const; - void write(QListWidgetItem* theWrappedObject, QDataStream& out) const; - void py_q_write(QListWidgetItem* theWrappedObject, QDataStream& out) const{ (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_write(out));} -}; - - - - - -class PythonQtShell_QMainWindow : public QMainWindow -{ -public: - PythonQtShell_QMainWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QMainWindow(parent, flags),_wrapper(nullptr) {}; - - ~PythonQtShell_QMainWindow() override; - -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* arg__1) override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* event) override; -QMenu* createPopupMenu() override; -void customEvent(QEvent* event) override; -int devType() const override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void focusInEvent(QFocusEvent* event) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* event) override; -void keyReleaseEvent(QKeyEvent* event) override; -void leaveEvent(QEvent* event) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* event) override; -void mousePressEvent(QMouseEvent* event) override; -void mouseReleaseEvent(QMouseEvent* event) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* event) override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* event) override; -void setVisible(bool visible) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* event) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* event) override; -void wheelEvent(QWheelEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMainWindow : public QMainWindow -{ public: -inline void promoted_contextMenuEvent(QContextMenuEvent* event) { this->contextMenuEvent(event); } -inline bool promoted_event(QEvent* event) { return this->event(event); } -inline void py_q_contextMenuEvent(QContextMenuEvent* event) { QMainWindow::contextMenuEvent(event); } -inline QMenu* py_q_createPopupMenu() { return QMainWindow::createPopupMenu(); } -inline bool py_q_event(QEvent* event) { return QMainWindow::event(event); } -}; - -class PythonQtWrapper_QMainWindow : public QObject -{ Q_OBJECT -public: -Q_ENUMS(DockOption ) -Q_FLAGS(DockOptions ) -enum DockOption{ - AnimatedDocks = QMainWindow::AnimatedDocks, AllowNestedDocks = QMainWindow::AllowNestedDocks, AllowTabbedDocks = QMainWindow::AllowTabbedDocks, ForceTabbedDocks = QMainWindow::ForceTabbedDocks, VerticalTabs = QMainWindow::VerticalTabs, GroupedDragging = QMainWindow::GroupedDragging}; -Q_DECLARE_FLAGS(DockOptions, DockOption) -public Q_SLOTS: -QMainWindow* new_QMainWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QMainWindow(QMainWindow* obj) { delete obj; } - void addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget); - void addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget, Qt::Orientation orientation); - void addToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar); - void addToolBar(QMainWindow* theWrappedObject, Qt::ToolBarArea area, QToolBar* toolbar); - QToolBar* addToolBar(QMainWindow* theWrappedObject, const QString& title); - void addToolBarBreak(QMainWindow* theWrappedObject, Qt::ToolBarArea area = Qt::TopToolBarArea); - QWidget* centralWidget(QMainWindow* theWrappedObject) const; - void py_q_contextMenuEvent(QMainWindow* theWrappedObject, QContextMenuEvent* event){ (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_contextMenuEvent(event));} - Qt::DockWidgetArea corner(QMainWindow* theWrappedObject, Qt::Corner corner) const; - QMenu* createPopupMenu(QMainWindow* theWrappedObject); - QMenu* py_q_createPopupMenu(QMainWindow* theWrappedObject){ return (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_createPopupMenu());} - QMainWindow::DockOptions dockOptions(QMainWindow* theWrappedObject) const; - Qt::DockWidgetArea dockWidgetArea(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const; - bool documentMode(QMainWindow* theWrappedObject) const; - bool py_q_event(QMainWindow* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_event(event));} - QSize iconSize(QMainWindow* theWrappedObject) const; - void insertToolBar(QMainWindow* theWrappedObject, QToolBar* before, QToolBar* toolbar); - void insertToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before); - bool isAnimated(QMainWindow* theWrappedObject) const; - bool isDockNestingEnabled(QMainWindow* theWrappedObject) const; - bool isSeparator(QMainWindow* theWrappedObject, const QPoint& pos) const; - QMenuBar* menuBar(QMainWindow* theWrappedObject) const; - QWidget* menuWidget(QMainWindow* theWrappedObject) const; - void removeDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget); - void removeToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar); - void removeToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before); - void resizeDocks(QMainWindow* theWrappedObject, const QList& docks, const QList& sizes, Qt::Orientation orientation); - bool restoreDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget); - bool restoreState(QMainWindow* theWrappedObject, const QByteArray& state, int version = 0); - QByteArray saveState(QMainWindow* theWrappedObject, int version = 0) const; - void setCentralWidget(QMainWindow* theWrappedObject, QWidget* widget); - void setCorner(QMainWindow* theWrappedObject, Qt::Corner corner, Qt::DockWidgetArea area); - void setDockOptions(QMainWindow* theWrappedObject, QMainWindow::DockOptions options); - void setDocumentMode(QMainWindow* theWrappedObject, bool enabled); - void setIconSize(QMainWindow* theWrappedObject, const QSize& iconSize); - void setMenuBar(QMainWindow* theWrappedObject, QMenuBar* menubar); - void setMenuWidget(QMainWindow* theWrappedObject, QWidget* menubar); - void setStatusBar(QMainWindow* theWrappedObject, QStatusBar* statusbar); - void setTabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition); - void setTabShape(QMainWindow* theWrappedObject, QTabWidget::TabShape tabShape); - void setToolButtonStyle(QMainWindow* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle); - void splitDockWidget(QMainWindow* theWrappedObject, QDockWidget* after, QDockWidget* dockwidget, Qt::Orientation orientation); - QStatusBar* statusBar(QMainWindow* theWrappedObject) const; - QTabWidget::TabPosition tabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetArea area) const; - QTabWidget::TabShape tabShape(QMainWindow* theWrappedObject) const; - QList tabifiedDockWidgets(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const; - void tabifyDockWidget(QMainWindow* theWrappedObject, QDockWidget* first, QDockWidget* second); - QWidget* takeCentralWidget(QMainWindow* theWrappedObject); - Qt::ToolBarArea toolBarArea(QMainWindow* theWrappedObject, QToolBar* toolbar) const; - bool toolBarBreak(QMainWindow* theWrappedObject, QToolBar* toolbar) const; - Qt::ToolButtonStyle toolButtonStyle(QMainWindow* theWrappedObject) const; - bool unifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QMargins : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QMargins* new_QMargins(); -QMargins* new_QMargins(int left, int top, int right, int bottom); -QMargins* new_QMargins(const QMargins& other) { -QMargins* a = new QMargins(); -*((QMargins*)a) = other; -return a; } -void delete_QMargins(QMargins* obj) { delete obj; } - int bottom(QMargins* theWrappedObject) const; - bool isNull(QMargins* theWrappedObject) const; - int left(QMargins* theWrappedObject) const; - bool __ne__(QMargins* theWrappedObject, const QMargins& arg__2); - QMargins __mul__(QMargins* theWrappedObject, int factor); - QMargins __mul__(QMargins* theWrappedObject, qreal factor); - QMargins* __imul__(QMargins* theWrappedObject, int arg__1); - QMargins* __imul__(QMargins* theWrappedObject, qreal arg__1); - QMargins __add__(QMargins* theWrappedObject); - QMargins __add__(QMargins* theWrappedObject, const QMargins& m2); - QRect __add__(QMargins* theWrappedObject, const QRect& rectangle); - QMargins __add__(QMargins* theWrappedObject, int rhs); - QMargins* __iadd__(QMargins* theWrappedObject, const QMargins& margins); - QMargins* __iadd__(QMargins* theWrappedObject, int arg__1); - QMargins __sub__(QMargins* theWrappedObject); - QMargins __sub__(QMargins* theWrappedObject, const QMargins& m2); - QMargins __sub__(QMargins* theWrappedObject, int rhs); - QMargins* __isub__(QMargins* theWrappedObject, const QMargins& margins); - QMargins* __isub__(QMargins* theWrappedObject, int arg__1); - QMargins __div__(QMargins* theWrappedObject, int divisor); - QMargins __div__(QMargins* theWrappedObject, qreal divisor); - QMargins* __idiv__(QMargins* theWrappedObject, int arg__1); - QMargins* __idiv__(QMargins* theWrappedObject, qreal arg__1); - void writeTo(QMargins* theWrappedObject, QDataStream& arg__1); - bool __eq__(QMargins* theWrappedObject, const QMargins& arg__2); - void readFrom(QMargins* theWrappedObject, QDataStream& arg__1); - int right(QMargins* theWrappedObject) const; - void setBottom(QMargins* theWrappedObject, int bottom); - void setLeft(QMargins* theWrappedObject, int left); - void setRight(QMargins* theWrappedObject, int right); - void setTop(QMargins* theWrappedObject, int top); - int top(QMargins* theWrappedObject) const; - QString py_toString(QMargins*); - bool __nonzero__(QMargins* obj) { return !obj->isNull(); } -}; - - - - - -class PythonQtShell_QMdiArea : public QMdiArea -{ -public: - PythonQtShell_QMdiArea(QWidget* parent = nullptr):QMdiArea(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QMdiArea() override; - -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* arg__1) override; -void childEvent(QChildEvent* childEvent) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* arg__1) override; -void customEvent(QEvent* event) override; -int devType() const override; -void dragEnterEvent(QDragEnterEvent* arg__1) override; -void dragLeaveEvent(QDragLeaveEvent* arg__1) override; -void dragMoveEvent(QDragMoveEvent* arg__1) override; -void dropEvent(QDropEvent* arg__1) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* object, QEvent* event) override; -void focusInEvent(QFocusEvent* event) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* arg__1) override; -void keyReleaseEvent(QKeyEvent* event) override; -void leaveEvent(QEvent* event) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* arg__1) override; -void mouseMoveEvent(QMouseEvent* arg__1) override; -void mousePressEvent(QMouseEvent* arg__1) override; -void mouseReleaseEvent(QMouseEvent* arg__1) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* paintEvent) override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* resizeEvent) override; -void scrollContentsBy(int dx, int dy) override; -void setVisible(bool visible) override; -void setupViewport(QWidget* viewport) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* showEvent) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* timerEvent) override; -bool viewportEvent(QEvent* event) override; -QSize viewportSizeHint() const override; -void wheelEvent(QWheelEvent* arg__1) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMdiArea : public QMdiArea -{ public: -inline void promoted_childEvent(QChildEvent* childEvent) { this->childEvent(childEvent); } -inline bool promoted_event(QEvent* event) { return this->event(event); } -inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } -inline void promoted_paintEvent(QPaintEvent* paintEvent) { this->paintEvent(paintEvent); } -inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { this->resizeEvent(resizeEvent); } -inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } -inline void promoted_setupViewport(QWidget* viewport) { this->setupViewport(viewport); } -inline void promoted_showEvent(QShowEvent* showEvent) { this->showEvent(showEvent); } -inline void promoted_timerEvent(QTimerEvent* timerEvent) { this->timerEvent(timerEvent); } -inline bool promoted_viewportEvent(QEvent* event) { return this->viewportEvent(event); } -inline void py_q_childEvent(QChildEvent* childEvent) { QMdiArea::childEvent(childEvent); } -inline bool py_q_event(QEvent* event) { return QMdiArea::event(event); } -inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QMdiArea::eventFilter(object, event); } -inline QSize py_q_minimumSizeHint() const { return QMdiArea::minimumSizeHint(); } -inline void py_q_paintEvent(QPaintEvent* paintEvent) { QMdiArea::paintEvent(paintEvent); } -inline void py_q_resizeEvent(QResizeEvent* resizeEvent) { QMdiArea::resizeEvent(resizeEvent); } -inline void py_q_scrollContentsBy(int dx, int dy) { QMdiArea::scrollContentsBy(dx, dy); } -inline void py_q_setupViewport(QWidget* viewport) { QMdiArea::setupViewport(viewport); } -inline void py_q_showEvent(QShowEvent* showEvent) { QMdiArea::showEvent(showEvent); } -inline QSize py_q_sizeHint() const { return QMdiArea::sizeHint(); } -inline void py_q_timerEvent(QTimerEvent* timerEvent) { QMdiArea::timerEvent(timerEvent); } -inline bool py_q_viewportEvent(QEvent* event) { return QMdiArea::viewportEvent(event); } -}; - -class PythonQtWrapper_QMdiArea : public QObject -{ Q_OBJECT -public: -Q_ENUMS(AreaOption ) -Q_FLAGS(AreaOptions ) -enum AreaOption{ - DontMaximizeSubWindowOnActivation = QMdiArea::DontMaximizeSubWindowOnActivation}; -Q_DECLARE_FLAGS(AreaOptions, AreaOption) -public Q_SLOTS: -QMdiArea* new_QMdiArea(QWidget* parent = nullptr); -void delete_QMdiArea(QMdiArea* obj) { delete obj; } - QMdiArea::WindowOrder activationOrder(QMdiArea* theWrappedObject) const; - QMdiSubWindow* activeSubWindow(QMdiArea* theWrappedObject) const; - QMdiSubWindow* addSubWindow(QMdiArea* theWrappedObject, QWidget* widget, Qt::WindowFlags flags = Qt::WindowFlags()); - QBrush background(QMdiArea* theWrappedObject) const; - void py_q_childEvent(QMdiArea* theWrappedObject, QChildEvent* childEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_childEvent(childEvent));} - QMdiSubWindow* currentSubWindow(QMdiArea* theWrappedObject) const; - bool documentMode(QMdiArea* theWrappedObject) const; - bool py_q_event(QMdiArea* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_event(event));} - bool py_q_eventFilter(QMdiArea* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_eventFilter(object, event));} - QSize py_q_minimumSizeHint(QMdiArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_minimumSizeHint());} - void py_q_paintEvent(QMdiArea* theWrappedObject, QPaintEvent* paintEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_paintEvent(paintEvent));} - void removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget); - void py_q_resizeEvent(QMdiArea* theWrappedObject, QResizeEvent* resizeEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_resizeEvent(resizeEvent));} - void py_q_scrollContentsBy(QMdiArea* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} - void setActivationOrder(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order); - void setBackground(QMdiArea* theWrappedObject, const QBrush& background); - void setDocumentMode(QMdiArea* theWrappedObject, bool enabled); - void setOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption option, bool on = true); - void setTabPosition(QMdiArea* theWrappedObject, QTabWidget::TabPosition position); - void setTabShape(QMdiArea* theWrappedObject, QTabWidget::TabShape shape); - void setTabsClosable(QMdiArea* theWrappedObject, bool closable); - void setTabsMovable(QMdiArea* theWrappedObject, bool movable); - void setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode); - void py_q_setupViewport(QMdiArea* theWrappedObject, QWidget* viewport){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_setupViewport(viewport));} - void py_q_showEvent(QMdiArea* theWrappedObject, QShowEvent* showEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_showEvent(showEvent));} - QSize py_q_sizeHint(QMdiArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_sizeHint());} - QList subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order = QMdiArea::CreationOrder) const; - QTabWidget::TabPosition tabPosition(QMdiArea* theWrappedObject) const; - QTabWidget::TabShape tabShape(QMdiArea* theWrappedObject) const; - bool tabsClosable(QMdiArea* theWrappedObject) const; - bool tabsMovable(QMdiArea* theWrappedObject) const; - bool testOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption opton) const; - void py_q_timerEvent(QMdiArea* theWrappedObject, QTimerEvent* timerEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_timerEvent(timerEvent));} - QMdiArea::ViewMode viewMode(QMdiArea* theWrappedObject) const; - bool py_q_viewportEvent(QMdiArea* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_viewportEvent(event));} -}; - - - - - -class PythonQtShell_QMdiSubWindow : public QMdiSubWindow -{ -public: - PythonQtShell_QMdiSubWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QMdiSubWindow(parent, flags),_wrapper(nullptr) {}; - - ~PythonQtShell_QMdiSubWindow() override; - -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* changeEvent) override; -void childEvent(QChildEvent* childEvent) override; -void closeEvent(QCloseEvent* closeEvent) override; -void contextMenuEvent(QContextMenuEvent* contextMenuEvent) override; -void customEvent(QEvent* event) override; -int devType() const override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* object, QEvent* event) override; -void focusInEvent(QFocusEvent* focusInEvent) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* focusOutEvent) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* hideEvent) override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* keyEvent) override; -void keyReleaseEvent(QKeyEvent* event) override; -void leaveEvent(QEvent* leaveEvent) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* mouseEvent) override; -void mouseMoveEvent(QMouseEvent* mouseEvent) override; -void mousePressEvent(QMouseEvent* mouseEvent) override; -void mouseReleaseEvent(QMouseEvent* mouseEvent) override; -void moveEvent(QMoveEvent* moveEvent) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* paintEvent) override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* resizeEvent) override; -void setVisible(bool visible) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* showEvent) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* timerEvent) override; -void wheelEvent(QWheelEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMdiSubWindow : public QMdiSubWindow -{ public: -inline void promoted_changeEvent(QEvent* changeEvent) { this->changeEvent(changeEvent); } -inline void promoted_childEvent(QChildEvent* childEvent) { this->childEvent(childEvent); } -inline void promoted_closeEvent(QCloseEvent* closeEvent) { this->closeEvent(closeEvent); } -inline void promoted_contextMenuEvent(QContextMenuEvent* contextMenuEvent) { this->contextMenuEvent(contextMenuEvent); } -inline bool promoted_event(QEvent* event) { return this->event(event); } -inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } -inline void promoted_focusInEvent(QFocusEvent* focusInEvent) { this->focusInEvent(focusInEvent); } -inline void promoted_focusOutEvent(QFocusEvent* focusOutEvent) { this->focusOutEvent(focusOutEvent); } -inline void promoted_hideEvent(QHideEvent* hideEvent) { this->hideEvent(hideEvent); } -inline void promoted_keyPressEvent(QKeyEvent* keyEvent) { this->keyPressEvent(keyEvent); } -inline void promoted_leaveEvent(QEvent* leaveEvent) { this->leaveEvent(leaveEvent); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* mouseEvent) { this->mouseDoubleClickEvent(mouseEvent); } -inline void promoted_mouseMoveEvent(QMouseEvent* mouseEvent) { this->mouseMoveEvent(mouseEvent); } -inline void promoted_mousePressEvent(QMouseEvent* mouseEvent) { this->mousePressEvent(mouseEvent); } -inline void promoted_mouseReleaseEvent(QMouseEvent* mouseEvent) { this->mouseReleaseEvent(mouseEvent); } -inline void promoted_moveEvent(QMoveEvent* moveEvent) { this->moveEvent(moveEvent); } -inline void promoted_paintEvent(QPaintEvent* paintEvent) { this->paintEvent(paintEvent); } -inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { this->resizeEvent(resizeEvent); } -inline void promoted_showEvent(QShowEvent* showEvent) { this->showEvent(showEvent); } -inline void promoted_timerEvent(QTimerEvent* timerEvent) { this->timerEvent(timerEvent); } -inline void py_q_changeEvent(QEvent* changeEvent) { QMdiSubWindow::changeEvent(changeEvent); } -inline void py_q_childEvent(QChildEvent* childEvent) { QMdiSubWindow::childEvent(childEvent); } -inline void py_q_closeEvent(QCloseEvent* closeEvent) { QMdiSubWindow::closeEvent(closeEvent); } -inline void py_q_contextMenuEvent(QContextMenuEvent* contextMenuEvent) { QMdiSubWindow::contextMenuEvent(contextMenuEvent); } -inline bool py_q_event(QEvent* event) { return QMdiSubWindow::event(event); } -inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QMdiSubWindow::eventFilter(object, event); } -inline void py_q_focusInEvent(QFocusEvent* focusInEvent) { QMdiSubWindow::focusInEvent(focusInEvent); } -inline void py_q_focusOutEvent(QFocusEvent* focusOutEvent) { QMdiSubWindow::focusOutEvent(focusOutEvent); } -inline void py_q_hideEvent(QHideEvent* hideEvent) { QMdiSubWindow::hideEvent(hideEvent); } -inline void py_q_keyPressEvent(QKeyEvent* keyEvent) { QMdiSubWindow::keyPressEvent(keyEvent); } -inline void py_q_leaveEvent(QEvent* leaveEvent) { QMdiSubWindow::leaveEvent(leaveEvent); } -inline QSize py_q_minimumSizeHint() const { return QMdiSubWindow::minimumSizeHint(); } -inline void py_q_mouseDoubleClickEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseDoubleClickEvent(mouseEvent); } -inline void py_q_mouseMoveEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseMoveEvent(mouseEvent); } -inline void py_q_mousePressEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mousePressEvent(mouseEvent); } -inline void py_q_mouseReleaseEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseReleaseEvent(mouseEvent); } -inline void py_q_moveEvent(QMoveEvent* moveEvent) { QMdiSubWindow::moveEvent(moveEvent); } -inline void py_q_paintEvent(QPaintEvent* paintEvent) { QMdiSubWindow::paintEvent(paintEvent); } -inline void py_q_resizeEvent(QResizeEvent* resizeEvent) { QMdiSubWindow::resizeEvent(resizeEvent); } -inline void py_q_showEvent(QShowEvent* showEvent) { QMdiSubWindow::showEvent(showEvent); } -inline QSize py_q_sizeHint() const { return QMdiSubWindow::sizeHint(); } -inline void py_q_timerEvent(QTimerEvent* timerEvent) { QMdiSubWindow::timerEvent(timerEvent); } -}; - -class PythonQtWrapper_QMdiSubWindow : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SubWindowOption ) -Q_FLAGS(SubWindowOptions ) -enum SubWindowOption{ - AllowOutsideAreaHorizontally = QMdiSubWindow::AllowOutsideAreaHorizontally, AllowOutsideAreaVertically = QMdiSubWindow::AllowOutsideAreaVertically, RubberBandResize = QMdiSubWindow::RubberBandResize, RubberBandMove = QMdiSubWindow::RubberBandMove}; -Q_DECLARE_FLAGS(SubWindowOptions, SubWindowOption) -public Q_SLOTS: -QMdiSubWindow* new_QMdiSubWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QMdiSubWindow(QMdiSubWindow* obj) { delete obj; } - void py_q_changeEvent(QMdiSubWindow* theWrappedObject, QEvent* changeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_changeEvent(changeEvent));} - void py_q_childEvent(QMdiSubWindow* theWrappedObject, QChildEvent* childEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_childEvent(childEvent));} - void py_q_closeEvent(QMdiSubWindow* theWrappedObject, QCloseEvent* closeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_closeEvent(closeEvent));} - void py_q_contextMenuEvent(QMdiSubWindow* theWrappedObject, QContextMenuEvent* contextMenuEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_contextMenuEvent(contextMenuEvent));} - bool py_q_event(QMdiSubWindow* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_event(event));} - bool py_q_eventFilter(QMdiSubWindow* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_eventFilter(object, event));} - void py_q_focusInEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusInEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_focusInEvent(focusInEvent));} - void py_q_focusOutEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusOutEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_focusOutEvent(focusOutEvent));} - void py_q_hideEvent(QMdiSubWindow* theWrappedObject, QHideEvent* hideEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_hideEvent(hideEvent));} - bool isShaded(QMdiSubWindow* theWrappedObject) const; - void py_q_keyPressEvent(QMdiSubWindow* theWrappedObject, QKeyEvent* keyEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_keyPressEvent(keyEvent));} - int keyboardPageStep(QMdiSubWindow* theWrappedObject) const; - int keyboardSingleStep(QMdiSubWindow* theWrappedObject) const; - void py_q_leaveEvent(QMdiSubWindow* theWrappedObject, QEvent* leaveEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_leaveEvent(leaveEvent));} - QWidget* maximizedButtonsWidget(QMdiSubWindow* theWrappedObject) const; - QWidget* maximizedSystemMenuIconWidget(QMdiSubWindow* theWrappedObject) const; - QMdiArea* mdiArea(QMdiSubWindow* theWrappedObject) const; - QSize py_q_minimumSizeHint(QMdiSubWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_minimumSizeHint());} - void py_q_mouseDoubleClickEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseDoubleClickEvent(mouseEvent));} - void py_q_mouseMoveEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseMoveEvent(mouseEvent));} - void py_q_mousePressEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mousePressEvent(mouseEvent));} - void py_q_mouseReleaseEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseReleaseEvent(mouseEvent));} - void py_q_moveEvent(QMdiSubWindow* theWrappedObject, QMoveEvent* moveEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_moveEvent(moveEvent));} - void py_q_paintEvent(QMdiSubWindow* theWrappedObject, QPaintEvent* paintEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_paintEvent(paintEvent));} - void py_q_resizeEvent(QMdiSubWindow* theWrappedObject, QResizeEvent* resizeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_resizeEvent(resizeEvent));} - void setKeyboardPageStep(QMdiSubWindow* theWrappedObject, int step); - void setKeyboardSingleStep(QMdiSubWindow* theWrappedObject, int step); - void setOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption option, bool on = true); - void setSystemMenu(QMdiSubWindow* theWrappedObject, QMenu* systemMenu); - void setWidget(QMdiSubWindow* theWrappedObject, QWidget* widget); - void py_q_showEvent(QMdiSubWindow* theWrappedObject, QShowEvent* showEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_showEvent(showEvent));} - QSize py_q_sizeHint(QMdiSubWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_sizeHint());} - QMenu* systemMenu(QMdiSubWindow* theWrappedObject) const; - bool testOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption arg__1) const; - void py_q_timerEvent(QMdiSubWindow* theWrappedObject, QTimerEvent* timerEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_timerEvent(timerEvent));} - QWidget* widget(QMdiSubWindow* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QMenu : public QMenu -{ -public: - PythonQtShell_QMenu(QWidget* parent = nullptr):QMenu(parent),_wrapper(nullptr) {}; - PythonQtShell_QMenu(const QString& title, QWidget* parent = nullptr):QMenu(title, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QMenu() override; - -void actionEvent(QActionEvent* arg__1) override; -void changeEvent(QEvent* arg__1) override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* event) override; -void customEvent(QEvent* event) override; -int devType() const override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; -void enterEvent(QEvent* arg__1) override; -bool event(QEvent* arg__1) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void focusInEvent(QFocusEvent* event) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* arg__1) override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* arg__1) override; -void keyReleaseEvent(QKeyEvent* event) override; -void leaveEvent(QEvent* arg__1) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* arg__1) override; -void mousePressEvent(QMouseEvent* arg__1) override; -void mouseReleaseEvent(QMouseEvent* arg__1) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* arg__1) override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* event) override; -void setVisible(bool visible) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* event) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* arg__1) override; -void wheelEvent(QWheelEvent* arg__1) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMenu : public QMenu -{ public: -inline void promoted_actionEvent(QActionEvent* arg__1) { this->actionEvent(arg__1); } -inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } -inline int promoted_columnCount() const { return this->columnCount(); } -inline void promoted_enterEvent(QEvent* arg__1) { this->enterEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } -inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } -inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } -inline void promoted_initStyleOption(QStyleOptionMenuItem* option, const QAction* action) const { this->initStyleOption(option, action); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } -inline void promoted_leaveEvent(QEvent* arg__1) { this->leaveEvent(arg__1); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } -inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } -inline void py_q_actionEvent(QActionEvent* arg__1) { QMenu::actionEvent(arg__1); } -inline void py_q_changeEvent(QEvent* arg__1) { QMenu::changeEvent(arg__1); } -inline void py_q_enterEvent(QEvent* arg__1) { QMenu::enterEvent(arg__1); } -inline bool py_q_event(QEvent* arg__1) { return QMenu::event(arg__1); } -inline bool py_q_focusNextPrevChild(bool next) { return QMenu::focusNextPrevChild(next); } -inline void py_q_hideEvent(QHideEvent* arg__1) { QMenu::hideEvent(arg__1); } -inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QMenu::keyPressEvent(arg__1); } -inline void py_q_leaveEvent(QEvent* arg__1) { QMenu::leaveEvent(arg__1); } -inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QMenu::mouseMoveEvent(arg__1); } -inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QMenu::mousePressEvent(arg__1); } -inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QMenu::mouseReleaseEvent(arg__1); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QMenu::paintEvent(arg__1); } -inline QSize py_q_sizeHint() const { return QMenu::sizeHint(); } -inline void py_q_timerEvent(QTimerEvent* arg__1) { QMenu::timerEvent(arg__1); } -inline void py_q_wheelEvent(QWheelEvent* arg__1) { QMenu::wheelEvent(arg__1); } -}; - -class PythonQtWrapper_QMenu : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QMenu* new_QMenu(QWidget* parent = nullptr); -QMenu* new_QMenu(const QString& title, QWidget* parent = nullptr); -void delete_QMenu(QMenu* obj) { delete obj; } - QAction* actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const; - void py_q_actionEvent(QMenu* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_actionEvent(arg__1));} - QRect actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const; - QAction* activeAction(QMenu* theWrappedObject) const; - QAction* addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text); - QAction* addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut = 0); - QAction* addAction(QMenu* theWrappedObject, const QString& text); - QAction* addAction(QMenu* theWrappedObject, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut = 0); - QAction* addMenu(QMenu* theWrappedObject, QMenu* menu); - QMenu* addMenu(QMenu* theWrappedObject, const QIcon& icon, const QString& title); - QMenu* addMenu(QMenu* theWrappedObject, const QString& title); - QAction* addSection(QMenu* theWrappedObject, const QIcon& icon, const QString& text); - QAction* addSection(QMenu* theWrappedObject, const QString& text); - QAction* addSeparator(QMenu* theWrappedObject); - void py_q_changeEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_changeEvent(arg__1));} - void clear(QMenu* theWrappedObject); - int columnCount(QMenu* theWrappedObject) const; - QAction* defaultAction(QMenu* theWrappedObject) const; - void py_q_enterEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_enterEvent(arg__1));} - bool py_q_event(QMenu* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_event(arg__1));} - QAction* exec(QMenu* theWrappedObject); - QAction* static_QMenu_exec(QList actions, const QPoint& pos, QAction* at = nullptr, QWidget* parent = nullptr); - QAction* exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at = nullptr); - bool py_q_focusNextPrevChild(QMenu* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_focusNextPrevChild(next));} - void py_q_hideEvent(QMenu* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_hideEvent(arg__1));} - void hideTearOffMenu(QMenu* theWrappedObject); - QIcon icon(QMenu* theWrappedObject) const; - void initStyleOption(QMenu* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const; - QAction* insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu); - QAction* insertSection(QMenu* theWrappedObject, QAction* before, const QIcon& icon, const QString& text); - QAction* insertSection(QMenu* theWrappedObject, QAction* before, const QString& text); - QAction* insertSeparator(QMenu* theWrappedObject, QAction* before); - bool isEmpty(QMenu* theWrappedObject) const; - bool isTearOffEnabled(QMenu* theWrappedObject) const; - bool isTearOffMenuVisible(QMenu* theWrappedObject) const; - void py_q_keyPressEvent(QMenu* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_keyPressEvent(arg__1));} - void py_q_leaveEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_leaveEvent(arg__1));} - QAction* menuAction(QMenu* theWrappedObject) const; - void py_q_mouseMoveEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} - void py_q_mousePressEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mousePressEvent(arg__1));} - void py_q_mouseReleaseEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} - void py_q_paintEvent(QMenu* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_paintEvent(arg__1));} - void popup(QMenu* theWrappedObject, const QPoint& pos, QAction* at = nullptr); - bool separatorsCollapsible(QMenu* theWrappedObject) const; - void setActiveAction(QMenu* theWrappedObject, QAction* act); - void setDefaultAction(QMenu* theWrappedObject, QAction* arg__1); - void setIcon(QMenu* theWrappedObject, const QIcon& icon); - void setSeparatorsCollapsible(QMenu* theWrappedObject, bool collapse); - void setTearOffEnabled(QMenu* theWrappedObject, bool arg__1); - void setTitle(QMenu* theWrappedObject, const QString& title); - void setToolTipsVisible(QMenu* theWrappedObject, bool visible); - void showTearOffMenu(QMenu* theWrappedObject); - void showTearOffMenu(QMenu* theWrappedObject, const QPoint& pos); - QSize py_q_sizeHint(QMenu* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_sizeHint());} - void py_q_timerEvent(QMenu* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_timerEvent(arg__1));} - QString title(QMenu* theWrappedObject) const; - bool toolTipsVisible(QMenu* theWrappedObject) const; - void py_q_wheelEvent(QMenu* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_wheelEvent(arg__1));} - bool __nonzero__(QMenu* obj) { return !obj->isEmpty(); } - - QAction* addAction (QMenu* menu, const QString & text, PyObject* callable, const QKeySequence & shortcut = 0) { - QAction* a = menu->addAction(text); - a->setShortcut(shortcut); - PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); - return a; - } - - QAction* addAction (QMenu* menu, const QIcon& icon, const QString& text, PyObject* callable, const QKeySequence& shortcut = 0) - { - QAction* a = menu->addAction(text); - a->setIcon(icon); - a->setShortcut(shortcut); - PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); - return a; - } - -}; - - - - - -class PythonQtShell_QMenuBar : public QMenuBar -{ -public: - PythonQtShell_QMenuBar(QWidget* parent = nullptr):QMenuBar(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QMenuBar() override; - -void actionEvent(QActionEvent* arg__1) override; -void changeEvent(QEvent* arg__1) override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* event) override; -void customEvent(QEvent* event) override; -int devType() const override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* arg__1) override; -bool eventFilter(QObject* arg__1, QEvent* arg__2) override; -void focusInEvent(QFocusEvent* arg__1) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* arg__1) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* arg__1) override; -void keyReleaseEvent(QKeyEvent* event) override; -void leaveEvent(QEvent* arg__1) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* arg__1) override; -void mousePressEvent(QMouseEvent* arg__1) override; -void mouseReleaseEvent(QMouseEvent* arg__1) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* arg__1) override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* arg__1) override; -void setVisible(bool visible) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* event) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* arg__1) override; -void wheelEvent(QWheelEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMenuBar : public QMenuBar -{ public: -inline void promoted_actionEvent(QActionEvent* arg__1) { this->actionEvent(arg__1); } -inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } -inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } -inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } -inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } -inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } -inline void promoted_initStyleOption(QStyleOptionMenuItem* option, const QAction* action) const { this->initStyleOption(option, action); } -inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } -inline void promoted_leaveEvent(QEvent* arg__1) { this->leaveEvent(arg__1); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } -inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } -inline void py_q_actionEvent(QActionEvent* arg__1) { QMenuBar::actionEvent(arg__1); } -inline void py_q_changeEvent(QEvent* arg__1) { QMenuBar::changeEvent(arg__1); } -inline bool py_q_event(QEvent* arg__1) { return QMenuBar::event(arg__1); } -inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QMenuBar::eventFilter(arg__1, arg__2); } -inline void py_q_focusInEvent(QFocusEvent* arg__1) { QMenuBar::focusInEvent(arg__1); } -inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QMenuBar::focusOutEvent(arg__1); } -inline int py_q_heightForWidth(int arg__1) const { return QMenuBar::heightForWidth(arg__1); } -inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QMenuBar::keyPressEvent(arg__1); } -inline void py_q_leaveEvent(QEvent* arg__1) { QMenuBar::leaveEvent(arg__1); } -inline QSize py_q_minimumSizeHint() const { return QMenuBar::minimumSizeHint(); } -inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QMenuBar::mouseMoveEvent(arg__1); } -inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QMenuBar::mousePressEvent(arg__1); } -inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QMenuBar::mouseReleaseEvent(arg__1); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QMenuBar::paintEvent(arg__1); } -inline void py_q_resizeEvent(QResizeEvent* arg__1) { QMenuBar::resizeEvent(arg__1); } -inline void py_q_setVisible(bool visible) { QMenuBar::setVisible(visible); } -inline QSize py_q_sizeHint() const { return QMenuBar::sizeHint(); } -inline void py_q_timerEvent(QTimerEvent* arg__1) { QMenuBar::timerEvent(arg__1); } -}; - -class PythonQtWrapper_QMenuBar : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QMenuBar* new_QMenuBar(QWidget* parent = nullptr); -void delete_QMenuBar(QMenuBar* obj) { delete obj; } - QAction* actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const; - void py_q_actionEvent(QMenuBar* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_actionEvent(arg__1));} - QRect actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const; - QAction* activeAction(QMenuBar* theWrappedObject) const; - QAction* addAction(QMenuBar* theWrappedObject, const QString& text); - QAction* addAction(QMenuBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member); - QAction* addMenu(QMenuBar* theWrappedObject, QMenu* menu); - QMenu* addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title); - QMenu* addMenu(QMenuBar* theWrappedObject, const QString& title); - QAction* addSeparator(QMenuBar* theWrappedObject); - void py_q_changeEvent(QMenuBar* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_changeEvent(arg__1));} - void clear(QMenuBar* theWrappedObject); - QWidget* cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner = Qt::TopRightCorner) const; - bool py_q_event(QMenuBar* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_event(arg__1));} - bool py_q_eventFilter(QMenuBar* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} - void py_q_focusInEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_focusInEvent(arg__1));} - void py_q_focusOutEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_focusOutEvent(arg__1));} - int py_q_heightForWidth(QMenuBar* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_heightForWidth(arg__1));} - void initStyleOption(QMenuBar* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const; - QAction* insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu); - QAction* insertSeparator(QMenuBar* theWrappedObject, QAction* before); - bool isDefaultUp(QMenuBar* theWrappedObject) const; - bool isNativeMenuBar(QMenuBar* theWrappedObject) const; - void py_q_keyPressEvent(QMenuBar* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_keyPressEvent(arg__1));} - void py_q_leaveEvent(QMenuBar* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_leaveEvent(arg__1));} - QSize py_q_minimumSizeHint(QMenuBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_minimumSizeHint());} - void py_q_mouseMoveEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} - void py_q_mousePressEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mousePressEvent(arg__1));} - void py_q_mouseReleaseEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} - void py_q_paintEvent(QMenuBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_paintEvent(arg__1));} - void py_q_resizeEvent(QMenuBar* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_resizeEvent(arg__1));} - void setActiveAction(QMenuBar* theWrappedObject, QAction* action); - void setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner = Qt::TopRightCorner); - void setDefaultUp(QMenuBar* theWrappedObject, bool arg__1); - void setNativeMenuBar(QMenuBar* theWrappedObject, bool nativeMenuBar); - void py_q_setVisible(QMenuBar* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_setVisible(visible));} - QSize py_q_sizeHint(QMenuBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_sizeHint());} - void py_q_timerEvent(QMenuBar* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_timerEvent(arg__1));} - - QAction* addAction (QMenuBar* menu, const QString & text, PyObject* callable) - { - QAction* a = menu->addAction(text); - PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); - return a; - } - -}; - - - - - -class PythonQtShell_QMessageBox : public QMessageBox -{ -public: - PythonQtShell_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::Dialog|Qt::MSWindowsFixedSizeDialogHint):QMessageBox(icon, title, text, buttons, parent, flags),_wrapper(nullptr) {}; - PythonQtShell_QMessageBox(QWidget* parent = nullptr):QMessageBox(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QMessageBox() override; - -void accept() override; -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* event) override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* arg__1) override; -void customEvent(QEvent* event) override; -int devType() const override; -void done(int arg__1) override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* e) override; -bool eventFilter(QObject* arg__1, QEvent* arg__2) override; -int exec() override; -void focusInEvent(QFocusEvent* event) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* event) override; -void keyReleaseEvent(QKeyEvent* event) override; -void leaveEvent(QEvent* event) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* event) override; -void mousePressEvent(QMouseEvent* event) override; -void mouseReleaseEvent(QMouseEvent* event) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* event) override; -QPaintDevice* redirected(QPoint* offset) const override; -void reject() override; -void resizeEvent(QResizeEvent* event) override; -void setVisible(bool visible) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* event) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* event) override; -void wheelEvent(QWheelEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMessageBox : public QMessageBox -{ public: -inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } -inline void promoted_closeEvent(QCloseEvent* event) { this->closeEvent(event); } -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } -inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } -inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } -inline void py_q_changeEvent(QEvent* event) { QMessageBox::changeEvent(event); } -inline void py_q_closeEvent(QCloseEvent* event) { QMessageBox::closeEvent(event); } -inline bool py_q_event(QEvent* e) { return QMessageBox::event(e); } -inline void py_q_keyPressEvent(QKeyEvent* event) { QMessageBox::keyPressEvent(event); } -inline void py_q_resizeEvent(QResizeEvent* event) { QMessageBox::resizeEvent(event); } -inline void py_q_showEvent(QShowEvent* event) { QMessageBox::showEvent(event); } -}; - -class PythonQtWrapper_QMessageBox : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ButtonRole StandardButton ) -Q_FLAGS(StandardButtons ) -enum ButtonRole{ - InvalidRole = QMessageBox::InvalidRole, AcceptRole = QMessageBox::AcceptRole, RejectRole = QMessageBox::RejectRole, DestructiveRole = QMessageBox::DestructiveRole, ActionRole = QMessageBox::ActionRole, HelpRole = QMessageBox::HelpRole, YesRole = QMessageBox::YesRole, NoRole = QMessageBox::NoRole, ResetRole = QMessageBox::ResetRole, ApplyRole = QMessageBox::ApplyRole, NRoles = QMessageBox::NRoles}; -enum StandardButton{ - NoButton = QMessageBox::NoButton, Ok = QMessageBox::Ok, Save = QMessageBox::Save, SaveAll = QMessageBox::SaveAll, Open = QMessageBox::Open, Yes = QMessageBox::Yes, YesToAll = QMessageBox::YesToAll, No = QMessageBox::No, NoToAll = QMessageBox::NoToAll, Abort = QMessageBox::Abort, Retry = QMessageBox::Retry, Ignore = QMessageBox::Ignore, Close = QMessageBox::Close, Cancel = QMessageBox::Cancel, Discard = QMessageBox::Discard, Help = QMessageBox::Help, Apply = QMessageBox::Apply, Reset = QMessageBox::Reset, RestoreDefaults = QMessageBox::RestoreDefaults, FirstButton = QMessageBox::FirstButton, LastButton = QMessageBox::LastButton, YesAll = QMessageBox::YesAll, NoAll = QMessageBox::NoAll, Default = QMessageBox::Default, Escape = QMessageBox::Escape, FlagMask = QMessageBox::FlagMask, ButtonMask = QMessageBox::ButtonMask}; -Q_DECLARE_FLAGS(StandardButtons, StandardButton) -public Q_SLOTS: -QMessageBox* new_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::Dialog|Qt::MSWindowsFixedSizeDialogHint); -QMessageBox* new_QMessageBox(QWidget* parent = nullptr); -void delete_QMessageBox(QMessageBox* obj) { delete obj; } - void static_QMessageBox_about(QWidget* parent, const QString& title, const QString& text); - void static_QMessageBox_aboutQt(QWidget* parent, const QString& title = QString()); - void addButton(QMessageBox* theWrappedObject, QAbstractButton* button, QMessageBox::ButtonRole role); - QPushButton* addButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); - QPushButton* addButton(QMessageBox* theWrappedObject, const QString& text, QMessageBox::ButtonRole role); - QAbstractButton* button(QMessageBox* theWrappedObject, QMessageBox::StandardButton which) const; - QMessageBox::ButtonRole buttonRole(QMessageBox* theWrappedObject, QAbstractButton* button) const; - QList buttons(QMessageBox* theWrappedObject) const; - void py_q_changeEvent(QMessageBox* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_changeEvent(event));} - QCheckBox* checkBox(QMessageBox* theWrappedObject) const; - QAbstractButton* clickedButton(QMessageBox* theWrappedObject) const; - void py_q_closeEvent(QMessageBox* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_closeEvent(event));} - QMessageBox::StandardButton static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); - int static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); - QPushButton* defaultButton(QMessageBox* theWrappedObject) const; - QString detailedText(QMessageBox* theWrappedObject) const; - QAbstractButton* escapeButton(QMessageBox* theWrappedObject) const; - bool py_q_event(QMessageBox* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_event(e));} - QMessageBox::Icon icon(QMessageBox* theWrappedObject) const; - QPixmap iconPixmap(QMessageBox* theWrappedObject) const; - QMessageBox::StandardButton static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); - QMessageBox::StandardButton static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1 = QMessageBox::NoButton); - QString informativeText(QMessageBox* theWrappedObject) const; - void py_q_keyPressEvent(QMessageBox* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_keyPressEvent(event));} - void open(QMessageBox* theWrappedObject, QObject* receiver, const char* member); - QMessageBox::StandardButton static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::StandardButtons(Yes|No), QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); - int static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); - void removeButton(QMessageBox* theWrappedObject, QAbstractButton* button); - void py_q_resizeEvent(QMessageBox* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_resizeEvent(event));} - void setCheckBox(QMessageBox* theWrappedObject, QCheckBox* cb); - void setDefaultButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); - void setDefaultButton(QMessageBox* theWrappedObject, QPushButton* button); - void setDetailedText(QMessageBox* theWrappedObject, const QString& text); - void setEscapeButton(QMessageBox* theWrappedObject, QAbstractButton* button); - void setEscapeButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); - void setIcon(QMessageBox* theWrappedObject, QMessageBox::Icon arg__1); - void setIconPixmap(QMessageBox* theWrappedObject, const QPixmap& pixmap); - void setInformativeText(QMessageBox* theWrappedObject, const QString& text); - void setStandardButtons(QMessageBox* theWrappedObject, QMessageBox::StandardButtons buttons); - void setText(QMessageBox* theWrappedObject, const QString& text); - void setTextFormat(QMessageBox* theWrappedObject, Qt::TextFormat format); - void setTextInteractionFlags(QMessageBox* theWrappedObject, Qt::TextInteractionFlags flags); - void py_q_showEvent(QMessageBox* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_showEvent(event));} - QMessageBox::StandardButton standardButton(QMessageBox* theWrappedObject, QAbstractButton* button) const; - QMessageBox::StandardButtons standardButtons(QMessageBox* theWrappedObject) const; - QString text(QMessageBox* theWrappedObject) const; - Qt::TextFormat textFormat(QMessageBox* theWrappedObject) const; - Qt::TextInteractionFlags textInteractionFlags(QMessageBox* theWrappedObject) const; - QMessageBox::StandardButton static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); - int static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); -}; - - - - - -class PythonQtShell_QMouseEvent : public QMouseEvent -{ -public: - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, button, buttons, modifiers),_wrapper(nullptr) {}; - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, screenPos, button, buttons, modifiers),_wrapper(nullptr) {}; - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers),_wrapper(nullptr) {}; - PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source):QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers, source),_wrapper(nullptr) {}; - - ~PythonQtShell_QMouseEvent() override; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QMouseEvent : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); -QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); -QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); -QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source); -void delete_QMouseEvent(QMouseEvent* obj) { delete obj; } - Qt::MouseButton button(QMouseEvent* theWrappedObject) const; - Qt::MouseButtons buttons(QMouseEvent* theWrappedObject) const; - Qt::MouseEventFlags flags(QMouseEvent* theWrappedObject) const; - QPoint globalPos(QMouseEvent* theWrappedObject) const; - int globalX(QMouseEvent* theWrappedObject) const; - int globalY(QMouseEvent* theWrappedObject) const; - const QPointF* localPos(QMouseEvent* theWrappedObject) const; - QPoint pos(QMouseEvent* theWrappedObject) const; - const QPointF* screenPos(QMouseEvent* theWrappedObject) const; - void setLocalPos(QMouseEvent* theWrappedObject, const QPointF& localPosition); - Qt::MouseEventSource source(QMouseEvent* theWrappedObject) const; - const QPointF* windowPos(QMouseEvent* theWrappedObject) const; - int x(QMouseEvent* theWrappedObject) const; - int y(QMouseEvent* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QMouseEventTransition : public QMouseEventTransition -{ -public: - PythonQtShell_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState = nullptr):QMouseEventTransition(object, type, button, sourceState),_wrapper(nullptr) {}; - PythonQtShell_QMouseEventTransition(QState* sourceState = nullptr):QMouseEventTransition(sourceState),_wrapper(nullptr) {}; - - ~PythonQtShell_QMouseEventTransition() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* e) override; -bool eventFilter(QObject* watched, QEvent* event) override; -bool eventTest(QEvent* event) override; -void onTransition(QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QMouseEventTransition : public QMouseEventTransition -{ public: -inline bool promoted_eventTest(QEvent* event) { return this->eventTest(event); } -inline void promoted_onTransition(QEvent* event) { this->onTransition(event); } -inline bool py_q_eventTest(QEvent* event) { return QMouseEventTransition::eventTest(event); } -inline void py_q_onTransition(QEvent* event) { QMouseEventTransition::onTransition(event); } -}; - -class PythonQtWrapper_QMouseEventTransition : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QMouseEventTransition* new_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState = nullptr); -QMouseEventTransition* new_QMouseEventTransition(QState* sourceState = nullptr); -void delete_QMouseEventTransition(QMouseEventTransition* obj) { delete obj; } - Qt::MouseButton button(QMouseEventTransition* theWrappedObject) const; - bool py_q_eventTest(QMouseEventTransition* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMouseEventTransition*)theWrappedObject)->py_q_eventTest(event));} - QPainterPath hitTestPath(QMouseEventTransition* theWrappedObject) const; - Qt::KeyboardModifiers modifierMask(QMouseEventTransition* theWrappedObject) const; - void py_q_onTransition(QMouseEventTransition* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QMouseEventTransition*)theWrappedObject)->py_q_onTransition(event));} - void setButton(QMouseEventTransition* theWrappedObject, Qt::MouseButton button); - void setHitTestPath(QMouseEventTransition* theWrappedObject, const QPainterPath& path); - void setModifierMask(QMouseEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers); -}; - - - - - -class PythonQtShell_QMoveEvent : public QMoveEvent -{ -public: - PythonQtShell_QMoveEvent(const QPoint& pos, const QPoint& oldPos):QMoveEvent(pos, oldPos),_wrapper(nullptr) {}; - - ~PythonQtShell_QMoveEvent() override; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QMoveEvent : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QMoveEvent* new_QMoveEvent(const QPoint& pos, const QPoint& oldPos); -void delete_QMoveEvent(QMoveEvent* obj) { delete obj; } - const QPoint* oldPos(QMoveEvent* theWrappedObject) const; - const QPoint* pos(QMoveEvent* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QMovie : public QMovie -{ -public: - PythonQtShell_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = nullptr):QMovie(device, format, parent),_wrapper(nullptr) {}; - PythonQtShell_QMovie(QObject* parent = nullptr):QMovie(parent),_wrapper(nullptr) {}; - PythonQtShell_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = nullptr):QMovie(fileName, format, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QMovie() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QMovie : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QMovie* new_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = nullptr); -QMovie* new_QMovie(QObject* parent = nullptr); -QMovie* new_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = nullptr); -void delete_QMovie(QMovie* obj) { delete obj; } - QColor backgroundColor(QMovie* theWrappedObject) const; - QMovie::CacheMode cacheMode(QMovie* theWrappedObject) const; - int currentFrameNumber(QMovie* theWrappedObject) const; - QImage currentImage(QMovie* theWrappedObject) const; - QPixmap currentPixmap(QMovie* theWrappedObject) const; - QIODevice* device(QMovie* theWrappedObject) const; - QString fileName(QMovie* theWrappedObject) const; - QByteArray format(QMovie* theWrappedObject) const; - int frameCount(QMovie* theWrappedObject) const; - QRect frameRect(QMovie* theWrappedObject) const; - bool isValid(QMovie* theWrappedObject) const; - bool jumpToFrame(QMovie* theWrappedObject, int frameNumber); - QImageReader::ImageReaderError lastError(QMovie* theWrappedObject) const; - QString lastErrorString(QMovie* theWrappedObject) const; - int loopCount(QMovie* theWrappedObject) const; - int nextFrameDelay(QMovie* theWrappedObject) const; - QSize scaledSize(QMovie* theWrappedObject); - void setBackgroundColor(QMovie* theWrappedObject, const QColor& color); - void setCacheMode(QMovie* theWrappedObject, QMovie::CacheMode mode); - void setDevice(QMovie* theWrappedObject, QIODevice* device); - void setFileName(QMovie* theWrappedObject, const QString& fileName); - void setFormat(QMovie* theWrappedObject, const QByteArray& format); - void setScaledSize(QMovie* theWrappedObject, const QSize& size); - int speed(QMovie* theWrappedObject) const; - QMovie::MovieState state(QMovie* theWrappedObject) const; - QList static_QMovie_supportedFormats(); - bool __nonzero__(QMovie* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtShell_QNativeGestureEvent : public QNativeGestureEvent -{ -public: - PythonQtShell_QNativeGestureEvent(Qt::NativeGestureType type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument):QNativeGestureEvent(type, localPos, windowPos, screenPos, value, sequenceId, intArgument),_wrapper(nullptr) {}; - PythonQtShell_QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice* dev, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument):QNativeGestureEvent(type, dev, localPos, windowPos, screenPos, value, sequenceId, intArgument),_wrapper(nullptr) {}; - - ~PythonQtShell_QNativeGestureEvent() override; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QNativeGestureEvent : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QNativeGestureEvent* new_QNativeGestureEvent(Qt::NativeGestureType type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument); -QNativeGestureEvent* new_QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice* dev, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument); -void delete_QNativeGestureEvent(QNativeGestureEvent* obj) { delete obj; } - const QTouchDevice* device(QNativeGestureEvent* theWrappedObject) const; - Qt::NativeGestureType gestureType(QNativeGestureEvent* theWrappedObject) const; - const QPoint globalPos(QNativeGestureEvent* theWrappedObject) const; - const QPointF* localPos(QNativeGestureEvent* theWrappedObject) const; - const QPoint pos(QNativeGestureEvent* theWrappedObject) const; - const QPointF* screenPos(QNativeGestureEvent* theWrappedObject) const; - qreal value(QNativeGestureEvent* theWrappedObject) const; - const QPointF* windowPos(QNativeGestureEvent* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QOffscreenSurface : public QOffscreenSurface -{ -public: - PythonQtShell_QOffscreenSurface(QScreen* screen = nullptr):QOffscreenSurface(screen),_wrapper(nullptr) {}; - PythonQtShell_QOffscreenSurface(QScreen* screen, QObject* parent):QOffscreenSurface(screen, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QOffscreenSurface() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -QSurfaceFormat format() const override; -QSize size() const override; -QSurface::SurfaceType surfaceType() const override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QOffscreenSurface : public QOffscreenSurface -{ public: -inline QSurfaceFormat py_q_format() const { return QOffscreenSurface::format(); } -inline QSize py_q_size() const { return QOffscreenSurface::size(); } -inline QSurface::SurfaceType py_q_surfaceType() const { return QOffscreenSurface::surfaceType(); } -}; - -class PythonQtWrapper_QOffscreenSurface : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QOffscreenSurface* new_QOffscreenSurface(QScreen* screen = nullptr); -QOffscreenSurface* new_QOffscreenSurface(QScreen* screen, QObject* parent); -void delete_QOffscreenSurface(QOffscreenSurface* obj) { delete obj; } - void create(QOffscreenSurface* theWrappedObject); - void destroy(QOffscreenSurface* theWrappedObject); - QSurfaceFormat py_q_format(QOffscreenSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOffscreenSurface*)theWrappedObject)->py_q_format());} - bool isValid(QOffscreenSurface* theWrappedObject) const; - void* nativeHandle(QOffscreenSurface* theWrappedObject) const; - QSurfaceFormat requestedFormat(QOffscreenSurface* theWrappedObject) const; - QScreen* screen(QOffscreenSurface* theWrappedObject) const; - void setFormat(QOffscreenSurface* theWrappedObject, const QSurfaceFormat& format); - void setNativeHandle(QOffscreenSurface* theWrappedObject, void* handle); - void setScreen(QOffscreenSurface* theWrappedObject, QScreen* screen); - QSize py_q_size(QOffscreenSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOffscreenSurface*)theWrappedObject)->py_q_size());} - QSurface::SurfaceType py_q_surfaceType(QOffscreenSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOffscreenSurface*)theWrappedObject)->py_q_surfaceType());} - bool __nonzero__(QOffscreenSurface* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtWrapper_QOpenGLBuffer : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Access RangeAccessFlag Type UsagePattern ) -enum Access{ - ReadOnly = QOpenGLBuffer::ReadOnly, WriteOnly = QOpenGLBuffer::WriteOnly, ReadWrite = QOpenGLBuffer::ReadWrite}; -enum RangeAccessFlag{ - RangeRead = QOpenGLBuffer::RangeRead, RangeWrite = QOpenGLBuffer::RangeWrite, RangeInvalidate = QOpenGLBuffer::RangeInvalidate, RangeInvalidateBuffer = QOpenGLBuffer::RangeInvalidateBuffer, RangeFlushExplicit = QOpenGLBuffer::RangeFlushExplicit, RangeUnsynchronized = QOpenGLBuffer::RangeUnsynchronized}; -enum Type{ - VertexBuffer = QOpenGLBuffer::VertexBuffer, IndexBuffer = QOpenGLBuffer::IndexBuffer, PixelPackBuffer = QOpenGLBuffer::PixelPackBuffer, PixelUnpackBuffer = QOpenGLBuffer::PixelUnpackBuffer}; -enum UsagePattern{ - StreamDraw = QOpenGLBuffer::StreamDraw, StreamRead = QOpenGLBuffer::StreamRead, StreamCopy = QOpenGLBuffer::StreamCopy, StaticDraw = QOpenGLBuffer::StaticDraw, StaticRead = QOpenGLBuffer::StaticRead, StaticCopy = QOpenGLBuffer::StaticCopy, DynamicDraw = QOpenGLBuffer::DynamicDraw, DynamicRead = QOpenGLBuffer::DynamicRead, DynamicCopy = QOpenGLBuffer::DynamicCopy}; -public Q_SLOTS: -QOpenGLBuffer* new_QOpenGLBuffer(); -QOpenGLBuffer* new_QOpenGLBuffer(QOpenGLBuffer::Type type); -QOpenGLBuffer* new_QOpenGLBuffer(const QOpenGLBuffer& other); -void delete_QOpenGLBuffer(QOpenGLBuffer* obj) { delete obj; } - void allocate(QOpenGLBuffer* theWrappedObject, const void* data, int count); - void allocate(QOpenGLBuffer* theWrappedObject, int count); - bool bind(QOpenGLBuffer* theWrappedObject); - GLuint bufferId(QOpenGLBuffer* theWrappedObject) const; - bool create(QOpenGLBuffer* theWrappedObject); - void destroy(QOpenGLBuffer* theWrappedObject); - bool isCreated(QOpenGLBuffer* theWrappedObject) const; - void* map(QOpenGLBuffer* theWrappedObject, QOpenGLBuffer::Access access); - QOpenGLBuffer* operator_assign(QOpenGLBuffer* theWrappedObject, const QOpenGLBuffer& other); - bool read(QOpenGLBuffer* theWrappedObject, int offset, void* data, int count); - void release(QOpenGLBuffer* theWrappedObject); - void static_QOpenGLBuffer_release(QOpenGLBuffer::Type type); - void setUsagePattern(QOpenGLBuffer* theWrappedObject, QOpenGLBuffer::UsagePattern value); - int size(QOpenGLBuffer* theWrappedObject) const; - QOpenGLBuffer::Type type(QOpenGLBuffer* theWrappedObject) const; - bool unmap(QOpenGLBuffer* theWrappedObject); - QOpenGLBuffer::UsagePattern usagePattern(QOpenGLBuffer* theWrappedObject) const; - void write(QOpenGLBuffer* theWrappedObject, int offset, const void* data, int count); -}; - - - - - -class PythonQtShell_QOpenGLContext : public QOpenGLContext -{ -public: - PythonQtShell_QOpenGLContext(QObject* parent = nullptr):QOpenGLContext(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QOpenGLContext() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QOpenGLContext : public QObject -{ Q_OBJECT -public: -Q_ENUMS(OpenGLModuleType ) -enum OpenGLModuleType{ - LibGL = QOpenGLContext::LibGL, LibGLES = QOpenGLContext::LibGLES}; -public Q_SLOTS: -QOpenGLContext* new_QOpenGLContext(QObject* parent = nullptr); -void delete_QOpenGLContext(QOpenGLContext* obj) { delete obj; } - bool static_QOpenGLContext_areSharing(QOpenGLContext* first, QOpenGLContext* second); - bool create(QOpenGLContext* theWrappedObject); - QOpenGLContext* static_QOpenGLContext_currentContext(); - GLuint defaultFramebufferObject(QOpenGLContext* theWrappedObject) const; - void doneCurrent(QOpenGLContext* theWrappedObject); - QSet extensions(QOpenGLContext* theWrappedObject) const; - QSurfaceFormat format(QOpenGLContext* theWrappedObject) const; - QOpenGLFunctions* functions(QOpenGLContext* theWrappedObject) const; - QOpenGLContext* static_QOpenGLContext_globalShareContext(); - bool hasExtension(QOpenGLContext* theWrappedObject, const QByteArray& extension) const; - bool isOpenGLES(QOpenGLContext* theWrappedObject) const; - bool isValid(QOpenGLContext* theWrappedObject) const; - bool makeCurrent(QOpenGLContext* theWrappedObject, QSurface* surface); - QVariant nativeHandle(QOpenGLContext* theWrappedObject) const; - void* static_QOpenGLContext_openGLModuleHandle(); - QOpenGLContext::OpenGLModuleType static_QOpenGLContext_openGLModuleType(); - QScreen* screen(QOpenGLContext* theWrappedObject) const; - void setFormat(QOpenGLContext* theWrappedObject, const QSurfaceFormat& format); - void setNativeHandle(QOpenGLContext* theWrappedObject, const QVariant& handle); - void setScreen(QOpenGLContext* theWrappedObject, QScreen* screen); - void setShareContext(QOpenGLContext* theWrappedObject, QOpenGLContext* shareContext); - QOpenGLContext* shareContext(QOpenGLContext* theWrappedObject) const; - QOpenGLContextGroup* shareGroup(QOpenGLContext* theWrappedObject) const; - bool static_QOpenGLContext_supportsThreadedOpenGL(); - QSurface* surface(QOpenGLContext* theWrappedObject) const; - void swapBuffers(QOpenGLContext* theWrappedObject, QSurface* surface); - QString py_toString(QOpenGLContext*); - bool __nonzero__(QOpenGLContext* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtWrapper_QOpenGLContextGroup : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -void delete_QOpenGLContextGroup(QOpenGLContextGroup* obj) { delete obj; } - QOpenGLContextGroup* static_QOpenGLContextGroup_currentContextGroup(); - QList shares(QOpenGLContextGroup* theWrappedObject) const; - QString py_toString(QOpenGLContextGroup*); -}; - - - - - -class PythonQtShell_QOpenGLFramebufferObject : public QOpenGLFramebufferObject -{ -public: - PythonQtShell_QOpenGLFramebufferObject(const QSize& size, GLenum target = GL_TEXTURE_2D):QOpenGLFramebufferObject(size, target),_wrapper(nullptr) {}; - PythonQtShell_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0):QOpenGLFramebufferObject(size, attachment, target, internalFormat),_wrapper(nullptr) {}; - PythonQtShell_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format):QOpenGLFramebufferObject(size, format),_wrapper(nullptr) {}; - PythonQtShell_QOpenGLFramebufferObject(int width, int height, GLenum target = GL_TEXTURE_2D):QOpenGLFramebufferObject(width, height, target),_wrapper(nullptr) {}; - PythonQtShell_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0):QOpenGLFramebufferObject(width, height, attachment, target, internalFormat),_wrapper(nullptr) {}; - PythonQtShell_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format):QOpenGLFramebufferObject(width, height, format),_wrapper(nullptr) {}; - - ~PythonQtShell_QOpenGLFramebufferObject() override; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QOpenGLFramebufferObject : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Attachment FramebufferRestorePolicy ) -enum Attachment{ - NoAttachment = QOpenGLFramebufferObject::NoAttachment, CombinedDepthStencil = QOpenGLFramebufferObject::CombinedDepthStencil, Depth = QOpenGLFramebufferObject::Depth}; -enum FramebufferRestorePolicy{ - DontRestoreFramebufferBinding = QOpenGLFramebufferObject::DontRestoreFramebufferBinding, RestoreFramebufferBindingToDefault = QOpenGLFramebufferObject::RestoreFramebufferBindingToDefault, RestoreFrameBufferBinding = QOpenGLFramebufferObject::RestoreFrameBufferBinding}; -public Q_SLOTS: -QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(const QSize& size, GLenum target = GL_TEXTURE_2D); -QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0); -QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format); -QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, GLenum target = GL_TEXTURE_2D); -QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target = GL_TEXTURE_2D, GLenum internalFormat = 0); -QOpenGLFramebufferObject* new_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format); -void delete_QOpenGLFramebufferObject(QOpenGLFramebufferObject* obj) { delete obj; } - void addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, const QSize& size, GLenum internalFormat = 0); - void addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, int width, int height, GLenum internalFormat = 0); - QOpenGLFramebufferObject::Attachment attachment(QOpenGLFramebufferObject* theWrappedObject) const; - bool bind(QOpenGLFramebufferObject* theWrappedObject); - bool static_QOpenGLFramebufferObject_bindDefault(); - void static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, QOpenGLFramebufferObject* source, GLbitfield buffers = GL_COLOR_BUFFER_BIT, GLenum filter = GL_NEAREST); - void static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers = GL_COLOR_BUFFER_BIT, GLenum filter = GL_NEAREST); - void static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex); - void static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex, QOpenGLFramebufferObject::FramebufferRestorePolicy restorePolicy); - QOpenGLFramebufferObjectFormat format(QOpenGLFramebufferObject* theWrappedObject) const; - GLuint handle(QOpenGLFramebufferObject* theWrappedObject) const; - bool static_QOpenGLFramebufferObject_hasOpenGLFramebufferBlit(); - bool static_QOpenGLFramebufferObject_hasOpenGLFramebufferObjects(); - int height(QOpenGLFramebufferObject* theWrappedObject) const; - bool isBound(QOpenGLFramebufferObject* theWrappedObject) const; - bool isValid(QOpenGLFramebufferObject* theWrappedObject) const; - bool release(QOpenGLFramebufferObject* theWrappedObject); - void setAttachment(QOpenGLFramebufferObject* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment); - QSize size(QOpenGLFramebufferObject* theWrappedObject) const; - QVector sizes(QOpenGLFramebufferObject* theWrappedObject) const; - GLuint takeTexture(QOpenGLFramebufferObject* theWrappedObject); - GLuint takeTexture(QOpenGLFramebufferObject* theWrappedObject, int colorAttachmentIndex); - GLuint texture(QOpenGLFramebufferObject* theWrappedObject) const; - QVector textures(QOpenGLFramebufferObject* theWrappedObject) const; - QImage toImage(QOpenGLFramebufferObject* theWrappedObject) const; - QImage toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped) const; - QImage toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped, int colorAttachmentIndex) const; - int width(QOpenGLFramebufferObject* theWrappedObject) const; - bool __nonzero__(QOpenGLFramebufferObject* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtWrapper_QOpenGLFramebufferObjectFormat : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QOpenGLFramebufferObjectFormat* new_QOpenGLFramebufferObjectFormat(); -QOpenGLFramebufferObjectFormat* new_QOpenGLFramebufferObjectFormat(const QOpenGLFramebufferObjectFormat& other); -void delete_QOpenGLFramebufferObjectFormat(QOpenGLFramebufferObjectFormat* obj) { delete obj; } - QOpenGLFramebufferObject::Attachment attachment(QOpenGLFramebufferObjectFormat* theWrappedObject) const; - GLenum internalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject) const; - bool mipmap(QOpenGLFramebufferObjectFormat* theWrappedObject) const; - bool __ne__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const; - QOpenGLFramebufferObjectFormat* operator_assign(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other); - bool __eq__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const; - int samples(QOpenGLFramebufferObjectFormat* theWrappedObject) const; - void setAttachment(QOpenGLFramebufferObjectFormat* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment); - void setInternalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum internalTextureFormat); - void setMipmap(QOpenGLFramebufferObjectFormat* theWrappedObject, bool enabled); - void setSamples(QOpenGLFramebufferObjectFormat* theWrappedObject, int samples); - void setTextureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum target); - GLenum textureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QOpenGLPaintDevice : public QOpenGLPaintDevice -{ -public: - PythonQtShell_QOpenGLPaintDevice():QOpenGLPaintDevice(),_wrapper(nullptr) {}; - PythonQtShell_QOpenGLPaintDevice(const QSize& size):QOpenGLPaintDevice(size),_wrapper(nullptr) {}; - PythonQtShell_QOpenGLPaintDevice(int width, int height):QOpenGLPaintDevice(width, height),_wrapper(nullptr) {}; - - ~PythonQtShell_QOpenGLPaintDevice() override; - -int devType() const override; -void ensureActiveTarget() override; -void initPainter(QPainter* painter) const override; -int metric(QPaintDevice::PaintDeviceMetric metric) const override; -QPaintEngine* paintEngine() const override; -QPaintDevice* redirected(QPoint* offset) const override; -QPainter* sharedPainter() const override; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QOpenGLPaintDevice : public QOpenGLPaintDevice -{ public: -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } -inline int py_q_devType() const { return QOpenGLPaintDevice::devType(); } -inline void py_q_ensureActiveTarget() { QOpenGLPaintDevice::ensureActiveTarget(); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QOpenGLPaintDevice::metric(metric); } -inline QPaintEngine* py_q_paintEngine() const { return QOpenGLPaintDevice::paintEngine(); } -}; - -class PythonQtWrapper_QOpenGLPaintDevice : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QOpenGLPaintDevice* new_QOpenGLPaintDevice(); -QOpenGLPaintDevice* new_QOpenGLPaintDevice(const QSize& size); -QOpenGLPaintDevice* new_QOpenGLPaintDevice(int width, int height); -void delete_QOpenGLPaintDevice(QOpenGLPaintDevice* obj) { delete obj; } - QOpenGLContext* context(QOpenGLPaintDevice* theWrappedObject) const; - int py_q_devType(QOpenGLPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOpenGLPaintDevice*)theWrappedObject)->py_q_devType());} - qreal dotsPerMeterX(QOpenGLPaintDevice* theWrappedObject) const; - qreal dotsPerMeterY(QOpenGLPaintDevice* theWrappedObject) const; - void ensureActiveTarget(QOpenGLPaintDevice* theWrappedObject); - void py_q_ensureActiveTarget(QOpenGLPaintDevice* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLPaintDevice*)theWrappedObject)->py_q_ensureActiveTarget());} - int py_q_metric(QOpenGLPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QOpenGLPaintDevice*)theWrappedObject)->py_q_metric(metric));} - QPaintEngine* py_q_paintEngine(QOpenGLPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOpenGLPaintDevice*)theWrappedObject)->py_q_paintEngine());} - bool paintFlipped(QOpenGLPaintDevice* theWrappedObject) const; - void setDevicePixelRatio(QOpenGLPaintDevice* theWrappedObject, qreal devicePixelRatio); - void setDotsPerMeterX(QOpenGLPaintDevice* theWrappedObject, qreal arg__1); - void setDotsPerMeterY(QOpenGLPaintDevice* theWrappedObject, qreal arg__1); - void setPaintFlipped(QOpenGLPaintDevice* theWrappedObject, bool flipped); - void setSize(QOpenGLPaintDevice* theWrappedObject, const QSize& size); - QSize size(QOpenGLPaintDevice* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QOpenGLShader : public QOpenGLShader -{ -public: - PythonQtShell_QOpenGLShader(QOpenGLShader::ShaderType type, QObject* parent = nullptr):QOpenGLShader(type, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QOpenGLShader() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QOpenGLShader : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ShaderTypeBit ) -Q_FLAGS(ShaderType ) -enum ShaderTypeBit{ - Vertex = QOpenGLShader::Vertex, Fragment = QOpenGLShader::Fragment, Geometry = QOpenGLShader::Geometry, TessellationControl = QOpenGLShader::TessellationControl, TessellationEvaluation = QOpenGLShader::TessellationEvaluation, Compute = QOpenGLShader::Compute}; -Q_DECLARE_FLAGS(ShaderType, ShaderTypeBit) -public Q_SLOTS: -QOpenGLShader* new_QOpenGLShader(QOpenGLShader::ShaderType type, QObject* parent = nullptr); -void delete_QOpenGLShader(QOpenGLShader* obj) { delete obj; } - bool compileSourceCode(QOpenGLShader* theWrappedObject, const QByteArray& source); - bool compileSourceCode(QOpenGLShader* theWrappedObject, const QString& source); - bool compileSourceCode(QOpenGLShader* theWrappedObject, const char* source); - bool compileSourceFile(QOpenGLShader* theWrappedObject, const QString& fileName); - bool static_QOpenGLShader_hasOpenGLShaders(QOpenGLShader::ShaderType type, QOpenGLContext* context = nullptr); - bool isCompiled(QOpenGLShader* theWrappedObject) const; - QString log(QOpenGLShader* theWrappedObject) const; - GLuint shaderId(QOpenGLShader* theWrappedObject) const; - QOpenGLShader::ShaderType shaderType(QOpenGLShader* theWrappedObject) const; - QByteArray sourceCode(QOpenGLShader* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QOpenGLShaderProgram : public QOpenGLShaderProgram -{ -public: - PythonQtShell_QOpenGLShaderProgram(QObject* parent = nullptr):QOpenGLShaderProgram(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QOpenGLShaderProgram() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -bool link() override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QOpenGLShaderProgram : public QOpenGLShaderProgram -{ public: -inline bool py_q_link() { return QOpenGLShaderProgram::link(); } -}; - -class PythonQtWrapper_QOpenGLShaderProgram : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QOpenGLShaderProgram* new_QOpenGLShaderProgram(QObject* parent = nullptr); -void delete_QOpenGLShaderProgram(QOpenGLShaderProgram* obj) { delete obj; } - bool addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source); - bool addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source); - bool addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source); - bool addCacheableShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName); - bool addShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader); - bool addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source); - bool addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source); - bool addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source); - bool addShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName); - int attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const; - int attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const; - int attributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const; - bool bind(QOpenGLShaderProgram* theWrappedObject); - void bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name, int location); - void bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name, int location); - void bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name, int location); - bool create(QOpenGLShaderProgram* theWrappedObject); - QVector defaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const; - QVector defaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const; - void disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name); - void disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location); - void enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name); - void enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location); - bool static_QOpenGLShaderProgram_hasOpenGLShaderPrograms(QOpenGLContext* context = nullptr); - bool isLinked(QOpenGLShaderProgram* theWrappedObject) const; - bool link(QOpenGLShaderProgram* theWrappedObject); - bool py_q_link(QOpenGLShaderProgram* theWrappedObject){ return (((PythonQtPublicPromoter_QOpenGLShaderProgram*)theWrappedObject)->py_q_link());} - QString log(QOpenGLShaderProgram* theWrappedObject) const; - int maxGeometryOutputVertices(QOpenGLShaderProgram* theWrappedObject) const; - int patchVertexCount(QOpenGLShaderProgram* theWrappedObject) const; - GLuint programId(QOpenGLShaderProgram* theWrappedObject) const; - void release(QOpenGLShaderProgram* theWrappedObject); - void removeAllShaders(QOpenGLShaderProgram* theWrappedObject); - void removeShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader); - void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, const void* values, int tupleSize, int stride = 0); - void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int tupleSize, int stride = 0); - void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int stride = 0); - void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int stride = 0); - void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int stride = 0); - void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, const void* values, int tupleSize, int stride = 0); - void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int tupleSize, int stride = 0); - void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int stride = 0); - void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int stride = 0); - void setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int stride = 0); - void setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, int offset, int tupleSize, int stride = 0); - void setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, int offset, int tupleSize, int stride = 0); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int columns, int rows); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& value); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int columns, int rows); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& value); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value); - void setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value); - void setDefaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels); - void setDefaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels); - void setPatchVertexCount(QOpenGLShaderProgram* theWrappedObject, int count); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLint value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLuint value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& color); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPoint& point); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPointF& point); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSize& size); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QTransform& value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLint value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLuint value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& color); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPoint& point); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPointF& point); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSize& size); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSizeF& size); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QTransform& value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value); - void setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value); - void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize); - void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLint* values, int count); - void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLuint* values, int count); - void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count); - void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count); - void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count); - void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int count); - void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize); - void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLint* values, int count); - void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLuint* values, int count); - void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count); - void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count); - void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count); - void setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count); - QList shaders(QOpenGLShaderProgram* theWrappedObject) const; - int uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const; - int uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const; - int uniformLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const; -}; - - - - - -class PythonQtWrapper_QOpenGLTexture : public QObject -{ Q_OBJECT -public: -Q_ENUMS(BindingTarget ComparisonFunction ComparisonMode CoordinateDirection CubeMapFace DepthStencilMode Feature Filter MipMapGeneration PixelFormat PixelType SwizzleComponent SwizzleValue Target TextureFormat TextureFormatClass TextureUnitReset WrapMode ) -Q_FLAGS(Features ) -enum BindingTarget{ - BindingTarget1D = QOpenGLTexture::BindingTarget1D, BindingTarget1DArray = QOpenGLTexture::BindingTarget1DArray, BindingTarget2D = QOpenGLTexture::BindingTarget2D, BindingTarget2DArray = QOpenGLTexture::BindingTarget2DArray, BindingTarget3D = QOpenGLTexture::BindingTarget3D, BindingTargetCubeMap = QOpenGLTexture::BindingTargetCubeMap, BindingTargetCubeMapArray = QOpenGLTexture::BindingTargetCubeMapArray, BindingTarget2DMultisample = QOpenGLTexture::BindingTarget2DMultisample, BindingTarget2DMultisampleArray = QOpenGLTexture::BindingTarget2DMultisampleArray, BindingTargetRectangle = QOpenGLTexture::BindingTargetRectangle, BindingTargetBuffer = QOpenGLTexture::BindingTargetBuffer}; -enum ComparisonFunction{ - CompareLessEqual = QOpenGLTexture::CompareLessEqual, CompareGreaterEqual = QOpenGLTexture::CompareGreaterEqual, CompareLess = QOpenGLTexture::CompareLess, CompareGreater = QOpenGLTexture::CompareGreater, CompareEqual = QOpenGLTexture::CompareEqual, CommpareNotEqual = QOpenGLTexture::CommpareNotEqual, CompareAlways = QOpenGLTexture::CompareAlways, CompareNever = QOpenGLTexture::CompareNever}; -enum ComparisonMode{ - CompareRefToTexture = QOpenGLTexture::CompareRefToTexture, CompareNone = QOpenGLTexture::CompareNone}; -enum CoordinateDirection{ - DirectionS = QOpenGLTexture::DirectionS, DirectionT = QOpenGLTexture::DirectionT, DirectionR = QOpenGLTexture::DirectionR}; -enum CubeMapFace{ - CubeMapPositiveX = QOpenGLTexture::CubeMapPositiveX, CubeMapNegativeX = QOpenGLTexture::CubeMapNegativeX, CubeMapPositiveY = QOpenGLTexture::CubeMapPositiveY, CubeMapNegativeY = QOpenGLTexture::CubeMapNegativeY, CubeMapPositiveZ = QOpenGLTexture::CubeMapPositiveZ, CubeMapNegativeZ = QOpenGLTexture::CubeMapNegativeZ}; -enum DepthStencilMode{ - DepthMode = QOpenGLTexture::DepthMode, StencilMode = QOpenGLTexture::StencilMode}; -enum Feature{ - ImmutableStorage = QOpenGLTexture::ImmutableStorage, ImmutableMultisampleStorage = QOpenGLTexture::ImmutableMultisampleStorage, TextureRectangle = QOpenGLTexture::TextureRectangle, TextureArrays = QOpenGLTexture::TextureArrays, Texture3D = QOpenGLTexture::Texture3D, TextureMultisample = QOpenGLTexture::TextureMultisample, TextureBuffer = QOpenGLTexture::TextureBuffer, TextureCubeMapArrays = QOpenGLTexture::TextureCubeMapArrays, Swizzle = QOpenGLTexture::Swizzle, StencilTexturing = QOpenGLTexture::StencilTexturing, AnisotropicFiltering = QOpenGLTexture::AnisotropicFiltering, NPOTTextures = QOpenGLTexture::NPOTTextures, NPOTTextureRepeat = QOpenGLTexture::NPOTTextureRepeat, Texture1D = QOpenGLTexture::Texture1D, TextureComparisonOperators = QOpenGLTexture::TextureComparisonOperators, TextureMipMapLevel = QOpenGLTexture::TextureMipMapLevel, MaxFeatureFlag = QOpenGLTexture::MaxFeatureFlag}; -enum Filter{ - Nearest = QOpenGLTexture::Nearest, Linear = QOpenGLTexture::Linear, NearestMipMapNearest = QOpenGLTexture::NearestMipMapNearest, NearestMipMapLinear = QOpenGLTexture::NearestMipMapLinear, LinearMipMapNearest = QOpenGLTexture::LinearMipMapNearest, LinearMipMapLinear = QOpenGLTexture::LinearMipMapLinear}; -enum MipMapGeneration{ - GenerateMipMaps = QOpenGLTexture::GenerateMipMaps, DontGenerateMipMaps = QOpenGLTexture::DontGenerateMipMaps}; -enum PixelFormat{ - NoSourceFormat = QOpenGLTexture::NoSourceFormat, Red = QOpenGLTexture::Red, RG = QOpenGLTexture::RG, RGB = QOpenGLTexture::RGB, BGR = QOpenGLTexture::BGR, RGBA = QOpenGLTexture::RGBA, BGRA = QOpenGLTexture::BGRA, Red_Integer = QOpenGLTexture::Red_Integer, RG_Integer = QOpenGLTexture::RG_Integer, RGB_Integer = QOpenGLTexture::RGB_Integer, BGR_Integer = QOpenGLTexture::BGR_Integer, RGBA_Integer = QOpenGLTexture::RGBA_Integer, BGRA_Integer = QOpenGLTexture::BGRA_Integer, Stencil = QOpenGLTexture::Stencil, Depth = QOpenGLTexture::Depth, DepthStencil = QOpenGLTexture::DepthStencil, Alpha = QOpenGLTexture::Alpha, Luminance = QOpenGLTexture::Luminance, LuminanceAlpha = QOpenGLTexture::LuminanceAlpha}; -enum PixelType{ - NoPixelType = QOpenGLTexture::NoPixelType, Int8 = QOpenGLTexture::Int8, UInt8 = QOpenGLTexture::UInt8, Int16 = QOpenGLTexture::Int16, UInt16 = QOpenGLTexture::UInt16, Int32 = QOpenGLTexture::Int32, UInt32 = QOpenGLTexture::UInt32, Float16 = QOpenGLTexture::Float16, Float16OES = QOpenGLTexture::Float16OES, Float32 = QOpenGLTexture::Float32, UInt32_RGB9_E5 = QOpenGLTexture::UInt32_RGB9_E5, UInt32_RG11B10F = QOpenGLTexture::UInt32_RG11B10F, UInt8_RG3B2 = QOpenGLTexture::UInt8_RG3B2, UInt8_RG3B2_Rev = QOpenGLTexture::UInt8_RG3B2_Rev, UInt16_RGB5A1 = QOpenGLTexture::UInt16_RGB5A1, UInt16_RGB5A1_Rev = QOpenGLTexture::UInt16_RGB5A1_Rev, UInt16_R5G6B5 = QOpenGLTexture::UInt16_R5G6B5, UInt16_R5G6B5_Rev = QOpenGLTexture::UInt16_R5G6B5_Rev, UInt16_RGBA4 = QOpenGLTexture::UInt16_RGBA4, UInt16_RGBA4_Rev = QOpenGLTexture::UInt16_RGBA4_Rev, UInt32_RGBA8 = QOpenGLTexture::UInt32_RGBA8, UInt32_RGBA8_Rev = QOpenGLTexture::UInt32_RGBA8_Rev, UInt32_RGB10A2 = QOpenGLTexture::UInt32_RGB10A2, UInt32_RGB10A2_Rev = QOpenGLTexture::UInt32_RGB10A2_Rev, UInt32_D24S8 = QOpenGLTexture::UInt32_D24S8, Float32_D32_UInt32_S8_X24 = QOpenGLTexture::Float32_D32_UInt32_S8_X24}; -enum SwizzleComponent{ - SwizzleRed = QOpenGLTexture::SwizzleRed, SwizzleGreen = QOpenGLTexture::SwizzleGreen, SwizzleBlue = QOpenGLTexture::SwizzleBlue, SwizzleAlpha = QOpenGLTexture::SwizzleAlpha}; -enum SwizzleValue{ - RedValue = QOpenGLTexture::RedValue, GreenValue = QOpenGLTexture::GreenValue, BlueValue = QOpenGLTexture::BlueValue, AlphaValue = QOpenGLTexture::AlphaValue, ZeroValue = QOpenGLTexture::ZeroValue, OneValue = QOpenGLTexture::OneValue}; -enum Target{ - Target1D = QOpenGLTexture::Target1D, Target1DArray = QOpenGLTexture::Target1DArray, Target2D = QOpenGLTexture::Target2D, Target2DArray = QOpenGLTexture::Target2DArray, Target3D = QOpenGLTexture::Target3D, TargetCubeMap = QOpenGLTexture::TargetCubeMap, TargetCubeMapArray = QOpenGLTexture::TargetCubeMapArray, Target2DMultisample = QOpenGLTexture::Target2DMultisample, Target2DMultisampleArray = QOpenGLTexture::Target2DMultisampleArray, TargetRectangle = QOpenGLTexture::TargetRectangle, TargetBuffer = QOpenGLTexture::TargetBuffer}; -enum TextureFormat{ - NoFormat = QOpenGLTexture::NoFormat, R8_UNorm = QOpenGLTexture::R8_UNorm, RG8_UNorm = QOpenGLTexture::RG8_UNorm, RGB8_UNorm = QOpenGLTexture::RGB8_UNorm, RGBA8_UNorm = QOpenGLTexture::RGBA8_UNorm, R16_UNorm = QOpenGLTexture::R16_UNorm, RG16_UNorm = QOpenGLTexture::RG16_UNorm, RGB16_UNorm = QOpenGLTexture::RGB16_UNorm, RGBA16_UNorm = QOpenGLTexture::RGBA16_UNorm, R8_SNorm = QOpenGLTexture::R8_SNorm, RG8_SNorm = QOpenGLTexture::RG8_SNorm, RGB8_SNorm = QOpenGLTexture::RGB8_SNorm, RGBA8_SNorm = QOpenGLTexture::RGBA8_SNorm, R16_SNorm = QOpenGLTexture::R16_SNorm, RG16_SNorm = QOpenGLTexture::RG16_SNorm, RGB16_SNorm = QOpenGLTexture::RGB16_SNorm, RGBA16_SNorm = QOpenGLTexture::RGBA16_SNorm, R8U = QOpenGLTexture::R8U, RG8U = QOpenGLTexture::RG8U, RGB8U = QOpenGLTexture::RGB8U, RGBA8U = QOpenGLTexture::RGBA8U, R16U = QOpenGLTexture::R16U, RG16U = QOpenGLTexture::RG16U, RGB16U = QOpenGLTexture::RGB16U, RGBA16U = QOpenGLTexture::RGBA16U, R32U = QOpenGLTexture::R32U, RG32U = QOpenGLTexture::RG32U, RGB32U = QOpenGLTexture::RGB32U, RGBA32U = QOpenGLTexture::RGBA32U, R8I = QOpenGLTexture::R8I, RG8I = QOpenGLTexture::RG8I, RGB8I = QOpenGLTexture::RGB8I, RGBA8I = QOpenGLTexture::RGBA8I, R16I = QOpenGLTexture::R16I, RG16I = QOpenGLTexture::RG16I, RGB16I = QOpenGLTexture::RGB16I, RGBA16I = QOpenGLTexture::RGBA16I, R32I = QOpenGLTexture::R32I, RG32I = QOpenGLTexture::RG32I, RGB32I = QOpenGLTexture::RGB32I, RGBA32I = QOpenGLTexture::RGBA32I, R16F = QOpenGLTexture::R16F, RG16F = QOpenGLTexture::RG16F, RGB16F = QOpenGLTexture::RGB16F, RGBA16F = QOpenGLTexture::RGBA16F, R32F = QOpenGLTexture::R32F, RG32F = QOpenGLTexture::RG32F, RGB32F = QOpenGLTexture::RGB32F, RGBA32F = QOpenGLTexture::RGBA32F, RGB9E5 = QOpenGLTexture::RGB9E5, RG11B10F = QOpenGLTexture::RG11B10F, RG3B2 = QOpenGLTexture::RG3B2, R5G6B5 = QOpenGLTexture::R5G6B5, RGB5A1 = QOpenGLTexture::RGB5A1, RGBA4 = QOpenGLTexture::RGBA4, RGB10A2 = QOpenGLTexture::RGB10A2, D16 = QOpenGLTexture::D16, D24 = QOpenGLTexture::D24, D24S8 = QOpenGLTexture::D24S8, D32 = QOpenGLTexture::D32, D32F = QOpenGLTexture::D32F, D32FS8X24 = QOpenGLTexture::D32FS8X24, S8 = QOpenGLTexture::S8, RGB_DXT1 = QOpenGLTexture::RGB_DXT1, RGBA_DXT1 = QOpenGLTexture::RGBA_DXT1, RGBA_DXT3 = QOpenGLTexture::RGBA_DXT3, RGBA_DXT5 = QOpenGLTexture::RGBA_DXT5, R_ATI1N_UNorm = QOpenGLTexture::R_ATI1N_UNorm, R_ATI1N_SNorm = QOpenGLTexture::R_ATI1N_SNorm, RG_ATI2N_UNorm = QOpenGLTexture::RG_ATI2N_UNorm, RG_ATI2N_SNorm = QOpenGLTexture::RG_ATI2N_SNorm, RGB_BP_UNSIGNED_FLOAT = QOpenGLTexture::RGB_BP_UNSIGNED_FLOAT, RGB_BP_SIGNED_FLOAT = QOpenGLTexture::RGB_BP_SIGNED_FLOAT, RGB_BP_UNorm = QOpenGLTexture::RGB_BP_UNorm, R11_EAC_UNorm = QOpenGLTexture::R11_EAC_UNorm, R11_EAC_SNorm = QOpenGLTexture::R11_EAC_SNorm, RG11_EAC_UNorm = QOpenGLTexture::RG11_EAC_UNorm, RG11_EAC_SNorm = QOpenGLTexture::RG11_EAC_SNorm, RGB8_ETC2 = QOpenGLTexture::RGB8_ETC2, SRGB8_ETC2 = QOpenGLTexture::SRGB8_ETC2, RGB8_PunchThrough_Alpha1_ETC2 = QOpenGLTexture::RGB8_PunchThrough_Alpha1_ETC2, SRGB8_PunchThrough_Alpha1_ETC2 = QOpenGLTexture::SRGB8_PunchThrough_Alpha1_ETC2, RGBA8_ETC2_EAC = QOpenGLTexture::RGBA8_ETC2_EAC, SRGB8_Alpha8_ETC2_EAC = QOpenGLTexture::SRGB8_Alpha8_ETC2_EAC, RGB8_ETC1 = QOpenGLTexture::RGB8_ETC1, RGBA_ASTC_4x4 = QOpenGLTexture::RGBA_ASTC_4x4, RGBA_ASTC_5x4 = QOpenGLTexture::RGBA_ASTC_5x4, RGBA_ASTC_5x5 = QOpenGLTexture::RGBA_ASTC_5x5, RGBA_ASTC_6x5 = QOpenGLTexture::RGBA_ASTC_6x5, RGBA_ASTC_6x6 = QOpenGLTexture::RGBA_ASTC_6x6, RGBA_ASTC_8x5 = QOpenGLTexture::RGBA_ASTC_8x5, RGBA_ASTC_8x6 = QOpenGLTexture::RGBA_ASTC_8x6, RGBA_ASTC_8x8 = QOpenGLTexture::RGBA_ASTC_8x8, RGBA_ASTC_10x5 = QOpenGLTexture::RGBA_ASTC_10x5, RGBA_ASTC_10x6 = QOpenGLTexture::RGBA_ASTC_10x6, RGBA_ASTC_10x8 = QOpenGLTexture::RGBA_ASTC_10x8, RGBA_ASTC_10x10 = QOpenGLTexture::RGBA_ASTC_10x10, RGBA_ASTC_12x10 = QOpenGLTexture::RGBA_ASTC_12x10, RGBA_ASTC_12x12 = QOpenGLTexture::RGBA_ASTC_12x12, SRGB8_Alpha8_ASTC_4x4 = QOpenGLTexture::SRGB8_Alpha8_ASTC_4x4, SRGB8_Alpha8_ASTC_5x4 = QOpenGLTexture::SRGB8_Alpha8_ASTC_5x4, SRGB8_Alpha8_ASTC_5x5 = QOpenGLTexture::SRGB8_Alpha8_ASTC_5x5, SRGB8_Alpha8_ASTC_6x5 = QOpenGLTexture::SRGB8_Alpha8_ASTC_6x5, SRGB8_Alpha8_ASTC_6x6 = QOpenGLTexture::SRGB8_Alpha8_ASTC_6x6, SRGB8_Alpha8_ASTC_8x5 = QOpenGLTexture::SRGB8_Alpha8_ASTC_8x5, SRGB8_Alpha8_ASTC_8x6 = QOpenGLTexture::SRGB8_Alpha8_ASTC_8x6, SRGB8_Alpha8_ASTC_8x8 = QOpenGLTexture::SRGB8_Alpha8_ASTC_8x8, SRGB8_Alpha8_ASTC_10x5 = QOpenGLTexture::SRGB8_Alpha8_ASTC_10x5, SRGB8_Alpha8_ASTC_10x6 = QOpenGLTexture::SRGB8_Alpha8_ASTC_10x6, SRGB8_Alpha8_ASTC_10x8 = QOpenGLTexture::SRGB8_Alpha8_ASTC_10x8, SRGB8_Alpha8_ASTC_10x10 = QOpenGLTexture::SRGB8_Alpha8_ASTC_10x10, SRGB8_Alpha8_ASTC_12x10 = QOpenGLTexture::SRGB8_Alpha8_ASTC_12x10, SRGB8_Alpha8_ASTC_12x12 = QOpenGLTexture::SRGB8_Alpha8_ASTC_12x12, SRGB8 = QOpenGLTexture::SRGB8, SRGB8_Alpha8 = QOpenGLTexture::SRGB8_Alpha8, SRGB_DXT1 = QOpenGLTexture::SRGB_DXT1, SRGB_Alpha_DXT1 = QOpenGLTexture::SRGB_Alpha_DXT1, SRGB_Alpha_DXT3 = QOpenGLTexture::SRGB_Alpha_DXT3, SRGB_Alpha_DXT5 = QOpenGLTexture::SRGB_Alpha_DXT5, SRGB_BP_UNorm = QOpenGLTexture::SRGB_BP_UNorm, DepthFormat = QOpenGLTexture::DepthFormat, AlphaFormat = QOpenGLTexture::AlphaFormat, RGBFormat = QOpenGLTexture::RGBFormat, RGBAFormat = QOpenGLTexture::RGBAFormat, LuminanceFormat = QOpenGLTexture::LuminanceFormat, LuminanceAlphaFormat = QOpenGLTexture::LuminanceAlphaFormat}; -enum TextureFormatClass{ - NoFormatClass = QOpenGLTexture::NoFormatClass, FormatClass_128Bit = QOpenGLTexture::FormatClass_128Bit, FormatClass_96Bit = QOpenGLTexture::FormatClass_96Bit, FormatClass_64Bit = QOpenGLTexture::FormatClass_64Bit, FormatClass_48Bit = QOpenGLTexture::FormatClass_48Bit, FormatClass_32Bit = QOpenGLTexture::FormatClass_32Bit, FormatClass_24Bit = QOpenGLTexture::FormatClass_24Bit, FormatClass_16Bit = QOpenGLTexture::FormatClass_16Bit, FormatClass_8Bit = QOpenGLTexture::FormatClass_8Bit, FormatClass_RGTC1_R = QOpenGLTexture::FormatClass_RGTC1_R, FormatClass_RGTC2_RG = QOpenGLTexture::FormatClass_RGTC2_RG, FormatClass_BPTC_Unorm = QOpenGLTexture::FormatClass_BPTC_Unorm, FormatClass_BPTC_Float = QOpenGLTexture::FormatClass_BPTC_Float, FormatClass_S3TC_DXT1_RGB = QOpenGLTexture::FormatClass_S3TC_DXT1_RGB, FormatClass_S3TC_DXT1_RGBA = QOpenGLTexture::FormatClass_S3TC_DXT1_RGBA, FormatClass_S3TC_DXT3_RGBA = QOpenGLTexture::FormatClass_S3TC_DXT3_RGBA, FormatClass_S3TC_DXT5_RGBA = QOpenGLTexture::FormatClass_S3TC_DXT5_RGBA, FormatClass_Unique = QOpenGLTexture::FormatClass_Unique}; -enum TextureUnitReset{ - ResetTextureUnit = QOpenGLTexture::ResetTextureUnit, DontResetTextureUnit = QOpenGLTexture::DontResetTextureUnit}; -enum WrapMode{ - Repeat = QOpenGLTexture::Repeat, MirroredRepeat = QOpenGLTexture::MirroredRepeat, ClampToEdge = QOpenGLTexture::ClampToEdge, ClampToBorder = QOpenGLTexture::ClampToBorder}; -Q_DECLARE_FLAGS(Features, Feature) -public Q_SLOTS: -QOpenGLTexture* new_QOpenGLTexture(QOpenGLTexture::Target target); -QOpenGLTexture* new_QOpenGLTexture(const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps = QOpenGLTexture::GenerateMipMaps); -void delete_QOpenGLTexture(QOpenGLTexture* obj) { delete obj; } - void allocateStorage(QOpenGLTexture* theWrappedObject); - void allocateStorage(QOpenGLTexture* theWrappedObject, QOpenGLTexture::PixelFormat pixelFormat, QOpenGLTexture::PixelType pixelType); - void bind(QOpenGLTexture* theWrappedObject); - void bind(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset = QOpenGLTexture::DontResetTextureUnit); - QColor borderColor(QOpenGLTexture* theWrappedObject) const; - void borderColor(QOpenGLTexture* theWrappedObject, float* border) const; - void borderColor(QOpenGLTexture* theWrappedObject, int* border) const; - void borderColor(QOpenGLTexture* theWrappedObject, unsigned int* border) const; - GLuint static_QOpenGLTexture_boundTextureId(QOpenGLTexture::BindingTarget target); - GLuint static_QOpenGLTexture_boundTextureId(uint unit, QOpenGLTexture::BindingTarget target); - QOpenGLTexture::ComparisonFunction comparisonFunction(QOpenGLTexture* theWrappedObject) const; - QOpenGLTexture::ComparisonMode comparisonMode(QOpenGLTexture* theWrappedObject) const; - bool create(QOpenGLTexture* theWrappedObject); - QOpenGLTexture* createTextureView(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Target target, QOpenGLTexture::TextureFormat viewFormat, int minimumMipmapLevel, int maximumMipmapLevel, int minimumLayer, int maximumLayer) const; - int depth(QOpenGLTexture* theWrappedObject) const; - QOpenGLTexture::DepthStencilMode depthStencilMode(QOpenGLTexture* theWrappedObject) const; - void destroy(QOpenGLTexture* theWrappedObject); - int faces(QOpenGLTexture* theWrappedObject) const; - QOpenGLTexture::TextureFormat format(QOpenGLTexture* theWrappedObject) const; - void generateMipMaps(QOpenGLTexture* theWrappedObject); - void generateMipMaps(QOpenGLTexture* theWrappedObject, int baseLevel, bool resetBaseLevel = true); - bool static_QOpenGLTexture_hasFeature(QOpenGLTexture::Feature feature); - int height(QOpenGLTexture* theWrappedObject) const; - bool isAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject) const; - bool isBound(QOpenGLTexture* theWrappedObject) const; - bool isBound(QOpenGLTexture* theWrappedObject, uint unit); - bool isCreated(QOpenGLTexture* theWrappedObject) const; - bool isFixedSamplePositions(QOpenGLTexture* theWrappedObject) const; - bool isStorageAllocated(QOpenGLTexture* theWrappedObject) const; - bool isTextureView(QOpenGLTexture* theWrappedObject) const; - int layers(QOpenGLTexture* theWrappedObject) const; - QPair levelOfDetailRange(QOpenGLTexture* theWrappedObject) const; - float levelofDetailBias(QOpenGLTexture* theWrappedObject) const; - QOpenGLTexture::Filter magnificationFilter(QOpenGLTexture* theWrappedObject) const; - float maximumAnisotropy(QOpenGLTexture* theWrappedObject) const; - float maximumLevelOfDetail(QOpenGLTexture* theWrappedObject) const; - int maximumMipLevels(QOpenGLTexture* theWrappedObject) const; - QPair minMagFilters(QOpenGLTexture* theWrappedObject) const; - QOpenGLTexture::Filter minificationFilter(QOpenGLTexture* theWrappedObject) const; - float minimumLevelOfDetail(QOpenGLTexture* theWrappedObject) const; - int mipBaseLevel(QOpenGLTexture* theWrappedObject) const; - QPair mipLevelRange(QOpenGLTexture* theWrappedObject) const; - int mipLevels(QOpenGLTexture* theWrappedObject) const; - int mipMaxLevel(QOpenGLTexture* theWrappedObject) const; - void release(QOpenGLTexture* theWrappedObject); - void release(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset = QOpenGLTexture::DontResetTextureUnit); - int samples(QOpenGLTexture* theWrappedObject) const; - void setAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject, bool enabled); - void setBorderColor(QOpenGLTexture* theWrappedObject, QColor color); - void setBorderColor(QOpenGLTexture* theWrappedObject, float r, float g, float b, float a); - void setBorderColor(QOpenGLTexture* theWrappedObject, int r, int g, int b, int a); - void setBorderColor(QOpenGLTexture* theWrappedObject, uint r, uint g, uint b, uint a); - void setComparisonFunction(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonFunction function); - void setComparisonMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonMode mode); - void setData(QOpenGLTexture* theWrappedObject, const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps = QOpenGLTexture::GenerateMipMaps); - void setDepthStencilMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::DepthStencilMode mode); - void setFixedSamplePositions(QOpenGLTexture* theWrappedObject, bool fixed); - void setFormat(QOpenGLTexture* theWrappedObject, QOpenGLTexture::TextureFormat format); - void setLayers(QOpenGLTexture* theWrappedObject, int layers); - void setLevelOfDetailRange(QOpenGLTexture* theWrappedObject, float min, float max); - void setLevelofDetailBias(QOpenGLTexture* theWrappedObject, float bias); - void setMagnificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter); - void setMaximumAnisotropy(QOpenGLTexture* theWrappedObject, float anisotropy); - void setMaximumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value); - void setMinMagFilters(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter minificationFilter, QOpenGLTexture::Filter magnificationFilter); - void setMinificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter); - void setMinimumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value); - void setMipBaseLevel(QOpenGLTexture* theWrappedObject, int baseLevel); - void setMipLevelRange(QOpenGLTexture* theWrappedObject, int baseLevel, int maxLevel); - void setMipLevels(QOpenGLTexture* theWrappedObject, int levels); - void setMipMaxLevel(QOpenGLTexture* theWrappedObject, int maxLevel); - void setSamples(QOpenGLTexture* theWrappedObject, int samples); - void setSize(QOpenGLTexture* theWrappedObject, int width, int height = 1, int depth = 1); - void setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component, QOpenGLTexture::SwizzleValue value); - void setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleValue r, QOpenGLTexture::SwizzleValue g, QOpenGLTexture::SwizzleValue b, QOpenGLTexture::SwizzleValue a); - void setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction, QOpenGLTexture::WrapMode mode); - void setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::WrapMode mode); - QOpenGLTexture::SwizzleValue swizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component) const; - QOpenGLTexture::Target target(QOpenGLTexture* theWrappedObject) const; - GLuint textureId(QOpenGLTexture* theWrappedObject) const; - int width(QOpenGLTexture* theWrappedObject) const; - QOpenGLTexture::WrapMode wrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction) const; - QString py_toString(QOpenGLTexture*); -}; - - - - - -class PythonQtWrapper_QOpenGLTextureBlitter : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Origin ) -enum Origin{ - OriginBottomLeft = QOpenGLTextureBlitter::OriginBottomLeft, OriginTopLeft = QOpenGLTextureBlitter::OriginTopLeft}; -public Q_SLOTS: -QOpenGLTextureBlitter* new_QOpenGLTextureBlitter(); -void delete_QOpenGLTextureBlitter(QOpenGLTextureBlitter* obj) { delete obj; } - void bind(QOpenGLTextureBlitter* theWrappedObject, GLenum target = GL_TEXTURE_2D); - void blit(QOpenGLTextureBlitter* theWrappedObject, GLuint texture, const QMatrix4x4& targetTransform, QOpenGLTextureBlitter::Origin sourceOrigin); - bool create(QOpenGLTextureBlitter* theWrappedObject); - void destroy(QOpenGLTextureBlitter* theWrappedObject); - bool isCreated(QOpenGLTextureBlitter* theWrappedObject) const; - void release(QOpenGLTextureBlitter* theWrappedObject); - void setOpacity(QOpenGLTextureBlitter* theWrappedObject, float opacity); - void setRedBlueSwizzle(QOpenGLTextureBlitter* theWrappedObject, bool swizzle); - bool supportsExternalOESTarget(QOpenGLTextureBlitter* theWrappedObject) const; - QMatrix4x4 static_QOpenGLTextureBlitter_targetTransform(const QRectF& target, const QRect& viewport); -}; - - - - - -class PythonQtShell_QOpenGLTimeMonitor : public QOpenGLTimeMonitor -{ -public: - PythonQtShell_QOpenGLTimeMonitor(QObject* parent = nullptr):QOpenGLTimeMonitor(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QOpenGLTimeMonitor() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QOpenGLTimeMonitor : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QOpenGLTimeMonitor* new_QOpenGLTimeMonitor(QObject* parent = nullptr); -void delete_QOpenGLTimeMonitor(QOpenGLTimeMonitor* obj) { delete obj; } - bool create(QOpenGLTimeMonitor* theWrappedObject); - void destroy(QOpenGLTimeMonitor* theWrappedObject); - bool isCreated(QOpenGLTimeMonitor* theWrappedObject) const; - bool isResultAvailable(QOpenGLTimeMonitor* theWrappedObject) const; - QVector objectIds(QOpenGLTimeMonitor* theWrappedObject) const; - int recordSample(QOpenGLTimeMonitor* theWrappedObject); - void reset(QOpenGLTimeMonitor* theWrappedObject); - int sampleCount(QOpenGLTimeMonitor* theWrappedObject) const; - void setSampleCount(QOpenGLTimeMonitor* theWrappedObject, int sampleCount); - QVector waitForIntervals(QOpenGLTimeMonitor* theWrappedObject) const; - QVector waitForSamples(QOpenGLTimeMonitor* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QOpenGLTimerQuery : public QOpenGLTimerQuery -{ -public: - PythonQtShell_QOpenGLTimerQuery(QObject* parent = nullptr):QOpenGLTimerQuery(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QOpenGLTimerQuery() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QOpenGLTimerQuery : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QOpenGLTimerQuery* new_QOpenGLTimerQuery(QObject* parent = nullptr); -void delete_QOpenGLTimerQuery(QOpenGLTimerQuery* obj) { delete obj; } - void begin(QOpenGLTimerQuery* theWrappedObject); - bool create(QOpenGLTimerQuery* theWrappedObject); - void destroy(QOpenGLTimerQuery* theWrappedObject); - void end(QOpenGLTimerQuery* theWrappedObject); - bool isCreated(QOpenGLTimerQuery* theWrappedObject) const; - bool isResultAvailable(QOpenGLTimerQuery* theWrappedObject) const; - GLuint objectId(QOpenGLTimerQuery* theWrappedObject) const; - void recordTimestamp(QOpenGLTimerQuery* theWrappedObject); - GLuint64 waitForResult(QOpenGLTimerQuery* theWrappedObject) const; - GLuint64 waitForTimestamp(QOpenGLTimerQuery* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QOpenGLVersionProfile : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QOpenGLVersionProfile* new_QOpenGLVersionProfile(); -QOpenGLVersionProfile* new_QOpenGLVersionProfile(const QOpenGLVersionProfile& other); -QOpenGLVersionProfile* new_QOpenGLVersionProfile(const QSurfaceFormat& format); -void delete_QOpenGLVersionProfile(QOpenGLVersionProfile* obj) { delete obj; } - bool hasProfiles(QOpenGLVersionProfile* theWrappedObject) const; - bool isLegacyVersion(QOpenGLVersionProfile* theWrappedObject) const; - bool isValid(QOpenGLVersionProfile* theWrappedObject) const; - bool __ne__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs); - QOpenGLVersionProfile* operator_assign(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs); - bool __eq__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs); - QSurfaceFormat::OpenGLContextProfile profile(QOpenGLVersionProfile* theWrappedObject) const; - void setProfile(QOpenGLVersionProfile* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile); - void setVersion(QOpenGLVersionProfile* theWrappedObject, int majorVersion, int minorVersion); - QPair version(QOpenGLVersionProfile* theWrappedObject) const; - QString py_toString(QOpenGLVersionProfile*); - bool __nonzero__(QOpenGLVersionProfile* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtShell_QOpenGLVertexArrayObject : public QOpenGLVertexArrayObject -{ -public: - PythonQtShell_QOpenGLVertexArrayObject(QObject* parent = nullptr):QOpenGLVertexArrayObject(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QOpenGLVertexArrayObject() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QOpenGLVertexArrayObject : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QOpenGLVertexArrayObject* new_QOpenGLVertexArrayObject(QObject* parent = nullptr); -void delete_QOpenGLVertexArrayObject(QOpenGLVertexArrayObject* obj) { delete obj; } - void bind(QOpenGLVertexArrayObject* theWrappedObject); - bool create(QOpenGLVertexArrayObject* theWrappedObject); - void destroy(QOpenGLVertexArrayObject* theWrappedObject); - bool isCreated(QOpenGLVertexArrayObject* theWrappedObject) const; - GLuint objectId(QOpenGLVertexArrayObject* theWrappedObject) const; - void release(QOpenGLVertexArrayObject* theWrappedObject); -}; - - - - - -class PythonQtShell_QOpenGLWidget : public QOpenGLWidget -{ -public: - PythonQtShell_QOpenGLWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QOpenGLWidget(parent, f),_wrapper(nullptr) {}; - - ~PythonQtShell_QOpenGLWidget() override; - -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* arg__1) override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* event) override; -void customEvent(QEvent* event) override; -int devType() const override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* e) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void focusInEvent(QFocusEvent* event) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void initPainter(QPainter* painter) const override; -void initializeGL() override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* event) override; -void keyReleaseEvent(QKeyEvent* event) override; -void leaveEvent(QEvent* event) override; -int metric(QPaintDevice::PaintDeviceMetric metric) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* event) override; -void mousePressEvent(QMouseEvent* event) override; -void mouseReleaseEvent(QMouseEvent* event) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* e) override; -void paintGL() override; -QPaintDevice* redirected(QPoint* p) const override; -void resizeEvent(QResizeEvent* e) override; -void resizeGL(int w, int h) override; -void setVisible(bool visible) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* event) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* event) override; -void wheelEvent(QWheelEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QOpenGLWidget : public QOpenGLWidget -{ public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_initializeGL() { this->initializeGL(); } -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } -inline QPaintEngine* promoted_paintEngine() const { return this->paintEngine(); } -inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } -inline void promoted_paintGL() { this->paintGL(); } -inline QPaintDevice* promoted_redirected(QPoint* p) const { return this->redirected(p); } -inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } -inline void promoted_resizeGL(int w, int h) { this->resizeGL(w, h); } -inline bool py_q_event(QEvent* e) { return QOpenGLWidget::event(e); } -inline void py_q_initializeGL() { QOpenGLWidget::initializeGL(); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QOpenGLWidget::metric(metric); } -inline QPaintEngine* py_q_paintEngine() const { return QOpenGLWidget::paintEngine(); } -inline void py_q_paintEvent(QPaintEvent* e) { QOpenGLWidget::paintEvent(e); } -inline void py_q_paintGL() { QOpenGLWidget::paintGL(); } -inline QPaintDevice* py_q_redirected(QPoint* p) const { return QOpenGLWidget::redirected(p); } -inline void py_q_resizeEvent(QResizeEvent* e) { QOpenGLWidget::resizeEvent(e); } -inline void py_q_resizeGL(int w, int h) { QOpenGLWidget::resizeGL(w, h); } -}; - -class PythonQtWrapper_QOpenGLWidget : public QObject -{ Q_OBJECT -public: -Q_ENUMS(UpdateBehavior ) -enum UpdateBehavior{ - NoPartialUpdate = QOpenGLWidget::NoPartialUpdate, PartialUpdate = QOpenGLWidget::PartialUpdate}; -public Q_SLOTS: -QOpenGLWidget* new_QOpenGLWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QOpenGLWidget(QOpenGLWidget* obj) { delete obj; } - QOpenGLContext* context(QOpenGLWidget* theWrappedObject) const; - GLuint defaultFramebufferObject(QOpenGLWidget* theWrappedObject) const; - void doneCurrent(QOpenGLWidget* theWrappedObject); - bool py_q_event(QOpenGLWidget* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_event(e));} - QSurfaceFormat format(QOpenGLWidget* theWrappedObject) const; - QImage grabFramebuffer(QOpenGLWidget* theWrappedObject); - void initializeGL(QOpenGLWidget* theWrappedObject); - void py_q_initializeGL(QOpenGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_initializeGL());} - bool isValid(QOpenGLWidget* theWrappedObject) const; - void makeCurrent(QOpenGLWidget* theWrappedObject); - int py_q_metric(QOpenGLWidget* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_metric(metric));} - QPaintEngine* py_q_paintEngine(QOpenGLWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_paintEngine());} - void py_q_paintEvent(QOpenGLWidget* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_paintEvent(e));} - void paintGL(QOpenGLWidget* theWrappedObject); - void py_q_paintGL(QOpenGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_paintGL());} - QPaintDevice* py_q_redirected(QOpenGLWidget* theWrappedObject, QPoint* p) const{ return (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_redirected(p));} - void py_q_resizeEvent(QOpenGLWidget* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_resizeEvent(e));} - void resizeGL(QOpenGLWidget* theWrappedObject, int w, int h); - void py_q_resizeGL(QOpenGLWidget* theWrappedObject, int w, int h){ (((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->py_q_resizeGL(w, h));} - void setFormat(QOpenGLWidget* theWrappedObject, const QSurfaceFormat& format); - void setTextureFormat(QOpenGLWidget* theWrappedObject, GLenum texFormat); - void setUpdateBehavior(QOpenGLWidget* theWrappedObject, QOpenGLWidget::UpdateBehavior updateBehavior); - GLenum textureFormat(QOpenGLWidget* theWrappedObject) const; - QOpenGLWidget::UpdateBehavior updateBehavior(QOpenGLWidget* theWrappedObject) const; - bool __nonzero__(QOpenGLWidget* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtShell_QOpenGLWindow : public QOpenGLWindow -{ -public: - PythonQtShell_QOpenGLWindow(QOpenGLContext* shareContext, QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr):QOpenGLWindow(shareContext, updateBehavior, parent),_wrapper(nullptr) {}; - PythonQtShell_QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr):QOpenGLWindow(updateBehavior, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QOpenGLWindow() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -int devType() const override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void exposeEvent(QExposeEvent* arg__1) override; -void focusInEvent(QFocusEvent* arg__1) override; -QObject* focusObject() const override; -void focusOutEvent(QFocusEvent* arg__1) override; -QSurfaceFormat format() const override; -void hideEvent(QHideEvent* arg__1) override; -void initPainter(QPainter* painter) const override; -void initializeGL() override; -void keyPressEvent(QKeyEvent* arg__1) override; -void keyReleaseEvent(QKeyEvent* arg__1) override; -int metric(QPaintDevice::PaintDeviceMetric metric) const override; -void mouseDoubleClickEvent(QMouseEvent* arg__1) override; -void mouseMoveEvent(QMouseEvent* arg__1) override; -void mousePressEvent(QMouseEvent* arg__1) override; -void mouseReleaseEvent(QMouseEvent* arg__1) override; -void moveEvent(QMoveEvent* arg__1) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -void paintEvent(QPaintEvent* event) override; -void paintGL() override; -void paintOverGL() override; -void paintUnderGL() override; -QPaintDevice* redirected(QPoint* arg__1) const override; -void resizeEvent(QResizeEvent* event) override; -void resizeGL(int w, int h) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* arg__1) override; -QSize size() const override; -QSurface::SurfaceType surfaceType() const override; -void tabletEvent(QTabletEvent* arg__1) override; -void timerEvent(QTimerEvent* event) override; -void touchEvent(QTouchEvent* arg__1) override; -void wheelEvent(QWheelEvent* arg__1) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QOpenGLWindow : public QOpenGLWindow -{ public: -inline void promoted_initializeGL() { this->initializeGL(); } -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } -inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } -inline void promoted_paintGL() { this->paintGL(); } -inline void promoted_paintOverGL() { this->paintOverGL(); } -inline void promoted_paintUnderGL() { this->paintUnderGL(); } -inline QPaintDevice* promoted_redirected(QPoint* arg__1) const { return this->redirected(arg__1); } -inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } -inline void promoted_resizeGL(int w, int h) { this->resizeGL(w, h); } -inline void py_q_initializeGL() { QOpenGLWindow::initializeGL(); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QOpenGLWindow::metric(metric); } -inline void py_q_paintEvent(QPaintEvent* event) { QOpenGLWindow::paintEvent(event); } -inline void py_q_paintGL() { QOpenGLWindow::paintGL(); } -inline void py_q_paintOverGL() { QOpenGLWindow::paintOverGL(); } -inline void py_q_paintUnderGL() { QOpenGLWindow::paintUnderGL(); } -inline QPaintDevice* py_q_redirected(QPoint* arg__1) const { return QOpenGLWindow::redirected(arg__1); } -inline void py_q_resizeEvent(QResizeEvent* event) { QOpenGLWindow::resizeEvent(event); } -inline void py_q_resizeGL(int w, int h) { QOpenGLWindow::resizeGL(w, h); } -}; - -class PythonQtWrapper_QOpenGLWindow : public QObject -{ Q_OBJECT -public: -Q_ENUMS(UpdateBehavior ) -enum UpdateBehavior{ - NoPartialUpdate = QOpenGLWindow::NoPartialUpdate, PartialUpdateBlit = QOpenGLWindow::PartialUpdateBlit, PartialUpdateBlend = QOpenGLWindow::PartialUpdateBlend}; -public Q_SLOTS: -QOpenGLWindow* new_QOpenGLWindow(QOpenGLContext* shareContext, QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr); -QOpenGLWindow* new_QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior = QOpenGLWindow::NoPartialUpdate, QWindow* parent = nullptr); -void delete_QOpenGLWindow(QOpenGLWindow* obj) { delete obj; } - QOpenGLContext* context(QOpenGLWindow* theWrappedObject) const; - GLuint defaultFramebufferObject(QOpenGLWindow* theWrappedObject) const; - void doneCurrent(QOpenGLWindow* theWrappedObject); - QImage grabFramebuffer(QOpenGLWindow* theWrappedObject); - void initializeGL(QOpenGLWindow* theWrappedObject); - void py_q_initializeGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_initializeGL());} - bool isValid(QOpenGLWindow* theWrappedObject) const; - void makeCurrent(QOpenGLWindow* theWrappedObject); - int py_q_metric(QOpenGLWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_metric(metric));} - void py_q_paintEvent(QOpenGLWindow* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_paintEvent(event));} - void paintGL(QOpenGLWindow* theWrappedObject); - void py_q_paintGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_paintGL());} - void paintOverGL(QOpenGLWindow* theWrappedObject); - void py_q_paintOverGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_paintOverGL());} - void paintUnderGL(QOpenGLWindow* theWrappedObject); - void py_q_paintUnderGL(QOpenGLWindow* theWrappedObject){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_paintUnderGL());} - QPaintDevice* py_q_redirected(QOpenGLWindow* theWrappedObject, QPoint* arg__1) const{ return (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_redirected(arg__1));} - void py_q_resizeEvent(QOpenGLWindow* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_resizeEvent(event));} - void resizeGL(QOpenGLWindow* theWrappedObject, int w, int h); - void py_q_resizeGL(QOpenGLWindow* theWrappedObject, int w, int h){ (((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->py_q_resizeGL(w, h));} - QOpenGLContext* shareContext(QOpenGLWindow* theWrappedObject) const; - QOpenGLWindow::UpdateBehavior updateBehavior(QOpenGLWindow* theWrappedObject) const; - bool __nonzero__(QOpenGLWindow* obj) { return obj->isValid(); } -}; - - diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp b/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp deleted file mode 100644 index 260d4769f..000000000 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp +++ /dev/null @@ -1,1210 +0,0 @@ -#include "com_trolltech_qt_gui9.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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -PythonQtShell_QStyleOptionFrameV3::~PythonQtShell_QStyleOptionFrameV3() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionFrameV3* PythonQtWrapper_QStyleOptionFrameV3::new_QStyleOptionFrameV3() -{ -return new PythonQtShell_QStyleOptionFrameV3(); } - - - -PythonQtShell_QStyleOptionGraphicsItem::~PythonQtShell_QStyleOptionGraphicsItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem() -{ -return new PythonQtShell_QStyleOptionGraphicsItem(); } - -QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other) -{ -return new PythonQtShell_QStyleOptionGraphicsItem(other); } - -QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem(int version) -{ -return new PythonQtShell_QStyleOptionGraphicsItem(version); } - -qreal PythonQtWrapper_QStyleOptionGraphicsItem::static_QStyleOptionGraphicsItem_levelOfDetailFromTransform(const QTransform& worldTransform) -{ - return (QStyleOptionGraphicsItem::levelOfDetailFromTransform(worldTransform)); -} - - - -PythonQtShell_QStyleOptionGroupBox::~PythonQtShell_QStyleOptionGroupBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox() -{ -return new PythonQtShell_QStyleOptionGroupBox(); } - -QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox(const QStyleOptionGroupBox& other) -{ -return new PythonQtShell_QStyleOptionGroupBox(other); } - -QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox(int version) -{ -return new PythonQtShell_QStyleOptionGroupBox(version); } - - - -PythonQtShell_QStyleOptionHeader::~PythonQtShell_QStyleOptionHeader() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader() -{ -return new PythonQtShell_QStyleOptionHeader(); } - -QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader(const QStyleOptionHeader& other) -{ -return new PythonQtShell_QStyleOptionHeader(other); } - -QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader(int version) -{ -return new PythonQtShell_QStyleOptionHeader(version); } - - - -PythonQtShell_QStyleOptionMenuItem::~PythonQtShell_QStyleOptionMenuItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem() -{ -return new PythonQtShell_QStyleOptionMenuItem(); } - -QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem(const QStyleOptionMenuItem& other) -{ -return new PythonQtShell_QStyleOptionMenuItem(other); } - -QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem(int version) -{ -return new PythonQtShell_QStyleOptionMenuItem(version); } - - - -PythonQtShell_QStyleOptionProgressBar::~PythonQtShell_QStyleOptionProgressBar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar() -{ -return new PythonQtShell_QStyleOptionProgressBar(); } - -QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar(const QStyleOptionProgressBar& other) -{ -return new PythonQtShell_QStyleOptionProgressBar(other); } - -QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar(int version) -{ -return new PythonQtShell_QStyleOptionProgressBar(version); } - - - -PythonQtShell_QStyleOptionProgressBarV2::~PythonQtShell_QStyleOptionProgressBarV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionProgressBarV2* PythonQtWrapper_QStyleOptionProgressBarV2::new_QStyleOptionProgressBarV2() -{ -return new PythonQtShell_QStyleOptionProgressBarV2(); } - - - -PythonQtShell_QStyleOptionRubberBand::~PythonQtShell_QStyleOptionRubberBand() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand() -{ -return new PythonQtShell_QStyleOptionRubberBand(); } - -QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand(const QStyleOptionRubberBand& other) -{ -return new PythonQtShell_QStyleOptionRubberBand(other); } - -QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand(int version) -{ -return new PythonQtShell_QStyleOptionRubberBand(version); } - - - -PythonQtShell_QStyleOptionSizeGrip::~PythonQtShell_QStyleOptionSizeGrip() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip() -{ -return new PythonQtShell_QStyleOptionSizeGrip(); } - -QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other) -{ -return new PythonQtShell_QStyleOptionSizeGrip(other); } - -QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip(int version) -{ -return new PythonQtShell_QStyleOptionSizeGrip(version); } - - - -PythonQtShell_QStyleOptionSlider::~PythonQtShell_QStyleOptionSlider() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider() -{ -return new PythonQtShell_QStyleOptionSlider(); } - -QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider(const QStyleOptionSlider& other) -{ -return new PythonQtShell_QStyleOptionSlider(other); } - -QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider(int version) -{ -return new PythonQtShell_QStyleOptionSlider(version); } - - - -PythonQtShell_QStyleOptionSpinBox::~PythonQtShell_QStyleOptionSpinBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox() -{ -return new PythonQtShell_QStyleOptionSpinBox(); } - -QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other) -{ -return new PythonQtShell_QStyleOptionSpinBox(other); } - -QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox(int version) -{ -return new PythonQtShell_QStyleOptionSpinBox(version); } - - - -PythonQtShell_QStyleOptionTab::~PythonQtShell_QStyleOptionTab() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab() -{ -return new PythonQtShell_QStyleOptionTab(); } - -QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab(const QStyleOptionTab& other) -{ -return new PythonQtShell_QStyleOptionTab(other); } - -QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab(int version) -{ -return new PythonQtShell_QStyleOptionTab(version); } - - - -PythonQtShell_QStyleOptionTabBarBase::~PythonQtShell_QStyleOptionTabBarBase() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase() -{ -return new PythonQtShell_QStyleOptionTabBarBase(); } - -QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other) -{ -return new PythonQtShell_QStyleOptionTabBarBase(other); } - -QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase(int version) -{ -return new PythonQtShell_QStyleOptionTabBarBase(version); } - - - -PythonQtShell_QStyleOptionTabBarBaseV2::~PythonQtShell_QStyleOptionTabBarBaseV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTabBarBaseV2* PythonQtWrapper_QStyleOptionTabBarBaseV2::new_QStyleOptionTabBarBaseV2() -{ -return new PythonQtShell_QStyleOptionTabBarBaseV2(); } - - - -PythonQtShell_QStyleOptionTabV2::~PythonQtShell_QStyleOptionTabV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTabV2* PythonQtWrapper_QStyleOptionTabV2::new_QStyleOptionTabV2() -{ -return new PythonQtShell_QStyleOptionTabV2(); } - - - -PythonQtShell_QStyleOptionTabV3::~PythonQtShell_QStyleOptionTabV3() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTabV3* PythonQtWrapper_QStyleOptionTabV3::new_QStyleOptionTabV3() -{ -return new PythonQtShell_QStyleOptionTabV3(); } - - - -PythonQtShell_QStyleOptionTabWidgetFrame::~PythonQtShell_QStyleOptionTabWidgetFrame() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame() -{ -return new PythonQtShell_QStyleOptionTabWidgetFrame(); } - -QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other) -{ -return new PythonQtShell_QStyleOptionTabWidgetFrame(other); } - -QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame(int version) -{ -return new PythonQtShell_QStyleOptionTabWidgetFrame(version); } - - - -PythonQtShell_QStyleOptionTabWidgetFrameV2::~PythonQtShell_QStyleOptionTabWidgetFrameV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTabWidgetFrameV2* PythonQtWrapper_QStyleOptionTabWidgetFrameV2::new_QStyleOptionTabWidgetFrameV2() -{ -return new PythonQtShell_QStyleOptionTabWidgetFrameV2(); } - - - -PythonQtShell_QStyleOptionTitleBar::~PythonQtShell_QStyleOptionTitleBar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar() -{ -return new PythonQtShell_QStyleOptionTitleBar(); } - -QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other) -{ -return new PythonQtShell_QStyleOptionTitleBar(other); } - -QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar(int version) -{ -return new PythonQtShell_QStyleOptionTitleBar(version); } - - - -PythonQtShell_QStyleOptionToolBar::~PythonQtShell_QStyleOptionToolBar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar() -{ -return new PythonQtShell_QStyleOptionToolBar(); } - -QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar(const QStyleOptionToolBar& other) -{ -return new PythonQtShell_QStyleOptionToolBar(other); } - -QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar(int version) -{ -return new PythonQtShell_QStyleOptionToolBar(version); } - - - -PythonQtShell_QStyleOptionToolBox::~PythonQtShell_QStyleOptionToolBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox() -{ -return new PythonQtShell_QStyleOptionToolBox(); } - -QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox(const QStyleOptionToolBox& other) -{ -return new PythonQtShell_QStyleOptionToolBox(other); } - -QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox(int version) -{ -return new PythonQtShell_QStyleOptionToolBox(version); } - - - -PythonQtShell_QStyleOptionToolBoxV2::~PythonQtShell_QStyleOptionToolBoxV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionToolBoxV2* PythonQtWrapper_QStyleOptionToolBoxV2::new_QStyleOptionToolBoxV2() -{ -return new PythonQtShell_QStyleOptionToolBoxV2(); } - - - -PythonQtShell_QStyleOptionToolButton::~PythonQtShell_QStyleOptionToolButton() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton() -{ -return new PythonQtShell_QStyleOptionToolButton(); } - -QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton(const QStyleOptionToolButton& other) -{ -return new PythonQtShell_QStyleOptionToolButton(other); } - -QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton(int version) -{ -return new PythonQtShell_QStyleOptionToolButton(version); } - - - -PythonQtShell_QStyleOptionViewItem::~PythonQtShell_QStyleOptionViewItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem() -{ -return new PythonQtShell_QStyleOptionViewItem(); } - -QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem(const QStyleOptionViewItem& other) -{ -return new PythonQtShell_QStyleOptionViewItem(other); } - -QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem(int version) -{ -return new PythonQtShell_QStyleOptionViewItem(version); } - - - -PythonQtShell_QStyleOptionViewItemV2::~PythonQtShell_QStyleOptionViewItemV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionViewItemV2* PythonQtWrapper_QStyleOptionViewItemV2::new_QStyleOptionViewItemV2() -{ -return new PythonQtShell_QStyleOptionViewItemV2(); } - - - -PythonQtShell_QStyleOptionViewItemV3::~PythonQtShell_QStyleOptionViewItemV3() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionViewItemV3* PythonQtWrapper_QStyleOptionViewItemV3::new_QStyleOptionViewItemV3() -{ -return new PythonQtShell_QStyleOptionViewItemV3(); } - - - -PythonQtShell_QStyleOptionViewItemV4::~PythonQtShell_QStyleOptionViewItemV4() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionViewItemV4* PythonQtWrapper_QStyleOptionViewItemV4::new_QStyleOptionViewItemV4() -{ -return new PythonQtShell_QStyleOptionViewItemV4(); } - - - -QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter() -{ -return new QStylePainter(); } - -QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter(QPaintDevice* pd, QWidget* w) -{ -return new QStylePainter(pd, w); } - -QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter(QWidget* w) -{ -return new QStylePainter(w); } - -bool PythonQtWrapper_QStylePainter::begin(QStylePainter* theWrappedObject, QPaintDevice* pd, QWidget* w) -{ - return ( theWrappedObject->begin(pd, w)); -} - -bool PythonQtWrapper_QStylePainter::begin(QStylePainter* theWrappedObject, QWidget* w) -{ - return ( theWrappedObject->begin(w)); -} - -void PythonQtWrapper_QStylePainter::drawComplexControl(QStylePainter* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex& opt) -{ - ( theWrappedObject->drawComplexControl(cc, opt)); -} - -void PythonQtWrapper_QStylePainter::drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt) -{ - ( theWrappedObject->drawControl(ce, opt)); -} - -void PythonQtWrapper_QStylePainter::drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) -{ - ( theWrappedObject->drawItemPixmap(r, flags, pixmap)); -} - -void PythonQtWrapper_QStylePainter::drawItemText(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) -{ - ( theWrappedObject->drawItemText(r, flags, pal, enabled, text, textRole)); -} - -void PythonQtWrapper_QStylePainter::drawPrimitive(QStylePainter* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption& opt) -{ - ( theWrappedObject->drawPrimitive(pe, opt)); -} - -QStyle* PythonQtWrapper_QStylePainter::style(QStylePainter* theWrappedObject) const -{ - return ( theWrappedObject->style()); -} - - - -PythonQtShell_QStylePlugin::~PythonQtShell_QStylePlugin() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QStylePlugin::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStylePlugin::childEvent(event0); -} -QStyle* PythonQtShell_QStylePlugin::create(const QString& key0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("create"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStyle*" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QStyle* returnValue{}; - void* args[2] = {nullptr, (void*)&key0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); - } else { - returnValue = *((QStyle**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return nullptr; -} -void PythonQtShell_QStylePlugin::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStylePlugin::customEvent(event0); -} -bool PythonQtShell_QStylePlugin::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStylePlugin::event(event0); -} -bool PythonQtShell_QStylePlugin::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStylePlugin::eventFilter(watched0, event1); -} -void PythonQtShell_QStylePlugin::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStylePlugin::timerEvent(event0); -} -QStylePlugin* PythonQtWrapper_QStylePlugin::new_QStylePlugin(QObject* parent) -{ -return new PythonQtShell_QStylePlugin(parent); } - -const QMetaObject* PythonQtShell_QStylePlugin::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStylePlugin::staticMetaObject); - } else { - return &QStylePlugin::staticMetaObject; - } -} -int PythonQtShell_QStylePlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QStylePlugin::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QStyle* PythonQtWrapper_QStylePlugin::create(QStylePlugin* theWrappedObject, const QString& key) -{ - return ( theWrappedObject->create(key)); -} - - - -PythonQtShell_QStyledItemDelegate::~PythonQtShell_QStyledItemDelegate() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QStyledItemDelegate::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStyledItemDelegate::childEvent(event0); -} -QWidget* PythonQtShell_QStyledItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("createEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QWidget* returnValue{}; - void* args[4] = {nullptr, (void*)&parent0, (void*)&option1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); - } else { - returnValue = *((QWidget**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStyledItemDelegate::createEditor(parent0, option1, index2); -} -void PythonQtShell_QStyledItemDelegate::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStyledItemDelegate::customEvent(event0); -} -void PythonQtShell_QStyledItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("destroyEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStyledItemDelegate::destroyEditor(editor0, index1); -} -QString PythonQtShell_QStyledItemDelegate::displayText(const QVariant& value0, const QLocale& locale1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("displayText"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString" , "const QVariant&" , "const QLocale&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QString returnValue{}; - void* args[3] = {nullptr, (void*)&value0, (void*)&locale1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("displayText", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStyledItemDelegate::displayText(value0, locale1); -} -bool PythonQtShell_QStyledItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("editorEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue{}; - void* args[5] = {nullptr, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStyledItemDelegate::editorEvent(event0, model1, option2, index3); -} -bool PythonQtShell_QStyledItemDelegate::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStyledItemDelegate::event(event0); -} -bool PythonQtShell_QStyledItemDelegate::eventFilter(QObject* object0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStyledItemDelegate::eventFilter(object0, event1); -} -bool PythonQtShell_QStyledItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("helpEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue{}; - void* args[5] = {nullptr, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStyledItemDelegate::helpEvent(event0, view1, option2, index3); -} -void PythonQtShell_QStyledItemDelegate::initStyleOption(QStyleOptionViewItem* option0, const QModelIndex& index1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initStyleOption"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QStyleOptionViewItem*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStyledItemDelegate::initStyleOption(option0, index1); -} -void PythonQtShell_QStyledItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStyledItemDelegate::paint(painter0, option1, index2); -} -QVector PythonQtShell_QStyledItemDelegate::paintingRoles() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintingRoles"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVector"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QVector returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); - } else { - returnValue = *((QVector*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStyledItemDelegate::paintingRoles(); -} -void PythonQtShell_QStyledItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStyledItemDelegate::setEditorData(editor0, index1); -} -void PythonQtShell_QStyledItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setModelData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&editor0, (void*)&model1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStyledItemDelegate::setModelData(editor0, model1, index2); -} -QSize PythonQtShell_QStyledItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QSize returnValue{}; - void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QStyledItemDelegate::sizeHint(option0, index1); -} -void PythonQtShell_QStyledItemDelegate::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStyledItemDelegate::timerEvent(event0); -} -void PythonQtShell_QStyledItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometry"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&editor0, (void*)&option1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QStyledItemDelegate::updateEditorGeometry(editor0, option1, index2); -} -QStyledItemDelegate* PythonQtWrapper_QStyledItemDelegate::new_QStyledItemDelegate(QObject* parent) -{ -return new PythonQtShell_QStyledItemDelegate(parent); } - -const QMetaObject* PythonQtShell_QStyledItemDelegate::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStyledItemDelegate::staticMetaObject); - } else { - return &QStyledItemDelegate::staticMetaObject; - } -} -int PythonQtShell_QStyledItemDelegate::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QStyledItemDelegate::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QString PythonQtWrapper_QStyledItemDelegate::displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const -{ - return ( theWrappedObject->displayText(value, locale)); -} - -void PythonQtWrapper_QStyledItemDelegate::initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_initStyleOption(option, index)); -} - -QItemEditorFactory* PythonQtWrapper_QStyledItemDelegate::itemEditorFactory(QStyledItemDelegate* theWrappedObject) const -{ - return ( theWrappedObject->itemEditorFactory()); -} - -void PythonQtWrapper_QStyledItemDelegate::setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory) -{ - ( theWrappedObject->setItemEditorFactory(factory)); -} - - diff --git a/generated_cpp_5.10.1/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri b/generated_cpp_5.10.1/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri deleted file mode 100644 index 9ef686c4c..000000000 --- a/generated_cpp_5.10.1/com_trolltech_qt_opengl/com_trolltech_qt_opengl.pri +++ /dev/null @@ -1,6 +0,0 @@ -HEADERS += \ - $$PWD/com_trolltech_qt_opengl0.h \ - -SOURCES += \ - $$PWD/com_trolltech_qt_opengl0.cpp \ - $$PWD/com_trolltech_qt_opengl_init.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp b/generated_cpp_5.10.1/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp deleted file mode 100644 index 96f4b486f..000000000 --- a/generated_cpp_5.10.1/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.cpp +++ /dev/null @@ -1,4566 +0,0 @@ -#include "com_trolltech_qt_opengl0.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 -#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 - -QGLBuffer* PythonQtWrapper_QGLBuffer::new_QGLBuffer() -{ -return new QGLBuffer(); } - -QGLBuffer* PythonQtWrapper_QGLBuffer::new_QGLBuffer(QGLBuffer::Type type) -{ -return new QGLBuffer(type); } - -QGLBuffer* PythonQtWrapper_QGLBuffer::new_QGLBuffer(const QGLBuffer& other) -{ -return new QGLBuffer(other); } - -void PythonQtWrapper_QGLBuffer::allocate(QGLBuffer* theWrappedObject, const void* data, int count) -{ - ( theWrappedObject->allocate(data, count)); -} - -void PythonQtWrapper_QGLBuffer::allocate(QGLBuffer* theWrappedObject, int count) -{ - ( theWrappedObject->allocate(count)); -} - -bool PythonQtWrapper_QGLBuffer::bind(QGLBuffer* theWrappedObject) -{ - return ( theWrappedObject->bind()); -} - -uint PythonQtWrapper_QGLBuffer::bufferId(QGLBuffer* theWrappedObject) const -{ - return ( theWrappedObject->bufferId()); -} - -bool PythonQtWrapper_QGLBuffer::create(QGLBuffer* theWrappedObject) -{ - return ( theWrappedObject->create()); -} - -void PythonQtWrapper_QGLBuffer::destroy(QGLBuffer* theWrappedObject) -{ - ( theWrappedObject->destroy()); -} - -bool PythonQtWrapper_QGLBuffer::isCreated(QGLBuffer* theWrappedObject) const -{ - return ( theWrappedObject->isCreated()); -} - -void* PythonQtWrapper_QGLBuffer::map(QGLBuffer* theWrappedObject, QGLBuffer::Access access) -{ - return ( theWrappedObject->map(access)); -} - -QGLBuffer* PythonQtWrapper_QGLBuffer::operator_assign(QGLBuffer* theWrappedObject, const QGLBuffer& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QGLBuffer::read(QGLBuffer* theWrappedObject, int offset, void* data, int count) -{ - return ( theWrappedObject->read(offset, data, count)); -} - -void PythonQtWrapper_QGLBuffer::release(QGLBuffer* theWrappedObject) -{ - ( theWrappedObject->release()); -} - -void PythonQtWrapper_QGLBuffer::static_QGLBuffer_release(QGLBuffer::Type type) -{ - (QGLBuffer::release(type)); -} - -void PythonQtWrapper_QGLBuffer::setUsagePattern(QGLBuffer* theWrappedObject, QGLBuffer::UsagePattern value) -{ - ( theWrappedObject->setUsagePattern(value)); -} - -int PythonQtWrapper_QGLBuffer::size(QGLBuffer* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QGLBuffer::Type PythonQtWrapper_QGLBuffer::type(QGLBuffer* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -bool PythonQtWrapper_QGLBuffer::unmap(QGLBuffer* theWrappedObject) -{ - return ( theWrappedObject->unmap()); -} - -QGLBuffer::UsagePattern PythonQtWrapper_QGLBuffer::usagePattern(QGLBuffer* theWrappedObject) const -{ - return ( theWrappedObject->usagePattern()); -} - -void PythonQtWrapper_QGLBuffer::write(QGLBuffer* theWrappedObject, int offset, const void* data, int count) -{ - ( theWrappedObject->write(offset, data, count)); -} - - - -PythonQtShell_QGLColormap::~PythonQtShell_QGLColormap() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QGLColormap* PythonQtWrapper_QGLColormap::new_QGLColormap() -{ -return new PythonQtShell_QGLColormap(); } - -QGLColormap* PythonQtWrapper_QGLColormap::new_QGLColormap(const QGLColormap& arg__1) -{ -return new PythonQtShell_QGLColormap(arg__1); } - -QColor PythonQtWrapper_QGLColormap::entryColor(QGLColormap* theWrappedObject, int idx) const -{ - return ( theWrappedObject->entryColor(idx)); -} - -unsigned int PythonQtWrapper_QGLColormap::entryRgb(QGLColormap* theWrappedObject, int idx) const -{ - return ( theWrappedObject->entryRgb(idx)); -} - -int PythonQtWrapper_QGLColormap::find(QGLColormap* theWrappedObject, unsigned int color) const -{ - return ( theWrappedObject->find(color)); -} - -int PythonQtWrapper_QGLColormap::findNearest(QGLColormap* theWrappedObject, unsigned int color) const -{ - return ( theWrappedObject->findNearest(color)); -} - -Qt::HANDLE PythonQtWrapper_QGLColormap::handle(QGLColormap* theWrappedObject) -{ - return ( ((PythonQtPublicPromoter_QGLColormap*)theWrappedObject)->promoted_handle()); -} - -bool PythonQtWrapper_QGLColormap::isEmpty(QGLColormap* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -void PythonQtWrapper_QGLColormap::setEntry(QGLColormap* theWrappedObject, int idx, const QColor& color) -{ - ( theWrappedObject->setEntry(idx, color)); -} - -void PythonQtWrapper_QGLColormap::setEntry(QGLColormap* theWrappedObject, int idx, unsigned int color) -{ - ( theWrappedObject->setEntry(idx, color)); -} - -void PythonQtWrapper_QGLColormap::setHandle(QGLColormap* theWrappedObject, Qt::HANDLE ahandle) -{ - ( ((PythonQtPublicPromoter_QGLColormap*)theWrappedObject)->promoted_setHandle(ahandle)); -} - -int PythonQtWrapper_QGLColormap::size(QGLColormap* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - - - -PythonQtShell_QGLContext::~PythonQtShell_QGLContext() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -bool PythonQtShell_QGLContext::chooseContext(const QGLContext* shareContext0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("chooseContext"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGLContext*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&shareContext0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("chooseContext", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLContext::chooseContext(shareContext0); -} -bool PythonQtShell_QGLContext::create(const QGLContext* shareContext0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("create"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGLContext*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&shareContext0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLContext::create(shareContext0); -} -void PythonQtShell_QGLContext::doneCurrent() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("doneCurrent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLContext::doneCurrent(); -} -void PythonQtShell_QGLContext::makeCurrent() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("makeCurrent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLContext::makeCurrent(); -} -void PythonQtShell_QGLContext::swapBuffers() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("swapBuffers"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLContext::swapBuffers(); -} -QGLContext* PythonQtWrapper_QGLContext::new_QGLContext(const QGLFormat& format) -{ -return new PythonQtShell_QGLContext(format); } - -QGLContext* PythonQtWrapper_QGLContext::new_QGLContext(const QGLFormat& format, QPaintDevice* device) -{ -return new PythonQtShell_QGLContext(format, device); } - -bool PythonQtWrapper_QGLContext::static_QGLContext_areSharing(const QGLContext* context1, const QGLContext* context2) -{ - return (QGLContext::areSharing(context1, context2)); -} - -uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format) -{ - return ( theWrappedObject->bindTexture(image, target, format)); -} - -uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options) -{ - return ( theWrappedObject->bindTexture(image, target, format, options)); -} - -uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format) -{ - return ( theWrappedObject->bindTexture(pixmap, target, format)); -} - -uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options) -{ - return ( theWrappedObject->bindTexture(pixmap, target, format, options)); -} - -uint PythonQtWrapper_QGLContext::bindTexture(QGLContext* theWrappedObject, const QString& fileName) -{ - return ( theWrappedObject->bindTexture(fileName)); -} - -bool PythonQtWrapper_QGLContext::chooseContext(QGLContext* theWrappedObject, const QGLContext* shareContext) -{ - return ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_chooseContext(shareContext)); -} - -uint PythonQtWrapper_QGLContext::colorIndex(QGLContext* theWrappedObject, const QColor& c) const -{ - return ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_colorIndex(c)); -} - -QOpenGLContext* PythonQtWrapper_QGLContext::contextHandle(QGLContext* theWrappedObject) const -{ - return ( theWrappedObject->contextHandle()); -} - -bool PythonQtWrapper_QGLContext::create(QGLContext* theWrappedObject, const QGLContext* shareContext) -{ - return ( theWrappedObject->create(shareContext)); -} - -const QGLContext* PythonQtWrapper_QGLContext::static_QGLContext_currentContext() -{ - return (QGLContext::currentContext()); -} - -void PythonQtWrapper_QGLContext::deleteTexture(QGLContext* theWrappedObject, uint tx_id) -{ - ( theWrappedObject->deleteTexture(tx_id)); -} - -QPaintDevice* PythonQtWrapper_QGLContext::device(QGLContext* theWrappedObject) const -{ - return ( theWrappedObject->device()); -} - -bool PythonQtWrapper_QGLContext::deviceIsPixmap(QGLContext* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_deviceIsPixmap()); -} - -void PythonQtWrapper_QGLContext::doneCurrent(QGLContext* theWrappedObject) -{ - ( theWrappedObject->doneCurrent()); -} - -void PythonQtWrapper_QGLContext::drawTexture(QGLContext* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget) -{ - ( theWrappedObject->drawTexture(point, textureId, textureTarget)); -} - -void PythonQtWrapper_QGLContext::drawTexture(QGLContext* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) -{ - ( theWrappedObject->drawTexture(target, textureId, textureTarget)); -} - -QGLFormat PythonQtWrapper_QGLContext::format(QGLContext* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -QGLContext* PythonQtWrapper_QGLContext::static_QGLContext_fromOpenGLContext(QOpenGLContext* platformContext) -{ - return (QGLContext::fromOpenGLContext(platformContext)); -} - -QGLFunctions* PythonQtWrapper_QGLContext::functions(QGLContext* theWrappedObject) const -{ - return ( theWrappedObject->functions()); -} - -bool PythonQtWrapper_QGLContext::initialized(QGLContext* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_initialized()); -} - -bool PythonQtWrapper_QGLContext::isSharing(QGLContext* theWrappedObject) const -{ - return ( theWrappedObject->isSharing()); -} - -bool PythonQtWrapper_QGLContext::isValid(QGLContext* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QGLContext::makeCurrent(QGLContext* theWrappedObject) -{ - ( theWrappedObject->makeCurrent()); -} - -void PythonQtWrapper_QGLContext::moveToThread(QGLContext* theWrappedObject, QThread* thread) -{ - ( theWrappedObject->moveToThread(thread)); -} - -QColor PythonQtWrapper_QGLContext::overlayTransparentColor(QGLContext* theWrappedObject) const -{ - return ( theWrappedObject->overlayTransparentColor()); -} - -QGLFormat PythonQtWrapper_QGLContext::requestedFormat(QGLContext* theWrappedObject) const -{ - return ( theWrappedObject->requestedFormat()); -} - -void PythonQtWrapper_QGLContext::reset(QGLContext* theWrappedObject) -{ - ( theWrappedObject->reset()); -} - -void PythonQtWrapper_QGLContext::setFormat(QGLContext* theWrappedObject, const QGLFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QGLContext::setInitialized(QGLContext* theWrappedObject, bool on) -{ - ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_setInitialized(on)); -} - -void PythonQtWrapper_QGLContext::static_QGLContext_setTextureCacheLimit(int size) -{ - (QGLContext::setTextureCacheLimit(size)); -} - -void PythonQtWrapper_QGLContext::setValid(QGLContext* theWrappedObject, bool valid) -{ - ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_setValid(valid)); -} - -void PythonQtWrapper_QGLContext::setWindowCreated(QGLContext* theWrappedObject, bool on) -{ - ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_setWindowCreated(on)); -} - -void PythonQtWrapper_QGLContext::swapBuffers(QGLContext* theWrappedObject) const -{ - ( theWrappedObject->swapBuffers()); -} - -int PythonQtWrapper_QGLContext::static_QGLContext_textureCacheLimit() -{ - return (QGLContext::textureCacheLimit()); -} - -bool PythonQtWrapper_QGLContext::windowCreated(QGLContext* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->promoted_windowCreated()); -} - - - -QGLFormat* PythonQtWrapper_QGLFormat::new_QGLFormat() -{ -return new QGLFormat(); } - -QGLFormat* PythonQtWrapper_QGLFormat::new_QGLFormat(QGL::FormatOptions options, int plane) -{ -return new QGLFormat(options, plane); } - -QGLFormat* PythonQtWrapper_QGLFormat::new_QGLFormat(const QGLFormat& other) -{ -return new QGLFormat(other); } - -bool PythonQtWrapper_QGLFormat::accum(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->accum()); -} - -int PythonQtWrapper_QGLFormat::accumBufferSize(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->accumBufferSize()); -} - -bool PythonQtWrapper_QGLFormat::alpha(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->alpha()); -} - -int PythonQtWrapper_QGLFormat::alphaBufferSize(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->alphaBufferSize()); -} - -int PythonQtWrapper_QGLFormat::blueBufferSize(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->blueBufferSize()); -} - -QGLFormat PythonQtWrapper_QGLFormat::static_QGLFormat_defaultFormat() -{ - return (QGLFormat::defaultFormat()); -} - -QGLFormat PythonQtWrapper_QGLFormat::static_QGLFormat_defaultOverlayFormat() -{ - return (QGLFormat::defaultOverlayFormat()); -} - -bool PythonQtWrapper_QGLFormat::depth(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->depth()); -} - -int PythonQtWrapper_QGLFormat::depthBufferSize(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->depthBufferSize()); -} - -bool PythonQtWrapper_QGLFormat::directRendering(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->directRendering()); -} - -bool PythonQtWrapper_QGLFormat::doubleBuffer(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->doubleBuffer()); -} - -QGLFormat PythonQtWrapper_QGLFormat::static_QGLFormat_fromSurfaceFormat(const QSurfaceFormat& format) -{ - return (QGLFormat::fromSurfaceFormat(format)); -} - -int PythonQtWrapper_QGLFormat::greenBufferSize(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->greenBufferSize()); -} - -bool PythonQtWrapper_QGLFormat::static_QGLFormat_hasOpenGL() -{ - return (QGLFormat::hasOpenGL()); -} - -bool PythonQtWrapper_QGLFormat::static_QGLFormat_hasOpenGLOverlays() -{ - return (QGLFormat::hasOpenGLOverlays()); -} - -bool PythonQtWrapper_QGLFormat::hasOverlay(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->hasOverlay()); -} - -int PythonQtWrapper_QGLFormat::majorVersion(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->majorVersion()); -} - -int PythonQtWrapper_QGLFormat::minorVersion(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->minorVersion()); -} - -QGLFormat::OpenGLVersionFlags PythonQtWrapper_QGLFormat::static_QGLFormat_openGLVersionFlags() -{ - return (QGLFormat::openGLVersionFlags()); -} - -bool PythonQtWrapper_QGLFormat::__ne__(QGLFormat* theWrappedObject, const QGLFormat& arg__2) -{ - return ( (*theWrappedObject)!= arg__2); -} - -bool PythonQtWrapper_QGLFormat::__eq__(QGLFormat* theWrappedObject, const QGLFormat& arg__2) -{ - return ( (*theWrappedObject)== arg__2); -} - -int PythonQtWrapper_QGLFormat::plane(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->plane()); -} - -QGLFormat::OpenGLContextProfile PythonQtWrapper_QGLFormat::profile(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->profile()); -} - -int PythonQtWrapper_QGLFormat::redBufferSize(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->redBufferSize()); -} - -bool PythonQtWrapper_QGLFormat::rgba(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->rgba()); -} - -bool PythonQtWrapper_QGLFormat::sampleBuffers(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->sampleBuffers()); -} - -int PythonQtWrapper_QGLFormat::samples(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->samples()); -} - -void PythonQtWrapper_QGLFormat::setAccum(QGLFormat* theWrappedObject, bool enable) -{ - ( theWrappedObject->setAccum(enable)); -} - -void PythonQtWrapper_QGLFormat::setAccumBufferSize(QGLFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setAccumBufferSize(size)); -} - -void PythonQtWrapper_QGLFormat::setAlpha(QGLFormat* theWrappedObject, bool enable) -{ - ( theWrappedObject->setAlpha(enable)); -} - -void PythonQtWrapper_QGLFormat::setAlphaBufferSize(QGLFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setAlphaBufferSize(size)); -} - -void PythonQtWrapper_QGLFormat::setBlueBufferSize(QGLFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setBlueBufferSize(size)); -} - -void PythonQtWrapper_QGLFormat::static_QGLFormat_setDefaultFormat(const QGLFormat& f) -{ - (QGLFormat::setDefaultFormat(f)); -} - -void PythonQtWrapper_QGLFormat::static_QGLFormat_setDefaultOverlayFormat(const QGLFormat& f) -{ - (QGLFormat::setDefaultOverlayFormat(f)); -} - -void PythonQtWrapper_QGLFormat::setDepth(QGLFormat* theWrappedObject, bool enable) -{ - ( theWrappedObject->setDepth(enable)); -} - -void PythonQtWrapper_QGLFormat::setDepthBufferSize(QGLFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setDepthBufferSize(size)); -} - -void PythonQtWrapper_QGLFormat::setDirectRendering(QGLFormat* theWrappedObject, bool enable) -{ - ( theWrappedObject->setDirectRendering(enable)); -} - -void PythonQtWrapper_QGLFormat::setDoubleBuffer(QGLFormat* theWrappedObject, bool enable) -{ - ( theWrappedObject->setDoubleBuffer(enable)); -} - -void PythonQtWrapper_QGLFormat::setGreenBufferSize(QGLFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setGreenBufferSize(size)); -} - -void PythonQtWrapper_QGLFormat::setOption(QGLFormat* theWrappedObject, QGL::FormatOptions opt) -{ - ( theWrappedObject->setOption(opt)); -} - -void PythonQtWrapper_QGLFormat::setOverlay(QGLFormat* theWrappedObject, bool enable) -{ - ( theWrappedObject->setOverlay(enable)); -} - -void PythonQtWrapper_QGLFormat::setPlane(QGLFormat* theWrappedObject, int plane) -{ - ( theWrappedObject->setPlane(plane)); -} - -void PythonQtWrapper_QGLFormat::setProfile(QGLFormat* theWrappedObject, QGLFormat::OpenGLContextProfile profile) -{ - ( theWrappedObject->setProfile(profile)); -} - -void PythonQtWrapper_QGLFormat::setRedBufferSize(QGLFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setRedBufferSize(size)); -} - -void PythonQtWrapper_QGLFormat::setRgba(QGLFormat* theWrappedObject, bool enable) -{ - ( theWrappedObject->setRgba(enable)); -} - -void PythonQtWrapper_QGLFormat::setSampleBuffers(QGLFormat* theWrappedObject, bool enable) -{ - ( theWrappedObject->setSampleBuffers(enable)); -} - -void PythonQtWrapper_QGLFormat::setSamples(QGLFormat* theWrappedObject, int numSamples) -{ - ( theWrappedObject->setSamples(numSamples)); -} - -void PythonQtWrapper_QGLFormat::setStencil(QGLFormat* theWrappedObject, bool enable) -{ - ( theWrappedObject->setStencil(enable)); -} - -void PythonQtWrapper_QGLFormat::setStencilBufferSize(QGLFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setStencilBufferSize(size)); -} - -void PythonQtWrapper_QGLFormat::setStereo(QGLFormat* theWrappedObject, bool enable) -{ - ( theWrappedObject->setStereo(enable)); -} - -void PythonQtWrapper_QGLFormat::setSwapInterval(QGLFormat* theWrappedObject, int interval) -{ - ( theWrappedObject->setSwapInterval(interval)); -} - -void PythonQtWrapper_QGLFormat::setVersion(QGLFormat* theWrappedObject, int major, int minor) -{ - ( theWrappedObject->setVersion(major, minor)); -} - -bool PythonQtWrapper_QGLFormat::stencil(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->stencil()); -} - -int PythonQtWrapper_QGLFormat::stencilBufferSize(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->stencilBufferSize()); -} - -bool PythonQtWrapper_QGLFormat::stereo(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->stereo()); -} - -int PythonQtWrapper_QGLFormat::swapInterval(QGLFormat* theWrappedObject) const -{ - return ( theWrappedObject->swapInterval()); -} - -bool PythonQtWrapper_QGLFormat::testOption(QGLFormat* theWrappedObject, QGL::FormatOptions opt) const -{ - return ( theWrappedObject->testOption(opt)); -} - -QSurfaceFormat PythonQtWrapper_QGLFormat::static_QGLFormat_toSurfaceFormat(const QGLFormat& format) -{ - return (QGLFormat::toSurfaceFormat(format)); -} - -QString PythonQtWrapper_QGLFormat::py_toString(QGLFormat* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -PythonQtShell_QGLFramebufferObject::~PythonQtShell_QGLFramebufferObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QGLFramebufferObject::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLFramebufferObject::devType(); -} -void PythonQtShell_QGLFramebufferObject::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLFramebufferObject::initPainter(painter0); -} -int PythonQtShell_QGLFramebufferObject::metric(QPaintDevice::PaintDeviceMetric metric0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLFramebufferObject::metric(metric0); -} -QPaintEngine* PythonQtShell_QGLFramebufferObject::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLFramebufferObject::paintEngine(); -} -QPaintDevice* PythonQtShell_QGLFramebufferObject::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLFramebufferObject::redirected(offset0); -} -QPainter* PythonQtShell_QGLFramebufferObject::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLFramebufferObject::sharedPainter(); -} -QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(const QSize& size, GLenum target) -{ -return new PythonQtShell_QGLFramebufferObject(size, target); } - -QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, GLenum target, GLenum internal_format) -{ -return new PythonQtShell_QGLFramebufferObject(size, attachment, target, internal_format); } - -QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format) -{ -return new PythonQtShell_QGLFramebufferObject(size, format); } - -QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(int width, int height, GLenum target) -{ -return new PythonQtShell_QGLFramebufferObject(width, height, target); } - -QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, GLenum target, GLenum internal_format) -{ -return new PythonQtShell_QGLFramebufferObject(width, height, attachment, target, internal_format); } - -QGLFramebufferObject* PythonQtWrapper_QGLFramebufferObject::new_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format) -{ -return new PythonQtShell_QGLFramebufferObject(width, height, format); } - -QGLFramebufferObject::Attachment PythonQtWrapper_QGLFramebufferObject::attachment(QGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->attachment()); -} - -bool PythonQtWrapper_QGLFramebufferObject::bind(QGLFramebufferObject* theWrappedObject) -{ - return ( theWrappedObject->bind()); -} - -bool PythonQtWrapper_QGLFramebufferObject::static_QGLFramebufferObject_bindDefault() -{ - return (QGLFramebufferObject::bindDefault()); -} - -void PythonQtWrapper_QGLFramebufferObject::static_QGLFramebufferObject_blitFramebuffer(QGLFramebufferObject* target, const QRect& targetRect, QGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter) -{ - (QGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter)); -} - -void PythonQtWrapper_QGLFramebufferObject::drawTexture(QGLFramebufferObject* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget) -{ - ( theWrappedObject->drawTexture(point, textureId, textureTarget)); -} - -void PythonQtWrapper_QGLFramebufferObject::drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) -{ - ( theWrappedObject->drawTexture(target, textureId, textureTarget)); -} - -QGLFramebufferObjectFormat PythonQtWrapper_QGLFramebufferObject::format(QGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -uint PythonQtWrapper_QGLFramebufferObject::handle(QGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->handle()); -} - -bool PythonQtWrapper_QGLFramebufferObject::static_QGLFramebufferObject_hasOpenGLFramebufferBlit() -{ - return (QGLFramebufferObject::hasOpenGLFramebufferBlit()); -} - -bool PythonQtWrapper_QGLFramebufferObject::static_QGLFramebufferObject_hasOpenGLFramebufferObjects() -{ - return (QGLFramebufferObject::hasOpenGLFramebufferObjects()); -} - -bool PythonQtWrapper_QGLFramebufferObject::isBound(QGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->isBound()); -} - -bool PythonQtWrapper_QGLFramebufferObject::isValid(QGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QGLFramebufferObject::release(QGLFramebufferObject* theWrappedObject) -{ - return ( theWrappedObject->release()); -} - -QSize PythonQtWrapper_QGLFramebufferObject::size(QGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -uint PythonQtWrapper_QGLFramebufferObject::texture(QGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->texture()); -} - -QImage PythonQtWrapper_QGLFramebufferObject::toImage(QGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->toImage()); -} - - - -QGLFramebufferObjectFormat* PythonQtWrapper_QGLFramebufferObjectFormat::new_QGLFramebufferObjectFormat() -{ -return new QGLFramebufferObjectFormat(); } - -QGLFramebufferObjectFormat* PythonQtWrapper_QGLFramebufferObjectFormat::new_QGLFramebufferObjectFormat(const QGLFramebufferObjectFormat& other) -{ -return new QGLFramebufferObjectFormat(other); } - -QGLFramebufferObject::Attachment PythonQtWrapper_QGLFramebufferObjectFormat::attachment(QGLFramebufferObjectFormat* theWrappedObject) const -{ - return ( theWrappedObject->attachment()); -} - -GLenum PythonQtWrapper_QGLFramebufferObjectFormat::internalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject) const -{ - return ( theWrappedObject->internalTextureFormat()); -} - -bool PythonQtWrapper_QGLFramebufferObjectFormat::mipmap(QGLFramebufferObjectFormat* theWrappedObject) const -{ - return ( theWrappedObject->mipmap()); -} - -bool PythonQtWrapper_QGLFramebufferObjectFormat::__ne__(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) const -{ - return ( (*theWrappedObject)!= other); -} - -QGLFramebufferObjectFormat* PythonQtWrapper_QGLFramebufferObjectFormat::operator_assign(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QGLFramebufferObjectFormat::__eq__(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) const -{ - return ( (*theWrappedObject)== other); -} - -int PythonQtWrapper_QGLFramebufferObjectFormat::samples(QGLFramebufferObjectFormat* theWrappedObject) const -{ - return ( theWrappedObject->samples()); -} - -void PythonQtWrapper_QGLFramebufferObjectFormat::setAttachment(QGLFramebufferObjectFormat* theWrappedObject, QGLFramebufferObject::Attachment attachment) -{ - ( theWrappedObject->setAttachment(attachment)); -} - -void PythonQtWrapper_QGLFramebufferObjectFormat::setInternalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject, GLenum internalTextureFormat) -{ - ( theWrappedObject->setInternalTextureFormat(internalTextureFormat)); -} - -void PythonQtWrapper_QGLFramebufferObjectFormat::setMipmap(QGLFramebufferObjectFormat* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setMipmap(enabled)); -} - -void PythonQtWrapper_QGLFramebufferObjectFormat::setSamples(QGLFramebufferObjectFormat* theWrappedObject, int samples) -{ - ( theWrappedObject->setSamples(samples)); -} - -void PythonQtWrapper_QGLFramebufferObjectFormat::setTextureTarget(QGLFramebufferObjectFormat* theWrappedObject, GLenum target) -{ - ( theWrappedObject->setTextureTarget(target)); -} - -GLenum PythonQtWrapper_QGLFramebufferObjectFormat::textureTarget(QGLFramebufferObjectFormat* theWrappedObject) const -{ - return ( theWrappedObject->textureTarget()); -} - - - -QGLFunctions* PythonQtWrapper_QGLFunctions::new_QGLFunctions() -{ -return new QGLFunctions(); } - -QGLFunctions* PythonQtWrapper_QGLFunctions::new_QGLFunctions(const QGLContext* context) -{ -return new QGLFunctions(context); } - -void PythonQtWrapper_QGLFunctions::glActiveTexture(QGLFunctions* theWrappedObject, GLenum texture) -{ - ( theWrappedObject->glActiveTexture(texture)); -} - -void PythonQtWrapper_QGLFunctions::glAttachShader(QGLFunctions* theWrappedObject, uint program, uint shader) -{ - ( theWrappedObject->glAttachShader(program, shader)); -} - -void PythonQtWrapper_QGLFunctions::glBindAttribLocation(QGLFunctions* theWrappedObject, uint program, uint index, const char* name) -{ - ( theWrappedObject->glBindAttribLocation(program, index, name)); -} - -void PythonQtWrapper_QGLFunctions::glBindBuffer(QGLFunctions* theWrappedObject, GLenum target, uint buffer) -{ - ( theWrappedObject->glBindBuffer(target, buffer)); -} - -void PythonQtWrapper_QGLFunctions::glBindFramebuffer(QGLFunctions* theWrappedObject, GLenum target, uint framebuffer) -{ - ( theWrappedObject->glBindFramebuffer(target, framebuffer)); -} - -void PythonQtWrapper_QGLFunctions::glBindRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, uint renderbuffer) -{ - ( theWrappedObject->glBindRenderbuffer(target, renderbuffer)); -} - -void PythonQtWrapper_QGLFunctions::glBlendColor(QGLFunctions* theWrappedObject, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) -{ - ( theWrappedObject->glBlendColor(red, green, blue, alpha)); -} - -void PythonQtWrapper_QGLFunctions::glBlendEquation(QGLFunctions* theWrappedObject, GLenum mode) -{ - ( theWrappedObject->glBlendEquation(mode)); -} - -void PythonQtWrapper_QGLFunctions::glBlendEquationSeparate(QGLFunctions* theWrappedObject, GLenum modeRGB, GLenum modeAlpha) -{ - ( theWrappedObject->glBlendEquationSeparate(modeRGB, modeAlpha)); -} - -void PythonQtWrapper_QGLFunctions::glBlendFuncSeparate(QGLFunctions* theWrappedObject, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) -{ - ( theWrappedObject->glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha)); -} - -GLenum PythonQtWrapper_QGLFunctions::glCheckFramebufferStatus(QGLFunctions* theWrappedObject, GLenum target) -{ - return ( theWrappedObject->glCheckFramebufferStatus(target)); -} - -void PythonQtWrapper_QGLFunctions::glClearDepthf(QGLFunctions* theWrappedObject, GLclampf depth) -{ - ( theWrappedObject->glClearDepthf(depth)); -} - -void PythonQtWrapper_QGLFunctions::glCompileShader(QGLFunctions* theWrappedObject, uint shader) -{ - ( theWrappedObject->glCompileShader(shader)); -} - -void PythonQtWrapper_QGLFunctions::glCompressedTexImage2D(QGLFunctions* theWrappedObject, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data) -{ - ( theWrappedObject->glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data)); -} - -void PythonQtWrapper_QGLFunctions::glCompressedTexSubImage2D(QGLFunctions* theWrappedObject, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data) -{ - ( theWrappedObject->glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data)); -} - -uint PythonQtWrapper_QGLFunctions::glCreateProgram(QGLFunctions* theWrappedObject) -{ - return ( theWrappedObject->glCreateProgram()); -} - -uint PythonQtWrapper_QGLFunctions::glCreateShader(QGLFunctions* theWrappedObject, GLenum type) -{ - return ( theWrappedObject->glCreateShader(type)); -} - -void PythonQtWrapper_QGLFunctions::glDeleteBuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* buffers) -{ - ( theWrappedObject->glDeleteBuffers(n, buffers)); -} - -void PythonQtWrapper_QGLFunctions::glDeleteFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* framebuffers) -{ - ( theWrappedObject->glDeleteFramebuffers(n, framebuffers)); -} - -void PythonQtWrapper_QGLFunctions::glDeleteProgram(QGLFunctions* theWrappedObject, uint program) -{ - ( theWrappedObject->glDeleteProgram(program)); -} - -void PythonQtWrapper_QGLFunctions::glDeleteRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* renderbuffers) -{ - ( theWrappedObject->glDeleteRenderbuffers(n, renderbuffers)); -} - -void PythonQtWrapper_QGLFunctions::glDeleteShader(QGLFunctions* theWrappedObject, uint shader) -{ - ( theWrappedObject->glDeleteShader(shader)); -} - -void PythonQtWrapper_QGLFunctions::glDepthRangef(QGLFunctions* theWrappedObject, GLclampf zNear, GLclampf zFar) -{ - ( theWrappedObject->glDepthRangef(zNear, zFar)); -} - -void PythonQtWrapper_QGLFunctions::glDetachShader(QGLFunctions* theWrappedObject, uint program, uint shader) -{ - ( theWrappedObject->glDetachShader(program, shader)); -} - -void PythonQtWrapper_QGLFunctions::glDisableVertexAttribArray(QGLFunctions* theWrappedObject, uint index) -{ - ( theWrappedObject->glDisableVertexAttribArray(index)); -} - -void PythonQtWrapper_QGLFunctions::glEnableVertexAttribArray(QGLFunctions* theWrappedObject, uint index) -{ - ( theWrappedObject->glEnableVertexAttribArray(index)); -} - -void PythonQtWrapper_QGLFunctions::glFramebufferRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum renderbuffertarget, uint renderbuffer) -{ - ( theWrappedObject->glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)); -} - -void PythonQtWrapper_QGLFunctions::glFramebufferTexture2D(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum textarget, uint texture, GLint level) -{ - ( theWrappedObject->glFramebufferTexture2D(target, attachment, textarget, texture, level)); -} - -void PythonQtWrapper_QGLFunctions::glGenBuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* buffers) -{ - ( theWrappedObject->glGenBuffers(n, buffers)); -} - -void PythonQtWrapper_QGLFunctions::glGenFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* framebuffers) -{ - ( theWrappedObject->glGenFramebuffers(n, framebuffers)); -} - -void PythonQtWrapper_QGLFunctions::glGenRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* renderbuffers) -{ - ( theWrappedObject->glGenRenderbuffers(n, renderbuffers)); -} - -void PythonQtWrapper_QGLFunctions::glGenerateMipmap(QGLFunctions* theWrappedObject, GLenum target) -{ - ( theWrappedObject->glGenerateMipmap(target)); -} - -void PythonQtWrapper_QGLFunctions::glGetActiveAttrib(QGLFunctions* theWrappedObject, uint program, uint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) -{ - ( theWrappedObject->glGetActiveAttrib(program, index, bufsize, length, size, type, name)); -} - -void PythonQtWrapper_QGLFunctions::glGetActiveUniform(QGLFunctions* theWrappedObject, uint program, uint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name) -{ - ( theWrappedObject->glGetActiveUniform(program, index, bufsize, length, size, type, name)); -} - -void PythonQtWrapper_QGLFunctions::glGetAttachedShaders(QGLFunctions* theWrappedObject, uint program, GLsizei maxcount, GLsizei* count, uint* shaders) -{ - ( theWrappedObject->glGetAttachedShaders(program, maxcount, count, shaders)); -} - -int PythonQtWrapper_QGLFunctions::glGetAttribLocation(QGLFunctions* theWrappedObject, uint program, const char* name) -{ - return ( theWrappedObject->glGetAttribLocation(program, name)); -} - -void PythonQtWrapper_QGLFunctions::glGetBufferParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum pname, GLint* params) -{ - ( theWrappedObject->glGetBufferParameteriv(target, pname, params)); -} - -void PythonQtWrapper_QGLFunctions::glGetFramebufferAttachmentParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum pname, GLint* params) -{ - ( theWrappedObject->glGetFramebufferAttachmentParameteriv(target, attachment, pname, params)); -} - -void PythonQtWrapper_QGLFunctions::glGetProgramInfoLog(QGLFunctions* theWrappedObject, uint program, GLsizei bufsize, GLsizei* length, char* infolog) -{ - ( theWrappedObject->glGetProgramInfoLog(program, bufsize, length, infolog)); -} - -void PythonQtWrapper_QGLFunctions::glGetProgramiv(QGLFunctions* theWrappedObject, uint program, GLenum pname, GLint* params) -{ - ( theWrappedObject->glGetProgramiv(program, pname, params)); -} - -void PythonQtWrapper_QGLFunctions::glGetRenderbufferParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum pname, GLint* params) -{ - ( theWrappedObject->glGetRenderbufferParameteriv(target, pname, params)); -} - -void PythonQtWrapper_QGLFunctions::glGetShaderInfoLog(QGLFunctions* theWrappedObject, uint shader, GLsizei bufsize, GLsizei* length, char* infolog) -{ - ( theWrappedObject->glGetShaderInfoLog(shader, bufsize, length, infolog)); -} - -void PythonQtWrapper_QGLFunctions::glGetShaderPrecisionFormat(QGLFunctions* theWrappedObject, GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) -{ - ( theWrappedObject->glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision)); -} - -void PythonQtWrapper_QGLFunctions::glGetShaderSource(QGLFunctions* theWrappedObject, uint shader, GLsizei bufsize, GLsizei* length, char* source) -{ - ( theWrappedObject->glGetShaderSource(shader, bufsize, length, source)); -} - -void PythonQtWrapper_QGLFunctions::glGetShaderiv(QGLFunctions* theWrappedObject, uint shader, GLenum pname, GLint* params) -{ - ( theWrappedObject->glGetShaderiv(shader, pname, params)); -} - -int PythonQtWrapper_QGLFunctions::glGetUniformLocation(QGLFunctions* theWrappedObject, uint program, const char* name) -{ - return ( theWrappedObject->glGetUniformLocation(program, name)); -} - -void PythonQtWrapper_QGLFunctions::glGetUniformfv(QGLFunctions* theWrappedObject, uint program, GLint location, GLfloat* params) -{ - ( theWrappedObject->glGetUniformfv(program, location, params)); -} - -void PythonQtWrapper_QGLFunctions::glGetUniformiv(QGLFunctions* theWrappedObject, uint program, GLint location, GLint* params) -{ - ( theWrappedObject->glGetUniformiv(program, location, params)); -} - -void PythonQtWrapper_QGLFunctions::glGetVertexAttribPointerv(QGLFunctions* theWrappedObject, uint index, GLenum pname, void** pointer) -{ - ( theWrappedObject->glGetVertexAttribPointerv(index, pname, pointer)); -} - -void PythonQtWrapper_QGLFunctions::glGetVertexAttribfv(QGLFunctions* theWrappedObject, uint index, GLenum pname, GLfloat* params) -{ - ( theWrappedObject->glGetVertexAttribfv(index, pname, params)); -} - -void PythonQtWrapper_QGLFunctions::glGetVertexAttribiv(QGLFunctions* theWrappedObject, uint index, GLenum pname, GLint* params) -{ - ( theWrappedObject->glGetVertexAttribiv(index, pname, params)); -} - -GLboolean PythonQtWrapper_QGLFunctions::glIsBuffer(QGLFunctions* theWrappedObject, uint buffer) -{ - return ( theWrappedObject->glIsBuffer(buffer)); -} - -GLboolean PythonQtWrapper_QGLFunctions::glIsFramebuffer(QGLFunctions* theWrappedObject, uint framebuffer) -{ - return ( theWrappedObject->glIsFramebuffer(framebuffer)); -} - -GLboolean PythonQtWrapper_QGLFunctions::glIsProgram(QGLFunctions* theWrappedObject, uint program) -{ - return ( theWrappedObject->glIsProgram(program)); -} - -GLboolean PythonQtWrapper_QGLFunctions::glIsRenderbuffer(QGLFunctions* theWrappedObject, uint renderbuffer) -{ - return ( theWrappedObject->glIsRenderbuffer(renderbuffer)); -} - -GLboolean PythonQtWrapper_QGLFunctions::glIsShader(QGLFunctions* theWrappedObject, uint shader) -{ - return ( theWrappedObject->glIsShader(shader)); -} - -void PythonQtWrapper_QGLFunctions::glLinkProgram(QGLFunctions* theWrappedObject, uint program) -{ - ( theWrappedObject->glLinkProgram(program)); -} - -void PythonQtWrapper_QGLFunctions::glReleaseShaderCompiler(QGLFunctions* theWrappedObject) -{ - ( theWrappedObject->glReleaseShaderCompiler()); -} - -void PythonQtWrapper_QGLFunctions::glRenderbufferStorage(QGLFunctions* theWrappedObject, GLenum target, GLenum internalformat, GLsizei width, GLsizei height) -{ - ( theWrappedObject->glRenderbufferStorage(target, internalformat, width, height)); -} - -void PythonQtWrapper_QGLFunctions::glSampleCoverage(QGLFunctions* theWrappedObject, GLclampf value, GLboolean invert) -{ - ( theWrappedObject->glSampleCoverage(value, invert)); -} - -void PythonQtWrapper_QGLFunctions::glShaderBinary(QGLFunctions* theWrappedObject, GLint n, const uint* shaders, GLenum binaryformat, const void* binary, GLint length) -{ - ( theWrappedObject->glShaderBinary(n, shaders, binaryformat, binary, length)); -} - -void PythonQtWrapper_QGLFunctions::glShaderSource(QGLFunctions* theWrappedObject, uint shader, GLsizei count, const char** string, const GLint* length) -{ - ( theWrappedObject->glShaderSource(shader, count, string, length)); -} - -void PythonQtWrapper_QGLFunctions::glStencilFuncSeparate(QGLFunctions* theWrappedObject, GLenum face, GLenum func, GLint ref, uint mask) -{ - ( theWrappedObject->glStencilFuncSeparate(face, func, ref, mask)); -} - -void PythonQtWrapper_QGLFunctions::glStencilMaskSeparate(QGLFunctions* theWrappedObject, GLenum face, uint mask) -{ - ( theWrappedObject->glStencilMaskSeparate(face, mask)); -} - -void PythonQtWrapper_QGLFunctions::glStencilOpSeparate(QGLFunctions* theWrappedObject, GLenum face, GLenum fail, GLenum zfail, GLenum zpass) -{ - ( theWrappedObject->glStencilOpSeparate(face, fail, zfail, zpass)); -} - -void PythonQtWrapper_QGLFunctions::glUniform1f(QGLFunctions* theWrappedObject, GLint location, GLfloat x) -{ - ( theWrappedObject->glUniform1f(location, x)); -} - -void PythonQtWrapper_QGLFunctions::glUniform1fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v) -{ - ( theWrappedObject->glUniform1fv(location, count, v)); -} - -void PythonQtWrapper_QGLFunctions::glUniform1i(QGLFunctions* theWrappedObject, GLint location, GLint x) -{ - ( theWrappedObject->glUniform1i(location, x)); -} - -void PythonQtWrapper_QGLFunctions::glUniform1iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v) -{ - ( theWrappedObject->glUniform1iv(location, count, v)); -} - -void PythonQtWrapper_QGLFunctions::glUniform2f(QGLFunctions* theWrappedObject, GLint location, GLfloat x, GLfloat y) -{ - ( theWrappedObject->glUniform2f(location, x, y)); -} - -void PythonQtWrapper_QGLFunctions::glUniform2fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v) -{ - ( theWrappedObject->glUniform2fv(location, count, v)); -} - -void PythonQtWrapper_QGLFunctions::glUniform2i(QGLFunctions* theWrappedObject, GLint location, GLint x, GLint y) -{ - ( theWrappedObject->glUniform2i(location, x, y)); -} - -void PythonQtWrapper_QGLFunctions::glUniform2iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v) -{ - ( theWrappedObject->glUniform2iv(location, count, v)); -} - -void PythonQtWrapper_QGLFunctions::glUniform3f(QGLFunctions* theWrappedObject, GLint location, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->glUniform3f(location, x, y, z)); -} - -void PythonQtWrapper_QGLFunctions::glUniform3fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v) -{ - ( theWrappedObject->glUniform3fv(location, count, v)); -} - -void PythonQtWrapper_QGLFunctions::glUniform3i(QGLFunctions* theWrappedObject, GLint location, GLint x, GLint y, GLint z) -{ - ( theWrappedObject->glUniform3i(location, x, y, z)); -} - -void PythonQtWrapper_QGLFunctions::glUniform3iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v) -{ - ( theWrappedObject->glUniform3iv(location, count, v)); -} - -void PythonQtWrapper_QGLFunctions::glUniform4f(QGLFunctions* theWrappedObject, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -{ - ( theWrappedObject->glUniform4f(location, x, y, z, w)); -} - -void PythonQtWrapper_QGLFunctions::glUniform4fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v) -{ - ( theWrappedObject->glUniform4fv(location, count, v)); -} - -void PythonQtWrapper_QGLFunctions::glUniform4i(QGLFunctions* theWrappedObject, GLint location, GLint x, GLint y, GLint z, GLint w) -{ - ( theWrappedObject->glUniform4i(location, x, y, z, w)); -} - -void PythonQtWrapper_QGLFunctions::glUniform4iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v) -{ - ( theWrappedObject->glUniform4iv(location, count, v)); -} - -void PythonQtWrapper_QGLFunctions::glUniformMatrix2fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) -{ - ( theWrappedObject->glUniformMatrix2fv(location, count, transpose, value)); -} - -void PythonQtWrapper_QGLFunctions::glUniformMatrix3fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) -{ - ( theWrappedObject->glUniformMatrix3fv(location, count, transpose, value)); -} - -void PythonQtWrapper_QGLFunctions::glUniformMatrix4fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) -{ - ( theWrappedObject->glUniformMatrix4fv(location, count, transpose, value)); -} - -void PythonQtWrapper_QGLFunctions::glUseProgram(QGLFunctions* theWrappedObject, uint program) -{ - ( theWrappedObject->glUseProgram(program)); -} - -void PythonQtWrapper_QGLFunctions::glValidateProgram(QGLFunctions* theWrappedObject, uint program) -{ - ( theWrappedObject->glValidateProgram(program)); -} - -void PythonQtWrapper_QGLFunctions::glVertexAttrib1f(QGLFunctions* theWrappedObject, uint indx, GLfloat x) -{ - ( theWrappedObject->glVertexAttrib1f(indx, x)); -} - -void PythonQtWrapper_QGLFunctions::glVertexAttrib1fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) -{ - ( theWrappedObject->glVertexAttrib1fv(indx, values)); -} - -void PythonQtWrapper_QGLFunctions::glVertexAttrib2f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y) -{ - ( theWrappedObject->glVertexAttrib2f(indx, x, y)); -} - -void PythonQtWrapper_QGLFunctions::glVertexAttrib2fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) -{ - ( theWrappedObject->glVertexAttrib2fv(indx, values)); -} - -void PythonQtWrapper_QGLFunctions::glVertexAttrib3f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->glVertexAttrib3f(indx, x, y, z)); -} - -void PythonQtWrapper_QGLFunctions::glVertexAttrib3fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) -{ - ( theWrappedObject->glVertexAttrib3fv(indx, values)); -} - -void PythonQtWrapper_QGLFunctions::glVertexAttrib4f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -{ - ( theWrappedObject->glVertexAttrib4f(indx, x, y, z, w)); -} - -void PythonQtWrapper_QGLFunctions::glVertexAttrib4fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values) -{ - ( theWrappedObject->glVertexAttrib4fv(indx, values)); -} - -void PythonQtWrapper_QGLFunctions::glVertexAttribPointer(QGLFunctions* theWrappedObject, uint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr) -{ - ( theWrappedObject->glVertexAttribPointer(indx, size, type, normalized, stride, ptr)); -} - -bool PythonQtWrapper_QGLFunctions::hasOpenGLFeature(QGLFunctions* theWrappedObject, QGLFunctions::OpenGLFeature feature) const -{ - return ( theWrappedObject->hasOpenGLFeature(feature)); -} - -void PythonQtWrapper_QGLFunctions::initializeGLFunctions(QGLFunctions* theWrappedObject, const QGLContext* context) -{ - ( theWrappedObject->initializeGLFunctions(context)); -} - -QGLFunctions::OpenGLFeatures PythonQtWrapper_QGLFunctions::openGLFeatures(QGLFunctions* theWrappedObject) const -{ - return ( theWrappedObject->openGLFeatures()); -} - - - -PythonQtShell_QGLPixelBuffer::~PythonQtShell_QGLPixelBuffer() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QGLPixelBuffer::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLPixelBuffer::devType(); -} -void PythonQtShell_QGLPixelBuffer::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLPixelBuffer::initPainter(painter0); -} -int PythonQtShell_QGLPixelBuffer::metric(QPaintDevice::PaintDeviceMetric metric0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLPixelBuffer::metric(metric0); -} -QPaintEngine* PythonQtShell_QGLPixelBuffer::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLPixelBuffer::paintEngine(); -} -QPaintDevice* PythonQtShell_QGLPixelBuffer::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLPixelBuffer::redirected(offset0); -} -QPainter* PythonQtShell_QGLPixelBuffer::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLPixelBuffer::sharedPainter(); -} -QGLPixelBuffer* PythonQtWrapper_QGLPixelBuffer::new_QGLPixelBuffer(const QSize& size, const QGLFormat& format, QGLWidget* shareWidget) -{ -return new PythonQtShell_QGLPixelBuffer(size, format, shareWidget); } - -QGLPixelBuffer* PythonQtWrapper_QGLPixelBuffer::new_QGLPixelBuffer(int width, int height, const QGLFormat& format, QGLWidget* shareWidget) -{ -return new PythonQtShell_QGLPixelBuffer(width, height, format, shareWidget); } - -uint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, GLenum target) -{ - return ( theWrappedObject->bindTexture(image, target)); -} - -uint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, GLenum target) -{ - return ( theWrappedObject->bindTexture(pixmap, target)); -} - -uint PythonQtWrapper_QGLPixelBuffer::bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName) -{ - return ( theWrappedObject->bindTexture(fileName)); -} - -bool PythonQtWrapper_QGLPixelBuffer::bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture) -{ - return ( theWrappedObject->bindToDynamicTexture(texture)); -} - -QGLContext* PythonQtWrapper_QGLPixelBuffer::context(QGLPixelBuffer* theWrappedObject) const -{ - return ( theWrappedObject->context()); -} - -void PythonQtWrapper_QGLPixelBuffer::deleteTexture(QGLPixelBuffer* theWrappedObject, uint texture_id) -{ - ( theWrappedObject->deleteTexture(texture_id)); -} - -bool PythonQtWrapper_QGLPixelBuffer::doneCurrent(QGLPixelBuffer* theWrappedObject) -{ - return ( theWrappedObject->doneCurrent()); -} - -void PythonQtWrapper_QGLPixelBuffer::drawTexture(QGLPixelBuffer* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget) -{ - ( theWrappedObject->drawTexture(point, textureId, textureTarget)); -} - -void PythonQtWrapper_QGLPixelBuffer::drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) -{ - ( theWrappedObject->drawTexture(target, textureId, textureTarget)); -} - -QGLFormat PythonQtWrapper_QGLPixelBuffer::format(QGLPixelBuffer* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -uint PythonQtWrapper_QGLPixelBuffer::generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const -{ - return ( theWrappedObject->generateDynamicTexture()); -} - -Qt::HANDLE PythonQtWrapper_QGLPixelBuffer::handle(QGLPixelBuffer* theWrappedObject) const -{ - return ( theWrappedObject->handle()); -} - -bool PythonQtWrapper_QGLPixelBuffer::static_QGLPixelBuffer_hasOpenGLPbuffers() -{ - return (QGLPixelBuffer::hasOpenGLPbuffers()); -} - -bool PythonQtWrapper_QGLPixelBuffer::isValid(QGLPixelBuffer* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QGLPixelBuffer::makeCurrent(QGLPixelBuffer* theWrappedObject) -{ - return ( theWrappedObject->makeCurrent()); -} - -void PythonQtWrapper_QGLPixelBuffer::releaseFromDynamicTexture(QGLPixelBuffer* theWrappedObject) -{ - ( theWrappedObject->releaseFromDynamicTexture()); -} - -QSize PythonQtWrapper_QGLPixelBuffer::size(QGLPixelBuffer* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -QImage PythonQtWrapper_QGLPixelBuffer::toImage(QGLPixelBuffer* theWrappedObject) const -{ - return ( theWrappedObject->toImage()); -} - -void PythonQtWrapper_QGLPixelBuffer::updateDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture_id) const -{ - ( theWrappedObject->updateDynamicTexture(texture_id)); -} - - - -PythonQtShell_QGLShader::~PythonQtShell_QGLShader() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGLShader::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLShader::childEvent(event0); -} -void PythonQtShell_QGLShader::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLShader::customEvent(event0); -} -bool PythonQtShell_QGLShader::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLShader::event(event0); -} -bool PythonQtShell_QGLShader::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLShader::eventFilter(watched0, event1); -} -void PythonQtShell_QGLShader::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLShader::timerEvent(event0); -} -QGLShader* PythonQtWrapper_QGLShader::new_QGLShader(QGLShader::ShaderType type, QObject* parent) -{ -return new PythonQtShell_QGLShader(type, parent); } - -QGLShader* PythonQtWrapper_QGLShader::new_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent) -{ -return new PythonQtShell_QGLShader(type, context, parent); } - -const QMetaObject* PythonQtShell_QGLShader::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGLShader::staticMetaObject); - } else { - return &QGLShader::staticMetaObject; - } -} -int PythonQtShell_QGLShader::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGLShader::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QGLShader::compileSourceCode(QGLShader* theWrappedObject, const QByteArray& source) -{ - return ( theWrappedObject->compileSourceCode(source)); -} - -bool PythonQtWrapper_QGLShader::compileSourceCode(QGLShader* theWrappedObject, const QString& source) -{ - return ( theWrappedObject->compileSourceCode(source)); -} - -bool PythonQtWrapper_QGLShader::compileSourceCode(QGLShader* theWrappedObject, const char* source) -{ - return ( theWrappedObject->compileSourceCode(source)); -} - -bool PythonQtWrapper_QGLShader::compileSourceFile(QGLShader* theWrappedObject, const QString& fileName) -{ - return ( theWrappedObject->compileSourceFile(fileName)); -} - -bool PythonQtWrapper_QGLShader::static_QGLShader_hasOpenGLShaders(QGLShader::ShaderType type, const QGLContext* context) -{ - return (QGLShader::hasOpenGLShaders(type, context)); -} - -bool PythonQtWrapper_QGLShader::isCompiled(QGLShader* theWrappedObject) const -{ - return ( theWrappedObject->isCompiled()); -} - -QString PythonQtWrapper_QGLShader::log(QGLShader* theWrappedObject) const -{ - return ( theWrappedObject->log()); -} - -uint PythonQtWrapper_QGLShader::shaderId(QGLShader* theWrappedObject) const -{ - return ( theWrappedObject->shaderId()); -} - -QGLShader::ShaderType PythonQtWrapper_QGLShader::shaderType(QGLShader* theWrappedObject) const -{ - return ( theWrappedObject->shaderType()); -} - -QByteArray PythonQtWrapper_QGLShader::sourceCode(QGLShader* theWrappedObject) const -{ - return ( theWrappedObject->sourceCode()); -} - - - -PythonQtShell_QGLShaderProgram::~PythonQtShell_QGLShaderProgram() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGLShaderProgram::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLShaderProgram::childEvent(event0); -} -void PythonQtShell_QGLShaderProgram::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLShaderProgram::customEvent(event0); -} -bool PythonQtShell_QGLShaderProgram::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLShaderProgram::event(event0); -} -bool PythonQtShell_QGLShaderProgram::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLShaderProgram::eventFilter(watched0, event1); -} -bool PythonQtShell_QGLShaderProgram::link() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("link"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("link", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLShaderProgram::link(); -} -void PythonQtShell_QGLShaderProgram::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLShaderProgram::timerEvent(event0); -} -QGLShaderProgram* PythonQtWrapper_QGLShaderProgram::new_QGLShaderProgram(QObject* parent) -{ -return new PythonQtShell_QGLShaderProgram(parent); } - -QGLShaderProgram* PythonQtWrapper_QGLShaderProgram::new_QGLShaderProgram(const QGLContext* context, QObject* parent) -{ -return new PythonQtShell_QGLShaderProgram(context, parent); } - -const QMetaObject* PythonQtShell_QGLShaderProgram::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGLShaderProgram::staticMetaObject); - } else { - return &QGLShaderProgram::staticMetaObject; - } -} -int PythonQtShell_QGLShaderProgram::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGLShaderProgram::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QGLShaderProgram::addShader(QGLShaderProgram* theWrappedObject, QGLShader* shader) -{ - return ( theWrappedObject->addShader(shader)); -} - -bool PythonQtWrapper_QGLShaderProgram::addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QByteArray& source) -{ - return ( theWrappedObject->addShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QGLShaderProgram::addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QString& source) -{ - return ( theWrappedObject->addShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QGLShaderProgram::addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const char* source) -{ - return ( theWrappedObject->addShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QGLShaderProgram::addShaderFromSourceFile(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QString& fileName) -{ - return ( theWrappedObject->addShaderFromSourceFile(type, fileName)); -} - -int PythonQtWrapper_QGLShaderProgram::attributeLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name) const -{ - return ( theWrappedObject->attributeLocation(name)); -} - -int PythonQtWrapper_QGLShaderProgram::attributeLocation(QGLShaderProgram* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->attributeLocation(name)); -} - -int PythonQtWrapper_QGLShaderProgram::attributeLocation(QGLShaderProgram* theWrappedObject, const char* name) const -{ - return ( theWrappedObject->attributeLocation(name)); -} - -bool PythonQtWrapper_QGLShaderProgram::bind(QGLShaderProgram* theWrappedObject) -{ - return ( theWrappedObject->bind()); -} - -void PythonQtWrapper_QGLShaderProgram::bindAttributeLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name, int location) -{ - ( theWrappedObject->bindAttributeLocation(name, location)); -} - -void PythonQtWrapper_QGLShaderProgram::bindAttributeLocation(QGLShaderProgram* theWrappedObject, const QString& name, int location) -{ - ( theWrappedObject->bindAttributeLocation(name, location)); -} - -void PythonQtWrapper_QGLShaderProgram::bindAttributeLocation(QGLShaderProgram* theWrappedObject, const char* name, int location) -{ - ( theWrappedObject->bindAttributeLocation(name, location)); -} - -void PythonQtWrapper_QGLShaderProgram::disableAttributeArray(QGLShaderProgram* theWrappedObject, const char* name) -{ - ( theWrappedObject->disableAttributeArray(name)); -} - -void PythonQtWrapper_QGLShaderProgram::disableAttributeArray(QGLShaderProgram* theWrappedObject, int location) -{ - ( theWrappedObject->disableAttributeArray(location)); -} - -void PythonQtWrapper_QGLShaderProgram::enableAttributeArray(QGLShaderProgram* theWrappedObject, const char* name) -{ - ( theWrappedObject->enableAttributeArray(name)); -} - -void PythonQtWrapper_QGLShaderProgram::enableAttributeArray(QGLShaderProgram* theWrappedObject, int location) -{ - ( theWrappedObject->enableAttributeArray(location)); -} - -GLenum PythonQtWrapper_QGLShaderProgram::geometryInputType(QGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->geometryInputType()); -} - -GLenum PythonQtWrapper_QGLShaderProgram::geometryOutputType(QGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->geometryOutputType()); -} - -int PythonQtWrapper_QGLShaderProgram::geometryOutputVertexCount(QGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->geometryOutputVertexCount()); -} - -bool PythonQtWrapper_QGLShaderProgram::static_QGLShaderProgram_hasOpenGLShaderPrograms(const QGLContext* context) -{ - return (QGLShaderProgram::hasOpenGLShaderPrograms(context)); -} - -bool PythonQtWrapper_QGLShaderProgram::isLinked(QGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->isLinked()); -} - -bool PythonQtWrapper_QGLShaderProgram::link(QGLShaderProgram* theWrappedObject) -{ - return ( theWrappedObject->link()); -} - -QString PythonQtWrapper_QGLShaderProgram::log(QGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->log()); -} - -int PythonQtWrapper_QGLShaderProgram::maxGeometryOutputVertices(QGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->maxGeometryOutputVertices()); -} - -uint PythonQtWrapper_QGLShaderProgram::programId(QGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->programId()); -} - -void PythonQtWrapper_QGLShaderProgram::release(QGLShaderProgram* theWrappedObject) -{ - ( theWrappedObject->release()); -} - -void PythonQtWrapper_QGLShaderProgram::removeAllShaders(QGLShaderProgram* theWrappedObject) -{ - ( theWrappedObject->removeAllShaders()); -} - -void PythonQtWrapper_QGLShaderProgram::removeShader(QGLShaderProgram* theWrappedObject, QGLShader* shader) -{ - ( theWrappedObject->removeShader(shader)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, GLenum type, const void* values, int tupleSize, int stride) -{ - ( theWrappedObject->setAttributeArray(name, type, values, tupleSize, stride)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int tupleSize, int stride) -{ - ( theWrappedObject->setAttributeArray(name, values, tupleSize, stride)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeArray_QVector2D(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(name, values, stride)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeArray_QVector3D(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(name, values, stride)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeArray_QVector4D(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(name, values, stride)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, int location, GLenum type, const void* values, int tupleSize, int stride) -{ - ( theWrappedObject->setAttributeArray(location, type, values, tupleSize, stride)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int tupleSize, int stride) -{ - ( theWrappedObject->setAttributeArray(location, values, tupleSize, stride)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeArray_QVector2D(QGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(location, values, stride)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeArray_QVector3D(QGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(location, values, stride)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeArray_QVector4D(QGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(location, values, stride)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeBuffer(QGLShaderProgram* theWrappedObject, const char* name, GLenum type, int offset, int tupleSize, int stride) -{ - ( theWrappedObject->setAttributeBuffer(name, type, offset, tupleSize, stride)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeBuffer(QGLShaderProgram* theWrappedObject, int location, GLenum type, int offset, int tupleSize, int stride) -{ - ( theWrappedObject->setAttributeBuffer(location, type, offset, tupleSize, stride)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat value) -{ - ( theWrappedObject->setAttributeValue(name, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) -{ - ( theWrappedObject->setAttributeValue(name, x, y)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->setAttributeValue(name, x, y, z)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -{ - ( theWrappedObject->setAttributeValue(name, x, y, z, w)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int columns, int rows) -{ - ( theWrappedObject->setAttributeValue(name, values, columns, rows)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QColor& value) -{ - ( theWrappedObject->setAttributeValue(name, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) -{ - ( theWrappedObject->setAttributeValue(name, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) -{ - ( theWrappedObject->setAttributeValue(name, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) -{ - ( theWrappedObject->setAttributeValue(name, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat value) -{ - ( theWrappedObject->setAttributeValue(location, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) -{ - ( theWrappedObject->setAttributeValue(location, x, y)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->setAttributeValue(location, x, y, z)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -{ - ( theWrappedObject->setAttributeValue(location, x, y, z, w)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int columns, int rows) -{ - ( theWrappedObject->setAttributeValue(location, values, columns, rows)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QColor& value) -{ - ( theWrappedObject->setAttributeValue(location, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector2D& value) -{ - ( theWrappedObject->setAttributeValue(location, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector3D& value) -{ - ( theWrappedObject->setAttributeValue(location, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector4D& value) -{ - ( theWrappedObject->setAttributeValue(location, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setGeometryInputType(QGLShaderProgram* theWrappedObject, GLenum inputType) -{ - ( theWrappedObject->setGeometryInputType(inputType)); -} - -void PythonQtWrapper_QGLShaderProgram::setGeometryOutputType(QGLShaderProgram* theWrappedObject, GLenum outputType) -{ - ( theWrappedObject->setGeometryOutputType(outputType)); -} - -void PythonQtWrapper_QGLShaderProgram::setGeometryOutputVertexCount(QGLShaderProgram* theWrappedObject, int count) -{ - ( theWrappedObject->setGeometryOutputVertexCount(count)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) -{ - ( theWrappedObject->setUniformValue(name, x, y)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->setUniformValue(name, x, y, z)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -{ - ( theWrappedObject->setUniformValue(name, x, y, z, w)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLint value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QColor& color) -{ - ( theWrappedObject->setUniformValue(name, color)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QPoint& point) -{ - ( theWrappedObject->setUniformValue(name, point)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QPointF& point) -{ - ( theWrappedObject->setUniformValue(name, point)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QSize& size) -{ - ( theWrappedObject->setUniformValue(name, size)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size) -{ - ( theWrappedObject->setUniformValue(name, size)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QTransform& value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, uint value) -{ - ( theWrappedObject->setUniformValue(name, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) -{ - ( theWrappedObject->setUniformValue(location, x, y)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->setUniformValue(location, x, y, z)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -{ - ( theWrappedObject->setUniformValue(location, x, y, z, w)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLint value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QColor& color) -{ - ( theWrappedObject->setUniformValue(location, color)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QPoint& point) -{ - ( theWrappedObject->setUniformValue(location, point)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QPointF& point) -{ - ( theWrappedObject->setUniformValue(location, point)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QSize& size) -{ - ( theWrappedObject->setUniformValue(location, size)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QSizeF& size) -{ - ( theWrappedObject->setUniformValue(location, size)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QTransform& value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector2D& value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector3D& value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector4D& value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValue(QGLShaderProgram* theWrappedObject, int location, uint value) -{ - ( theWrappedObject->setUniformValue(location, value)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize) -{ - ( theWrappedObject->setUniformValueArray(name, values, count, tupleSize)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray_int(QGLShaderProgram* theWrappedObject, const char* name, const GLint* values, int count) -{ - ( theWrappedObject->setUniformValueArray(name, values, count)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count) -{ - ( theWrappedObject->setUniformValueArray(name, values, count)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray_QVector2D(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count) -{ - ( theWrappedObject->setUniformValueArray(name, values, count)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray_QVector3D(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count) -{ - ( theWrappedObject->setUniformValueArray(name, values, count)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray_QVector4D(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int count) -{ - ( theWrappedObject->setUniformValueArray(name, values, count)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const uint* values, int count) -{ - ( theWrappedObject->setUniformValueArray(name, values, count)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize) -{ - ( theWrappedObject->setUniformValueArray(location, values, count, tupleSize)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray_int(QGLShaderProgram* theWrappedObject, int location, const GLint* values, int count) -{ - ( theWrappedObject->setUniformValueArray(location, values, count)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count) -{ - ( theWrappedObject->setUniformValueArray(location, values, count)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray_QVector2D(QGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count) -{ - ( theWrappedObject->setUniformValueArray(location, values, count)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray_QVector3D(QGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count) -{ - ( theWrappedObject->setUniformValueArray(location, values, count)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray_QVector4D(QGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count) -{ - ( theWrappedObject->setUniformValueArray(location, values, count)); -} - -void PythonQtWrapper_QGLShaderProgram::setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const uint* values, int count) -{ - ( theWrappedObject->setUniformValueArray(location, values, count)); -} - -QList PythonQtWrapper_QGLShaderProgram::shaders(QGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->shaders()); -} - -int PythonQtWrapper_QGLShaderProgram::uniformLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name) const -{ - return ( theWrappedObject->uniformLocation(name)); -} - -int PythonQtWrapper_QGLShaderProgram::uniformLocation(QGLShaderProgram* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->uniformLocation(name)); -} - -int PythonQtWrapper_QGLShaderProgram::uniformLocation(QGLShaderProgram* theWrappedObject, const char* name) const -{ - return ( theWrappedObject->uniformLocation(name)); -} - - - -PythonQtShell_QGLWidget::~PythonQtShell_QGLWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGLWidget::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::actionEvent(event0); -} -void PythonQtShell_QGLWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::changeEvent(arg__1); -} -void PythonQtShell_QGLWidget::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::childEvent(event0); -} -void PythonQtShell_QGLWidget::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::closeEvent(event0); -} -void PythonQtShell_QGLWidget::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::contextMenuEvent(event0); -} -void PythonQtShell_QGLWidget::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::customEvent(event0); -} -int PythonQtShell_QGLWidget::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLWidget::devType(); -} -void PythonQtShell_QGLWidget::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::dragEnterEvent(event0); -} -void PythonQtShell_QGLWidget::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::dragLeaveEvent(event0); -} -void PythonQtShell_QGLWidget::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::dragMoveEvent(event0); -} -void PythonQtShell_QGLWidget::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::dropEvent(event0); -} -void PythonQtShell_QGLWidget::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::enterEvent(event0); -} -bool PythonQtShell_QGLWidget::event(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLWidget::event(arg__1); -} -bool PythonQtShell_QGLWidget::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLWidget::eventFilter(watched0, event1); -} -void PythonQtShell_QGLWidget::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::focusInEvent(event0); -} -bool PythonQtShell_QGLWidget::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLWidget::focusNextPrevChild(next0); -} -void PythonQtShell_QGLWidget::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::focusOutEvent(event0); -} -void PythonQtShell_QGLWidget::glDraw() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("glDraw"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::glDraw(); -} -void PythonQtShell_QGLWidget::glInit() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("glInit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::glInit(); -} -bool PythonQtShell_QGLWidget::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLWidget::hasHeightForWidth(); -} -int PythonQtShell_QGLWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLWidget::heightForWidth(arg__1); -} -void PythonQtShell_QGLWidget::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::hideEvent(event0); -} -void PythonQtShell_QGLWidget::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::initPainter(painter0); -} -void PythonQtShell_QGLWidget::initializeGL() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initializeGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::initializeGL(); -} -void PythonQtShell_QGLWidget::initializeOverlayGL() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initializeOverlayGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::initializeOverlayGL(); -} -void PythonQtShell_QGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QGLWidget::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::keyPressEvent(event0); -} -void PythonQtShell_QGLWidget::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::keyReleaseEvent(event0); -} -void PythonQtShell_QGLWidget::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::leaveEvent(event0); -} -int PythonQtShell_QGLWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLWidget::metric(arg__1); -} -QSize PythonQtShell_QGLWidget::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLWidget::minimumSizeHint(); -} -void PythonQtShell_QGLWidget::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QGLWidget::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::mouseMoveEvent(event0); -} -void PythonQtShell_QGLWidget::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::mousePressEvent(event0); -} -void PythonQtShell_QGLWidget::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::mouseReleaseEvent(event0); -} -void PythonQtShell_QGLWidget::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::moveEvent(event0); -} -bool PythonQtShell_QGLWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLWidget::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QGLWidget::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLWidget::paintEngine(); -} -void PythonQtShell_QGLWidget::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::paintEvent(arg__1); -} -void PythonQtShell_QGLWidget::paintGL() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::paintGL(); -} -void PythonQtShell_QGLWidget::paintOverlayGL() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintOverlayGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::paintOverlayGL(); -} -QPaintDevice* PythonQtShell_QGLWidget::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLWidget::redirected(offset0); -} -void PythonQtShell_QGLWidget::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::resizeEvent(arg__1); -} -void PythonQtShell_QGLWidget::resizeGL(int w0, int h1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::resizeGL(w0, h1); -} -void PythonQtShell_QGLWidget::resizeOverlayGL(int w0, int h1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeOverlayGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::resizeOverlayGL(w0, h1); -} -void PythonQtShell_QGLWidget::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::setVisible(visible0); -} -QPainter* PythonQtShell_QGLWidget::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLWidget::sharedPainter(); -} -void PythonQtShell_QGLWidget::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::showEvent(event0); -} -QSize PythonQtShell_QGLWidget::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGLWidget::sizeHint(); -} -void PythonQtShell_QGLWidget::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::tabletEvent(event0); -} -void PythonQtShell_QGLWidget::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::timerEvent(event0); -} -void PythonQtShell_QGLWidget::updateGL() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::updateGL(); -} -void PythonQtShell_QGLWidget::updateOverlayGL() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateOverlayGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::updateOverlayGL(); -} -void PythonQtShell_QGLWidget::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGLWidget::wheelEvent(event0); -} -QGLWidget* PythonQtWrapper_QGLWidget::new_QGLWidget(QGLContext* context, QWidget* parent, const QGLWidget* shareWidget, Qt::WindowFlags f) -{ -return new PythonQtShell_QGLWidget(context, parent, shareWidget, f); } - -QGLWidget* PythonQtWrapper_QGLWidget::new_QGLWidget(QWidget* parent, const QGLWidget* shareWidget, Qt::WindowFlags f) -{ -return new PythonQtShell_QGLWidget(parent, shareWidget, f); } - -QGLWidget* PythonQtWrapper_QGLWidget::new_QGLWidget(const QGLFormat& format, QWidget* parent, const QGLWidget* shareWidget, Qt::WindowFlags f) -{ -return new PythonQtShell_QGLWidget(format, parent, shareWidget, f); } - -const QMetaObject* PythonQtShell_QGLWidget::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGLWidget::staticMetaObject); - } else { - return &QGLWidget::staticMetaObject; - } -} -int PythonQtShell_QGLWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QGLWidget::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QGLWidget::autoBufferSwap(QGLWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_autoBufferSwap()); -} - -uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QImage& image, GLenum target, GLint format) -{ - return ( theWrappedObject->bindTexture(image, target, format)); -} - -uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options) -{ - return ( theWrappedObject->bindTexture(image, target, format, options)); -} - -uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format) -{ - return ( theWrappedObject->bindTexture(pixmap, target, format)); -} - -uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options) -{ - return ( theWrappedObject->bindTexture(pixmap, target, format, options)); -} - -uint PythonQtWrapper_QGLWidget::bindTexture(QGLWidget* theWrappedObject, const QString& fileName) -{ - return ( theWrappedObject->bindTexture(fileName)); -} - -const QGLColormap* PythonQtWrapper_QGLWidget::colormap(QGLWidget* theWrappedObject) const -{ - return &( theWrappedObject->colormap()); -} - -QGLContext* PythonQtWrapper_QGLWidget::context(QGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->context()); -} - -QImage PythonQtWrapper_QGLWidget::static_QGLWidget_convertToGLFormat(const QImage& img) -{ - return (QGLWidget::convertToGLFormat(img)); -} - -void PythonQtWrapper_QGLWidget::deleteTexture(QGLWidget* theWrappedObject, uint tx_id) -{ - ( theWrappedObject->deleteTexture(tx_id)); -} - -void PythonQtWrapper_QGLWidget::doneCurrent(QGLWidget* theWrappedObject) -{ - ( theWrappedObject->doneCurrent()); -} - -bool PythonQtWrapper_QGLWidget::doubleBuffer(QGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->doubleBuffer()); -} - -void PythonQtWrapper_QGLWidget::drawTexture(QGLWidget* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget) -{ - ( theWrappedObject->drawTexture(point, textureId, textureTarget)); -} - -void PythonQtWrapper_QGLWidget::drawTexture(QGLWidget* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget) -{ - ( theWrappedObject->drawTexture(target, textureId, textureTarget)); -} - -QGLFormat PythonQtWrapper_QGLWidget::format(QGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -void PythonQtWrapper_QGLWidget::glDraw(QGLWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_glDraw()); -} - -void PythonQtWrapper_QGLWidget::glInit(QGLWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_glInit()); -} - -QImage PythonQtWrapper_QGLWidget::grabFrameBuffer(QGLWidget* theWrappedObject, bool withAlpha) -{ - return ( theWrappedObject->grabFrameBuffer(withAlpha)); -} - -void PythonQtWrapper_QGLWidget::initializeGL(QGLWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_initializeGL()); -} - -void PythonQtWrapper_QGLWidget::initializeOverlayGL(QGLWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_initializeOverlayGL()); -} - -bool PythonQtWrapper_QGLWidget::isSharing(QGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->isSharing()); -} - -bool PythonQtWrapper_QGLWidget::isValid(QGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QGLWidget::makeCurrent(QGLWidget* theWrappedObject) -{ - ( theWrappedObject->makeCurrent()); -} - -void PythonQtWrapper_QGLWidget::makeOverlayCurrent(QGLWidget* theWrappedObject) -{ - ( theWrappedObject->makeOverlayCurrent()); -} - -const QGLContext* PythonQtWrapper_QGLWidget::overlayContext(QGLWidget* theWrappedObject) const -{ - return ( theWrappedObject->overlayContext()); -} - -void PythonQtWrapper_QGLWidget::paintGL(QGLWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_paintGL()); -} - -void PythonQtWrapper_QGLWidget::paintOverlayGL(QGLWidget* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_paintOverlayGL()); -} - -void PythonQtWrapper_QGLWidget::qglClearColor(QGLWidget* theWrappedObject, const QColor& c) const -{ - ( theWrappedObject->qglClearColor(c)); -} - -void PythonQtWrapper_QGLWidget::qglColor(QGLWidget* theWrappedObject, const QColor& c) const -{ - ( theWrappedObject->qglColor(c)); -} - -QPixmap PythonQtWrapper_QGLWidget::renderPixmap(QGLWidget* theWrappedObject, int w, int h, bool useContext) -{ - return ( theWrappedObject->renderPixmap(w, h, useContext)); -} - -void PythonQtWrapper_QGLWidget::renderText(QGLWidget* theWrappedObject, double x, double y, double z, const QString& str, const QFont& fnt) -{ - ( theWrappedObject->renderText(x, y, z, str, fnt)); -} - -void PythonQtWrapper_QGLWidget::renderText(QGLWidget* theWrappedObject, int x, int y, const QString& str, const QFont& fnt) -{ - ( theWrappedObject->renderText(x, y, str, fnt)); -} - -void PythonQtWrapper_QGLWidget::resizeGL(QGLWidget* theWrappedObject, int w, int h) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_resizeGL(w, h)); -} - -void PythonQtWrapper_QGLWidget::resizeOverlayGL(QGLWidget* theWrappedObject, int w, int h) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_resizeOverlayGL(w, h)); -} - -void PythonQtWrapper_QGLWidget::setAutoBufferSwap(QGLWidget* theWrappedObject, bool on) -{ - ( ((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->promoted_setAutoBufferSwap(on)); -} - -void PythonQtWrapper_QGLWidget::setColormap(QGLWidget* theWrappedObject, const QGLColormap& map) -{ - ( theWrappedObject->setColormap(map)); -} - -void PythonQtWrapper_QGLWidget::swapBuffers(QGLWidget* theWrappedObject) -{ - ( theWrappedObject->swapBuffers()); -} - - diff --git a/generated_cpp_5.10.1/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h b/generated_cpp_5.10.1/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h deleted file mode 100644 index 9a81abb63..000000000 --- a/generated_cpp_5.10.1/com_trolltech_qt_opengl/com_trolltech_qt_opengl0.h +++ /dev/null @@ -1,950 +0,0 @@ -#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 PythonQtWrapper_QGLBuffer : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Access Type UsagePattern ) -enum Access{ - ReadOnly = QGLBuffer::ReadOnly, WriteOnly = QGLBuffer::WriteOnly, ReadWrite = QGLBuffer::ReadWrite}; -enum Type{ - VertexBuffer = QGLBuffer::VertexBuffer, IndexBuffer = QGLBuffer::IndexBuffer, PixelPackBuffer = QGLBuffer::PixelPackBuffer, PixelUnpackBuffer = QGLBuffer::PixelUnpackBuffer}; -enum UsagePattern{ - StreamDraw = QGLBuffer::StreamDraw, StreamRead = QGLBuffer::StreamRead, StreamCopy = QGLBuffer::StreamCopy, StaticDraw = QGLBuffer::StaticDraw, StaticRead = QGLBuffer::StaticRead, StaticCopy = QGLBuffer::StaticCopy, DynamicDraw = QGLBuffer::DynamicDraw, DynamicRead = QGLBuffer::DynamicRead, DynamicCopy = QGLBuffer::DynamicCopy}; -public Q_SLOTS: -QGLBuffer* new_QGLBuffer(); -QGLBuffer* new_QGLBuffer(QGLBuffer::Type type); -QGLBuffer* new_QGLBuffer(const QGLBuffer& other); -void delete_QGLBuffer(QGLBuffer* obj) { delete obj; } - void allocate(QGLBuffer* theWrappedObject, const void* data, int count); - void allocate(QGLBuffer* theWrappedObject, int count); - bool bind(QGLBuffer* theWrappedObject); - uint bufferId(QGLBuffer* theWrappedObject) const; - bool create(QGLBuffer* theWrappedObject); - void destroy(QGLBuffer* theWrappedObject); - bool isCreated(QGLBuffer* theWrappedObject) const; - void* map(QGLBuffer* theWrappedObject, QGLBuffer::Access access); - QGLBuffer* operator_assign(QGLBuffer* theWrappedObject, const QGLBuffer& other); - bool read(QGLBuffer* theWrappedObject, int offset, void* data, int count); - void release(QGLBuffer* theWrappedObject); - void static_QGLBuffer_release(QGLBuffer::Type type); - void setUsagePattern(QGLBuffer* theWrappedObject, QGLBuffer::UsagePattern value); - int size(QGLBuffer* theWrappedObject) const; - QGLBuffer::Type type(QGLBuffer* theWrappedObject) const; - bool unmap(QGLBuffer* theWrappedObject); - QGLBuffer::UsagePattern usagePattern(QGLBuffer* theWrappedObject) const; - void write(QGLBuffer* theWrappedObject, int offset, const void* data, int count); -}; - - - - - -class PythonQtShell_QGLColormap : public QGLColormap -{ -public: - PythonQtShell_QGLColormap():QGLColormap(),_wrapper(nullptr) {}; - PythonQtShell_QGLColormap(const QGLColormap& arg__1):QGLColormap(arg__1),_wrapper(nullptr) {}; - - ~PythonQtShell_QGLColormap(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGLColormap : public QGLColormap -{ public: -inline Qt::HANDLE promoted_handle() { return this->handle(); } -inline void promoted_setHandle(Qt::HANDLE ahandle) { this->setHandle(ahandle); } -}; - -class PythonQtWrapper_QGLColormap : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QGLColormap* new_QGLColormap(); -QGLColormap* new_QGLColormap(const QGLColormap& arg__1); -void delete_QGLColormap(QGLColormap* obj) { delete obj; } - QColor entryColor(QGLColormap* theWrappedObject, int idx) const; - unsigned int entryRgb(QGLColormap* theWrappedObject, int idx) const; - int find(QGLColormap* theWrappedObject, unsigned int color) const; - int findNearest(QGLColormap* theWrappedObject, unsigned int color) const; - Qt::HANDLE handle(QGLColormap* theWrappedObject); - bool isEmpty(QGLColormap* theWrappedObject) const; - void setEntry(QGLColormap* theWrappedObject, int idx, const QColor& color); - void setEntry(QGLColormap* theWrappedObject, int idx, unsigned int color); - void setHandle(QGLColormap* theWrappedObject, Qt::HANDLE ahandle); - int size(QGLColormap* theWrappedObject) const; - bool __nonzero__(QGLColormap* obj) { return !obj->isEmpty(); } -}; - - - - - -class PythonQtShell_QGLContext : public QGLContext -{ -public: - PythonQtShell_QGLContext(const QGLFormat& format):QGLContext(format),_wrapper(nullptr) {}; - PythonQtShell_QGLContext(const QGLFormat& format, QPaintDevice* device):QGLContext(format, device),_wrapper(nullptr) {}; - - ~PythonQtShell_QGLContext() override; - -bool chooseContext(const QGLContext* shareContext = nullptr) override; -bool create(const QGLContext* shareContext = nullptr) override; -void doneCurrent() override; -void makeCurrent() override; -void swapBuffers() const override; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGLContext : public QGLContext -{ public: -inline bool promoted_chooseContext(const QGLContext* shareContext = nullptr) { return this->chooseContext(shareContext); } -inline uint promoted_colorIndex(const QColor& c) const { return this->colorIndex(c); } -inline bool promoted_deviceIsPixmap() const { return this->deviceIsPixmap(); } -inline bool promoted_initialized() const { return this->initialized(); } -inline void promoted_setInitialized(bool on) { this->setInitialized(on); } -inline void promoted_setValid(bool valid) { this->setValid(valid); } -inline void promoted_setWindowCreated(bool on) { this->setWindowCreated(on); } -inline bool promoted_windowCreated() const { return this->windowCreated(); } -inline bool py_q_chooseContext(const QGLContext* shareContext = nullptr) { return QGLContext::chooseContext(shareContext); } -inline bool py_q_create(const QGLContext* shareContext = nullptr) { return QGLContext::create(shareContext); } -inline void py_q_doneCurrent() { QGLContext::doneCurrent(); } -inline void py_q_makeCurrent() { QGLContext::makeCurrent(); } -inline void py_q_swapBuffers() const { QGLContext::swapBuffers(); } -}; - -class PythonQtWrapper_QGLContext : public QObject -{ Q_OBJECT -public: -Q_ENUMS(BindOption ) -Q_FLAGS(BindOptions ) -enum BindOption{ - NoBindOption = QGLContext::NoBindOption, InvertedYBindOption = QGLContext::InvertedYBindOption, MipmapBindOption = QGLContext::MipmapBindOption, PremultipliedAlphaBindOption = QGLContext::PremultipliedAlphaBindOption, LinearFilteringBindOption = QGLContext::LinearFilteringBindOption, MemoryManagedBindOption = QGLContext::MemoryManagedBindOption, CanFlipNativePixmapBindOption = QGLContext::CanFlipNativePixmapBindOption, TemporarilyCachedBindOption = QGLContext::TemporarilyCachedBindOption, DefaultBindOption = QGLContext::DefaultBindOption, InternalBindOption = QGLContext::InternalBindOption}; -Q_DECLARE_FLAGS(BindOptions, BindOption) -public Q_SLOTS: -QGLContext* new_QGLContext(const QGLFormat& format); -QGLContext* new_QGLContext(const QGLFormat& format, QPaintDevice* device); -void delete_QGLContext(QGLContext* obj) { delete obj; } - bool static_QGLContext_areSharing(const QGLContext* context1, const QGLContext* context2); - uint bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target = 0x0DE1, GLint format = 0x1908); - uint bindTexture(QGLContext* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options); - uint bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target = 0x0DE1, GLint format = 0x1908); - uint bindTexture(QGLContext* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options); - uint bindTexture(QGLContext* theWrappedObject, const QString& fileName); - bool chooseContext(QGLContext* theWrappedObject, const QGLContext* shareContext = nullptr); - bool py_q_chooseContext(QGLContext* theWrappedObject, const QGLContext* shareContext = nullptr){ return (((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->py_q_chooseContext(shareContext));} - uint colorIndex(QGLContext* theWrappedObject, const QColor& c) const; - QOpenGLContext* contextHandle(QGLContext* theWrappedObject) const; - bool create(QGLContext* theWrappedObject, const QGLContext* shareContext = nullptr); - bool py_q_create(QGLContext* theWrappedObject, const QGLContext* shareContext = nullptr){ return (((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->py_q_create(shareContext));} - const QGLContext* static_QGLContext_currentContext(); - void deleteTexture(QGLContext* theWrappedObject, uint tx_id); - QPaintDevice* device(QGLContext* theWrappedObject) const; - bool deviceIsPixmap(QGLContext* theWrappedObject) const; - void doneCurrent(QGLContext* theWrappedObject); - void py_q_doneCurrent(QGLContext* theWrappedObject){ (((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->py_q_doneCurrent());} - void drawTexture(QGLContext* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget = 0x0DE1); - void drawTexture(QGLContext* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget = 0x0DE1); - QGLFormat format(QGLContext* theWrappedObject) const; - QGLContext* static_QGLContext_fromOpenGLContext(QOpenGLContext* platformContext); - QGLFunctions* functions(QGLContext* theWrappedObject) const; - bool initialized(QGLContext* theWrappedObject) const; - bool isSharing(QGLContext* theWrappedObject) const; - bool isValid(QGLContext* theWrappedObject) const; - void makeCurrent(QGLContext* theWrappedObject); - void py_q_makeCurrent(QGLContext* theWrappedObject){ (((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->py_q_makeCurrent());} - void moveToThread(QGLContext* theWrappedObject, QThread* thread); - QColor overlayTransparentColor(QGLContext* theWrappedObject) const; - QGLFormat requestedFormat(QGLContext* theWrappedObject) const; - void reset(QGLContext* theWrappedObject); - void setFormat(QGLContext* theWrappedObject, const QGLFormat& format); - void setInitialized(QGLContext* theWrappedObject, bool on); - void static_QGLContext_setTextureCacheLimit(int size); - void setValid(QGLContext* theWrappedObject, bool valid); - void setWindowCreated(QGLContext* theWrappedObject, bool on); - void swapBuffers(QGLContext* theWrappedObject) const; - void py_q_swapBuffers(QGLContext* theWrappedObject) const{ (((PythonQtPublicPromoter_QGLContext*)theWrappedObject)->py_q_swapBuffers());} - int static_QGLContext_textureCacheLimit(); - bool windowCreated(QGLContext* theWrappedObject) const; - bool __nonzero__(QGLContext* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtWrapper_QGLFormat : public QObject -{ Q_OBJECT -public: -Q_ENUMS(OpenGLContextProfile OpenGLVersionFlag ) -Q_FLAGS(OpenGLVersionFlags ) -enum OpenGLContextProfile{ - NoProfile = QGLFormat::NoProfile, CoreProfile = QGLFormat::CoreProfile, CompatibilityProfile = QGLFormat::CompatibilityProfile}; -enum OpenGLVersionFlag{ - OpenGL_Version_None = QGLFormat::OpenGL_Version_None, OpenGL_Version_1_1 = QGLFormat::OpenGL_Version_1_1, OpenGL_Version_1_2 = QGLFormat::OpenGL_Version_1_2, OpenGL_Version_1_3 = QGLFormat::OpenGL_Version_1_3, OpenGL_Version_1_4 = QGLFormat::OpenGL_Version_1_4, OpenGL_Version_1_5 = QGLFormat::OpenGL_Version_1_5, OpenGL_Version_2_0 = QGLFormat::OpenGL_Version_2_0, OpenGL_Version_2_1 = QGLFormat::OpenGL_Version_2_1, OpenGL_ES_Common_Version_1_0 = QGLFormat::OpenGL_ES_Common_Version_1_0, OpenGL_ES_CommonLite_Version_1_0 = QGLFormat::OpenGL_ES_CommonLite_Version_1_0, OpenGL_ES_Common_Version_1_1 = QGLFormat::OpenGL_ES_Common_Version_1_1, OpenGL_ES_CommonLite_Version_1_1 = QGLFormat::OpenGL_ES_CommonLite_Version_1_1, OpenGL_ES_Version_2_0 = QGLFormat::OpenGL_ES_Version_2_0, OpenGL_Version_3_0 = QGLFormat::OpenGL_Version_3_0, OpenGL_Version_3_1 = QGLFormat::OpenGL_Version_3_1, OpenGL_Version_3_2 = QGLFormat::OpenGL_Version_3_2, OpenGL_Version_3_3 = QGLFormat::OpenGL_Version_3_3, OpenGL_Version_4_0 = QGLFormat::OpenGL_Version_4_0, OpenGL_Version_4_1 = QGLFormat::OpenGL_Version_4_1, OpenGL_Version_4_2 = QGLFormat::OpenGL_Version_4_2, OpenGL_Version_4_3 = QGLFormat::OpenGL_Version_4_3}; -Q_DECLARE_FLAGS(OpenGLVersionFlags, OpenGLVersionFlag) -public Q_SLOTS: -QGLFormat* new_QGLFormat(); -QGLFormat* new_QGLFormat(QGL::FormatOptions options, int plane = 0); -QGLFormat* new_QGLFormat(const QGLFormat& other); -void delete_QGLFormat(QGLFormat* obj) { delete obj; } - bool accum(QGLFormat* theWrappedObject) const; - int accumBufferSize(QGLFormat* theWrappedObject) const; - bool alpha(QGLFormat* theWrappedObject) const; - int alphaBufferSize(QGLFormat* theWrappedObject) const; - int blueBufferSize(QGLFormat* theWrappedObject) const; - QGLFormat static_QGLFormat_defaultFormat(); - QGLFormat static_QGLFormat_defaultOverlayFormat(); - bool depth(QGLFormat* theWrappedObject) const; - int depthBufferSize(QGLFormat* theWrappedObject) const; - bool directRendering(QGLFormat* theWrappedObject) const; - bool doubleBuffer(QGLFormat* theWrappedObject) const; - QGLFormat static_QGLFormat_fromSurfaceFormat(const QSurfaceFormat& format); - int greenBufferSize(QGLFormat* theWrappedObject) const; - bool static_QGLFormat_hasOpenGL(); - bool static_QGLFormat_hasOpenGLOverlays(); - bool hasOverlay(QGLFormat* theWrappedObject) const; - int majorVersion(QGLFormat* theWrappedObject) const; - int minorVersion(QGLFormat* theWrappedObject) const; - QGLFormat::OpenGLVersionFlags static_QGLFormat_openGLVersionFlags(); - bool __ne__(QGLFormat* theWrappedObject, const QGLFormat& arg__2); - bool __eq__(QGLFormat* theWrappedObject, const QGLFormat& arg__2); - int plane(QGLFormat* theWrappedObject) const; - QGLFormat::OpenGLContextProfile profile(QGLFormat* theWrappedObject) const; - int redBufferSize(QGLFormat* theWrappedObject) const; - bool rgba(QGLFormat* theWrappedObject) const; - bool sampleBuffers(QGLFormat* theWrappedObject) const; - int samples(QGLFormat* theWrappedObject) const; - void setAccum(QGLFormat* theWrappedObject, bool enable); - void setAccumBufferSize(QGLFormat* theWrappedObject, int size); - void setAlpha(QGLFormat* theWrappedObject, bool enable); - void setAlphaBufferSize(QGLFormat* theWrappedObject, int size); - void setBlueBufferSize(QGLFormat* theWrappedObject, int size); - void static_QGLFormat_setDefaultFormat(const QGLFormat& f); - void static_QGLFormat_setDefaultOverlayFormat(const QGLFormat& f); - void setDepth(QGLFormat* theWrappedObject, bool enable); - void setDepthBufferSize(QGLFormat* theWrappedObject, int size); - void setDirectRendering(QGLFormat* theWrappedObject, bool enable); - void setDoubleBuffer(QGLFormat* theWrappedObject, bool enable); - void setGreenBufferSize(QGLFormat* theWrappedObject, int size); - void setOption(QGLFormat* theWrappedObject, QGL::FormatOptions opt); - void setOverlay(QGLFormat* theWrappedObject, bool enable); - void setPlane(QGLFormat* theWrappedObject, int plane); - void setProfile(QGLFormat* theWrappedObject, QGLFormat::OpenGLContextProfile profile); - void setRedBufferSize(QGLFormat* theWrappedObject, int size); - void setRgba(QGLFormat* theWrappedObject, bool enable); - void setSampleBuffers(QGLFormat* theWrappedObject, bool enable); - void setSamples(QGLFormat* theWrappedObject, int numSamples); - void setStencil(QGLFormat* theWrappedObject, bool enable); - void setStencilBufferSize(QGLFormat* theWrappedObject, int size); - void setStereo(QGLFormat* theWrappedObject, bool enable); - void setSwapInterval(QGLFormat* theWrappedObject, int interval); - void setVersion(QGLFormat* theWrappedObject, int major, int minor); - bool stencil(QGLFormat* theWrappedObject) const; - int stencilBufferSize(QGLFormat* theWrappedObject) const; - bool stereo(QGLFormat* theWrappedObject) const; - int swapInterval(QGLFormat* theWrappedObject) const; - bool testOption(QGLFormat* theWrappedObject, QGL::FormatOptions opt) const; - QSurfaceFormat static_QGLFormat_toSurfaceFormat(const QGLFormat& format); - QString py_toString(QGLFormat*); -}; - - - - - -class PythonQtShell_QGLFramebufferObject : public QGLFramebufferObject -{ -public: - PythonQtShell_QGLFramebufferObject(const QSize& size, GLenum target = 0x0DE1):QGLFramebufferObject(size, target),_wrapper(nullptr) {}; - PythonQtShell_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0):QGLFramebufferObject(size, attachment, target, internal_format),_wrapper(nullptr) {}; - PythonQtShell_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(size, format),_wrapper(nullptr) {}; - PythonQtShell_QGLFramebufferObject(int width, int height, GLenum target = 0x0DE1):QGLFramebufferObject(width, height, target),_wrapper(nullptr) {}; - PythonQtShell_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0):QGLFramebufferObject(width, height, attachment, target, internal_format),_wrapper(nullptr) {}; - PythonQtShell_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format):QGLFramebufferObject(width, height, format),_wrapper(nullptr) {}; - - ~PythonQtShell_QGLFramebufferObject() override; - -int devType() const override; -void initPainter(QPainter* painter) const override; -int metric(QPaintDevice::PaintDeviceMetric metric) const override; -QPaintEngine* paintEngine() const override; -QPaintDevice* redirected(QPoint* offset) const override; -QPainter* sharedPainter() const override; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGLFramebufferObject : public QGLFramebufferObject -{ public: -inline int promoted_devType() const { return this->devType(); } -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } -inline int py_q_devType() const { return QGLFramebufferObject::devType(); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QGLFramebufferObject::metric(metric); } -inline QPaintEngine* py_q_paintEngine() const { return QGLFramebufferObject::paintEngine(); } -}; - -class PythonQtWrapper_QGLFramebufferObject : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Attachment ) -enum Attachment{ - NoAttachment = QGLFramebufferObject::NoAttachment, CombinedDepthStencil = QGLFramebufferObject::CombinedDepthStencil, Depth = QGLFramebufferObject::Depth}; -public Q_SLOTS: -QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, GLenum target = 0x0DE1); -QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0); -QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, const QGLFramebufferObjectFormat& format); -QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, GLenum target = 0x0DE1); -QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, GLenum target = 0x0DE1, GLenum internal_format = 0); -QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, const QGLFramebufferObjectFormat& format); -void delete_QGLFramebufferObject(QGLFramebufferObject* obj) { delete obj; } - QGLFramebufferObject::Attachment attachment(QGLFramebufferObject* theWrappedObject) const; - bool bind(QGLFramebufferObject* theWrappedObject); - bool static_QGLFramebufferObject_bindDefault(); - void static_QGLFramebufferObject_blitFramebuffer(QGLFramebufferObject* target, const QRect& targetRect, QGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers = 0x00004000, GLenum filter = 0x2600); - int py_q_devType(QGLFramebufferObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->py_q_devType());} - void drawTexture(QGLFramebufferObject* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget = 0x0DE1); - void drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget = 0x0DE1); - QGLFramebufferObjectFormat format(QGLFramebufferObject* theWrappedObject) const; - uint handle(QGLFramebufferObject* theWrappedObject) const; - bool static_QGLFramebufferObject_hasOpenGLFramebufferBlit(); - bool static_QGLFramebufferObject_hasOpenGLFramebufferObjects(); - bool isBound(QGLFramebufferObject* theWrappedObject) const; - bool isValid(QGLFramebufferObject* theWrappedObject) const; - int py_q_metric(QGLFramebufferObject* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->py_q_metric(metric));} - QPaintEngine* py_q_paintEngine(QGLFramebufferObject* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLFramebufferObject*)theWrappedObject)->py_q_paintEngine());} - bool release(QGLFramebufferObject* theWrappedObject); - QSize size(QGLFramebufferObject* theWrappedObject) const; - uint texture(QGLFramebufferObject* theWrappedObject) const; - QImage toImage(QGLFramebufferObject* theWrappedObject) const; - bool __nonzero__(QGLFramebufferObject* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtWrapper_QGLFramebufferObjectFormat : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QGLFramebufferObjectFormat* new_QGLFramebufferObjectFormat(); -QGLFramebufferObjectFormat* new_QGLFramebufferObjectFormat(const QGLFramebufferObjectFormat& other); -void delete_QGLFramebufferObjectFormat(QGLFramebufferObjectFormat* obj) { delete obj; } - QGLFramebufferObject::Attachment attachment(QGLFramebufferObjectFormat* theWrappedObject) const; - GLenum internalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject) const; - bool mipmap(QGLFramebufferObjectFormat* theWrappedObject) const; - bool __ne__(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) const; - QGLFramebufferObjectFormat* operator_assign(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other); - bool __eq__(QGLFramebufferObjectFormat* theWrappedObject, const QGLFramebufferObjectFormat& other) const; - int samples(QGLFramebufferObjectFormat* theWrappedObject) const; - void setAttachment(QGLFramebufferObjectFormat* theWrappedObject, QGLFramebufferObject::Attachment attachment); - void setInternalTextureFormat(QGLFramebufferObjectFormat* theWrappedObject, GLenum internalTextureFormat); - void setMipmap(QGLFramebufferObjectFormat* theWrappedObject, bool enabled); - void setSamples(QGLFramebufferObjectFormat* theWrappedObject, int samples); - void setTextureTarget(QGLFramebufferObjectFormat* theWrappedObject, GLenum target); - GLenum textureTarget(QGLFramebufferObjectFormat* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QGLFunctions : public QObject -{ Q_OBJECT -public: -Q_ENUMS(OpenGLFeature ) -Q_FLAGS(OpenGLFeatures ) -enum OpenGLFeature{ - Multitexture = QGLFunctions::Multitexture, Shaders = QGLFunctions::Shaders, Buffers = QGLFunctions::Buffers, Framebuffers = QGLFunctions::Framebuffers, BlendColor = QGLFunctions::BlendColor, BlendEquation = QGLFunctions::BlendEquation, BlendEquationSeparate = QGLFunctions::BlendEquationSeparate, BlendFuncSeparate = QGLFunctions::BlendFuncSeparate, BlendSubtract = QGLFunctions::BlendSubtract, CompressedTextures = QGLFunctions::CompressedTextures, Multisample = QGLFunctions::Multisample, StencilSeparate = QGLFunctions::StencilSeparate, NPOTTextures = QGLFunctions::NPOTTextures}; -Q_DECLARE_FLAGS(OpenGLFeatures, OpenGLFeature) -public Q_SLOTS: -QGLFunctions* new_QGLFunctions(); -QGLFunctions* new_QGLFunctions(const QGLContext* context); -void delete_QGLFunctions(QGLFunctions* obj) { delete obj; } - void glActiveTexture(QGLFunctions* theWrappedObject, GLenum texture); - void glAttachShader(QGLFunctions* theWrappedObject, uint program, uint shader); - void glBindAttribLocation(QGLFunctions* theWrappedObject, uint program, uint index, const char* name); - void glBindBuffer(QGLFunctions* theWrappedObject, GLenum target, uint buffer); - void glBindFramebuffer(QGLFunctions* theWrappedObject, GLenum target, uint framebuffer); - void glBindRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, uint renderbuffer); - void glBlendColor(QGLFunctions* theWrappedObject, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); - void glBlendEquation(QGLFunctions* theWrappedObject, GLenum mode); - void glBlendEquationSeparate(QGLFunctions* theWrappedObject, GLenum modeRGB, GLenum modeAlpha); - void glBlendFuncSeparate(QGLFunctions* theWrappedObject, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); - GLenum glCheckFramebufferStatus(QGLFunctions* theWrappedObject, GLenum target); - void glClearDepthf(QGLFunctions* theWrappedObject, GLclampf depth); - void glCompileShader(QGLFunctions* theWrappedObject, uint shader); - void glCompressedTexImage2D(QGLFunctions* theWrappedObject, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data); - void glCompressedTexSubImage2D(QGLFunctions* theWrappedObject, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data); - uint glCreateProgram(QGLFunctions* theWrappedObject); - uint glCreateShader(QGLFunctions* theWrappedObject, GLenum type); - void glDeleteBuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* buffers); - void glDeleteFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* framebuffers); - void glDeleteProgram(QGLFunctions* theWrappedObject, uint program); - void glDeleteRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, const uint* renderbuffers); - void glDeleteShader(QGLFunctions* theWrappedObject, uint shader); - void glDepthRangef(QGLFunctions* theWrappedObject, GLclampf zNear, GLclampf zFar); - void glDetachShader(QGLFunctions* theWrappedObject, uint program, uint shader); - void glDisableVertexAttribArray(QGLFunctions* theWrappedObject, uint index); - void glEnableVertexAttribArray(QGLFunctions* theWrappedObject, uint index); - void glFramebufferRenderbuffer(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum renderbuffertarget, uint renderbuffer); - void glFramebufferTexture2D(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum textarget, uint texture, GLint level); - void glGenBuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* buffers); - void glGenFramebuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* framebuffers); - void glGenRenderbuffers(QGLFunctions* theWrappedObject, GLsizei n, uint* renderbuffers); - void glGenerateMipmap(QGLFunctions* theWrappedObject, GLenum target); - void glGetActiveAttrib(QGLFunctions* theWrappedObject, uint program, uint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); - void glGetActiveUniform(QGLFunctions* theWrappedObject, uint program, uint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, char* name); - void glGetAttachedShaders(QGLFunctions* theWrappedObject, uint program, GLsizei maxcount, GLsizei* count, uint* shaders); - int glGetAttribLocation(QGLFunctions* theWrappedObject, uint program, const char* name); - void glGetBufferParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum pname, GLint* params); - void glGetFramebufferAttachmentParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum attachment, GLenum pname, GLint* params); - void glGetProgramInfoLog(QGLFunctions* theWrappedObject, uint program, GLsizei bufsize, GLsizei* length, char* infolog); - void glGetProgramiv(QGLFunctions* theWrappedObject, uint program, GLenum pname, GLint* params); - void glGetRenderbufferParameteriv(QGLFunctions* theWrappedObject, GLenum target, GLenum pname, GLint* params); - void glGetShaderInfoLog(QGLFunctions* theWrappedObject, uint shader, GLsizei bufsize, GLsizei* length, char* infolog); - void glGetShaderPrecisionFormat(QGLFunctions* theWrappedObject, GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); - void glGetShaderSource(QGLFunctions* theWrappedObject, uint shader, GLsizei bufsize, GLsizei* length, char* source); - void glGetShaderiv(QGLFunctions* theWrappedObject, uint shader, GLenum pname, GLint* params); - int glGetUniformLocation(QGLFunctions* theWrappedObject, uint program, const char* name); - void glGetUniformfv(QGLFunctions* theWrappedObject, uint program, GLint location, GLfloat* params); - void glGetUniformiv(QGLFunctions* theWrappedObject, uint program, GLint location, GLint* params); - void glGetVertexAttribPointerv(QGLFunctions* theWrappedObject, uint index, GLenum pname, void** pointer); - void glGetVertexAttribfv(QGLFunctions* theWrappedObject, uint index, GLenum pname, GLfloat* params); - void glGetVertexAttribiv(QGLFunctions* theWrappedObject, uint index, GLenum pname, GLint* params); - GLboolean glIsBuffer(QGLFunctions* theWrappedObject, uint buffer); - GLboolean glIsFramebuffer(QGLFunctions* theWrappedObject, uint framebuffer); - GLboolean glIsProgram(QGLFunctions* theWrappedObject, uint program); - GLboolean glIsRenderbuffer(QGLFunctions* theWrappedObject, uint renderbuffer); - GLboolean glIsShader(QGLFunctions* theWrappedObject, uint shader); - void glLinkProgram(QGLFunctions* theWrappedObject, uint program); - void glReleaseShaderCompiler(QGLFunctions* theWrappedObject); - void glRenderbufferStorage(QGLFunctions* theWrappedObject, GLenum target, GLenum internalformat, GLsizei width, GLsizei height); - void glSampleCoverage(QGLFunctions* theWrappedObject, GLclampf value, GLboolean invert); - void glShaderBinary(QGLFunctions* theWrappedObject, GLint n, const uint* shaders, GLenum binaryformat, const void* binary, GLint length); - void glShaderSource(QGLFunctions* theWrappedObject, uint shader, GLsizei count, const char** string, const GLint* length); - void glStencilFuncSeparate(QGLFunctions* theWrappedObject, GLenum face, GLenum func, GLint ref, uint mask); - void glStencilMaskSeparate(QGLFunctions* theWrappedObject, GLenum face, uint mask); - void glStencilOpSeparate(QGLFunctions* theWrappedObject, GLenum face, GLenum fail, GLenum zfail, GLenum zpass); - void glUniform1f(QGLFunctions* theWrappedObject, GLint location, GLfloat x); - void glUniform1fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v); - void glUniform1i(QGLFunctions* theWrappedObject, GLint location, GLint x); - void glUniform1iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v); - void glUniform2f(QGLFunctions* theWrappedObject, GLint location, GLfloat x, GLfloat y); - void glUniform2fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v); - void glUniform2i(QGLFunctions* theWrappedObject, GLint location, GLint x, GLint y); - void glUniform2iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v); - void glUniform3f(QGLFunctions* theWrappedObject, GLint location, GLfloat x, GLfloat y, GLfloat z); - void glUniform3fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v); - void glUniform3i(QGLFunctions* theWrappedObject, GLint location, GLint x, GLint y, GLint z); - void glUniform3iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v); - void glUniform4f(QGLFunctions* theWrappedObject, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); - void glUniform4fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLfloat* v); - void glUniform4i(QGLFunctions* theWrappedObject, GLint location, GLint x, GLint y, GLint z, GLint w); - void glUniform4iv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, const GLint* v); - void glUniformMatrix2fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); - void glUniformMatrix3fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); - void glUniformMatrix4fv(QGLFunctions* theWrappedObject, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); - void glUseProgram(QGLFunctions* theWrappedObject, uint program); - void glValidateProgram(QGLFunctions* theWrappedObject, uint program); - void glVertexAttrib1f(QGLFunctions* theWrappedObject, uint indx, GLfloat x); - void glVertexAttrib1fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values); - void glVertexAttrib2f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y); - void glVertexAttrib2fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values); - void glVertexAttrib3f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y, GLfloat z); - void glVertexAttrib3fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values); - void glVertexAttrib4f(QGLFunctions* theWrappedObject, uint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); - void glVertexAttrib4fv(QGLFunctions* theWrappedObject, uint indx, const GLfloat* values); - void glVertexAttribPointer(QGLFunctions* theWrappedObject, uint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* ptr); - bool hasOpenGLFeature(QGLFunctions* theWrappedObject, QGLFunctions::OpenGLFeature feature) const; - void initializeGLFunctions(QGLFunctions* theWrappedObject, const QGLContext* context = nullptr); - QGLFunctions::OpenGLFeatures openGLFeatures(QGLFunctions* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QGLPixelBuffer : public QGLPixelBuffer -{ -public: - PythonQtShell_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr):QGLPixelBuffer(size, format, shareWidget),_wrapper(nullptr) {}; - PythonQtShell_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr):QGLPixelBuffer(width, height, format, shareWidget),_wrapper(nullptr) {}; - - ~PythonQtShell_QGLPixelBuffer() override; - -int devType() const override; -void initPainter(QPainter* painter) const override; -int metric(QPaintDevice::PaintDeviceMetric metric) const override; -QPaintEngine* paintEngine() const override; -QPaintDevice* redirected(QPoint* offset) const override; -QPainter* sharedPainter() const override; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGLPixelBuffer : public QGLPixelBuffer -{ public: -inline int promoted_devType() const { return this->devType(); } -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } -inline int py_q_devType() const { return QGLPixelBuffer::devType(); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QGLPixelBuffer::metric(metric); } -inline QPaintEngine* py_q_paintEngine() const { return QGLPixelBuffer::paintEngine(); } -}; - -class PythonQtWrapper_QGLPixelBuffer : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QGLPixelBuffer* new_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr); -QGLPixelBuffer* new_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = nullptr); -void delete_QGLPixelBuffer(QGLPixelBuffer* obj) { delete obj; } - uint bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, GLenum target = 0x0DE1); - uint bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, GLenum target = 0x0DE1); - uint bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName); - bool bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture); - QGLContext* context(QGLPixelBuffer* theWrappedObject) const; - void deleteTexture(QGLPixelBuffer* theWrappedObject, uint texture_id); - int py_q_devType(QGLPixelBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLPixelBuffer*)theWrappedObject)->py_q_devType());} - bool doneCurrent(QGLPixelBuffer* theWrappedObject); - void drawTexture(QGLPixelBuffer* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget = 0x0DE1); - void drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget = 0x0DE1); - QGLFormat format(QGLPixelBuffer* theWrappedObject) const; - uint generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const; - Qt::HANDLE handle(QGLPixelBuffer* theWrappedObject) const; - bool static_QGLPixelBuffer_hasOpenGLPbuffers(); - bool isValid(QGLPixelBuffer* theWrappedObject) const; - bool makeCurrent(QGLPixelBuffer* theWrappedObject); - int py_q_metric(QGLPixelBuffer* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QGLPixelBuffer*)theWrappedObject)->py_q_metric(metric));} - QPaintEngine* py_q_paintEngine(QGLPixelBuffer* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLPixelBuffer*)theWrappedObject)->py_q_paintEngine());} - void releaseFromDynamicTexture(QGLPixelBuffer* theWrappedObject); - QSize size(QGLPixelBuffer* theWrappedObject) const; - QImage toImage(QGLPixelBuffer* theWrappedObject) const; - void updateDynamicTexture(QGLPixelBuffer* theWrappedObject, uint texture_id) const; - bool __nonzero__(QGLPixelBuffer* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtShell_QGLShader : public QGLShader -{ -public: - PythonQtShell_QGLShader(QGLShader::ShaderType type, QObject* parent = nullptr):QGLShader(type, parent),_wrapper(nullptr) {}; - PythonQtShell_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent = nullptr):QGLShader(type, context, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QGLShader() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QGLShader : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ShaderTypeBit ) -Q_FLAGS(ShaderType ) -enum ShaderTypeBit{ - Vertex = QGLShader::Vertex, Fragment = QGLShader::Fragment, Geometry = QGLShader::Geometry}; -Q_DECLARE_FLAGS(ShaderType, ShaderTypeBit) -public Q_SLOTS: -QGLShader* new_QGLShader(QGLShader::ShaderType type, QObject* parent = nullptr); -QGLShader* new_QGLShader(QGLShader::ShaderType type, const QGLContext* context, QObject* parent = nullptr); -void delete_QGLShader(QGLShader* obj) { delete obj; } - bool compileSourceCode(QGLShader* theWrappedObject, const QByteArray& source); - bool compileSourceCode(QGLShader* theWrappedObject, const QString& source); - bool compileSourceCode(QGLShader* theWrappedObject, const char* source); - bool compileSourceFile(QGLShader* theWrappedObject, const QString& fileName); - bool static_QGLShader_hasOpenGLShaders(QGLShader::ShaderType type, const QGLContext* context = nullptr); - bool isCompiled(QGLShader* theWrappedObject) const; - QString log(QGLShader* theWrappedObject) const; - uint shaderId(QGLShader* theWrappedObject) const; - QGLShader::ShaderType shaderType(QGLShader* theWrappedObject) const; - QByteArray sourceCode(QGLShader* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QGLShaderProgram : public QGLShaderProgram -{ -public: - PythonQtShell_QGLShaderProgram(QObject* parent = nullptr):QGLShaderProgram(parent),_wrapper(nullptr) {}; - PythonQtShell_QGLShaderProgram(const QGLContext* context, QObject* parent = nullptr):QGLShaderProgram(context, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QGLShaderProgram() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -bool link() override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGLShaderProgram : public QGLShaderProgram -{ public: -inline bool py_q_link() { return QGLShaderProgram::link(); } -}; - -class PythonQtWrapper_QGLShaderProgram : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QGLShaderProgram* new_QGLShaderProgram(QObject* parent = nullptr); -QGLShaderProgram* new_QGLShaderProgram(const QGLContext* context, QObject* parent = nullptr); -void delete_QGLShaderProgram(QGLShaderProgram* obj) { delete obj; } - bool addShader(QGLShaderProgram* theWrappedObject, QGLShader* shader); - bool addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QByteArray& source); - bool addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QString& source); - bool addShaderFromSourceCode(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const char* source); - bool addShaderFromSourceFile(QGLShaderProgram* theWrappedObject, QGLShader::ShaderType type, const QString& fileName); - int attributeLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name) const; - int attributeLocation(QGLShaderProgram* theWrappedObject, const QString& name) const; - int attributeLocation(QGLShaderProgram* theWrappedObject, const char* name) const; - bool bind(QGLShaderProgram* theWrappedObject); - void bindAttributeLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name, int location); - void bindAttributeLocation(QGLShaderProgram* theWrappedObject, const QString& name, int location); - void bindAttributeLocation(QGLShaderProgram* theWrappedObject, const char* name, int location); - void disableAttributeArray(QGLShaderProgram* theWrappedObject, const char* name); - void disableAttributeArray(QGLShaderProgram* theWrappedObject, int location); - void enableAttributeArray(QGLShaderProgram* theWrappedObject, const char* name); - void enableAttributeArray(QGLShaderProgram* theWrappedObject, int location); - GLenum geometryInputType(QGLShaderProgram* theWrappedObject) const; - GLenum geometryOutputType(QGLShaderProgram* theWrappedObject) const; - int geometryOutputVertexCount(QGLShaderProgram* theWrappedObject) const; - bool static_QGLShaderProgram_hasOpenGLShaderPrograms(const QGLContext* context = nullptr); - bool isLinked(QGLShaderProgram* theWrappedObject) const; - bool link(QGLShaderProgram* theWrappedObject); - bool py_q_link(QGLShaderProgram* theWrappedObject){ return (((PythonQtPublicPromoter_QGLShaderProgram*)theWrappedObject)->py_q_link());} - QString log(QGLShaderProgram* theWrappedObject) const; - int maxGeometryOutputVertices(QGLShaderProgram* theWrappedObject) const; - uint programId(QGLShaderProgram* theWrappedObject) const; - void release(QGLShaderProgram* theWrappedObject); - void removeAllShaders(QGLShaderProgram* theWrappedObject); - void removeShader(QGLShaderProgram* theWrappedObject, QGLShader* shader); - void setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, GLenum type, const void* values, int tupleSize, int stride = 0); - void setAttributeArray(QGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int tupleSize, int stride = 0); - void setAttributeArray_QVector2D(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int stride = 0); - void setAttributeArray_QVector3D(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int stride = 0); - void setAttributeArray_QVector4D(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int stride = 0); - void setAttributeArray(QGLShaderProgram* theWrappedObject, int location, GLenum type, const void* values, int tupleSize, int stride = 0); - void setAttributeArray(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int tupleSize, int stride = 0); - void setAttributeArray_QVector2D(QGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int stride = 0); - void setAttributeArray_QVector3D(QGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int stride = 0); - void setAttributeArray_QVector4D(QGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int stride = 0); - void setAttributeBuffer(QGLShaderProgram* theWrappedObject, const char* name, GLenum type, int offset, int tupleSize, int stride = 0); - void setAttributeBuffer(QGLShaderProgram* theWrappedObject, int location, GLenum type, int offset, int tupleSize, int stride = 0); - void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat value); - void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y); - void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z); - void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); - void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int columns, int rows); - void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QColor& value); - void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value); - void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value); - void setAttributeValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value); - void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat value); - void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y); - void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z); - void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); - void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int columns, int rows); - void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QColor& value); - void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector2D& value); - void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector3D& value); - void setAttributeValue(QGLShaderProgram* theWrappedObject, int location, const QVector4D& value); - void setGeometryInputType(QGLShaderProgram* theWrappedObject, GLenum inputType); - void setGeometryOutputType(QGLShaderProgram* theWrappedObject, GLenum outputType); - void setGeometryOutputVertexCount(QGLShaderProgram* theWrappedObject, int count); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat value); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, GLint value); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QColor& color); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QPoint& point); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QPointF& point); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QSize& size); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QTransform& value); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value); - void setUniformValue(QGLShaderProgram* theWrappedObject, const char* name, uint value); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat value); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, GLint value); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QColor& color); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QPoint& point); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QPointF& point); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QSize& size); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QSizeF& size); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QTransform& value); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector2D& value); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector3D& value); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, const QVector4D& value); - void setUniformValue(QGLShaderProgram* theWrappedObject, int location, uint value); - void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize); - void setUniformValueArray_int(QGLShaderProgram* theWrappedObject, const char* name, const GLint* values, int count); - void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count); - void setUniformValueArray_QVector2D(QGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count); - void setUniformValueArray_QVector3D(QGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count); - void setUniformValueArray_QVector4D(QGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int count); - void setUniformValueArray(QGLShaderProgram* theWrappedObject, const char* name, const uint* values, int count); - void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize); - void setUniformValueArray_int(QGLShaderProgram* theWrappedObject, int location, const GLint* values, int count); - void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count); - void setUniformValueArray_QVector2D(QGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count); - void setUniformValueArray_QVector3D(QGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count); - void setUniformValueArray_QVector4D(QGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count); - void setUniformValueArray(QGLShaderProgram* theWrappedObject, int location, const uint* values, int count); - QList shaders(QGLShaderProgram* theWrappedObject) const; - int uniformLocation(QGLShaderProgram* theWrappedObject, const QByteArray& name) const; - int uniformLocation(QGLShaderProgram* theWrappedObject, const QString& name) const; - int uniformLocation(QGLShaderProgram* theWrappedObject, const char* name) const; -}; - - - - - -class PythonQtShell_QGLWidget : public QGLWidget -{ -public: - PythonQtShell_QGLWidget(QGLContext* context, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QGLWidget(context, parent, shareWidget, f),_wrapper(nullptr) {}; - PythonQtShell_QGLWidget(QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QGLWidget(parent, shareWidget, f),_wrapper(nullptr) {}; - PythonQtShell_QGLWidget(const QGLFormat& format, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QGLWidget(format, parent, shareWidget, f),_wrapper(nullptr) {}; - - ~PythonQtShell_QGLWidget() override; - -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* arg__1) override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* event) override; -void customEvent(QEvent* event) override; -int devType() const override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* arg__1) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void focusInEvent(QFocusEvent* event) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; -void glDraw() override; -void glInit() override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void initPainter(QPainter* painter) const override; -void initializeGL() override; -void initializeOverlayGL() override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* event) override; -void keyReleaseEvent(QKeyEvent* event) override; -void leaveEvent(QEvent* event) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* event) override; -void mousePressEvent(QMouseEvent* event) override; -void mouseReleaseEvent(QMouseEvent* event) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* arg__1) override; -void paintGL() override; -void paintOverlayGL() override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* arg__1) override; -void resizeGL(int w, int h) override; -void resizeOverlayGL(int w, int h) override; -void setVisible(bool visible) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* event) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* event) override; -void updateGL() override; -void updateOverlayGL() override; -void wheelEvent(QWheelEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGLWidget : public QGLWidget -{ public: -inline bool promoted_autoBufferSwap() const { return this->autoBufferSwap(); } -inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } -inline void promoted_glDraw() { this->glDraw(); } -inline void promoted_glInit() { this->glInit(); } -inline void promoted_initializeGL() { this->initializeGL(); } -inline void promoted_initializeOverlayGL() { this->initializeOverlayGL(); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline void promoted_paintGL() { this->paintGL(); } -inline void promoted_paintOverlayGL() { this->paintOverlayGL(); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } -inline void promoted_resizeGL(int w, int h) { this->resizeGL(w, h); } -inline void promoted_resizeOverlayGL(int w, int h) { this->resizeOverlayGL(w, h); } -inline void promoted_setAutoBufferSwap(bool on) { this->setAutoBufferSwap(on); } -inline bool py_q_event(QEvent* arg__1) { return QGLWidget::event(arg__1); } -inline void py_q_glDraw() { QGLWidget::glDraw(); } -inline void py_q_glInit() { QGLWidget::glInit(); } -inline void py_q_initializeGL() { QGLWidget::initializeGL(); } -inline void py_q_initializeOverlayGL() { QGLWidget::initializeOverlayGL(); } -inline QPaintEngine* py_q_paintEngine() const { return QGLWidget::paintEngine(); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QGLWidget::paintEvent(arg__1); } -inline void py_q_paintGL() { QGLWidget::paintGL(); } -inline void py_q_paintOverlayGL() { QGLWidget::paintOverlayGL(); } -inline void py_q_resizeEvent(QResizeEvent* arg__1) { QGLWidget::resizeEvent(arg__1); } -inline void py_q_resizeGL(int w, int h) { QGLWidget::resizeGL(w, h); } -inline void py_q_resizeOverlayGL(int w, int h) { QGLWidget::resizeOverlayGL(w, h); } -inline void py_q_updateGL() { QGLWidget::updateGL(); } -inline void py_q_updateOverlayGL() { QGLWidget::updateOverlayGL(); } -}; - -class PythonQtWrapper_QGLWidget : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QGLWidget* new_QGLWidget(QGLContext* context, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -QGLWidget* new_QGLWidget(QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -QGLWidget* new_QGLWidget(const QGLFormat& format, QWidget* parent = nullptr, const QGLWidget* shareWidget = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); -void delete_QGLWidget(QGLWidget* obj) { delete obj; } - bool autoBufferSwap(QGLWidget* theWrappedObject) const; - uint bindTexture(QGLWidget* theWrappedObject, const QImage& image, GLenum target = 0x0DE1, GLint format = 0x1908); - uint bindTexture(QGLWidget* theWrappedObject, const QImage& image, GLenum target, GLint format, QGLContext::BindOptions options); - uint bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, GLenum target = 0x0DE1, GLint format = 0x1908); - uint bindTexture(QGLWidget* theWrappedObject, const QPixmap& pixmap, GLenum target, GLint format, QGLContext::BindOptions options); - uint bindTexture(QGLWidget* theWrappedObject, const QString& fileName); - const QGLColormap* colormap(QGLWidget* theWrappedObject) const; - QGLContext* context(QGLWidget* theWrappedObject) const; - QImage static_QGLWidget_convertToGLFormat(const QImage& img); - void deleteTexture(QGLWidget* theWrappedObject, uint tx_id); - void doneCurrent(QGLWidget* theWrappedObject); - bool doubleBuffer(QGLWidget* theWrappedObject) const; - void drawTexture(QGLWidget* theWrappedObject, const QPointF& point, uint textureId, GLenum textureTarget = 0x0DE1); - void drawTexture(QGLWidget* theWrappedObject, const QRectF& target, uint textureId, GLenum textureTarget = 0x0DE1); - bool py_q_event(QGLWidget* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_event(arg__1));} - QGLFormat format(QGLWidget* theWrappedObject) const; - void glDraw(QGLWidget* theWrappedObject); - void py_q_glDraw(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_glDraw());} - void glInit(QGLWidget* theWrappedObject); - void py_q_glInit(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_glInit());} - QImage grabFrameBuffer(QGLWidget* theWrappedObject, bool withAlpha = false); - void initializeGL(QGLWidget* theWrappedObject); - void py_q_initializeGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_initializeGL());} - void initializeOverlayGL(QGLWidget* theWrappedObject); - void py_q_initializeOverlayGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_initializeOverlayGL());} - bool isSharing(QGLWidget* theWrappedObject) const; - bool isValid(QGLWidget* theWrappedObject) const; - void makeCurrent(QGLWidget* theWrappedObject); - void makeOverlayCurrent(QGLWidget* theWrappedObject); - const QGLContext* overlayContext(QGLWidget* theWrappedObject) const; - QPaintEngine* py_q_paintEngine(QGLWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_paintEngine());} - void py_q_paintEvent(QGLWidget* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_paintEvent(arg__1));} - void paintGL(QGLWidget* theWrappedObject); - void py_q_paintGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_paintGL());} - void paintOverlayGL(QGLWidget* theWrappedObject); - void py_q_paintOverlayGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_paintOverlayGL());} - void qglClearColor(QGLWidget* theWrappedObject, const QColor& c) const; - void qglColor(QGLWidget* theWrappedObject, const QColor& c) const; - QPixmap renderPixmap(QGLWidget* theWrappedObject, int w = 0, int h = 0, bool useContext = false); - void renderText(QGLWidget* theWrappedObject, double x, double y, double z, const QString& str, const QFont& fnt = QFont()); - void renderText(QGLWidget* theWrappedObject, int x, int y, const QString& str, const QFont& fnt = QFont()); - void py_q_resizeEvent(QGLWidget* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_resizeEvent(arg__1));} - void resizeGL(QGLWidget* theWrappedObject, int w, int h); - void py_q_resizeGL(QGLWidget* theWrappedObject, int w, int h){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_resizeGL(w, h));} - void resizeOverlayGL(QGLWidget* theWrappedObject, int w, int h); - void py_q_resizeOverlayGL(QGLWidget* theWrappedObject, int w, int h){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_resizeOverlayGL(w, h));} - void setAutoBufferSwap(QGLWidget* theWrappedObject, bool on); - void setColormap(QGLWidget* theWrappedObject, const QGLColormap& map); - void swapBuffers(QGLWidget* theWrappedObject); - void py_q_updateGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_updateGL());} - void py_q_updateOverlayGL(QGLWidget* theWrappedObject){ (((PythonQtPublicPromoter_QGLWidget*)theWrappedObject)->py_q_updateOverlayGL());} - bool __nonzero__(QGLWidget* obj) { return obj->isValid(); } -}; - - diff --git a/generated_cpp_5.10.1/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp b/generated_cpp_5.10.1/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp deleted file mode 100644 index ffde511f1..000000000 --- a/generated_cpp_5.10.1/com_trolltech_qt_opengl/com_trolltech_qt_opengl_init.cpp +++ /dev/null @@ -1,23 +0,0 @@ -#include -#include -#include "com_trolltech_qt_opengl0.h" - - - -void PythonQt_init_QtOpenGL(PyObject* module) { -PythonQt::priv()->registerCPPClass("QGLBuffer", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, 0); -PythonQt::priv()->registerCPPClass("QGLColormap", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QGLContext", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QGLFormat", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QGLFramebufferObject", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::self()->addParentClass("QGLFramebufferObject", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerCPPClass("QGLFramebufferObjectFormat", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QGLFunctions", "", "QtOpenGL", PythonQtCreateObject, nullptr, module, 0); -PythonQt::priv()->registerCPPClass("QGLPixelBuffer", "", "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::self()->addParentClass("QGLPixelBuffer", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerClass(&QGLShader::staticMetaObject, "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QGLShaderProgram::staticMetaObject, "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QGLWidget::staticMetaObject, "QtOpenGL", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); - - -} diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core.pri b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core.pri similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core.pri rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core.pri diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core0.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core0.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core0.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core0.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core0.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core0.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core0.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core0.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core1.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core1.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core1.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core1.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core1.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core1.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core1.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core1.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core2.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core2.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core2.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core2.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core2.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core2.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core2.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core2.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core3.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core3.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core3.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core3.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core3.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core3.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core3.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core3.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core4.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core4.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core4.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core4.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core4.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core4.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core4.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core4.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin.pri diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui.pri b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui.pri similarity index 92% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui.pri rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui.pri index da88b6a38..9fe6dc2e7 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui.pri +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui.pri @@ -11,7 +11,6 @@ HEADERS += \ $$PWD/com_trolltech_qt_gui9.h \ $$PWD/com_trolltech_qt_gui10.h \ $$PWD/com_trolltech_qt_gui11.h \ - $$PWD/com_trolltech_qt_gui12.h \ SOURCES += \ $$PWD/com_trolltech_qt_gui0.cpp \ @@ -26,5 +25,4 @@ SOURCES += \ $$PWD/com_trolltech_qt_gui9.cpp \ $$PWD/com_trolltech_qt_gui10.cpp \ $$PWD/com_trolltech_qt_gui11.cpp \ - $$PWD/com_trolltech_qt_gui12.cpp \ $$PWD/com_trolltech_qt_gui_init.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp similarity index 98% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp index 6dcef62bf..ae461be4a 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui0.cpp @@ -57,7 +57,6 @@ #include #include #include -#include #include #include #include @@ -97,7 +96,6 @@ #include #include #include -#include #include #include #include @@ -14243,43 +14241,6 @@ return new PythonQtShell_QAbstractTextDocumentLayout__Selection(); } -PythonQtShell_QAccessibleEvent::~PythonQtShell_QAccessibleEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QAccessibleEvent* PythonQtWrapper_QAccessibleEvent::new_QAccessibleEvent(QObject* obj, QAccessible::Event typ) -{ -return new PythonQtShell_QAccessibleEvent(obj, typ); } - -int PythonQtWrapper_QAccessibleEvent::child(QAccessibleEvent* theWrappedObject) const -{ - return ( theWrappedObject->child()); -} - -QObject* PythonQtWrapper_QAccessibleEvent::object(QAccessibleEvent* theWrappedObject) const -{ - return ( theWrappedObject->object()); -} - -void PythonQtWrapper_QAccessibleEvent::setChild(QAccessibleEvent* theWrappedObject, int chld) -{ - ( theWrappedObject->setChild(chld)); -} - -QAccessible::Event PythonQtWrapper_QAccessibleEvent::type(QAccessibleEvent* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -QString PythonQtWrapper_QAccessibleEvent::py_toString(QAccessibleEvent* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - PythonQtShell_QAction::~PythonQtShell_QAction() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -26193,3 +26154,382 @@ int PythonQtShell_QCommonStyle::qt_metacall(QMetaObject::Call call, int id, void return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } + +PythonQtShell_QCompleter::~PythonQtShell_QCompleter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QCompleter::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCompleter::childEvent(event0); +} +void PythonQtShell_QCompleter::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCompleter::customEvent(event0); +} +bool PythonQtShell_QCompleter::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCompleter::event(arg__1); +} +bool PythonQtShell_QCompleter::eventFilter(QObject* o0, QEvent* e1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&o0, (void*)&e1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCompleter::eventFilter(o0, e1); +} +QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("pathFromIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pathFromIndex", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCompleter::pathFromIndex(index0); +} +QStringList PythonQtShell_QCompleter::splitPath(const QString& path0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("splitPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QStringList returnValue{}; + void* args[2] = {nullptr, (void*)&path0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("splitPath", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QCompleter::splitPath(path0); +} +void PythonQtShell_QCompleter::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QCompleter::timerEvent(event0); +} +QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(QAbstractItemModel* model, QObject* parent) +{ +return new PythonQtShell_QCompleter(model, parent); } + +QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(QObject* parent) +{ +return new PythonQtShell_QCompleter(parent); } + +QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(const QStringList& completions, QObject* parent) +{ +return new PythonQtShell_QCompleter(completions, parent); } + +const QMetaObject* PythonQtShell_QCompleter::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCompleter::staticMetaObject); + } else { + return &QCompleter::staticMetaObject; + } +} +int PythonQtShell_QCompleter::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QCompleter::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::CaseSensitivity PythonQtWrapper_QCompleter::caseSensitivity(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->caseSensitivity()); +} + +int PythonQtWrapper_QCompleter::completionColumn(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionColumn()); +} + +int PythonQtWrapper_QCompleter::completionCount(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionCount()); +} + +QCompleter::CompletionMode PythonQtWrapper_QCompleter::completionMode(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionMode()); +} + +QAbstractItemModel* PythonQtWrapper_QCompleter::completionModel(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionModel()); +} + +QString PythonQtWrapper_QCompleter::completionPrefix(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionPrefix()); +} + +int PythonQtWrapper_QCompleter::completionRole(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->completionRole()); +} + +QString PythonQtWrapper_QCompleter::currentCompletion(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->currentCompletion()); +} + +QModelIndex PythonQtWrapper_QCompleter::currentIndex(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +int PythonQtWrapper_QCompleter::currentRow(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->currentRow()); +} + +Qt::MatchFlags PythonQtWrapper_QCompleter::filterMode(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->filterMode()); +} + +int PythonQtWrapper_QCompleter::maxVisibleItems(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->maxVisibleItems()); +} + +QAbstractItemModel* PythonQtWrapper_QCompleter::model(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +QCompleter::ModelSorting PythonQtWrapper_QCompleter::modelSorting(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->modelSorting()); +} + +QString PythonQtWrapper_QCompleter::pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->pathFromIndex(index)); +} + +QAbstractItemView* PythonQtWrapper_QCompleter::popup(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->popup()); +} + +void PythonQtWrapper_QCompleter::setCaseSensitivity(QCompleter* theWrappedObject, Qt::CaseSensitivity caseSensitivity) +{ + ( theWrappedObject->setCaseSensitivity(caseSensitivity)); +} + +void PythonQtWrapper_QCompleter::setCompletionColumn(QCompleter* theWrappedObject, int column) +{ + ( theWrappedObject->setCompletionColumn(column)); +} + +void PythonQtWrapper_QCompleter::setCompletionMode(QCompleter* theWrappedObject, QCompleter::CompletionMode mode) +{ + ( theWrappedObject->setCompletionMode(mode)); +} + +void PythonQtWrapper_QCompleter::setCompletionRole(QCompleter* theWrappedObject, int role) +{ + ( theWrappedObject->setCompletionRole(role)); +} + +bool PythonQtWrapper_QCompleter::setCurrentRow(QCompleter* theWrappedObject, int row) +{ + return ( theWrappedObject->setCurrentRow(row)); +} + +void PythonQtWrapper_QCompleter::setFilterMode(QCompleter* theWrappedObject, Qt::MatchFlags filterMode) +{ + ( theWrappedObject->setFilterMode(filterMode)); +} + +void PythonQtWrapper_QCompleter::setMaxVisibleItems(QCompleter* theWrappedObject, int maxItems) +{ + ( theWrappedObject->setMaxVisibleItems(maxItems)); +} + +void PythonQtWrapper_QCompleter::setModel(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP c) +{ + ( theWrappedObject->setModel(c)); +} + +void PythonQtWrapper_QCompleter::setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting) +{ + ( theWrappedObject->setModelSorting(sorting)); +} + +void PythonQtWrapper_QCompleter::setPopup(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP popup) +{ + ( theWrappedObject->setPopup(popup)); +} + +void PythonQtWrapper_QCompleter::setWidget(QCompleter* theWrappedObject, QWidget* widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +QStringList PythonQtWrapper_QCompleter::splitPath(QCompleter* theWrappedObject, const QString& path) const +{ + return ( theWrappedObject->splitPath(path)); +} + +QWidget* PythonQtWrapper_QCompleter::widget(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + +bool PythonQtWrapper_QCompleter::wrapAround(QCompleter* theWrappedObject) const +{ + return ( theWrappedObject->wrapAround()); +} + + diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui0.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui0.h similarity index 97% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui0.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui0.h index 392f4c70f..be450e30a 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui0.h +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui0.h @@ -55,7 +55,6 @@ #include #include #include -#include #include #include #include @@ -95,7 +94,6 @@ #include #include #include -#include #include #include #include @@ -1724,34 +1722,6 @@ QTextCharFormat py_get_format(QAbstractTextDocumentLayout::Selection* theWrappe -class PythonQtShell_QAccessibleEvent : public QAccessibleEvent -{ -public: - PythonQtShell_QAccessibleEvent(QObject* obj, QAccessible::Event typ):QAccessibleEvent(obj, typ),_wrapper(nullptr) {}; - - ~PythonQtShell_QAccessibleEvent() override; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QAccessibleEvent : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QAccessibleEvent* new_QAccessibleEvent(QObject* obj, QAccessible::Event typ); -void delete_QAccessibleEvent(QAccessibleEvent* obj) { delete obj; } - int child(QAccessibleEvent* theWrappedObject) const; - QObject* object(QAccessibleEvent* theWrappedObject) const; - void setChild(QAccessibleEvent* theWrappedObject, int chld); - QAccessible::Event type(QAccessibleEvent* theWrappedObject) const; - QString py_toString(QAccessibleEvent*); -}; - - - - - class PythonQtShell_QAction : public QAction { public: @@ -3070,3 +3040,88 @@ void delete_QCommonStyle(QCommonStyle* obj) { delete obj; } }; + + + +class PythonQtShell_QCompleter : public QCompleter +{ +public: + PythonQtShell_QCompleter(QAbstractItemModel* model, QObject* parent = nullptr):QCompleter(model, parent),_wrapper(nullptr) {}; + PythonQtShell_QCompleter(QObject* parent = nullptr):QCompleter(parent),_wrapper(nullptr) {}; + PythonQtShell_QCompleter(const QStringList& completions, QObject* parent = nullptr):QCompleter(completions, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QCompleter() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* o, QEvent* e) override; +QString pathFromIndex(const QModelIndex& index) const override; +QStringList splitPath(const QString& path) const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QCompleter : public QCompleter +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_eventFilter(QObject* o, QEvent* e) { return this->eventFilter(o, e); } +inline bool py_q_event(QEvent* arg__1) { return QCompleter::event(arg__1); } +inline bool py_q_eventFilter(QObject* o, QEvent* e) { return QCompleter::eventFilter(o, e); } +inline QString py_q_pathFromIndex(const QModelIndex& index) const { return QCompleter::pathFromIndex(index); } +inline QStringList py_q_splitPath(const QString& path) const { return QCompleter::splitPath(path); } +}; + +class PythonQtWrapper_QCompleter : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CompletionMode ModelSorting ) +enum CompletionMode{ + PopupCompletion = QCompleter::PopupCompletion, UnfilteredPopupCompletion = QCompleter::UnfilteredPopupCompletion, InlineCompletion = QCompleter::InlineCompletion}; +enum ModelSorting{ + UnsortedModel = QCompleter::UnsortedModel, CaseSensitivelySortedModel = QCompleter::CaseSensitivelySortedModel, CaseInsensitivelySortedModel = QCompleter::CaseInsensitivelySortedModel}; +public Q_SLOTS: +QCompleter* new_QCompleter(QAbstractItemModel* model, QObject* parent = nullptr); +QCompleter* new_QCompleter(QObject* parent = nullptr); +QCompleter* new_QCompleter(const QStringList& completions, QObject* parent = nullptr); +void delete_QCompleter(QCompleter* obj) { delete obj; } + Qt::CaseSensitivity caseSensitivity(QCompleter* theWrappedObject) const; + int completionColumn(QCompleter* theWrappedObject) const; + int completionCount(QCompleter* theWrappedObject) const; + QCompleter::CompletionMode completionMode(QCompleter* theWrappedObject) const; + QAbstractItemModel* completionModel(QCompleter* theWrappedObject) const; + QString completionPrefix(QCompleter* theWrappedObject) const; + int completionRole(QCompleter* theWrappedObject) const; + QString currentCompletion(QCompleter* theWrappedObject) const; + QModelIndex currentIndex(QCompleter* theWrappedObject) const; + int currentRow(QCompleter* theWrappedObject) const; + bool py_q_event(QCompleter* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_event(arg__1));} + bool py_q_eventFilter(QCompleter* theWrappedObject, QObject* o, QEvent* e){ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_eventFilter(o, e));} + Qt::MatchFlags filterMode(QCompleter* theWrappedObject) const; + int maxVisibleItems(QCompleter* theWrappedObject) const; + QAbstractItemModel* model(QCompleter* theWrappedObject) const; + QCompleter::ModelSorting modelSorting(QCompleter* theWrappedObject) const; + QString pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const; + QString py_q_pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_pathFromIndex(index));} + QAbstractItemView* popup(QCompleter* theWrappedObject) const; + void setCaseSensitivity(QCompleter* theWrappedObject, Qt::CaseSensitivity caseSensitivity); + void setCompletionColumn(QCompleter* theWrappedObject, int column); + void setCompletionMode(QCompleter* theWrappedObject, QCompleter::CompletionMode mode); + void setCompletionRole(QCompleter* theWrappedObject, int role); + bool setCurrentRow(QCompleter* theWrappedObject, int row); + void setFilterMode(QCompleter* theWrappedObject, Qt::MatchFlags filterMode); + void setMaxVisibleItems(QCompleter* theWrappedObject, int maxItems); + void setModel(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP c); + void setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting); + void setPopup(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP popup); + void setWidget(QCompleter* theWrappedObject, QWidget* widget); + QStringList splitPath(QCompleter* theWrappedObject, const QString& path) const; + QStringList py_q_splitPath(QCompleter* theWrappedObject, const QString& path) const{ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_splitPath(path));} + QWidget* widget(QCompleter* theWrappedObject) const; + bool wrapAround(QCompleter* theWrappedObject) const; +}; + + diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp similarity index 98% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp index af0b76522..7e0a40af4 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui1.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include @@ -80,385 +81,6 @@ #include #include -PythonQtShell_QCompleter::~PythonQtShell_QCompleter() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QCompleter::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QCompleter::childEvent(event0); -} -void PythonQtShell_QCompleter::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QCompleter::customEvent(event0); -} -bool PythonQtShell_QCompleter::event(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QCompleter::event(arg__1); -} -bool PythonQtShell_QCompleter::eventFilter(QObject* o0, QEvent* e1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&o0, (void*)&e1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QCompleter::eventFilter(o0, e1); -} -QString PythonQtShell_QCompleter::pathFromIndex(const QModelIndex& index0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("pathFromIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QString" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("pathFromIndex", methodInfo, result); - } else { - returnValue = *((QString*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QCompleter::pathFromIndex(index0); -} -QStringList PythonQtShell_QCompleter::splitPath(const QString& path0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("splitPath"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QStringList returnValue{}; - void* args[2] = {nullptr, (void*)&path0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("splitPath", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QCompleter::splitPath(path0); -} -void PythonQtShell_QCompleter::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QCompleter::timerEvent(event0); -} -QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(QAbstractItemModel* model, QObject* parent) -{ -return new PythonQtShell_QCompleter(model, parent); } - -QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(QObject* parent) -{ -return new PythonQtShell_QCompleter(parent); } - -QCompleter* PythonQtWrapper_QCompleter::new_QCompleter(const QStringList& completions, QObject* parent) -{ -return new PythonQtShell_QCompleter(completions, parent); } - -const QMetaObject* PythonQtShell_QCompleter::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QCompleter::staticMetaObject); - } else { - return &QCompleter::staticMetaObject; - } -} -int PythonQtShell_QCompleter::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QCompleter::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -Qt::CaseSensitivity PythonQtWrapper_QCompleter::caseSensitivity(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->caseSensitivity()); -} - -int PythonQtWrapper_QCompleter::completionColumn(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->completionColumn()); -} - -int PythonQtWrapper_QCompleter::completionCount(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->completionCount()); -} - -QCompleter::CompletionMode PythonQtWrapper_QCompleter::completionMode(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->completionMode()); -} - -QAbstractItemModel* PythonQtWrapper_QCompleter::completionModel(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->completionModel()); -} - -QString PythonQtWrapper_QCompleter::completionPrefix(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->completionPrefix()); -} - -int PythonQtWrapper_QCompleter::completionRole(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->completionRole()); -} - -QString PythonQtWrapper_QCompleter::currentCompletion(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->currentCompletion()); -} - -QModelIndex PythonQtWrapper_QCompleter::currentIndex(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -int PythonQtWrapper_QCompleter::currentRow(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->currentRow()); -} - -Qt::MatchFlags PythonQtWrapper_QCompleter::filterMode(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->filterMode()); -} - -int PythonQtWrapper_QCompleter::maxVisibleItems(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->maxVisibleItems()); -} - -QAbstractItemModel* PythonQtWrapper_QCompleter::model(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->model()); -} - -QCompleter::ModelSorting PythonQtWrapper_QCompleter::modelSorting(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->modelSorting()); -} - -QString PythonQtWrapper_QCompleter::pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->pathFromIndex(index)); -} - -QAbstractItemView* PythonQtWrapper_QCompleter::popup(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->popup()); -} - -void PythonQtWrapper_QCompleter::setCaseSensitivity(QCompleter* theWrappedObject, Qt::CaseSensitivity caseSensitivity) -{ - ( theWrappedObject->setCaseSensitivity(caseSensitivity)); -} - -void PythonQtWrapper_QCompleter::setCompletionColumn(QCompleter* theWrappedObject, int column) -{ - ( theWrappedObject->setCompletionColumn(column)); -} - -void PythonQtWrapper_QCompleter::setCompletionMode(QCompleter* theWrappedObject, QCompleter::CompletionMode mode) -{ - ( theWrappedObject->setCompletionMode(mode)); -} - -void PythonQtWrapper_QCompleter::setCompletionRole(QCompleter* theWrappedObject, int role) -{ - ( theWrappedObject->setCompletionRole(role)); -} - -bool PythonQtWrapper_QCompleter::setCurrentRow(QCompleter* theWrappedObject, int row) -{ - return ( theWrappedObject->setCurrentRow(row)); -} - -void PythonQtWrapper_QCompleter::setFilterMode(QCompleter* theWrappedObject, Qt::MatchFlags filterMode) -{ - ( theWrappedObject->setFilterMode(filterMode)); -} - -void PythonQtWrapper_QCompleter::setMaxVisibleItems(QCompleter* theWrappedObject, int maxItems) -{ - ( theWrappedObject->setMaxVisibleItems(maxItems)); -} - -void PythonQtWrapper_QCompleter::setModel(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP c) -{ - ( theWrappedObject->setModel(c)); -} - -void PythonQtWrapper_QCompleter::setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting) -{ - ( theWrappedObject->setModelSorting(sorting)); -} - -void PythonQtWrapper_QCompleter::setPopup(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP popup) -{ - ( theWrappedObject->setPopup(popup)); -} - -void PythonQtWrapper_QCompleter::setWidget(QCompleter* theWrappedObject, QWidget* widget) -{ - ( theWrappedObject->setWidget(widget)); -} - -QStringList PythonQtWrapper_QCompleter::splitPath(QCompleter* theWrappedObject, const QString& path) const -{ - return ( theWrappedObject->splitPath(path)); -} - -QWidget* PythonQtWrapper_QCompleter::widget(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->widget()); -} - -bool PythonQtWrapper_QCompleter::wrapAround(QCompleter* theWrappedObject) const -{ - return ( theWrappedObject->wrapAround()); -} - - - QConicalGradient* PythonQtWrapper_QConicalGradient::new_QConicalGradient() { return new QConicalGradient(); } @@ -20442,3 +20064,149 @@ QFontDatabase::WritingSystem PythonQtWrapper_QFontComboBox::writingSystem(QFont } + +QFontDatabase* PythonQtWrapper_QFontDatabase::new_QFontDatabase() +{ +return new QFontDatabase(); } + +int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFont(const QString& fileName) +{ + return (QFontDatabase::addApplicationFont(fileName)); +} + +int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData) +{ + return (QFontDatabase::addApplicationFontFromData(fontData)); +} + +QStringList PythonQtWrapper_QFontDatabase::static_QFontDatabase_applicationFontFamilies(int id) +{ + return (QFontDatabase::applicationFontFamilies(id)); +} + +bool PythonQtWrapper_QFontDatabase::bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->bold(family, style)); +} + +QStringList PythonQtWrapper_QFontDatabase::families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem) const +{ + return ( theWrappedObject->families(writingSystem)); +} + +QFont PythonQtWrapper_QFontDatabase::font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const +{ + return ( theWrappedObject->font(family, style, pointSize)); +} + +bool PythonQtWrapper_QFontDatabase::hasFamily(QFontDatabase* theWrappedObject, const QString& family) const +{ + return ( theWrappedObject->hasFamily(family)); +} + +bool PythonQtWrapper_QFontDatabase::isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->isBitmapScalable(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->isFixedPitch(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::isPrivateFamily(QFontDatabase* theWrappedObject, const QString& family) const +{ + return ( theWrappedObject->isPrivateFamily(family)); +} + +bool PythonQtWrapper_QFontDatabase::isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->isScalable(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->isSmoothlyScalable(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->italic(family, style)); +} + +QList PythonQtWrapper_QFontDatabase::pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) +{ + return ( theWrappedObject->pointSizes(family, style)); +} + +bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeAllApplicationFonts() +{ + return (QFontDatabase::removeAllApplicationFonts()); +} + +bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeApplicationFont(int id) +{ + return (QFontDatabase::removeApplicationFont(id)); +} + +QList PythonQtWrapper_QFontDatabase::smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) +{ + return ( theWrappedObject->smoothSizes(family, style)); +} + +QList PythonQtWrapper_QFontDatabase::static_QFontDatabase_standardSizes() +{ + return (QFontDatabase::standardSizes()); +} + +QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFont& font) +{ + return ( theWrappedObject->styleString(font)); +} + +QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo) +{ + return ( theWrappedObject->styleString(fontInfo)); +} + +QStringList PythonQtWrapper_QFontDatabase::styles(QFontDatabase* theWrappedObject, const QString& family) const +{ + return ( theWrappedObject->styles(family)); +} + +bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_supportsThreadedFontRendering() +{ + return (QFontDatabase::supportsThreadedFontRendering()); +} + +QFont PythonQtWrapper_QFontDatabase::static_QFontDatabase_systemFont(QFontDatabase::SystemFont type) +{ + return (QFontDatabase::systemFont(type)); +} + +int PythonQtWrapper_QFontDatabase::weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const +{ + return ( theWrappedObject->weight(family, style)); +} + +QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem) +{ + return (QFontDatabase::writingSystemName(writingSystem)); +} + +QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem) +{ + return (QFontDatabase::writingSystemSample(writingSystem)); +} + +QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject) const +{ + return ( theWrappedObject->writingSystems()); +} + +QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject, const QString& family) const +{ + return ( theWrappedObject->writingSystems(family)); +} + + diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui1.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui1.h similarity index 95% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui1.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui1.h index 078130ad0..8c484961d 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui1.h +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui1.h @@ -2,6 +2,7 @@ #include #include #include +#include #include #include #include @@ -52,6 +53,7 @@ #include #include #include +#include #include #include #include @@ -81,91 +83,6 @@ -class PythonQtShell_QCompleter : public QCompleter -{ -public: - PythonQtShell_QCompleter(QAbstractItemModel* model, QObject* parent = nullptr):QCompleter(model, parent),_wrapper(nullptr) {}; - PythonQtShell_QCompleter(QObject* parent = nullptr):QCompleter(parent),_wrapper(nullptr) {}; - PythonQtShell_QCompleter(const QStringList& completions, QObject* parent = nullptr):QCompleter(completions, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QCompleter() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* arg__1) override; -bool eventFilter(QObject* o, QEvent* e) override; -QString pathFromIndex(const QModelIndex& index) const override; -QStringList splitPath(const QString& path) const override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QCompleter : public QCompleter -{ public: -inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } -inline bool promoted_eventFilter(QObject* o, QEvent* e) { return this->eventFilter(o, e); } -inline bool py_q_event(QEvent* arg__1) { return QCompleter::event(arg__1); } -inline bool py_q_eventFilter(QObject* o, QEvent* e) { return QCompleter::eventFilter(o, e); } -inline QString py_q_pathFromIndex(const QModelIndex& index) const { return QCompleter::pathFromIndex(index); } -inline QStringList py_q_splitPath(const QString& path) const { return QCompleter::splitPath(path); } -}; - -class PythonQtWrapper_QCompleter : public QObject -{ Q_OBJECT -public: -Q_ENUMS(CompletionMode ModelSorting ) -enum CompletionMode{ - PopupCompletion = QCompleter::PopupCompletion, UnfilteredPopupCompletion = QCompleter::UnfilteredPopupCompletion, InlineCompletion = QCompleter::InlineCompletion}; -enum ModelSorting{ - UnsortedModel = QCompleter::UnsortedModel, CaseSensitivelySortedModel = QCompleter::CaseSensitivelySortedModel, CaseInsensitivelySortedModel = QCompleter::CaseInsensitivelySortedModel}; -public Q_SLOTS: -QCompleter* new_QCompleter(QAbstractItemModel* model, QObject* parent = nullptr); -QCompleter* new_QCompleter(QObject* parent = nullptr); -QCompleter* new_QCompleter(const QStringList& completions, QObject* parent = nullptr); -void delete_QCompleter(QCompleter* obj) { delete obj; } - Qt::CaseSensitivity caseSensitivity(QCompleter* theWrappedObject) const; - int completionColumn(QCompleter* theWrappedObject) const; - int completionCount(QCompleter* theWrappedObject) const; - QCompleter::CompletionMode completionMode(QCompleter* theWrappedObject) const; - QAbstractItemModel* completionModel(QCompleter* theWrappedObject) const; - QString completionPrefix(QCompleter* theWrappedObject) const; - int completionRole(QCompleter* theWrappedObject) const; - QString currentCompletion(QCompleter* theWrappedObject) const; - QModelIndex currentIndex(QCompleter* theWrappedObject) const; - int currentRow(QCompleter* theWrappedObject) const; - bool py_q_event(QCompleter* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_event(arg__1));} - bool py_q_eventFilter(QCompleter* theWrappedObject, QObject* o, QEvent* e){ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_eventFilter(o, e));} - Qt::MatchFlags filterMode(QCompleter* theWrappedObject) const; - int maxVisibleItems(QCompleter* theWrappedObject) const; - QAbstractItemModel* model(QCompleter* theWrappedObject) const; - QCompleter::ModelSorting modelSorting(QCompleter* theWrappedObject) const; - QString pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const; - QString py_q_pathFromIndex(QCompleter* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_pathFromIndex(index));} - QAbstractItemView* popup(QCompleter* theWrappedObject) const; - void setCaseSensitivity(QCompleter* theWrappedObject, Qt::CaseSensitivity caseSensitivity); - void setCompletionColumn(QCompleter* theWrappedObject, int column); - void setCompletionMode(QCompleter* theWrappedObject, QCompleter::CompletionMode mode); - void setCompletionRole(QCompleter* theWrappedObject, int role); - bool setCurrentRow(QCompleter* theWrappedObject, int row); - void setFilterMode(QCompleter* theWrappedObject, Qt::MatchFlags filterMode); - void setMaxVisibleItems(QCompleter* theWrappedObject, int maxItems); - void setModel(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP c); - void setModelSorting(QCompleter* theWrappedObject, QCompleter::ModelSorting sorting); - void setPopup(QCompleter* theWrappedObject, PythonQtPassOwnershipToCPP popup); - void setWidget(QCompleter* theWrappedObject, QWidget* widget); - QStringList splitPath(QCompleter* theWrappedObject, const QString& path) const; - QStringList py_q_splitPath(QCompleter* theWrappedObject, const QString& path) const{ return (((PythonQtPublicPromoter_QCompleter*)theWrappedObject)->py_q_splitPath(path));} - QWidget* widget(QCompleter* theWrappedObject) const; - bool wrapAround(QCompleter* theWrappedObject) const; -}; - - - - - class PythonQtWrapper_QConicalGradient : public QObject { Q_OBJECT public: @@ -2213,3 +2130,52 @@ void delete_QFontComboBox(QFontComboBox* obj) { delete obj; } }; + + + +class PythonQtWrapper_QFontDatabase : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SystemFont WritingSystem ) +enum SystemFont{ + GeneralFont = QFontDatabase::GeneralFont, FixedFont = QFontDatabase::FixedFont, TitleFont = QFontDatabase::TitleFont, SmallestReadableFont = QFontDatabase::SmallestReadableFont}; +enum WritingSystem{ + Any = QFontDatabase::Any, Latin = QFontDatabase::Latin, Greek = QFontDatabase::Greek, Cyrillic = QFontDatabase::Cyrillic, Armenian = QFontDatabase::Armenian, Hebrew = QFontDatabase::Hebrew, Arabic = QFontDatabase::Arabic, Syriac = QFontDatabase::Syriac, Thaana = QFontDatabase::Thaana, Devanagari = QFontDatabase::Devanagari, Bengali = QFontDatabase::Bengali, Gurmukhi = QFontDatabase::Gurmukhi, Gujarati = QFontDatabase::Gujarati, Oriya = QFontDatabase::Oriya, Tamil = QFontDatabase::Tamil, Telugu = QFontDatabase::Telugu, Kannada = QFontDatabase::Kannada, Malayalam = QFontDatabase::Malayalam, Sinhala = QFontDatabase::Sinhala, Thai = QFontDatabase::Thai, Lao = QFontDatabase::Lao, Tibetan = QFontDatabase::Tibetan, Myanmar = QFontDatabase::Myanmar, Georgian = QFontDatabase::Georgian, Khmer = QFontDatabase::Khmer, SimplifiedChinese = QFontDatabase::SimplifiedChinese, TraditionalChinese = QFontDatabase::TraditionalChinese, Japanese = QFontDatabase::Japanese, Korean = QFontDatabase::Korean, Vietnamese = QFontDatabase::Vietnamese, Symbol = QFontDatabase::Symbol, Other = QFontDatabase::Other, Ogham = QFontDatabase::Ogham, Runic = QFontDatabase::Runic, Nko = QFontDatabase::Nko, WritingSystemsCount = QFontDatabase::WritingSystemsCount}; +public Q_SLOTS: +QFontDatabase* new_QFontDatabase(); +QFontDatabase* new_QFontDatabase(const QFontDatabase& other) { +QFontDatabase* a = new QFontDatabase(); +*((QFontDatabase*)a) = other; +return a; } +void delete_QFontDatabase(QFontDatabase* obj) { delete obj; } + int static_QFontDatabase_addApplicationFont(const QString& fileName); + int static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData); + QStringList static_QFontDatabase_applicationFontFamilies(int id); + bool bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; + QStringList families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem = QFontDatabase::Any) const; + QFont font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const; + bool hasFamily(QFontDatabase* theWrappedObject, const QString& family) const; + bool isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; + bool isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; + bool isPrivateFamily(QFontDatabase* theWrappedObject, const QString& family) const; + bool isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; + bool isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; + bool italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; + QList pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()); + bool static_QFontDatabase_removeAllApplicationFonts(); + bool static_QFontDatabase_removeApplicationFont(int id); + QList smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style); + QList static_QFontDatabase_standardSizes(); + QString styleString(QFontDatabase* theWrappedObject, const QFont& font); + QString styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo); + QStringList styles(QFontDatabase* theWrappedObject, const QString& family) const; + bool static_QFontDatabase_supportsThreadedFontRendering(); + QFont static_QFontDatabase_systemFont(QFontDatabase::SystemFont type); + int weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; + QString static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem); + QString static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem); + QList writingSystems(QFontDatabase* theWrappedObject) const; + QList writingSystems(QFontDatabase* theWrappedObject, const QString& family) const; +}; + + diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp similarity index 56% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp index 0a549e28b..394b96cac 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp @@ -1,26 +1,29 @@ -#include "com_trolltech_qt_gui6.h" +#include "com_trolltech_qt_gui10.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 +#include #include +#include #include #include #include @@ -30,7 +33,7 @@ #include #include #include -#include +#include #include #include #include @@ -40,250 +43,75 @@ #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 -QPageLayout* PythonQtWrapper_QPageLayout::new_QPageLayout() -{ -return new QPageLayout(); } - -QPageLayout* PythonQtWrapper_QPageLayout::new_QPageLayout(const QPageLayout& other) -{ -return new QPageLayout(other); } - -QPageLayout* PythonQtWrapper_QPageLayout::new_QPageLayout(const QPageSize& pageSize, QPageLayout::Orientation orientation, const QMarginsF& margins, QPageLayout::Unit units, const QMarginsF& minMargins) -{ -return new QPageLayout(pageSize, orientation, margins, units, minMargins); } - -QRectF PythonQtWrapper_QPageLayout::fullRect(QPageLayout* theWrappedObject) const -{ - return ( theWrappedObject->fullRect()); -} - -QRectF PythonQtWrapper_QPageLayout::fullRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const -{ - return ( theWrappedObject->fullRect(units)); -} - -QRect PythonQtWrapper_QPageLayout::fullRectPixels(QPageLayout* theWrappedObject, int resolution) const -{ - return ( theWrappedObject->fullRectPixels(resolution)); -} - -QRect PythonQtWrapper_QPageLayout::fullRectPoints(QPageLayout* theWrappedObject) const -{ - return ( theWrappedObject->fullRectPoints()); -} - -bool PythonQtWrapper_QPageLayout::isEquivalentTo(QPageLayout* theWrappedObject, const QPageLayout& other) const -{ - return ( theWrappedObject->isEquivalentTo(other)); -} - -bool PythonQtWrapper_QPageLayout::isValid(QPageLayout* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QMarginsF PythonQtWrapper_QPageLayout::margins(QPageLayout* theWrappedObject) const -{ - return ( theWrappedObject->margins()); -} - -QMarginsF PythonQtWrapper_QPageLayout::margins(QPageLayout* theWrappedObject, QPageLayout::Unit units) const -{ - return ( theWrappedObject->margins(units)); -} - -QMargins PythonQtWrapper_QPageLayout::marginsPixels(QPageLayout* theWrappedObject, int resolution) const -{ - return ( theWrappedObject->marginsPixels(resolution)); -} - -QMargins PythonQtWrapper_QPageLayout::marginsPoints(QPageLayout* theWrappedObject) const -{ - return ( theWrappedObject->marginsPoints()); -} - -QMarginsF PythonQtWrapper_QPageLayout::maximumMargins(QPageLayout* theWrappedObject) const -{ - return ( theWrappedObject->maximumMargins()); -} - -QMarginsF PythonQtWrapper_QPageLayout::minimumMargins(QPageLayout* theWrappedObject) const -{ - return ( theWrappedObject->minimumMargins()); -} - -QPageLayout::Mode PythonQtWrapper_QPageLayout::mode(QPageLayout* theWrappedObject) const -{ - return ( theWrappedObject->mode()); -} - -bool PythonQtWrapper_QPageLayout::__ne__(QPageLayout* theWrappedObject, const QPageLayout& rhs) -{ - return ( (*theWrappedObject)!= rhs); -} - -QPageLayout* PythonQtWrapper_QPageLayout::operator_assign(QPageLayout* theWrappedObject, const QPageLayout& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QPageLayout::__eq__(QPageLayout* theWrappedObject, const QPageLayout& rhs) -{ - return ( (*theWrappedObject)== rhs); -} - -QPageLayout::Orientation PythonQtWrapper_QPageLayout::orientation(QPageLayout* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -QPageSize PythonQtWrapper_QPageLayout::pageSize(QPageLayout* theWrappedObject) const -{ - return ( theWrappedObject->pageSize()); -} - -QRectF PythonQtWrapper_QPageLayout::paintRect(QPageLayout* theWrappedObject) const -{ - return ( theWrappedObject->paintRect()); -} - -QRectF PythonQtWrapper_QPageLayout::paintRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const -{ - return ( theWrappedObject->paintRect(units)); -} - -QRect PythonQtWrapper_QPageLayout::paintRectPixels(QPageLayout* theWrappedObject, int resolution) const -{ - return ( theWrappedObject->paintRectPixels(resolution)); -} - -QRect PythonQtWrapper_QPageLayout::paintRectPoints(QPageLayout* theWrappedObject) const -{ - return ( theWrappedObject->paintRectPoints()); -} - -bool PythonQtWrapper_QPageLayout::setBottomMargin(QPageLayout* theWrappedObject, qreal bottomMargin) -{ - return ( theWrappedObject->setBottomMargin(bottomMargin)); -} - -bool PythonQtWrapper_QPageLayout::setLeftMargin(QPageLayout* theWrappedObject, qreal leftMargin) -{ - return ( theWrappedObject->setLeftMargin(leftMargin)); -} - -bool PythonQtWrapper_QPageLayout::setMargins(QPageLayout* theWrappedObject, const QMarginsF& margins) -{ - return ( theWrappedObject->setMargins(margins)); -} - -void PythonQtWrapper_QPageLayout::setMinimumMargins(QPageLayout* theWrappedObject, const QMarginsF& minMargins) -{ - ( theWrappedObject->setMinimumMargins(minMargins)); -} - -void PythonQtWrapper_QPageLayout::setMode(QPageLayout* theWrappedObject, QPageLayout::Mode mode) -{ - ( theWrappedObject->setMode(mode)); -} - -void PythonQtWrapper_QPageLayout::setOrientation(QPageLayout* theWrappedObject, QPageLayout::Orientation orientation) -{ - ( theWrappedObject->setOrientation(orientation)); -} - -void PythonQtWrapper_QPageLayout::setPageSize(QPageLayout* theWrappedObject, const QPageSize& pageSize, const QMarginsF& minMargins) -{ - ( theWrappedObject->setPageSize(pageSize, minMargins)); -} - -bool PythonQtWrapper_QPageLayout::setRightMargin(QPageLayout* theWrappedObject, qreal rightMargin) -{ - return ( theWrappedObject->setRightMargin(rightMargin)); -} - -bool PythonQtWrapper_QPageLayout::setTopMargin(QPageLayout* theWrappedObject, qreal topMargin) -{ - return ( theWrappedObject->setTopMargin(topMargin)); -} - -void PythonQtWrapper_QPageLayout::setUnits(QPageLayout* theWrappedObject, QPageLayout::Unit units) -{ - ( theWrappedObject->setUnits(units)); -} - -void PythonQtWrapper_QPageLayout::swap(QPageLayout* theWrappedObject, QPageLayout& other) -{ - ( theWrappedObject->swap(other)); +PythonQtShell_QTextBrowser::~PythonQtShell_QTextBrowser() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QPageLayout::Unit PythonQtWrapper_QPageLayout::units(QPageLayout* theWrappedObject) const +void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* event0) { - return ( theWrappedObject->units()); -} - -QString PythonQtWrapper_QPageLayout::py_toString(QPageLayout* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QPageSetupDialog::~PythonQtShell_QPageSetupDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTextBrowser::actionEvent(event0); } -void PythonQtShell_QPageSetupDialog::accept() +void PythonQtShell_QTextBrowser::backward() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("accept"); + static PyObject* name = PyUnicode_FromString("backward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={""}; @@ -298,31 +126,42 @@ if (_wrapper) { } } } - QPageSetupDialog::accept(); + QTextBrowser::backward(); } -void PythonQtShell_QPageSetupDialog::actionEvent(QActionEvent* event0) +bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); + static PyObject* name = PyUnicode_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"bool" , "const QMimeData*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPageSetupDialog::actionEvent(event0); + return QTextBrowser::canInsertFromMimeData(source0); } -void PythonQtShell_QPageSetupDialog::changeEvent(QEvent* arg__1) +void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -332,7 +171,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -342,9 +181,9 @@ if (_wrapper) { } } } - QPageSetupDialog::changeEvent(arg__1); + QTextBrowser::changeEvent(e0); } -void PythonQtShell_QPageSetupDialog::childEvent(QChildEvent* event0) +void PythonQtShell_QTextBrowser::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -364,9 +203,9 @@ if (_wrapper) { } } } - QPageSetupDialog::childEvent(event0); + QTextBrowser::childEvent(event0); } -void PythonQtShell_QPageSetupDialog::closeEvent(QCloseEvent* arg__1) +void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -376,7 +215,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -386,9 +225,9 @@ if (_wrapper) { } } } - QPageSetupDialog::closeEvent(arg__1); + QTextBrowser::closeEvent(event0); } -void PythonQtShell_QPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -398,7 +237,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -408,9 +247,42 @@ if (_wrapper) { } } } - QPageSetupDialog::contextMenuEvent(arg__1); + QTextBrowser::contextMenuEvent(e0); +} +QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("createMimeDataFromSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QMimeData* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::createMimeDataFromSelection(); } -void PythonQtShell_QPageSetupDialog::customEvent(QEvent* event0) +void PythonQtShell_QTextBrowser::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -430,9 +302,9 @@ if (_wrapper) { } } } - QPageSetupDialog::customEvent(event0); + QTextBrowser::customEvent(event0); } -int PythonQtShell_QPageSetupDialog::devType() const +int PythonQtShell_QTextBrowser::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -463,19 +335,19 @@ if (_wrapper) { } } } - return QPageSetupDialog::devType(); + return QTextBrowser::devType(); } -void PythonQtShell_QPageSetupDialog::done(int result0) +void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("done"); + static PyObject* name = PyUnicode_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "const QTextCursor&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&result0}; + void* args[2] = {nullptr, (void*)&cursor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -485,9 +357,9 @@ if (_wrapper) { } } } - QPageSetupDialog::done(result0); + QTextBrowser::doSetTextCursor(cursor0); } -void PythonQtShell_QPageSetupDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -497,7 +369,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -507,9 +379,9 @@ if (_wrapper) { } } } - QPageSetupDialog::dragEnterEvent(event0); + QTextBrowser::dragEnterEvent(e0); } -void PythonQtShell_QPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -519,7 +391,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -529,9 +401,9 @@ if (_wrapper) { } } } - QPageSetupDialog::dragLeaveEvent(event0); + QTextBrowser::dragLeaveEvent(e0); } -void PythonQtShell_QPageSetupDialog::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -541,7 +413,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -551,9 +423,9 @@ if (_wrapper) { } } } - QPageSetupDialog::dragMoveEvent(event0); + QTextBrowser::dragMoveEvent(e0); } -void PythonQtShell_QPageSetupDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -563,7 +435,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -573,9 +445,9 @@ if (_wrapper) { } } } - QPageSetupDialog::dropEvent(event0); + QTextBrowser::dropEvent(e0); } -void PythonQtShell_QPageSetupDialog::enterEvent(QEvent* event0) +void PythonQtShell_QTextBrowser::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -595,9 +467,9 @@ if (_wrapper) { } } } - QPageSetupDialog::enterEvent(event0); + QTextBrowser::enterEvent(event0); } -bool PythonQtShell_QPageSetupDialog::event(QEvent* event0) +bool PythonQtShell_QTextBrowser::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -608,7 +480,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -628,9 +500,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::event(event0); + return QTextBrowser::event(e0); } -bool PythonQtShell_QPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -661,42 +533,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QPageSetupDialog::exec() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("exec"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPageSetupDialog::exec(); + return QTextBrowser::eventFilter(arg__1, arg__2); } -void PythonQtShell_QPageSetupDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -706,7 +545,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -716,9 +555,9 @@ if (_wrapper) { } } } - QPageSetupDialog::focusInEvent(event0); + QTextBrowser::focusInEvent(e0); } -bool PythonQtShell_QPageSetupDialog::focusNextPrevChild(bool next0) +bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -749,9 +588,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::focusNextPrevChild(next0); + return QTextBrowser::focusNextPrevChild(next0); } -void PythonQtShell_QPageSetupDialog::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -761,7 +600,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -771,47 +610,69 @@ if (_wrapper) { } } } - QPageSetupDialog::focusOutEvent(event0); + QTextBrowser::focusOutEvent(ev0); } -bool PythonQtShell_QPageSetupDialog::hasHeightForWidth() const +void PythonQtShell_QTextBrowser::forward() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + static PyObject* name = PyUnicode_FromString("forward"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPageSetupDialog::hasHeightForWidth(); + QTextBrowser::forward(); } -int PythonQtShell_QPageSetupDialog::heightForWidth(int arg__1) const +bool PythonQtShell_QTextBrowser::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::hasHeightForWidth(); +} +int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"int" , "int"}; @@ -837,9 +698,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::heightForWidth(arg__1); + return QTextBrowser::heightForWidth(arg__1); } -void PythonQtShell_QPageSetupDialog::hideEvent(QHideEvent* event0) +void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -859,9 +720,31 @@ if (_wrapper) { } } } - QPageSetupDialog::hideEvent(event0); + QTextBrowser::hideEvent(event0); } -void PythonQtShell_QPageSetupDialog::initPainter(QPainter* painter0) const +void PythonQtShell_QTextBrowser::home() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("home"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::home(); +} +void PythonQtShell_QTextBrowser::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -881,9 +764,9 @@ if (_wrapper) { } } } - QPageSetupDialog::initPainter(painter0); + QTextBrowser::initPainter(painter0); } -void PythonQtShell_QPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -903,9 +786,9 @@ if (_wrapper) { } } } - QPageSetupDialog::inputMethodEvent(arg__1); + QTextBrowser::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QPageSetupDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -916,7 +799,7 @@ if (_wrapper) { static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&property0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -936,9 +819,31 @@ if (_wrapper) { } } } - return QPageSetupDialog::inputMethodQuery(arg__1); + return QTextBrowser::inputMethodQuery(property0); +} +void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("insertFromMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&source0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::insertFromMimeData(source0); } -void PythonQtShell_QPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -948,7 +853,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -958,9 +863,9 @@ if (_wrapper) { } } } - QPageSetupDialog::keyPressEvent(arg__1); + QTextBrowser::keyPressEvent(ev0); } -void PythonQtShell_QPageSetupDialog::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -970,7 +875,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -980,9 +885,9 @@ if (_wrapper) { } } } - QPageSetupDialog::keyReleaseEvent(event0); + QTextBrowser::keyReleaseEvent(e0); } -void PythonQtShell_QPageSetupDialog::leaveEvent(QEvent* event0) +void PythonQtShell_QTextBrowser::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1002,9 +907,42 @@ if (_wrapper) { } } } - QPageSetupDialog::leaveEvent(event0); + QTextBrowser::leaveEvent(event0); +} +QVariant PythonQtShell_QTextBrowser::loadResource(int type0, const QUrl& name1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("loadResource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::loadResource(type0, name1); } -int PythonQtShell_QPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1035,9 +973,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::metric(arg__1); + return QTextBrowser::metric(arg__1); } -QSize PythonQtShell_QPageSetupDialog::minimumSizeHint() const +QSize PythonQtShell_QTextBrowser::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1068,9 +1006,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::minimumSizeHint(); + return QTextBrowser::minimumSizeHint(); } -void PythonQtShell_QPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1080,7 +1018,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1090,9 +1028,9 @@ if (_wrapper) { } } } - QPageSetupDialog::mouseDoubleClickEvent(event0); + QTextBrowser::mouseDoubleClickEvent(e0); } -void PythonQtShell_QPageSetupDialog::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1102,7 +1040,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1112,9 +1050,9 @@ if (_wrapper) { } } } - QPageSetupDialog::mouseMoveEvent(event0); + QTextBrowser::mouseMoveEvent(ev0); } -void PythonQtShell_QPageSetupDialog::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1124,7 +1062,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1134,9 +1072,9 @@ if (_wrapper) { } } } - QPageSetupDialog::mousePressEvent(event0); + QTextBrowser::mousePressEvent(ev0); } -void PythonQtShell_QPageSetupDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1146,7 +1084,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&ev0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1156,9 +1094,9 @@ if (_wrapper) { } } } - QPageSetupDialog::mouseReleaseEvent(event0); + QTextBrowser::mouseReleaseEvent(ev0); } -void PythonQtShell_QPageSetupDialog::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1178,9 +1116,9 @@ if (_wrapper) { } } } - QPageSetupDialog::moveEvent(event0); + QTextBrowser::moveEvent(event0); } -bool PythonQtShell_QPageSetupDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QTextBrowser::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1211,9 +1149,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::nativeEvent(eventType0, message1, result2); + return QTextBrowser::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QPageSetupDialog::paintEngine() const +QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1244,9 +1182,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::paintEngine(); + return QTextBrowser::paintEngine(); } -void PythonQtShell_QPageSetupDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1256,7 +1194,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1266,9 +1204,9 @@ if (_wrapper) { } } } - QPageSetupDialog::paintEvent(event0); + QTextBrowser::paintEvent(e0); } -QPaintDevice* PythonQtShell_QPageSetupDialog::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QTextBrowser::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1299,14 +1237,14 @@ if (_wrapper) { } } } - return QPageSetupDialog::redirected(offset0); + return QTextBrowser::redirected(offset0); } -void PythonQtShell_QPageSetupDialog::reject() +void PythonQtShell_QTextBrowser::reload() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("reject"); + static PyObject* name = PyUnicode_FromString("reload"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={""}; @@ -1321,9 +1259,9 @@ if (_wrapper) { } } } - QPageSetupDialog::reject(); + QTextBrowser::reload(); } -void PythonQtShell_QPageSetupDialog::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1333,7 +1271,51 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::resizeEvent(e0); +} +void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setSource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&name0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1343,9 +1325,9 @@ if (_wrapper) { } } } - QPageSetupDialog::resizeEvent(arg__1); + QTextBrowser::setSource(name0); } -void PythonQtShell_QPageSetupDialog::setVisible(bool visible0) +void PythonQtShell_QTextBrowser::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1365,9 +1347,31 @@ if (_wrapper) { } } } - QPageSetupDialog::setVisible(visible0); + QTextBrowser::setVisible(visible0); +} +void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBrowser::setupViewport(viewport0); } -QPainter* PythonQtShell_QPageSetupDialog::sharedPainter() const +QPainter* PythonQtShell_QTextBrowser::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1398,9 +1402,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::sharedPainter(); + return QTextBrowser::sharedPainter(); } -void PythonQtShell_QPageSetupDialog::showEvent(QShowEvent* arg__1) +void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1420,9 +1424,9 @@ if (_wrapper) { } } } - QPageSetupDialog::showEvent(arg__1); + QTextBrowser::showEvent(arg__1); } -QSize PythonQtShell_QPageSetupDialog::sizeHint() const +QSize PythonQtShell_QTextBrowser::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1453,9 +1457,9 @@ if (_wrapper) { } } } - return QPageSetupDialog::sizeHint(); + return QTextBrowser::sizeHint(); } -void PythonQtShell_QPageSetupDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1475,9 +1479,9 @@ if (_wrapper) { } } } - QPageSetupDialog::tabletEvent(event0); + QTextBrowser::tabletEvent(event0); } -void PythonQtShell_QPageSetupDialog::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1487,7 +1491,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1497,9 +1501,75 @@ if (_wrapper) { } } } - QPageSetupDialog::timerEvent(event0); + QTextBrowser::timerEvent(e0); +} +bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("viewportEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::viewportEvent(arg__1); +} +QSize PythonQtShell_QTextBrowser::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextBrowser::viewportSizeHint(); } -void PythonQtShell_QPageSetupDialog::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1509,7 +1579,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1519,714 +1589,875 @@ if (_wrapper) { } } } - QPageSetupDialog::wheelEvent(event0); + QTextBrowser::wheelEvent(e0); } -QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QPrinter* printer, QWidget* parent) -{ -return new PythonQtShell_QPageSetupDialog(printer, parent); } - -QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QWidget* parent) +QTextBrowser* PythonQtWrapper_QTextBrowser::new_QTextBrowser(QWidget* parent) { -return new PythonQtShell_QPageSetupDialog(parent); } +return new PythonQtShell_QTextBrowser(parent); } -const QMetaObject* PythonQtShell_QPageSetupDialog::metaObject() const { +const QMetaObject* PythonQtShell_QTextBrowser::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPageSetupDialog::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextBrowser::staticMetaObject); } else { - return &QPageSetupDialog::staticMetaObject; + return &QTextBrowser::staticMetaObject; } } -int PythonQtShell_QPageSetupDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPageSetupDialog::qt_metacall(call, id, args); +int PythonQtShell_QTextBrowser::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextBrowser::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QPageSetupDialog::open(QPageSetupDialog* theWrappedObject, QObject* receiver, const char* member) +int PythonQtWrapper_QTextBrowser::backwardHistoryCount(QTextBrowser* theWrappedObject) const { - ( theWrappedObject->open(receiver, member)); + return ( theWrappedObject->backwardHistoryCount()); } -QPrinter* PythonQtWrapper_QPageSetupDialog::printer(QPageSetupDialog* theWrappedObject) +void PythonQtWrapper_QTextBrowser::clearHistory(QTextBrowser* theWrappedObject) { - return ( theWrappedObject->printer()); + ( theWrappedObject->clearHistory()); } - - -QPageSize* PythonQtWrapper_QPageSize::new_QPageSize() -{ -return new QPageSize(); } - -QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(QPageSize::PageSizeId pageSizeId) -{ -return new QPageSize(pageSizeId); } - -QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(const QPageSize& other) -{ -return new QPageSize(other); } - -QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(const QSize& pointSize, const QString& name, QPageSize::SizeMatchPolicy matchPolicy) -{ -return new QPageSize(pointSize, name, matchPolicy); } - -QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(const QSizeF& size, QPageSize::Unit units, const QString& name, QPageSize::SizeMatchPolicy matchPolicy) -{ -return new QPageSize(size, units, name, matchPolicy); } - -QSizeF PythonQtWrapper_QPageSize::definitionSize(QPageSize* theWrappedObject) const +int PythonQtWrapper_QTextBrowser::forwardHistoryCount(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->definitionSize()); + return ( theWrappedObject->forwardHistoryCount()); } -QSizeF PythonQtWrapper_QPageSize::static_QPageSize_definitionSize(QPageSize::PageSizeId pageSizeId) +QString PythonQtWrapper_QTextBrowser::historyTitle(QTextBrowser* theWrappedObject, int arg__1) const { - return (QPageSize::definitionSize(pageSizeId)); + return ( theWrappedObject->historyTitle(arg__1)); } -QPageSize::Unit PythonQtWrapper_QPageSize::definitionUnits(QPageSize* theWrappedObject) const +QUrl PythonQtWrapper_QTextBrowser::historyUrl(QTextBrowser* theWrappedObject, int arg__1) const { - return ( theWrappedObject->definitionUnits()); + return ( theWrappedObject->historyUrl(arg__1)); } -QPageSize::Unit PythonQtWrapper_QPageSize::static_QPageSize_definitionUnits(QPageSize::PageSizeId pageSizeId) +bool PythonQtWrapper_QTextBrowser::isBackwardAvailable(QTextBrowser* theWrappedObject) const { - return (QPageSize::definitionUnits(pageSizeId)); + return ( theWrappedObject->isBackwardAvailable()); } -QPageSize::PageSizeId PythonQtWrapper_QPageSize::id(QPageSize* theWrappedObject) const +bool PythonQtWrapper_QTextBrowser::isForwardAvailable(QTextBrowser* theWrappedObject) const { - return ( theWrappedObject->id()); + return ( theWrappedObject->isForwardAvailable()); } -QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(const QSize& pointSize, QPageSize::SizeMatchPolicy matchPolicy) +bool PythonQtWrapper_QTextBrowser::openExternalLinks(QTextBrowser* theWrappedObject) const { - return (QPageSize::id(pointSize, matchPolicy)); + return ( theWrappedObject->openExternalLinks()); } -QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(const QSizeF& size, QPageSize::Unit units, QPageSize::SizeMatchPolicy matchPolicy) +bool PythonQtWrapper_QTextBrowser::openLinks(QTextBrowser* theWrappedObject) const { - return (QPageSize::id(size, units, matchPolicy)); + return ( theWrappedObject->openLinks()); } -QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(int windowsId) +QStringList PythonQtWrapper_QTextBrowser::searchPaths(QTextBrowser* theWrappedObject) const { - return (QPageSize::id(windowsId)); + return ( theWrappedObject->searchPaths()); } -bool PythonQtWrapper_QPageSize::isEquivalentTo(QPageSize* theWrappedObject, const QPageSize& other) const +void PythonQtWrapper_QTextBrowser::setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open) { - return ( theWrappedObject->isEquivalentTo(other)); + ( theWrappedObject->setOpenExternalLinks(open)); } -bool PythonQtWrapper_QPageSize::isValid(QPageSize* theWrappedObject) const +void PythonQtWrapper_QTextBrowser::setOpenLinks(QTextBrowser* theWrappedObject, bool open) { - return ( theWrappedObject->isValid()); + ( theWrappedObject->setOpenLinks(open)); } -QString PythonQtWrapper_QPageSize::key(QPageSize* theWrappedObject) const +void PythonQtWrapper_QTextBrowser::setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths) { - return ( theWrappedObject->key()); + ( theWrappedObject->setSearchPaths(paths)); } -QString PythonQtWrapper_QPageSize::static_QPageSize_key(QPageSize::PageSizeId pageSizeId) +QUrl PythonQtWrapper_QTextBrowser::source(QTextBrowser* theWrappedObject) const { - return (QPageSize::key(pageSizeId)); + return ( theWrappedObject->source()); } -QString PythonQtWrapper_QPageSize::name(QPageSize* theWrappedObject) const -{ - return ( theWrappedObject->name()); + + +PythonQtShell_QTextCharFormat::~PythonQtShell_QTextCharFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QTextCharFormat* PythonQtWrapper_QTextCharFormat::new_QTextCharFormat() +{ +return new PythonQtShell_QTextCharFormat(); } + +QTextCharFormat* PythonQtWrapper_QTextCharFormat::new_QTextCharFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextCharFormat(fmt); } -QString PythonQtWrapper_QPageSize::static_QPageSize_name(QPageSize::PageSizeId pageSizeId) +QString PythonQtWrapper_QTextCharFormat::anchorHref(QTextCharFormat* theWrappedObject) const { - return (QPageSize::name(pageSizeId)); + return ( theWrappedObject->anchorHref()); } -bool PythonQtWrapper_QPageSize::__ne__(QPageSize* theWrappedObject, const QPageSize& rhs) +QStringList PythonQtWrapper_QTextCharFormat::anchorNames(QTextCharFormat* theWrappedObject) const { - return ( (*theWrappedObject)!= rhs); + return ( theWrappedObject->anchorNames()); } -QPageSize* PythonQtWrapper_QPageSize::operator_assign(QPageSize* theWrappedObject, const QPageSize& other) +QFont PythonQtWrapper_QTextCharFormat::font(QTextCharFormat* theWrappedObject) const { - return &( (*theWrappedObject)= other); + return ( theWrappedObject->font()); } -bool PythonQtWrapper_QPageSize::__eq__(QPageSize* theWrappedObject, const QPageSize& rhs) +QFont::Capitalization PythonQtWrapper_QTextCharFormat::fontCapitalization(QTextCharFormat* theWrappedObject) const { - return ( (*theWrappedObject)== rhs); + return ( theWrappedObject->fontCapitalization()); } -QRectF PythonQtWrapper_QPageSize::rect(QPageSize* theWrappedObject, QPageSize::Unit units) const +QString PythonQtWrapper_QTextCharFormat::fontFamily(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->rect(units)); + return ( theWrappedObject->fontFamily()); } -QRect PythonQtWrapper_QPageSize::rectPixels(QPageSize* theWrappedObject, int resolution) const +bool PythonQtWrapper_QTextCharFormat::fontFixedPitch(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->rectPixels(resolution)); + return ( theWrappedObject->fontFixedPitch()); } -QRect PythonQtWrapper_QPageSize::rectPoints(QPageSize* theWrappedObject) const +QFont::HintingPreference PythonQtWrapper_QTextCharFormat::fontHintingPreference(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->rectPoints()); + return ( theWrappedObject->fontHintingPreference()); } -QSizeF PythonQtWrapper_QPageSize::static_QPageSize_size(QPageSize::PageSizeId pageSizeId, QPageSize::Unit units) +bool PythonQtWrapper_QTextCharFormat::fontItalic(QTextCharFormat* theWrappedObject) const { - return (QPageSize::size(pageSizeId, units)); + return ( theWrappedObject->fontItalic()); } -QSizeF PythonQtWrapper_QPageSize::size(QPageSize* theWrappedObject, QPageSize::Unit units) const +bool PythonQtWrapper_QTextCharFormat::fontKerning(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->size(units)); + return ( theWrappedObject->fontKerning()); } -QSize PythonQtWrapper_QPageSize::static_QPageSize_sizePixels(QPageSize::PageSizeId pageSizeId, int resolution) +qreal PythonQtWrapper_QTextCharFormat::fontLetterSpacing(QTextCharFormat* theWrappedObject) const { - return (QPageSize::sizePixels(pageSizeId, resolution)); + return ( theWrappedObject->fontLetterSpacing()); } -QSize PythonQtWrapper_QPageSize::sizePixels(QPageSize* theWrappedObject, int resolution) const +QFont::SpacingType PythonQtWrapper_QTextCharFormat::fontLetterSpacingType(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->sizePixels(resolution)); + return ( theWrappedObject->fontLetterSpacingType()); } -QSize PythonQtWrapper_QPageSize::sizePoints(QPageSize* theWrappedObject) const +bool PythonQtWrapper_QTextCharFormat::fontOverline(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->sizePoints()); + return ( theWrappedObject->fontOverline()); } -QSize PythonQtWrapper_QPageSize::static_QPageSize_sizePoints(QPageSize::PageSizeId pageSizeId) +qreal PythonQtWrapper_QTextCharFormat::fontPointSize(QTextCharFormat* theWrappedObject) const { - return (QPageSize::sizePoints(pageSizeId)); + return ( theWrappedObject->fontPointSize()); } -void PythonQtWrapper_QPageSize::swap(QPageSize* theWrappedObject, QPageSize& other) +int PythonQtWrapper_QTextCharFormat::fontStretch(QTextCharFormat* theWrappedObject) const { - ( theWrappedObject->swap(other)); + return ( theWrappedObject->fontStretch()); } -int PythonQtWrapper_QPageSize::windowsId(QPageSize* theWrappedObject) const +bool PythonQtWrapper_QTextCharFormat::fontStrikeOut(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->windowsId()); + return ( theWrappedObject->fontStrikeOut()); } -int PythonQtWrapper_QPageSize::static_QPageSize_windowsId(QPageSize::PageSizeId pageSizeId) +QFont::StyleHint PythonQtWrapper_QTextCharFormat::fontStyleHint(QTextCharFormat* theWrappedObject) const { - return (QPageSize::windowsId(pageSizeId)); + return ( theWrappedObject->fontStyleHint()); } -QString PythonQtWrapper_QPageSize::py_toString(QPageSize* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +QFont::StyleStrategy PythonQtWrapper_QTextCharFormat::fontStyleStrategy(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontStyleStrategy()); } +bool PythonQtWrapper_QTextCharFormat::fontUnderline(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontUnderline()); +} +int PythonQtWrapper_QTextCharFormat::fontWeight(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->fontWeight()); +} -QPageLayout* PythonQtWrapper_QPagedPaintDevice::devicePageLayout(QPagedPaintDevice* theWrappedObject) +qreal PythonQtWrapper_QTextCharFormat::fontWordSpacing(QTextCharFormat* theWrappedObject) const { - return &( ((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->promoted_devicePageLayout()); + return ( theWrappedObject->fontWordSpacing()); } -QPagedPaintDevice::Margins PythonQtWrapper_QPagedPaintDevice::margins(QPagedPaintDevice* theWrappedObject) const +bool PythonQtWrapper_QTextCharFormat::isAnchor(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->margins()); + return ( theWrappedObject->isAnchor()); } -bool PythonQtWrapper_QPagedPaintDevice::newPage(QPagedPaintDevice* theWrappedObject) +bool PythonQtWrapper_QTextCharFormat::isValid(QTextCharFormat* theWrappedObject) const { - return ( theWrappedObject->newPage()); + return ( theWrappedObject->isValid()); } -QPageLayout PythonQtWrapper_QPagedPaintDevice::pageLayout(QPagedPaintDevice* theWrappedObject) const +void PythonQtWrapper_QTextCharFormat::setAnchor(QTextCharFormat* theWrappedObject, bool anchor) { - return ( theWrappedObject->pageLayout()); + ( theWrappedObject->setAnchor(anchor)); } -QPagedPaintDevice::PageSize PythonQtWrapper_QPagedPaintDevice::pageSize(QPagedPaintDevice* theWrappedObject) const +void PythonQtWrapper_QTextCharFormat::setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value) { - return ( theWrappedObject->pageSize()); + ( theWrappedObject->setAnchorHref(value)); } -QSizeF PythonQtWrapper_QPagedPaintDevice::pageSizeMM(QPagedPaintDevice* theWrappedObject) const +void PythonQtWrapper_QTextCharFormat::setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names) { - return ( theWrappedObject->pageSizeMM()); + ( theWrappedObject->setAnchorNames(names)); } -void PythonQtWrapper_QPagedPaintDevice::setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins) +void PythonQtWrapper_QTextCharFormat::setFont(QTextCharFormat* theWrappedObject, const QFont& font) { - ( theWrappedObject->setMargins(margins)); + ( theWrappedObject->setFont(font)); } -bool PythonQtWrapper_QPagedPaintDevice::setPageLayout(QPagedPaintDevice* theWrappedObject, const QPageLayout& pageLayout) +void PythonQtWrapper_QTextCharFormat::setFont(QTextCharFormat* theWrappedObject, const QFont& font, QTextCharFormat::FontPropertiesInheritanceBehavior behavior) { - return ( theWrappedObject->setPageLayout(pageLayout)); + ( theWrappedObject->setFont(font, behavior)); } -bool PythonQtWrapper_QPagedPaintDevice::setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins) +void PythonQtWrapper_QTextCharFormat::setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization) { - return ( theWrappedObject->setPageMargins(margins)); + ( theWrappedObject->setFontCapitalization(capitalization)); } -bool PythonQtWrapper_QPagedPaintDevice::setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins, QPageLayout::Unit units) +void PythonQtWrapper_QTextCharFormat::setFontFamily(QTextCharFormat* theWrappedObject, const QString& family) { - return ( theWrappedObject->setPageMargins(margins, units)); + ( theWrappedObject->setFontFamily(family)); } -bool PythonQtWrapper_QPagedPaintDevice::setPageOrientation(QPagedPaintDevice* theWrappedObject, QPageLayout::Orientation orientation) +void PythonQtWrapper_QTextCharFormat::setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch) { - return ( theWrappedObject->setPageOrientation(orientation)); + ( theWrappedObject->setFontFixedPitch(fixedPitch)); } -void PythonQtWrapper_QPagedPaintDevice::setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size) +void PythonQtWrapper_QTextCharFormat::setFontHintingPreference(QTextCharFormat* theWrappedObject, QFont::HintingPreference hintingPreference) { - ( theWrappedObject->setPageSize(size)); + ( theWrappedObject->setFontHintingPreference(hintingPreference)); } -bool PythonQtWrapper_QPagedPaintDevice::setPageSize(QPagedPaintDevice* theWrappedObject, const QPageSize& pageSize) +void PythonQtWrapper_QTextCharFormat::setFontItalic(QTextCharFormat* theWrappedObject, bool italic) { - return ( theWrappedObject->setPageSize(pageSize)); + ( theWrappedObject->setFontItalic(italic)); } -void PythonQtWrapper_QPagedPaintDevice::setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size) +void PythonQtWrapper_QTextCharFormat::setFontKerning(QTextCharFormat* theWrappedObject, bool enable) { - ( theWrappedObject->setPageSizeMM(size)); + ( theWrappedObject->setFontKerning(enable)); } +void PythonQtWrapper_QTextCharFormat::setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing) +{ + ( theWrappedObject->setFontLetterSpacing(spacing)); +} +void PythonQtWrapper_QTextCharFormat::setFontLetterSpacingType(QTextCharFormat* theWrappedObject, QFont::SpacingType letterSpacingType) +{ + ( theWrappedObject->setFontLetterSpacingType(letterSpacingType)); +} -PythonQtShell_QPagedPaintDevice__Margins::~PythonQtShell_QPagedPaintDevice__Margins() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QTextCharFormat::setFontOverline(QTextCharFormat* theWrappedObject, bool overline) +{ + ( theWrappedObject->setFontOverline(overline)); } -QPagedPaintDevice::Margins* PythonQtWrapper_QPagedPaintDevice__Margins::new_QPagedPaintDevice__Margins() -{ -return new PythonQtShell_QPagedPaintDevice__Margins(); } +void PythonQtWrapper_QTextCharFormat::setFontPointSize(QTextCharFormat* theWrappedObject, qreal size) +{ + ( theWrappedObject->setFontPointSize(size)); +} +void PythonQtWrapper_QTextCharFormat::setFontStretch(QTextCharFormat* theWrappedObject, int factor) +{ + ( theWrappedObject->setFontStretch(factor)); +} -PythonQtShell_QPaintDevice::~PythonQtShell_QPaintDevice() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QTextCharFormat::setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut) +{ + ( theWrappedObject->setFontStrikeOut(strikeOut)); } -int PythonQtShell_QPaintDevice::devType() const + +void PythonQtWrapper_QTextCharFormat::setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFontStyleHint(hint, strategy)); } - return QPaintDevice::devType(); + +void PythonQtWrapper_QTextCharFormat::setFontStyleStrategy(QTextCharFormat* theWrappedObject, QFont::StyleStrategy strategy) +{ + ( theWrappedObject->setFontStyleStrategy(strategy)); } -void PythonQtShell_QPaintDevice::initPainter(QPainter* painter0) const + +void PythonQtWrapper_QTextCharFormat::setFontUnderline(QTextCharFormat* theWrappedObject, bool underline) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFontUnderline(underline)); } - QPaintDevice::initPainter(painter0); + +void PythonQtWrapper_QTextCharFormat::setFontWeight(QTextCharFormat* theWrappedObject, int weight) +{ + ( theWrappedObject->setFontWeight(weight)); } -int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const + +void PythonQtWrapper_QTextCharFormat::setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFontWordSpacing(spacing)); } - return QPaintDevice::metric(metric0); + +void PythonQtWrapper_QTextCharFormat::setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan) +{ + ( theWrappedObject->setTableCellColumnSpan(tableCellColumnSpan)); } -QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const + +void PythonQtWrapper_QTextCharFormat::setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTableCellRowSpan(tableCellRowSpan)); } - return nullptr; + +void PythonQtWrapper_QTextCharFormat::setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen) +{ + ( theWrappedObject->setTextOutline(pen)); } -QPaintDevice* PythonQtShell_QPaintDevice::redirected(QPoint* offset0) const + +void PythonQtWrapper_QTextCharFormat::setToolTip(QTextCharFormat* theWrappedObject, const QString& tip) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setToolTip(tip)); } - return QPaintDevice::redirected(offset0); + +void PythonQtWrapper_QTextCharFormat::setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setUnderlineColor(color)); } -QPainter* PythonQtShell_QPaintDevice::sharedPainter() const + +void PythonQtWrapper_QTextCharFormat::setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUnderlineStyle(style)); +} + +void PythonQtWrapper_QTextCharFormat::setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment) +{ + ( theWrappedObject->setVerticalAlignment(alignment)); +} + +int PythonQtWrapper_QTextCharFormat::tableCellColumnSpan(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->tableCellColumnSpan()); +} + +int PythonQtWrapper_QTextCharFormat::tableCellRowSpan(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->tableCellRowSpan()); +} + +QPen PythonQtWrapper_QTextCharFormat::textOutline(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->textOutline()); +} + +QString PythonQtWrapper_QTextCharFormat::toolTip(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + +QColor PythonQtWrapper_QTextCharFormat::underlineColor(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->underlineColor()); } - return QPaintDevice::sharedPainter(); + +QTextCharFormat::UnderlineStyle PythonQtWrapper_QTextCharFormat::underlineStyle(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->underlineStyle()); +} + +QTextCharFormat::VerticalAlignment PythonQtWrapper_QTextCharFormat::verticalAlignment(QTextCharFormat* theWrappedObject) const +{ + return ( theWrappedObject->verticalAlignment()); } -QPaintDevice* PythonQtWrapper_QPaintDevice::new_QPaintDevice() + + + +QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor() +{ +return new QTextCursor(); } + +QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(QTextDocument* document) +{ +return new QTextCursor(document); } + +QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(QTextFrame* frame) +{ +return new QTextCursor(frame); } + +QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(const QTextBlock& block) +{ +return new QTextCursor(block); } + +QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(const QTextCursor& cursor) { -return new PythonQtShell_QPaintDevice(); } +return new QTextCursor(cursor); } -int PythonQtWrapper_QPaintDevice::colorCount(QPaintDevice* theWrappedObject) const +int PythonQtWrapper_QTextCursor::anchor(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->colorCount()); + return ( theWrappedObject->anchor()); } -int PythonQtWrapper_QPaintDevice::depth(QPaintDevice* theWrappedObject) const +bool PythonQtWrapper_QTextCursor::atBlockEnd(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->depth()); + return ( theWrappedObject->atBlockEnd()); } -int PythonQtWrapper_QPaintDevice::devType(QPaintDevice* theWrappedObject) const +bool PythonQtWrapper_QTextCursor::atBlockStart(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->devType()); + return ( theWrappedObject->atBlockStart()); } -int PythonQtWrapper_QPaintDevice::devicePixelRatio(QPaintDevice* theWrappedObject) const +bool PythonQtWrapper_QTextCursor::atEnd(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->devicePixelRatio()); + return ( theWrappedObject->atEnd()); } -qreal PythonQtWrapper_QPaintDevice::devicePixelRatioF(QPaintDevice* theWrappedObject) const +bool PythonQtWrapper_QTextCursor::atStart(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->devicePixelRatioF()); + return ( theWrappedObject->atStart()); } -qreal PythonQtWrapper_QPaintDevice::static_QPaintDevice_devicePixelRatioFScale() +void PythonQtWrapper_QTextCursor::beginEditBlock(QTextCursor* theWrappedObject) { - return (QPaintDevice::devicePixelRatioFScale()); + ( theWrappedObject->beginEditBlock()); } -int PythonQtWrapper_QPaintDevice::height(QPaintDevice* theWrappedObject) const +QTextBlock PythonQtWrapper_QTextCursor::block(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->height()); + return ( theWrappedObject->block()); } -int PythonQtWrapper_QPaintDevice::heightMM(QPaintDevice* theWrappedObject) const +QTextCharFormat PythonQtWrapper_QTextCursor::blockCharFormat(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->heightMM()); + return ( theWrappedObject->blockCharFormat()); } -void PythonQtWrapper_QPaintDevice::initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const +QTextBlockFormat PythonQtWrapper_QTextCursor::blockFormat(QTextCursor* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_initPainter(painter)); + return ( theWrappedObject->blockFormat()); } -int PythonQtWrapper_QPaintDevice::logicalDpiX(QPaintDevice* theWrappedObject) const +int PythonQtWrapper_QTextCursor::blockNumber(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->logicalDpiX()); + return ( theWrappedObject->blockNumber()); } -int PythonQtWrapper_QPaintDevice::logicalDpiY(QPaintDevice* theWrappedObject) const +QTextCharFormat PythonQtWrapper_QTextCursor::charFormat(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->logicalDpiY()); + return ( theWrappedObject->charFormat()); } -int PythonQtWrapper_QPaintDevice::metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const +void PythonQtWrapper_QTextCursor::clearSelection(QTextCursor* theWrappedObject) { - return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_metric(metric)); + ( theWrappedObject->clearSelection()); } -QPaintEngine* PythonQtWrapper_QPaintDevice::paintEngine(QPaintDevice* theWrappedObject) const +int PythonQtWrapper_QTextCursor::columnNumber(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->paintEngine()); + return ( theWrappedObject->columnNumber()); } -bool PythonQtWrapper_QPaintDevice::paintingActive(QPaintDevice* theWrappedObject) const +QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, QTextListFormat::Style style) { - return ( theWrappedObject->paintingActive()); + return ( theWrappedObject->createList(style)); } -int PythonQtWrapper_QPaintDevice::physicalDpiX(QPaintDevice* theWrappedObject) const +QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, const QTextListFormat& format) { - return ( theWrappedObject->physicalDpiX()); + return ( theWrappedObject->createList(format)); } -int PythonQtWrapper_QPaintDevice::physicalDpiY(QPaintDevice* theWrappedObject) const +QTextFrame* PythonQtWrapper_QTextCursor::currentFrame(QTextCursor* theWrappedObject) const { - return ( theWrappedObject->physicalDpiY()); + return ( theWrappedObject->currentFrame()); } -QPaintDevice* PythonQtWrapper_QPaintDevice::redirected(QPaintDevice* theWrappedObject, QPoint* offset) const +QTextList* PythonQtWrapper_QTextCursor::currentList(QTextCursor* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_redirected(offset)); + return ( theWrappedObject->currentList()); } -QPainter* PythonQtWrapper_QPaintDevice::sharedPainter(QPaintDevice* theWrappedObject) const +QTextTable* PythonQtWrapper_QTextCursor::currentTable(QTextCursor* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_sharedPainter()); + return ( theWrappedObject->currentTable()); } -int PythonQtWrapper_QPaintDevice::width(QPaintDevice* theWrappedObject) const +void PythonQtWrapper_QTextCursor::deleteChar(QTextCursor* theWrappedObject) { - return ( theWrappedObject->width()); + ( theWrappedObject->deleteChar()); } -int PythonQtWrapper_QPaintDevice::widthMM(QPaintDevice* theWrappedObject) const +void PythonQtWrapper_QTextCursor::deletePreviousChar(QTextCursor* theWrappedObject) { - return ( theWrappedObject->widthMM()); + ( theWrappedObject->deletePreviousChar()); } +QTextDocument* PythonQtWrapper_QTextCursor::document(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} +void PythonQtWrapper_QTextCursor::endEditBlock(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->endEditBlock()); +} -void PythonQtWrapper_QPaintDeviceWindow::paintEvent(QPaintDeviceWindow* theWrappedObject, QPaintEvent* event) +bool PythonQtWrapper_QTextCursor::hasComplexSelection(QTextCursor* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->promoted_paintEvent(event)); + return ( theWrappedObject->hasComplexSelection()); } -void PythonQtWrapper_QPaintDeviceWindow::update(QPaintDeviceWindow* theWrappedObject, const QRect& rect) +bool PythonQtWrapper_QTextCursor::hasSelection(QTextCursor* theWrappedObject) const { - ( theWrappedObject->update(rect)); + return ( theWrappedObject->hasSelection()); } -void PythonQtWrapper_QPaintDeviceWindow::update(QPaintDeviceWindow* theWrappedObject, const QRegion& region) +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject) { - ( theWrappedObject->update(region)); + ( theWrappedObject->insertBlock()); } +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format) +{ + ( theWrappedObject->insertBlock(format)); +} +void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat) +{ + ( theWrappedObject->insertBlock(format, charFormat)); +} -PythonQtShell_QPaintEngine::~PythonQtShell_QPaintEngine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QTextCursor::insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment) +{ + ( theWrappedObject->insertFragment(fragment)); } -bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev0) + +QTextFrame* PythonQtWrapper_QTextCursor::insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format) { -if (_wrapper) { + return ( theWrappedObject->insertFrame(format)); +} + +void PythonQtWrapper_QTextCursor::insertHtml(QTextCursor* theWrappedObject, const QString& html) +{ + ( theWrappedObject->insertHtml(html)); +} + +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name) +{ + ( theWrappedObject->insertImage(image, name)); +} + +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QString& name) +{ + ( theWrappedObject->insertImage(name)); +} + +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format) +{ + ( theWrappedObject->insertImage(format)); +} + +void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment) +{ + ( theWrappedObject->insertImage(format, alignment)); +} + +QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style) +{ + return ( theWrappedObject->insertList(style)); +} + +QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, const QTextListFormat& format) +{ + return ( theWrappedObject->insertList(format)); +} + +QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols) +{ + return ( theWrappedObject->insertTable(rows, cols)); +} + +QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format) +{ + return ( theWrappedObject->insertTable(rows, cols, format)); +} + +void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text) +{ + ( theWrappedObject->insertText(text)); +} + +void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format) +{ + ( theWrappedObject->insertText(text, format)); +} + +bool PythonQtWrapper_QTextCursor::isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const +{ + return ( theWrappedObject->isCopyOf(other)); +} + +bool PythonQtWrapper_QTextCursor::isNull(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +void PythonQtWrapper_QTextCursor::joinPreviousEditBlock(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->joinPreviousEditBlock()); +} + +bool PythonQtWrapper_QTextCursor::keepPositionOnInsert(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->keepPositionOnInsert()); +} + +void PythonQtWrapper_QTextCursor::mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) +{ + ( theWrappedObject->mergeBlockCharFormat(modifier)); +} + +void PythonQtWrapper_QTextCursor::mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier) +{ + ( theWrappedObject->mergeBlockFormat(modifier)); +} + +void PythonQtWrapper_QTextCursor::mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) +{ + ( theWrappedObject->mergeCharFormat(modifier)); +} + +bool PythonQtWrapper_QTextCursor::movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2, int n) +{ + return ( theWrappedObject->movePosition(op, arg__2, n)); +} + +bool PythonQtWrapper_QTextCursor::__ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)!= rhs); +} + +bool PythonQtWrapper_QTextCursor::__lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)< rhs); +} + +bool PythonQtWrapper_QTextCursor::__le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)<= rhs); +} + +bool PythonQtWrapper_QTextCursor::__eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)== rhs); +} + +bool PythonQtWrapper_QTextCursor::__gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)> rhs); +} + +bool PythonQtWrapper_QTextCursor::__ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +{ + return ( (*theWrappedObject)>= rhs); +} + +int PythonQtWrapper_QTextCursor::position(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +int PythonQtWrapper_QTextCursor::positionInBlock(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->positionInBlock()); +} + +void PythonQtWrapper_QTextCursor::removeSelectedText(QTextCursor* theWrappedObject) +{ + ( theWrappedObject->removeSelectedText()); +} + +void PythonQtWrapper_QTextCursor::select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection) +{ + ( theWrappedObject->select(selection)); +} + +QString PythonQtWrapper_QTextCursor::selectedText(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->selectedText()); +} + +QTextDocumentFragment PythonQtWrapper_QTextCursor::selection(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->selection()); +} + +int PythonQtWrapper_QTextCursor::selectionEnd(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->selectionEnd()); +} + +int PythonQtWrapper_QTextCursor::selectionStart(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->selectionStart()); +} + +void PythonQtWrapper_QTextCursor::setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setBlockCharFormat(format)); +} + +void PythonQtWrapper_QTextCursor::setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format) +{ + ( theWrappedObject->setBlockFormat(format)); +} + +void PythonQtWrapper_QTextCursor::setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setCharFormat(format)); +} + +void PythonQtWrapper_QTextCursor::setKeepPositionOnInsert(QTextCursor* theWrappedObject, bool b) +{ + ( theWrappedObject->setKeepPositionOnInsert(b)); +} + +void PythonQtWrapper_QTextCursor::setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode) +{ + ( theWrappedObject->setPosition(pos, mode)); +} + +void PythonQtWrapper_QTextCursor::setVerticalMovementX(QTextCursor* theWrappedObject, int x) +{ + ( theWrappedObject->setVerticalMovementX(x)); +} + +void PythonQtWrapper_QTextCursor::setVisualNavigation(QTextCursor* theWrappedObject, bool b) +{ + ( theWrappedObject->setVisualNavigation(b)); +} + +void PythonQtWrapper_QTextCursor::swap(QTextCursor* theWrappedObject, QTextCursor& other) +{ + ( theWrappedObject->swap(other)); +} + +int PythonQtWrapper_QTextCursor::verticalMovementX(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->verticalMovementX()); +} + +bool PythonQtWrapper_QTextCursor::visualNavigation(QTextCursor* theWrappedObject) const +{ + return ( theWrappedObject->visualNavigation()); +} + + + +PythonQtShell_QTextDocument::~PythonQtShell_QTextDocument() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTextDocument::childEvent(QChildEvent* event0) +{ +if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("begin"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QPaintDevice*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&pdev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("begin", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return bool(); + QTextDocument::childEvent(event0); } -QPoint PythonQtShell_QPaintEngine::coordinateOffset() const +void PythonQtShell_QTextDocument::clear() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("coordinateOffset"); + static PyObject* name = PyUnicode_FromString("clear"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPoint"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPoint returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("coordinateOffset", methodInfo, result); - } else { - returnValue = *((QPoint*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPaintEngine::coordinateOffset(); + QTextDocument::clear(); } -void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r0) +QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawEllipse"); + static PyObject* name = PyUnicode_FromString("createObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRect&"}; + static const char* argumentList[] ={"QTextObject*" , "const QTextFormat&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&r0}; + QTextObject* returnValue{}; + void* args[2] = {nullptr, (void*)&f0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createObject", methodInfo, result); + } else { + returnValue = *((QTextObject**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPaintEngine::drawEllipse(r0); + return QTextDocument::createObject(f0); } -void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r0) +void PythonQtShell_QTextDocument::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawEllipse"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&r0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2236,85 +2467,118 @@ if (_wrapper) { } } } - QPaintEngine::drawEllipse(r0); + QTextDocument::customEvent(event0); } -void PythonQtShell_QPaintEngine::drawImage(const QRectF& r0, const QImage& pm1, const QRectF& sr2, Qt::ImageConversionFlags flags3) +bool PythonQtShell_QTextDocument::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawImage"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QRectF&" , "const QImage&" , "const QRectF&" , "Qt::ImageConversionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {nullptr, (void*)&r0, (void*)&pm1, (void*)&sr2, (void*)&flags3}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPaintEngine::drawImage(r0, pm1, sr2, flags3); + return QTextDocument::event(event0); } -void PythonQtShell_QPaintEngine::drawLines(const QLine* lines0, int lineCount1) +bool PythonQtShell_QTextDocument::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawLines"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QLine*" , "int"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&lines0, (void*)&lineCount1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPaintEngine::drawLines(lines0, lineCount1); + return QTextDocument::eventFilter(watched0, event1); } -void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines0, int lineCount1) +QVariant PythonQtShell_QTextDocument::loadResource(int type0, const QUrl& name1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawLines"); + static PyObject* name = PyUnicode_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QLineF*" , "int"}; + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&lines0, (void*)&lineCount1}; + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPaintEngine::drawLines(lines0, lineCount1); + return QTextDocument::loadResource(type0, name1); } -void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path0) +void PythonQtShell_QTextDocument::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawPath"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QPainterPath&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&path0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2324,5277 +2588,3317 @@ if (_wrapper) { } } } - QPaintEngine::drawPath(path0); + QTextDocument::timerEvent(event0); } -void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r0, const QPixmap& pm1, const QRectF& sr2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawPixmap"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QRectF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&r0, (void*)&pm1, (void*)&sr2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(QObject* parent) +{ +return new PythonQtShell_QTextDocument(parent); } + +QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(const QString& text, QObject* parent) +{ +return new PythonQtShell_QTextDocument(text, parent); } + +const QMetaObject* PythonQtShell_QTextDocument::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextDocument::staticMetaObject); + } else { + return &QTextDocument::staticMetaObject; } } - +int PythonQtShell_QTextDocument::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextDocument::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points0, int pointCount1) +void PythonQtWrapper_QTextDocument::addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawPoints"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPoint*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&points0, (void*)&pointCount1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addResource(type, name, resource)); } - QPaintEngine::drawPoints(points0, pointCount1); -} -void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points0, int pointCount1) + +void PythonQtWrapper_QTextDocument::adjustSize(QTextDocument* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawPoints"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPointF*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&points0, (void*)&pointCount1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->adjustSize()); } - QPaintEngine::drawPoints(points0, pointCount1); -} -void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) + +QVector PythonQtWrapper_QTextDocument::allFormats(QTextDocument* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawPolygon"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPoint*" , "int" , "QPaintEngine::PolygonDrawMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&points0, (void*)&pointCount1, (void*)&mode2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->allFormats()); } - QPaintEngine::drawPolygon(points0, pointCount1, mode2); -} -void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) + +int PythonQtWrapper_QTextDocument::availableRedoSteps(QTextDocument* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawPolygon"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPointF*" , "int" , "QPaintEngine::PolygonDrawMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&points0, (void*)&pointCount1, (void*)&mode2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->availableRedoSteps()); } - QPaintEngine::drawPolygon(points0, pointCount1, mode2); -} -void PythonQtShell_QPaintEngine::drawRects(const QRect* rects0, int rectCount1) + +int PythonQtWrapper_QTextDocument::availableUndoSteps(QTextDocument* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawRects"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&rects0, (void*)&rectCount1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->availableUndoSteps()); } - QPaintEngine::drawRects(rects0, rectCount1); -} -void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects0, int rectCount1) + +QUrl PythonQtWrapper_QTextDocument::baseUrl(QTextDocument* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawRects"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRectF*" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&rects0, (void*)&rectCount1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->baseUrl()); } - QPaintEngine::drawRects(rects0, rectCount1); -} -void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p0, const QTextItem& textItem1) + +QTextBlock PythonQtWrapper_QTextDocument::begin(QTextDocument* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawTextItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPointF&" , "const QTextItem&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&p0, (void*)&textItem1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->begin()); } - QPaintEngine::drawTextItem(p0, textItem1); -} -void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r0, const QPixmap& pixmap1, const QPointF& s2) + +int PythonQtWrapper_QTextDocument::blockCount(QTextDocument* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawTiledPixmap"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&r0, (void*)&pixmap1, (void*)&s2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPaintEngine::drawTiledPixmap(r0, pixmap1, s2); + return ( theWrappedObject->blockCount()); } -bool PythonQtShell_QPaintEngine::end() + +QChar PythonQtWrapper_QTextDocument::characterAt(QTextDocument* theWrappedObject, int pos) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("end"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("end", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return bool(); + return ( theWrappedObject->characterAt(pos)); } -QPaintEngine::Type PythonQtShell_QPaintEngine::type() const + +int PythonQtWrapper_QTextDocument::characterCount(QTextDocument* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("type"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine::Type"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine::Type returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((QPaintEngine::Type*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->characterCount()); } - return QPaintEngine::Type(); -} -void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state0) + +void PythonQtWrapper_QTextDocument::clear(QTextDocument* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPaintEngineState&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&state0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - + ( theWrappedObject->clear()); } -QPaintEngine* PythonQtWrapper_QPaintEngine::new_QPaintEngine(QPaintEngine::PaintEngineFeatures features) -{ -return new PythonQtShell_QPaintEngine(features); } -bool PythonQtWrapper_QPaintEngine::begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev) +void PythonQtWrapper_QTextDocument::clearUndoRedoStacks(QTextDocument* theWrappedObject, QTextDocument::Stacks historyToClear) { - return ( theWrappedObject->begin(pdev)); + ( theWrappedObject->clearUndoRedoStacks(historyToClear)); } -void PythonQtWrapper_QPaintEngine::clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) +QTextDocument* PythonQtWrapper_QTextDocument::clone(QTextDocument* theWrappedObject, QObject* parent) const { - ( theWrappedObject->clearDirty(df)); + return ( theWrappedObject->clone(parent)); } -QPoint PythonQtWrapper_QPaintEngine::coordinateOffset(QPaintEngine* theWrappedObject) const +QTextObject* PythonQtWrapper_QTextDocument::createObject(QTextDocument* theWrappedObject, const QTextFormat& f) { - return ( theWrappedObject->coordinateOffset()); + return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_createObject(f)); } -void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRect& r) +Qt::CursorMoveStyle PythonQtWrapper_QTextDocument::defaultCursorMoveStyle(QTextDocument* theWrappedObject) const { - ( theWrappedObject->drawEllipse(r)); + return ( theWrappedObject->defaultCursorMoveStyle()); } -void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r) +QFont PythonQtWrapper_QTextDocument::defaultFont(QTextDocument* theWrappedObject) const { - ( theWrappedObject->drawEllipse(r)); + return ( theWrappedObject->defaultFont()); } -void PythonQtWrapper_QPaintEngine::drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags) +QString PythonQtWrapper_QTextDocument::defaultStyleSheet(QTextDocument* theWrappedObject) const { - ( theWrappedObject->drawImage(r, pm, sr, flags)); + return ( theWrappedObject->defaultStyleSheet()); } -void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount) +QTextOption PythonQtWrapper_QTextDocument::defaultTextOption(QTextDocument* theWrappedObject) const { - ( theWrappedObject->drawLines(lines, lineCount)); + return ( theWrappedObject->defaultTextOption()); } -void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount) +QAbstractTextDocumentLayout* PythonQtWrapper_QTextDocument::documentLayout(QTextDocument* theWrappedObject) const { - ( theWrappedObject->drawLines(lines, lineCount)); + return ( theWrappedObject->documentLayout()); } -void PythonQtWrapper_QPaintEngine::drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path) +qreal PythonQtWrapper_QTextDocument::documentMargin(QTextDocument* theWrappedObject) const { - ( theWrappedObject->drawPath(path)); + return ( theWrappedObject->documentMargin()); } -void PythonQtWrapper_QPaintEngine::drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr) +void PythonQtWrapper_QTextDocument::drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect) { - ( theWrappedObject->drawPixmap(r, pm, sr)); + ( theWrappedObject->drawContents(painter, rect)); } -void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount) +QTextBlock PythonQtWrapper_QTextDocument::end(QTextDocument* theWrappedObject) const { - ( theWrappedObject->drawPoints(points, pointCount)); + return ( theWrappedObject->end()); } -void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount) +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const { - ( theWrappedObject->drawPoints(points, pointCount)); + return ( theWrappedObject->find(expr, cursor, options)); } -void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, int from, QTextDocument::FindFlags options) const { - ( theWrappedObject->drawPolygon(points, pointCount, mode)); + return ( theWrappedObject->find(expr, from, options)); } -void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const { - ( theWrappedObject->drawPolygon(points, pointCount, mode)); + return ( theWrappedObject->find(expr, cursor, options)); } -void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount) +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, int from, QTextDocument::FindFlags options) const { - ( theWrappedObject->drawRects(rects, rectCount)); + return ( theWrappedObject->find(expr, from, options)); } -void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount) +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& cursor, QTextDocument::FindFlags options) const { - ( theWrappedObject->drawRects(rects, rectCount)); + return ( theWrappedObject->find(subString, cursor, options)); } -void PythonQtWrapper_QPaintEngine::drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem) +QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, int from, QTextDocument::FindFlags options) const { - ( theWrappedObject->drawTextItem(p, textItem)); + return ( theWrappedObject->find(subString, from, options)); } -void PythonQtWrapper_QPaintEngine::drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s) +QTextBlock PythonQtWrapper_QTextDocument::findBlock(QTextDocument* theWrappedObject, int pos) const { - ( theWrappedObject->drawTiledPixmap(r, pixmap, s)); + return ( theWrappedObject->findBlock(pos)); } -bool PythonQtWrapper_QPaintEngine::end(QPaintEngine* theWrappedObject) +QTextBlock PythonQtWrapper_QTextDocument::findBlockByLineNumber(QTextDocument* theWrappedObject, int blockNumber) const { - return ( theWrappedObject->end()); + return ( theWrappedObject->findBlockByLineNumber(blockNumber)); } -bool PythonQtWrapper_QPaintEngine::hasFeature(QPaintEngine* theWrappedObject, QPaintEngine::PaintEngineFeatures feature) const +QTextBlock PythonQtWrapper_QTextDocument::findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const { - return ( theWrappedObject->hasFeature(feature)); + return ( theWrappedObject->findBlockByNumber(blockNumber)); } -bool PythonQtWrapper_QPaintEngine::isActive(QPaintEngine* theWrappedObject) const +QTextBlock PythonQtWrapper_QTextDocument::firstBlock(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->isActive()); + return ( theWrappedObject->firstBlock()); } -bool PythonQtWrapper_QPaintEngine::isExtended(QPaintEngine* theWrappedObject) const +QTextFrame* PythonQtWrapper_QTextDocument::frameAt(QTextDocument* theWrappedObject, int pos) const { - return ( theWrappedObject->isExtended()); + return ( theWrappedObject->frameAt(pos)); } -QPaintDevice* PythonQtWrapper_QPaintEngine::paintDevice(QPaintEngine* theWrappedObject) const +qreal PythonQtWrapper_QTextDocument::idealWidth(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->paintDevice()); + return ( theWrappedObject->idealWidth()); } -QPainter* PythonQtWrapper_QPaintEngine::painter(QPaintEngine* theWrappedObject) const +qreal PythonQtWrapper_QTextDocument::indentWidth(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->painter()); + return ( theWrappedObject->indentWidth()); } -void PythonQtWrapper_QPaintEngine::setActive(QPaintEngine* theWrappedObject, bool newState) +bool PythonQtWrapper_QTextDocument::isEmpty(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setActive(newState)); + return ( theWrappedObject->isEmpty()); } -void PythonQtWrapper_QPaintEngine::setDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) +bool PythonQtWrapper_QTextDocument::isModified(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setDirty(df)); + return ( theWrappedObject->isModified()); } -void PythonQtWrapper_QPaintEngine::setSystemClip(QPaintEngine* theWrappedObject, const QRegion& baseClip) +bool PythonQtWrapper_QTextDocument::isRedoAvailable(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setSystemClip(baseClip)); + return ( theWrappedObject->isRedoAvailable()); } -void PythonQtWrapper_QPaintEngine::setSystemRect(QPaintEngine* theWrappedObject, const QRect& rect) +bool PythonQtWrapper_QTextDocument::isUndoAvailable(QTextDocument* theWrappedObject) const { - ( theWrappedObject->setSystemRect(rect)); + return ( theWrappedObject->isUndoAvailable()); } -void PythonQtWrapper_QPaintEngine::syncState(QPaintEngine* theWrappedObject) +bool PythonQtWrapper_QTextDocument::isUndoRedoEnabled(QTextDocument* theWrappedObject) const { - ( theWrappedObject->syncState()); + return ( theWrappedObject->isUndoRedoEnabled()); } -QRegion PythonQtWrapper_QPaintEngine::systemClip(QPaintEngine* theWrappedObject) const +QTextBlock PythonQtWrapper_QTextDocument::lastBlock(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->systemClip()); + return ( theWrappedObject->lastBlock()); } -QRect PythonQtWrapper_QPaintEngine::systemRect(QPaintEngine* theWrappedObject) const +int PythonQtWrapper_QTextDocument::lineCount(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->systemRect()); + return ( theWrappedObject->lineCount()); } -bool PythonQtWrapper_QPaintEngine::testDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) +QVariant PythonQtWrapper_QTextDocument::loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name) { - return ( theWrappedObject->testDirty(df)); + return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_loadResource(type, name)); } -QPaintEngine::Type PythonQtWrapper_QPaintEngine::type(QPaintEngine* theWrappedObject) const +void PythonQtWrapper_QTextDocument::markContentsDirty(QTextDocument* theWrappedObject, int from, int length) { - return ( theWrappedObject->type()); + ( theWrappedObject->markContentsDirty(from, length)); } -void PythonQtWrapper_QPaintEngine::updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state) +int PythonQtWrapper_QTextDocument::maximumBlockCount(QTextDocument* theWrappedObject) const { - ( theWrappedObject->updateState(state)); + return ( theWrappedObject->maximumBlockCount()); } - - -PythonQtShell_QPaintEngineState::~PythonQtShell_QPaintEngineState() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QString PythonQtWrapper_QTextDocument::metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const +{ + return ( theWrappedObject->metaInformation(info)); } -QPaintEngineState* PythonQtWrapper_QPaintEngineState::new_QPaintEngineState() -{ -return new PythonQtShell_QPaintEngineState(); } -QBrush PythonQtWrapper_QPaintEngineState::backgroundBrush(QPaintEngineState* theWrappedObject) const +QTextObject* PythonQtWrapper_QTextDocument::object(QTextDocument* theWrappedObject, int objectIndex) const { - return ( theWrappedObject->backgroundBrush()); + return ( theWrappedObject->object(objectIndex)); } -Qt::BGMode PythonQtWrapper_QPaintEngineState::backgroundMode(QPaintEngineState* theWrappedObject) const +QTextObject* PythonQtWrapper_QTextDocument::objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const { - return ( theWrappedObject->backgroundMode()); + return ( theWrappedObject->objectForFormat(arg__1)); } -QBrush PythonQtWrapper_QPaintEngineState::brush(QPaintEngineState* theWrappedObject) const +int PythonQtWrapper_QTextDocument::pageCount(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->brush()); + return ( theWrappedObject->pageCount()); } -bool PythonQtWrapper_QPaintEngineState::brushNeedsResolving(QPaintEngineState* theWrappedObject) const +QSizeF PythonQtWrapper_QTextDocument::pageSize(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->brushNeedsResolving()); + return ( theWrappedObject->pageSize()); } -QPointF PythonQtWrapper_QPaintEngineState::brushOrigin(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QTextDocument::print(QTextDocument* theWrappedObject, QPagedPaintDevice* printer) const { - return ( theWrappedObject->brushOrigin()); + ( theWrappedObject->print(printer)); } -Qt::ClipOperation PythonQtWrapper_QPaintEngineState::clipOperation(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QTextDocument::redo(QTextDocument* theWrappedObject, QTextCursor* cursor) { - return ( theWrappedObject->clipOperation()); + ( theWrappedObject->redo(cursor)); } -QPainterPath PythonQtWrapper_QPaintEngineState::clipPath(QPaintEngineState* theWrappedObject) const +QVariant PythonQtWrapper_QTextDocument::resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const { - return ( theWrappedObject->clipPath()); + return ( theWrappedObject->resource(type, name)); } -QRegion PythonQtWrapper_QPaintEngineState::clipRegion(QPaintEngineState* theWrappedObject) const +int PythonQtWrapper_QTextDocument::revision(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->clipRegion()); + return ( theWrappedObject->revision()); } -QPainter::CompositionMode PythonQtWrapper_QPaintEngineState::compositionMode(QPaintEngineState* theWrappedObject) const +QTextFrame* PythonQtWrapper_QTextDocument::rootFrame(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->compositionMode()); + return ( theWrappedObject->rootFrame()); } -QFont PythonQtWrapper_QPaintEngineState::font(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setBaseUrl(QTextDocument* theWrappedObject, const QUrl& url) { - return ( theWrappedObject->font()); + ( theWrappedObject->setBaseUrl(url)); } -bool PythonQtWrapper_QPaintEngineState::isClipEnabled(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDefaultCursorMoveStyle(QTextDocument* theWrappedObject, Qt::CursorMoveStyle style) { - return ( theWrappedObject->isClipEnabled()); + ( theWrappedObject->setDefaultCursorMoveStyle(style)); } -QMatrix PythonQtWrapper_QPaintEngineState::matrix(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDefaultFont(QTextDocument* theWrappedObject, const QFont& font) { - return ( theWrappedObject->matrix()); + ( theWrappedObject->setDefaultFont(font)); } -qreal PythonQtWrapper_QPaintEngineState::opacity(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet) { - return ( theWrappedObject->opacity()); + ( theWrappedObject->setDefaultStyleSheet(sheet)); } -QPainter* PythonQtWrapper_QPaintEngineState::painter(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option) { - return ( theWrappedObject->painter()); + ( theWrappedObject->setDefaultTextOption(option)); } -QPen PythonQtWrapper_QPaintEngineState::pen(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout) { - return ( theWrappedObject->pen()); + ( theWrappedObject->setDocumentLayout(layout)); } -bool PythonQtWrapper_QPaintEngineState::penNeedsResolving(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setDocumentMargin(QTextDocument* theWrappedObject, qreal margin) { - return ( theWrappedObject->penNeedsResolving()); + ( theWrappedObject->setDocumentMargin(margin)); } -QPainter::RenderHints PythonQtWrapper_QPaintEngineState::renderHints(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setHtml(QTextDocument* theWrappedObject, const QString& html) { - return ( theWrappedObject->renderHints()); + ( theWrappedObject->setHtml(html)); } -QPaintEngine::DirtyFlags PythonQtWrapper_QPaintEngineState::state(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setIndentWidth(QTextDocument* theWrappedObject, qreal width) { - return ( theWrappedObject->state()); + ( theWrappedObject->setIndentWidth(width)); } -QTransform PythonQtWrapper_QPaintEngineState::transform(QPaintEngineState* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum) { - return ( theWrappedObject->transform()); + ( theWrappedObject->setMaximumBlockCount(maximum)); } - - -PythonQtShell_QPaintEvent::~PythonQtShell_QPaintEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QTextDocument::setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2) +{ + ( theWrappedObject->setMetaInformation(info, arg__2)); } -QPaintEvent* PythonQtWrapper_QPaintEvent::new_QPaintEvent(const QRect& paintRect) -{ -return new PythonQtShell_QPaintEvent(paintRect); } -QPaintEvent* PythonQtWrapper_QPaintEvent::new_QPaintEvent(const QRegion& paintRegion) -{ -return new PythonQtShell_QPaintEvent(paintRegion); } - -const QRect* PythonQtWrapper_QPaintEvent::rect(QPaintEvent* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setPageSize(QTextDocument* theWrappedObject, const QSizeF& size) { - return &( theWrappedObject->rect()); + ( theWrappedObject->setPageSize(size)); } -const QRegion* PythonQtWrapper_QPaintEvent::region(QPaintEvent* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setPlainText(QTextDocument* theWrappedObject, const QString& text) { - return &( theWrappedObject->region()); + ( theWrappedObject->setPlainText(text)); } - - -QPainter* PythonQtWrapper_QPainter::new_QPainter() -{ -return new QPainter(); } - -QPainter* PythonQtWrapper_QPainter::new_QPainter(QPaintDevice* arg__1) -{ -return new QPainter(arg__1); } - -const QBrush* PythonQtWrapper_QPainter::background(QPainter* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setTextWidth(QTextDocument* theWrappedObject, qreal width) { - return &( theWrappedObject->background()); + ( theWrappedObject->setTextWidth(width)); } -Qt::BGMode PythonQtWrapper_QPainter::backgroundMode(QPainter* theWrappedObject) const +void PythonQtWrapper_QTextDocument::setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable) { - return ( theWrappedObject->backgroundMode()); + ( theWrappedObject->setUndoRedoEnabled(enable)); } -bool PythonQtWrapper_QPainter::begin(QPainter* theWrappedObject, QPaintDevice* arg__1) +void PythonQtWrapper_QTextDocument::setUseDesignMetrics(QTextDocument* theWrappedObject, bool b) { - return ( theWrappedObject->begin(arg__1)); + ( theWrappedObject->setUseDesignMetrics(b)); } -void PythonQtWrapper_QPainter::beginNativePainting(QPainter* theWrappedObject) +QSizeF PythonQtWrapper_QTextDocument::size(QTextDocument* theWrappedObject) const { - ( theWrappedObject->beginNativePainting()); + return ( theWrappedObject->size()); } -QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text) +qreal PythonQtWrapper_QTextDocument::textWidth(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->boundingRect(rect, flags, text)); + return ( theWrappedObject->textWidth()); } -QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o) +QString PythonQtWrapper_QTextDocument::toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding) const { - return ( theWrappedObject->boundingRect(rect, text, o)); + return ( theWrappedObject->toHtml(encoding)); } -QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text) +QString PythonQtWrapper_QTextDocument::toPlainText(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->boundingRect(rect, flags, text)); + return ( theWrappedObject->toPlainText()); } -QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text) +QString PythonQtWrapper_QTextDocument::toRawText(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->boundingRect(x, y, w, h, flags, text)); + return ( theWrappedObject->toRawText()); } -const QBrush* PythonQtWrapper_QPainter::brush(QPainter* theWrappedObject) const +void PythonQtWrapper_QTextDocument::undo(QTextDocument* theWrappedObject, QTextCursor* cursor) { - return &( theWrappedObject->brush()); + ( theWrappedObject->undo(cursor)); } -QPoint PythonQtWrapper_QPainter::brushOrigin(QPainter* theWrappedObject) const +bool PythonQtWrapper_QTextDocument::useDesignMetrics(QTextDocument* theWrappedObject) const { - return ( theWrappedObject->brushOrigin()); + return ( theWrappedObject->useDesignMetrics()); } -QRectF PythonQtWrapper_QPainter::clipBoundingRect(QPainter* theWrappedObject) const + + +QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment() +{ +return new QTextDocumentFragment(); } + +QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextCursor& range) +{ +return new QTextDocumentFragment(range); } + +QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextDocument* document) +{ +return new QTextDocumentFragment(document); } + +QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextDocumentFragment& rhs) +{ +return new QTextDocumentFragment(rhs); } + +QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html) { - return ( theWrappedObject->clipBoundingRect()); + return (QTextDocumentFragment::fromHtml(html)); } -QPainterPath PythonQtWrapper_QPainter::clipPath(QPainter* theWrappedObject) const +QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider) { - return ( theWrappedObject->clipPath()); + return (QTextDocumentFragment::fromHtml(html, resourceProvider)); } -QRegion PythonQtWrapper_QPainter::clipRegion(QPainter* theWrappedObject) const +QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromPlainText(const QString& plainText) { - return ( theWrappedObject->clipRegion()); + return (QTextDocumentFragment::fromPlainText(plainText)); } -QMatrix PythonQtWrapper_QPainter::combinedMatrix(QPainter* theWrappedObject) const +bool PythonQtWrapper_QTextDocumentFragment::isEmpty(QTextDocumentFragment* theWrappedObject) const { - return ( theWrappedObject->combinedMatrix()); + return ( theWrappedObject->isEmpty()); } -QTransform PythonQtWrapper_QPainter::combinedTransform(QPainter* theWrappedObject) const +QString PythonQtWrapper_QTextDocumentFragment::toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const { - return ( theWrappedObject->combinedTransform()); + return ( theWrappedObject->toHtml(encoding)); } -QPainter::CompositionMode PythonQtWrapper_QPainter::compositionMode(QPainter* theWrappedObject) const +QString PythonQtWrapper_QTextDocumentFragment::toPlainText(QTextDocumentFragment* theWrappedObject) const { - return ( theWrappedObject->compositionMode()); + return ( theWrappedObject->toPlainText()); } -QPaintDevice* PythonQtWrapper_QPainter::device(QPainter* theWrappedObject) const + + +QTextDocumentWriter* PythonQtWrapper_QTextDocumentWriter::new_QTextDocumentWriter() +{ +return new QTextDocumentWriter(); } + +QTextDocumentWriter* PythonQtWrapper_QTextDocumentWriter::new_QTextDocumentWriter(QIODevice* device, const QByteArray& format) +{ +return new QTextDocumentWriter(device, format); } + +QTextDocumentWriter* PythonQtWrapper_QTextDocumentWriter::new_QTextDocumentWriter(const QString& fileName, const QByteArray& format) +{ +return new QTextDocumentWriter(fileName, format); } + +QTextCodec* PythonQtWrapper_QTextDocumentWriter::codec(QTextDocumentWriter* theWrappedObject) const { - return ( theWrappedObject->device()); + return ( theWrappedObject->codec()); } -const QMatrix* PythonQtWrapper_QPainter::deviceMatrix(QPainter* theWrappedObject) const +QIODevice* PythonQtWrapper_QTextDocumentWriter::device(QTextDocumentWriter* theWrappedObject) const { - return &( theWrappedObject->deviceMatrix()); + return ( theWrappedObject->device()); } -const QTransform* PythonQtWrapper_QPainter::deviceTransform(QPainter* theWrappedObject) const +QString PythonQtWrapper_QTextDocumentWriter::fileName(QTextDocumentWriter* theWrappedObject) const { - return &( theWrappedObject->deviceTransform()); + return ( theWrappedObject->fileName()); } -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +QByteArray PythonQtWrapper_QTextDocumentWriter::format(QTextDocumentWriter* theWrappedObject) const { - ( theWrappedObject->drawArc(arg__1, a, alen)); + return ( theWrappedObject->format()); } -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +void PythonQtWrapper_QTextDocumentWriter::setCodec(QTextDocumentWriter* theWrappedObject, QTextCodec* codec) { - ( theWrappedObject->drawArc(rect, a, alen)); + ( theWrappedObject->setCodec(codec)); } -void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) +void PythonQtWrapper_QTextDocumentWriter::setDevice(QTextDocumentWriter* theWrappedObject, QIODevice* device) { - ( theWrappedObject->drawArc(x, y, w, h, a, alen)); + ( theWrappedObject->setDevice(device)); } -void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +void PythonQtWrapper_QTextDocumentWriter::setFileName(QTextDocumentWriter* theWrappedObject, const QString& fileName) { - ( theWrappedObject->drawChord(arg__1, a, alen)); + ( theWrappedObject->setFileName(fileName)); } -void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +void PythonQtWrapper_QTextDocumentWriter::setFormat(QTextDocumentWriter* theWrappedObject, const QByteArray& format) { - ( theWrappedObject->drawChord(rect, a, alen)); + ( theWrappedObject->setFormat(format)); } -void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) +QList PythonQtWrapper_QTextDocumentWriter::static_QTextDocumentWriter_supportedDocumentFormats() { - ( theWrappedObject->drawChord(x, y, w, h, a, alen)); + return (QTextDocumentWriter::supportedDocumentFormats()); } -void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon) +bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocument* document) { - ( theWrappedObject->drawConvexPolygon(polygon)); + return ( theWrappedObject->write(document)); } -void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon) +bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocumentFragment& fragment) { - ( theWrappedObject->drawConvexPolygon(polygon)); + return ( theWrappedObject->write(fragment)); } -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry) -{ - ( theWrappedObject->drawEllipse(center, rx, ry)); -} - -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry) -{ - ( theWrappedObject->drawEllipse(center, rx, ry)); -} - -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRect& r) -{ - ( theWrappedObject->drawEllipse(r)); -} - -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRectF& r) -{ - ( theWrappedObject->drawEllipse(r)); -} - -void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h) -{ - ( theWrappedObject->drawEllipse(x, y, w, h)); -} - -void PythonQtWrapper_QPainter::drawGlyphRun(QPainter* theWrappedObject, const QPointF& position, const QGlyphRun& glyphRun) -{ - ( theWrappedObject->drawGlyphRun(position, glyphRun)); -} -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image) -{ - ( theWrappedObject->drawImage(p, image)); -} -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags) -{ - ( theWrappedObject->drawImage(p, image, sr, flags)); +PythonQtShell_QTextEdit::~PythonQtShell_QTextEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image) +void PythonQtShell_QTextEdit::actionEvent(QActionEvent* event0) { - ( theWrappedObject->drawImage(p, image)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags) -{ - ( theWrappedObject->drawImage(p, image, sr, flags)); + QTextEdit::actionEvent(event0); } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image) +bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source0) const { - ( theWrappedObject->drawImage(r, image)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("canInsertFromMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&source0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags) -{ - ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); + return QTextEdit::canInsertFromMimeData(source0); } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image) +void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) { - ( theWrappedObject->drawImage(r, image)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, Qt::ImageConversionFlags flags) -{ - ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); + QTextEdit::changeEvent(e0); } - -void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, int x, int y, const QImage& image, int sx, int sy, int sw, int sh, Qt::ImageConversionFlags flags) +void PythonQtShell_QTextEdit::childEvent(QChildEvent* event0) { - ( theWrappedObject->drawImage(x, y, image, sx, sy, sw, sh, flags)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLine& line) -{ - ( theWrappedObject->drawLine(line)); + QTextEdit::childEvent(event0); } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLineF& line) +void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* event0) { - ( theWrappedObject->drawLine(line)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2) -{ - ( theWrappedObject->drawLine(p1, p2)); + QTextEdit::closeEvent(event0); } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2) +void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) { - ( theWrappedObject->drawLine(p1, p2)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2) -{ - ( theWrappedObject->drawLine(x1, y1, x2, y2)); + QTextEdit::contextMenuEvent(e0); } - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) +QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const { - ( theWrappedObject->drawLines(lines)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("createMimeDataFromSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QMimeData* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) -{ - ( theWrappedObject->drawLines(lines)); + return QTextEdit::createMimeDataFromSelection(); } - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) +void PythonQtShell_QTextEdit::customEvent(QEvent* event0) { - ( theWrappedObject->drawLines(pointPairs)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) -{ - ( theWrappedObject->drawLines(pointPairs)); + QTextEdit::customEvent(event0); } - -void PythonQtWrapper_QPainter::drawPath(QPainter* theWrappedObject, const QPainterPath& path) +int PythonQtShell_QTextEdit::devType() const { - ( theWrappedObject->drawPath(path)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture) -{ - ( theWrappedObject->drawPicture(p, picture)); + return QTextEdit::devType(); } - -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture) +void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) { - ( theWrappedObject->drawPicture(p, picture)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("doSetTextCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QTextCursor&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&cursor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture) -{ - ( theWrappedObject->drawPicture(x, y, picture)); + QTextEdit::doSetTextCursor(cursor0); } - -void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) +void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) { - ( theWrappedObject->drawPie(arg__1, a, alen)); -} - -void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) -{ - ( theWrappedObject->drawPie(rect, a, alen)); -} - -void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) -{ - ( theWrappedObject->drawPie(x, y, w, h, a, alen)); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(p, pm)); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr) -{ - ( theWrappedObject->drawPixmap(p, pm, sr)); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(p, pm)); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr) -{ - ( theWrappedObject->drawPixmap(p, pm, sr)); -} - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(r, pm)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect) -{ - ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); + QTextEdit::dragEnterEvent(e0); } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect) +void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { - ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(x, y, pm)); + QTextEdit::dragLeaveEvent(e0); } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm, int sx, int sy, int sw, int sh) +void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) { - ( theWrappedObject->drawPixmap(x, y, pm, sx, sy, sw, sh)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm) -{ - ( theWrappedObject->drawPixmap(x, y, w, h, pm)); + QTextEdit::dragMoveEvent(e0); } - -void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm, int sx, int sy, int sw, int sh) +void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) { - ( theWrappedObject->drawPixmap(x, y, w, h, pm, sx, sy, sw, sh)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPixmapFragments(QPainter* theWrappedObject, const QPainter::PixmapFragment* fragments, int fragmentCount, const QPixmap& pixmap, QPainter::PixmapFragmentHints hints) -{ - ( theWrappedObject->drawPixmapFragments(fragments, fragmentCount, pixmap, hints)); + QTextEdit::dropEvent(e0); } - -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPoint& p) +void PythonQtShell_QTextEdit::enterEvent(QEvent* event0) { - ( theWrappedObject->drawPoint(p)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPointF& pt) -{ - ( theWrappedObject->drawPoint(pt)); + QTextEdit::enterEvent(event0); } - -void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, int x, int y) +bool PythonQtShell_QTextEdit::event(QEvent* e0) { - ( theWrappedObject->drawPoint(x, y)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygon& points) -{ - ( theWrappedObject->drawPoints(points)); + return QTextEdit::event(e0); } - -void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygonF& points) +bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { - ( theWrappedObject->drawPoints(points)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule) -{ - ( theWrappedObject->drawPolygon(polygon, fillRule)); + return QTextEdit::eventFilter(arg__1, arg__2); } - -void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule) +void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) { - ( theWrappedObject->drawPolygon(polygon, fillRule)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon) -{ - ( theWrappedObject->drawPolyline(polygon)); + QTextEdit::focusInEvent(e0); } - -void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline) +bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) { - ( theWrappedObject->drawPolyline(polyline)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRect& rect) -{ - ( theWrappedObject->drawRect(rect)); + return QTextEdit::focusNextPrevChild(next0); } - -void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRectF& rect) +void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) { - ( theWrappedObject->drawRect(rect)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h) -{ - ( theWrappedObject->drawRect(x1, y1, w, h)); + QTextEdit::focusOutEvent(e0); } - -void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) +bool PythonQtShell_QTextEdit::hasHeightForWidth() const { - ( theWrappedObject->drawRects(rectangles)); -} - -void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) -{ - ( theWrappedObject->drawRects(rectangles)); -} - -void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround, int yround) -{ - ( theWrappedObject->drawRoundRect(r, xround, yround)); -} - -void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround, int yround) -{ - ( theWrappedObject->drawRoundRect(r, xround, yround)); -} - -void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, int x, int y, int w, int h, int arg__5, int arg__6) -{ - ( theWrappedObject->drawRoundRect(x, y, w, h, arg__5, arg__6)); -} - -void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) -{ - ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); -} - -void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) -{ - ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); -} - -void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) -{ - ( theWrappedObject->drawRoundedRect(x, y, w, h, xRadius, yRadius, mode)); -} - -void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPoint& topLeftPosition, const QStaticText& staticText) -{ - ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPointF& topLeftPosition, const QStaticText& staticText) -{ - ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); + return QTextEdit::hasHeightForWidth(); } - -void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, int left, int top, const QStaticText& staticText) +int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const { - ( theWrappedObject->drawStaticText(left, top, staticText)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s) -{ - ( theWrappedObject->drawText(p, s)); + return QTextEdit::heightForWidth(arg__1); } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s) +void PythonQtShell_QTextEdit::hideEvent(QHideEvent* event0) { - ( theWrappedObject->drawText(p, s)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br) -{ - ( theWrappedObject->drawText(r, flags, text, br)); + QTextEdit::hideEvent(event0); } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o) +void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const { - ( theWrappedObject->drawText(r, text, o)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br) -{ - ( theWrappedObject->drawText(r, flags, text, br)); + QTextEdit::initPainter(painter0); } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, const QString& s) +void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { - ( theWrappedObject->drawText(x, y, s)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, QRect* br) -{ - ( theWrappedObject->drawText(x, y, w, h, flags, text, br)); + QTextEdit::inputMethodEvent(arg__1); } - -void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti) +QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const { - ( theWrappedObject->drawTextItem(p, ti)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&property0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti) -{ - ( theWrappedObject->drawTextItem(p, ti)); + return QTextEdit::inputMethodQuery(property0); } - -void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti) +void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) { - ( theWrappedObject->drawTextItem(x, y, ti)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("insertFromMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&source0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRect& arg__1, const QPixmap& arg__2, const QPoint& arg__3) -{ - ( theWrappedObject->drawTiledPixmap(arg__1, arg__2, arg__3)); + QTextEdit::insertFromMimeData(source0); } - -void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset) +void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) { - ( theWrappedObject->drawTiledPixmap(rect, pm, offset)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& arg__5, int sx, int sy) -{ - ( theWrappedObject->drawTiledPixmap(x, y, w, h, arg__5, sx, sy)); + QTextEdit::keyPressEvent(e0); } - -bool PythonQtWrapper_QPainter::end(QPainter* theWrappedObject) +void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) { - return ( theWrappedObject->end()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::endNativePainting(QPainter* theWrappedObject) -{ - ( theWrappedObject->endNativePainting()); + QTextEdit::keyReleaseEvent(e0); } - -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRect& arg__1) +void PythonQtShell_QTextEdit::leaveEvent(QEvent* event0) { - ( theWrappedObject->eraseRect(arg__1)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRectF& arg__1) -{ - ( theWrappedObject->eraseRect(arg__1)); + QTextEdit::leaveEvent(event0); } - -void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h) +QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) { - ( theWrappedObject->eraseRect(x, y, w, h)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("loadResource"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush) -{ - ( theWrappedObject->fillPath(path, brush)); + return QTextEdit::loadResource(type0, name1); } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2) +int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - ( theWrappedObject->fillRect(arg__1, arg__2)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QColor& color) -{ - ( theWrappedObject->fillRect(arg__1, color)); + return QTextEdit::metric(arg__1); } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::BrushStyle style) +QSize PythonQtShell_QTextEdit::minimumSizeHint() const { - ( theWrappedObject->fillRect(r, style)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::GlobalColor c) -{ - ( theWrappedObject->fillRect(r, c)); + return QTextEdit::minimumSizeHint(); } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2) +void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { - ( theWrappedObject->fillRect(arg__1, arg__2)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QColor& color) -{ - ( theWrappedObject->fillRect(arg__1, color)); + QTextEdit::mouseDoubleClickEvent(e0); } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::BrushStyle style) +void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) { - ( theWrappedObject->fillRect(r, style)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::GlobalColor c) -{ - ( theWrappedObject->fillRect(r, c)); + QTextEdit::mouseMoveEvent(e0); } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::BrushStyle style) +void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) { - ( theWrappedObject->fillRect(x, y, w, h, style)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::GlobalColor c) -{ - ( theWrappedObject->fillRect(x, y, w, h, c)); + QTextEdit::mousePressEvent(e0); } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5) +void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) { - ( theWrappedObject->fillRect(x, y, w, h, arg__5)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QColor& color) -{ - ( theWrappedObject->fillRect(x, y, w, h, color)); + QTextEdit::mouseReleaseEvent(e0); } - -const QFont* PythonQtWrapper_QPainter::font(QPainter* theWrappedObject) const +void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* event0) { - return &( theWrappedObject->font()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QFontInfo PythonQtWrapper_QPainter::fontInfo(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->fontInfo()); + QTextEdit::moveEvent(event0); } - -QFontMetrics PythonQtWrapper_QPainter::fontMetrics(QPainter* theWrappedObject) const +bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - return ( theWrappedObject->fontMetrics()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QPainter::hasClipping(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->hasClipping()); + return QTextEdit::nativeEvent(eventType0, message1, result2); } - -void PythonQtWrapper_QPainter::initFrom(QPainter* theWrappedObject, const QPaintDevice* device) +QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const { - ( theWrappedObject->initFrom(device)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QPainter::isActive(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->isActive()); + return QTextEdit::paintEngine(); } - -Qt::LayoutDirection PythonQtWrapper_QPainter::layoutDirection(QPainter* theWrappedObject) const +void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) { - return ( theWrappedObject->layoutDirection()); -} - -qreal PythonQtWrapper_QPainter::opacity(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->opacity()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPaintEngine* PythonQtWrapper_QPainter::paintEngine(QPainter* theWrappedObject) const -{ - return ( theWrappedObject->paintEngine()); + QTextEdit::paintEvent(e0); } - -const QPen* PythonQtWrapper_QPainter::pen(QPainter* theWrappedObject) const +QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const { - return &( theWrappedObject->pen()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPaintDevice* PythonQtWrapper_QPainter::static_QPainter_redirected(const QPaintDevice* device, QPoint* offset) -{ - return (QPainter::redirected(device, offset)); + return QTextEdit::redirected(offset0); } - -QPainter::RenderHints PythonQtWrapper_QPainter::renderHints(QPainter* theWrappedObject) const +void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) { - return ( theWrappedObject->renderHints()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::resetMatrix(QPainter* theWrappedObject) -{ - ( theWrappedObject->resetMatrix()); + QTextEdit::resizeEvent(e0); } - -void PythonQtWrapper_QPainter::resetTransform(QPainter* theWrappedObject) +void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) { - ( theWrappedObject->resetTransform()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::restore(QPainter* theWrappedObject) -{ - ( theWrappedObject->restore()); + QTextEdit::scrollContentsBy(dx0, dy1); } - -void PythonQtWrapper_QPainter::static_QPainter_restoreRedirected(const QPaintDevice* device) +void PythonQtShell_QTextEdit::setVisible(bool visible0) { - (QPainter::restoreRedirected(device)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::rotate(QPainter* theWrappedObject, qreal a) -{ - ( theWrappedObject->rotate(a)); + QTextEdit::setVisible(visible0); } - -void PythonQtWrapper_QPainter::save(QPainter* theWrappedObject) +void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) { - ( theWrappedObject->save()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::scale(QPainter* theWrappedObject, qreal sx, qreal sy) -{ - ( theWrappedObject->scale(sx, sy)); + QTextEdit::setupViewport(viewport0); } - -void PythonQtWrapper_QPainter::setBackground(QPainter* theWrappedObject, const QBrush& bg) +QPainter* PythonQtShell_QTextEdit::sharedPainter() const { - ( theWrappedObject->setBackground(bg)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode) -{ - ( theWrappedObject->setBackgroundMode(mode)); + return QTextEdit::sharedPainter(); } - -void PythonQtWrapper_QPainter::setBrush(QPainter* theWrappedObject, const QBrush& brush) +void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) { - ( theWrappedObject->setBrush(brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1) -{ - ( theWrappedObject->setBrushOrigin(arg__1)); + QTextEdit::showEvent(arg__1); } - -void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1) +QSize PythonQtShell_QTextEdit::sizeHint() const { - ( theWrappedObject->setBrushOrigin(arg__1)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, int x, int y) -{ - ( theWrappedObject->setBrushOrigin(x, y)); + return QTextEdit::sizeHint(); } - -void PythonQtWrapper_QPainter::setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op) +void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* event0) { - ( theWrappedObject->setClipPath(path, op)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op) -{ - ( theWrappedObject->setClipRect(arg__1, op)); + QTextEdit::tabletEvent(event0); } - -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op) +void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) { - ( theWrappedObject->setClipRect(arg__1, op)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op) -{ - ( theWrappedObject->setClipRect(x, y, w, h, op)); + QTextEdit::timerEvent(e0); } - -void PythonQtWrapper_QPainter::setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op) +bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) { - ( theWrappedObject->setClipRegion(arg__1, op)); -} - -void PythonQtWrapper_QPainter::setClipping(QPainter* theWrappedObject, bool enable) -{ - ( theWrappedObject->setClipping(enable)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("viewportEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode) -{ - ( theWrappedObject->setCompositionMode(mode)); + return QTextEdit::viewportEvent(arg__1); } - -void PythonQtWrapper_QPainter::setFont(QPainter* theWrappedObject, const QFont& f) +QSize PythonQtShell_QTextEdit::viewportSizeHint() const { - ( theWrappedObject->setFont(f)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction) -{ - ( theWrappedObject->setLayoutDirection(direction)); + return QTextEdit::viewportSizeHint(); } - -void PythonQtWrapper_QPainter::setOpacity(QPainter* theWrappedObject, qreal opacity) +void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) { - ( theWrappedObject->setOpacity(opacity)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, Qt::PenStyle style) -{ - ( theWrappedObject->setPen(style)); + QTextEdit::wheelEvent(e0); } +QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(QWidget* parent) +{ +return new PythonQtShell_QTextEdit(parent); } -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QColor& color) -{ - ( theWrappedObject->setPen(color)); -} +QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QTextEdit(text, parent); } -void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QPen& pen) -{ - ( theWrappedObject->setPen(pen)); +const QMetaObject* PythonQtShell_QTextEdit::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextEdit::staticMetaObject); + } else { + return &QTextEdit::staticMetaObject; + } } - -void PythonQtWrapper_QPainter::static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset) -{ - (QPainter::setRedirected(device, replacement, offset)); +int PythonQtShell_QTextEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextEdit::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -void PythonQtWrapper_QPainter::setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on) +bool PythonQtWrapper_QTextEdit::acceptRichText(QTextEdit* theWrappedObject) const { - ( theWrappedObject->setRenderHint(hint, on)); + return ( theWrappedObject->acceptRichText()); } -void PythonQtWrapper_QPainter::setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on) +Qt::Alignment PythonQtWrapper_QTextEdit::alignment(QTextEdit* theWrappedObject) const { - ( theWrappedObject->setRenderHints(hints, on)); + return ( theWrappedObject->alignment()); } -void PythonQtWrapper_QPainter::setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine) +QString PythonQtWrapper_QTextEdit::anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const { - ( theWrappedObject->setTransform(transform, combine)); + return ( theWrappedObject->anchorAt(pos)); } -void PythonQtWrapper_QPainter::setViewTransformEnabled(QPainter* theWrappedObject, bool enable) +QTextEdit::AutoFormatting PythonQtWrapper_QTextEdit::autoFormatting(QTextEdit* theWrappedObject) const { - ( theWrappedObject->setViewTransformEnabled(enable)); + return ( theWrappedObject->autoFormatting()); } -void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, const QRect& viewport) +bool PythonQtWrapper_QTextEdit::canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const { - ( theWrappedObject->setViewport(viewport)); + return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); } -void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, int x, int y, int w, int h) +bool PythonQtWrapper_QTextEdit::canPaste(QTextEdit* theWrappedObject) const { - ( theWrappedObject->setViewport(x, y, w, h)); + return ( theWrappedObject->canPaste()); } -void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, const QRect& window) +QMimeData* PythonQtWrapper_QTextEdit::createMimeDataFromSelection(QTextEdit* theWrappedObject) const { - ( theWrappedObject->setWindow(window)); + return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); } -void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, int x, int y, int w, int h) +QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject) { - ( theWrappedObject->setWindow(x, y, w, h)); + return ( theWrappedObject->createStandardContextMenu()); } -void PythonQtWrapper_QPainter::setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine) +QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position) { - ( theWrappedObject->setWorldMatrix(matrix, combine)); + return ( theWrappedObject->createStandardContextMenu(position)); } -void PythonQtWrapper_QPainter::setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled) +QTextCharFormat PythonQtWrapper_QTextEdit::currentCharFormat(QTextEdit* theWrappedObject) const { - ( theWrappedObject->setWorldMatrixEnabled(enabled)); + return ( theWrappedObject->currentCharFormat()); } -void PythonQtWrapper_QPainter::setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine) +QFont PythonQtWrapper_QTextEdit::currentFont(QTextEdit* theWrappedObject) const { - ( theWrappedObject->setWorldTransform(matrix, combine)); + return ( theWrappedObject->currentFont()); } -void PythonQtWrapper_QPainter::shear(QPainter* theWrappedObject, qreal sh, qreal sv) +QTextCursor PythonQtWrapper_QTextEdit::cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const { - ( theWrappedObject->shear(sh, sv)); + return ( theWrappedObject->cursorForPosition(pos)); } -void PythonQtWrapper_QPainter::strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen) +QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject) const { - ( theWrappedObject->strokePath(path, pen)); + return ( theWrappedObject->cursorRect()); } -bool PythonQtWrapper_QPainter::testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const +QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const { - return ( theWrappedObject->testRenderHint(hint)); + return ( theWrappedObject->cursorRect(cursor)); } -const QTransform* PythonQtWrapper_QPainter::transform(QPainter* theWrappedObject) const +int PythonQtWrapper_QTextEdit::cursorWidth(QTextEdit* theWrappedObject) const { - return &( theWrappedObject->transform()); + return ( theWrappedObject->cursorWidth()); } -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPoint& offset) +void PythonQtWrapper_QTextEdit::doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) { - ( theWrappedObject->translate(offset)); + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); } -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPointF& offset) +QTextDocument* PythonQtWrapper_QTextEdit::document(QTextEdit* theWrappedObject) const { - ( theWrappedObject->translate(offset)); + return ( theWrappedObject->document()); } -void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, qreal dx, qreal dy) +QString PythonQtWrapper_QTextEdit::documentTitle(QTextEdit* theWrappedObject) const { - ( theWrappedObject->translate(dx, dy)); + return ( theWrappedObject->documentTitle()); } -bool PythonQtWrapper_QPainter::viewTransformEnabled(QPainter* theWrappedObject) const +void PythonQtWrapper_QTextEdit::ensureCursorVisible(QTextEdit* theWrappedObject) { - return ( theWrappedObject->viewTransformEnabled()); + ( theWrappedObject->ensureCursorVisible()); } -QRect PythonQtWrapper_QPainter::viewport(QPainter* theWrappedObject) const +QList PythonQtWrapper_QTextEdit::extraSelections(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->viewport()); + return ( theWrappedObject->extraSelections()); } -QRect PythonQtWrapper_QPainter::window(QPainter* theWrappedObject) const +bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) { - return ( theWrappedObject->window()); + return ( theWrappedObject->find(exp, options)); } -const QMatrix* PythonQtWrapper_QPainter::worldMatrix(QPainter* theWrappedObject) const +bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) { - return &( theWrappedObject->worldMatrix()); + return ( theWrappedObject->find(exp, options)); } -bool PythonQtWrapper_QPainter::worldMatrixEnabled(QPainter* theWrappedObject) const +QString PythonQtWrapper_QTextEdit::fontFamily(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->worldMatrixEnabled()); + return ( theWrappedObject->fontFamily()); } -const QTransform* PythonQtWrapper_QPainter::worldTransform(QPainter* theWrappedObject) const +bool PythonQtWrapper_QTextEdit::fontItalic(QTextEdit* theWrappedObject) const { - return &( theWrappedObject->worldTransform()); + return ( theWrappedObject->fontItalic()); } - - -QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath() -{ -return new QPainterPath(); } - -QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath(const QPainterPath& other) -{ -return new QPainterPath(other); } - -QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath(const QPointF& startPoint) -{ -return new QPainterPath(startPoint); } - -void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, const QPointF& center, qreal rx, qreal ry) +qreal PythonQtWrapper_QTextEdit::fontPointSize(QTextEdit* theWrappedObject) const { - ( theWrappedObject->addEllipse(center, rx, ry)); + return ( theWrappedObject->fontPointSize()); } -void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, const QRectF& rect) +bool PythonQtWrapper_QTextEdit::fontUnderline(QTextEdit* theWrappedObject) const { - ( theWrappedObject->addEllipse(rect)); + return ( theWrappedObject->fontUnderline()); } -void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +int PythonQtWrapper_QTextEdit::fontWeight(QTextEdit* theWrappedObject) const { - ( theWrappedObject->addEllipse(x, y, w, h)); + return ( theWrappedObject->fontWeight()); } -void PythonQtWrapper_QPainterPath::addPath(QPainterPath* theWrappedObject, const QPainterPath& path) +QVariant PythonQtWrapper_QTextEdit::inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const { - ( theWrappedObject->addPath(path)); + return ( theWrappedObject->inputMethodQuery(query, argument)); } -void PythonQtWrapper_QPainterPath::addPolygon(QPainterPath* theWrappedObject, const QPolygonF& polygon) +void PythonQtWrapper_QTextEdit::insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) { - ( theWrappedObject->addPolygon(polygon)); + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); } -void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, const QRectF& rect) +bool PythonQtWrapper_QTextEdit::isReadOnly(QTextEdit* theWrappedObject) const { - ( theWrappedObject->addRect(rect)); + return ( theWrappedObject->isReadOnly()); } -void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +bool PythonQtWrapper_QTextEdit::isUndoRedoEnabled(QTextEdit* theWrappedObject) const { - ( theWrappedObject->addRect(x, y, w, h)); + return ( theWrappedObject->isUndoRedoEnabled()); } -void PythonQtWrapper_QPainterPath::addRegion(QPainterPath* theWrappedObject, const QRegion& region) +int PythonQtWrapper_QTextEdit::lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const { - ( theWrappedObject->addRegion(region)); + return ( theWrappedObject->lineWrapColumnOrWidth()); } -void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int roundness) +QTextEdit::LineWrapMode PythonQtWrapper_QTextEdit::lineWrapMode(QTextEdit* theWrappedObject) const { - ( theWrappedObject->addRoundRect(rect, roundness)); + return ( theWrappedObject->lineWrapMode()); } -void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int xRnd, int yRnd) +QVariant PythonQtWrapper_QTextEdit::loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name) { - ( theWrappedObject->addRoundRect(rect, xRnd, yRnd)); + return ( theWrappedObject->loadResource(type, name)); } -void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int roundness) +void PythonQtWrapper_QTextEdit::mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier) { - ( theWrappedObject->addRoundRect(x, y, w, h, roundness)); + ( theWrappedObject->mergeCurrentCharFormat(modifier)); } -void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd) +void PythonQtWrapper_QTextEdit::moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) { - ( theWrappedObject->addRoundRect(x, y, w, h, xRnd, yRnd)); + ( theWrappedObject->moveCursor(operation, mode)); } -void PythonQtWrapper_QPainterPath::addRoundedRect(QPainterPath* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +bool PythonQtWrapper_QTextEdit::overwriteMode(QTextEdit* theWrappedObject) const { - ( theWrappedObject->addRoundedRect(rect, xRadius, yRadius, mode)); + return ( theWrappedObject->overwriteMode()); } -void PythonQtWrapper_QPainterPath::addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +QString PythonQtWrapper_QTextEdit::placeholderText(QTextEdit* theWrappedObject) const { - ( theWrappedObject->addRoundedRect(x, y, w, h, xRadius, yRadius, mode)); + return ( theWrappedObject->placeholderText()); } -void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, const QPointF& point, const QFont& f, const QString& text) +void PythonQtWrapper_QTextEdit::print(QTextEdit* theWrappedObject, QPagedPaintDevice* printer) const { - ( theWrappedObject->addText(point, f, text)); + ( theWrappedObject->print(printer)); } -void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text) +void PythonQtWrapper_QTextEdit::setAcceptRichText(QTextEdit* theWrappedObject, bool accept) { - ( theWrappedObject->addText(x, y, f, text)); + ( theWrappedObject->setAcceptRichText(accept)); } -qreal PythonQtWrapper_QPainterPath::angleAtPercent(QPainterPath* theWrappedObject, qreal t) const +void PythonQtWrapper_QTextEdit::setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features) { - return ( theWrappedObject->angleAtPercent(t)); + ( theWrappedObject->setAutoFormatting(features)); } -void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal angle) +void PythonQtWrapper_QTextEdit::setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format) { - ( theWrappedObject->arcMoveTo(rect, angle)); + ( theWrappedObject->setCurrentCharFormat(format)); } -void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle) +void PythonQtWrapper_QTextEdit::setCursorWidth(QTextEdit* theWrappedObject, int width) { - ( theWrappedObject->arcMoveTo(x, y, w, h, angle)); + ( theWrappedObject->setCursorWidth(width)); } -void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal startAngle, qreal arcLength) +void PythonQtWrapper_QTextEdit::setDocument(QTextEdit* theWrappedObject, QTextDocument* document) { - ( theWrappedObject->arcTo(rect, startAngle, arcLength)); + ( theWrappedObject->setDocument(document)); } -void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength) +void PythonQtWrapper_QTextEdit::setDocumentTitle(QTextEdit* theWrappedObject, const QString& title) { - ( theWrappedObject->arcTo(x, y, w, h, startAngle, arcLength)); + ( theWrappedObject->setDocumentTitle(title)); } -QRectF PythonQtWrapper_QPainterPath::boundingRect(QPainterPath* theWrappedObject) const +void PythonQtWrapper_QTextEdit::setExtraSelections(QTextEdit* theWrappedObject, const QList& selections) { - return ( theWrappedObject->boundingRect()); + ( theWrappedObject->setExtraSelections(selections)); } -void PythonQtWrapper_QPainterPath::closeSubpath(QPainterPath* theWrappedObject) +void PythonQtWrapper_QTextEdit::setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w) { - ( theWrappedObject->closeSubpath()); + ( theWrappedObject->setLineWrapColumnOrWidth(w)); } -void PythonQtWrapper_QPainterPath::connectPath(QPainterPath* theWrappedObject, const QPainterPath& path) +void PythonQtWrapper_QTextEdit::setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode) { - ( theWrappedObject->connectPath(path)); + ( theWrappedObject->setLineWrapMode(mode)); } -bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QPainterPath& p) const +void PythonQtWrapper_QTextEdit::setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite) { - return ( theWrappedObject->contains(p)); + ( theWrappedObject->setOverwriteMode(overwrite)); } -bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QPointF& pt) const +void PythonQtWrapper_QTextEdit::setPlaceholderText(QTextEdit* theWrappedObject, const QString& placeholderText) { - return ( theWrappedObject->contains(pt)); + ( theWrappedObject->setPlaceholderText(placeholderText)); } -bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QRectF& rect) const +void PythonQtWrapper_QTextEdit::setReadOnly(QTextEdit* theWrappedObject, bool ro) { - return ( theWrappedObject->contains(rect)); + ( theWrappedObject->setReadOnly(ro)); } -QRectF PythonQtWrapper_QPainterPath::controlPointRect(QPainterPath* theWrappedObject) const +void PythonQtWrapper_QTextEdit::setTabChangesFocus(QTextEdit* theWrappedObject, bool b) { - return ( theWrappedObject->controlPointRect()); + ( theWrappedObject->setTabChangesFocus(b)); } -void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt1, const QPointF& ctrlPt2, const QPointF& endPt) +void PythonQtWrapper_QTextEdit::setTabStopDistance(QTextEdit* theWrappedObject, qreal distance) { - ( theWrappedObject->cubicTo(ctrlPt1, ctrlPt2, endPt)); + ( theWrappedObject->setTabStopDistance(distance)); } -void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty) +void PythonQtWrapper_QTextEdit::setTabStopWidth(QTextEdit* theWrappedObject, int width) { - ( theWrappedObject->cubicTo(ctrlPt1x, ctrlPt1y, ctrlPt2x, ctrlPt2y, endPtx, endPty)); + ( theWrappedObject->setTabStopWidth(width)); } -QPointF PythonQtWrapper_QPainterPath::currentPosition(QPainterPath* theWrappedObject) const +void PythonQtWrapper_QTextEdit::setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) { - return ( theWrappedObject->currentPosition()); + ( theWrappedObject->setTextCursor(cursor)); } -QPainterPath::Element PythonQtWrapper_QPainterPath::elementAt(QPainterPath* theWrappedObject, int i) const +void PythonQtWrapper_QTextEdit::setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) { - return ( theWrappedObject->elementAt(i)); + ( theWrappedObject->setTextInteractionFlags(flags)); } -int PythonQtWrapper_QPainterPath::elementCount(QPainterPath* theWrappedObject) const +void PythonQtWrapper_QTextEdit::setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable) { - return ( theWrappedObject->elementCount()); + ( theWrappedObject->setUndoRedoEnabled(enable)); } -Qt::FillRule PythonQtWrapper_QPainterPath::fillRule(QPainterPath* theWrappedObject) const +void PythonQtWrapper_QTextEdit::setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy) { - return ( theWrappedObject->fillRule()); + ( theWrappedObject->setWordWrapMode(policy)); } -QPainterPath PythonQtWrapper_QPainterPath::intersected(QPainterPath* theWrappedObject, const QPainterPath& r) const +bool PythonQtWrapper_QTextEdit::tabChangesFocus(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->intersected(r)); + return ( theWrappedObject->tabChangesFocus()); } -bool PythonQtWrapper_QPainterPath::intersects(QPainterPath* theWrappedObject, const QPainterPath& p) const +qreal PythonQtWrapper_QTextEdit::tabStopDistance(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->intersects(p)); + return ( theWrappedObject->tabStopDistance()); } -bool PythonQtWrapper_QPainterPath::intersects(QPainterPath* theWrappedObject, const QRectF& rect) const +int PythonQtWrapper_QTextEdit::tabStopWidth(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->intersects(rect)); + return ( theWrappedObject->tabStopWidth()); } -bool PythonQtWrapper_QPainterPath::isEmpty(QPainterPath* theWrappedObject) const +QColor PythonQtWrapper_QTextEdit::textBackgroundColor(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->isEmpty()); + return ( theWrappedObject->textBackgroundColor()); } -qreal PythonQtWrapper_QPainterPath::length(QPainterPath* theWrappedObject) const +QColor PythonQtWrapper_QTextEdit::textColor(QTextEdit* theWrappedObject) const { - return ( theWrappedObject->length()); + return ( theWrappedObject->textColor()); } -void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, const QPointF& p) +QTextCursor PythonQtWrapper_QTextEdit::textCursor(QTextEdit* theWrappedObject) const { - ( theWrappedObject->lineTo(p)); + return ( theWrappedObject->textCursor()); } -void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, qreal x, qreal y) +Qt::TextInteractionFlags PythonQtWrapper_QTextEdit::textInteractionFlags(QTextEdit* theWrappedObject) const { - ( theWrappedObject->lineTo(x, y)); + return ( theWrappedObject->textInteractionFlags()); } -void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, const QPointF& p) +QString PythonQtWrapper_QTextEdit::toHtml(QTextEdit* theWrappedObject) const { - ( theWrappedObject->moveTo(p)); + return ( theWrappedObject->toHtml()); } -void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, qreal x, qreal y) +QString PythonQtWrapper_QTextEdit::toPlainText(QTextEdit* theWrappedObject) const { - ( theWrappedObject->moveTo(x, y)); + return ( theWrappedObject->toPlainText()); } -bool PythonQtWrapper_QPainterPath::__ne__(QPainterPath* theWrappedObject, const QPainterPath& other) const +QTextOption::WrapMode PythonQtWrapper_QTextEdit::wordWrapMode(QTextEdit* theWrappedObject) const { - return ( (*theWrappedObject)!= other); + return ( theWrappedObject->wordWrapMode()); } -QPainterPath PythonQtWrapper_QPainterPath::__and__(QPainterPath* theWrappedObject, const QPainterPath& other) const +void PythonQtWrapper_QTextEdit::zoomInF(QTextEdit* theWrappedObject, float range) { - return ( (*theWrappedObject)& other); + ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_zoomInF(range)); } -QPainterPath* PythonQtWrapper_QPainterPath::__iand__(QPainterPath* theWrappedObject, const QPainterPath& other) -{ - return &( (*theWrappedObject)&= other); -} -QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QMatrix& m) -{ - return ( (*theWrappedObject)* m); -} -QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QTransform& m) -{ - return ( (*theWrappedObject)* m); +PythonQtShell_QTextEdit__ExtraSelection::~PythonQtShell_QTextEdit__ExtraSelection() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QTextEdit::ExtraSelection* PythonQtWrapper_QTextEdit__ExtraSelection::new_QTextEdit__ExtraSelection() +{ +return new PythonQtShell_QTextEdit__ExtraSelection(); } -QPainterPath PythonQtWrapper_QPainterPath::__add__(QPainterPath* theWrappedObject, const QPainterPath& other) const -{ - return ( (*theWrappedObject)+ other); -} -QPainterPath* PythonQtWrapper_QPainterPath::__iadd__(QPainterPath* theWrappedObject, const QPainterPath& other) -{ - return &( (*theWrappedObject)+= other); -} -QPainterPath PythonQtWrapper_QPainterPath::__sub__(QPainterPath* theWrappedObject, const QPainterPath& other) const -{ - return ( (*theWrappedObject)- other); -} +QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment() +{ +return new QTextFragment(); } -QPainterPath* PythonQtWrapper_QPainterPath::__isub__(QPainterPath* theWrappedObject, const QPainterPath& other) -{ - return &( (*theWrappedObject)-= other); -} +QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment(const QTextFragment& o) +{ +return new QTextFragment(o); } -void PythonQtWrapper_QPainterPath::writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1) +QTextCharFormat PythonQtWrapper_QTextFragment::charFormat(QTextFragment* theWrappedObject) const { - arg__1 << (*theWrappedObject); + return ( theWrappedObject->charFormat()); } -bool PythonQtWrapper_QPainterPath::__eq__(QPainterPath* theWrappedObject, const QPainterPath& other) const +int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const { - return ( (*theWrappedObject)== other); + return ( theWrappedObject->charFormatIndex()); } -void PythonQtWrapper_QPainterPath::readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1) +bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const { - arg__1 >> (*theWrappedObject); + return ( theWrappedObject->contains(position)); } -QPainterPath PythonQtWrapper_QPainterPath::__or__(QPainterPath* theWrappedObject, const QPainterPath& other) const +QList PythonQtWrapper_QTextFragment::glyphRuns(QTextFragment* theWrappedObject, int from, int length) const { - return ( (*theWrappedObject)| other); + return ( theWrappedObject->glyphRuns(from, length)); } -QPainterPath* PythonQtWrapper_QPainterPath::__ior__(QPainterPath* theWrappedObject, const QPainterPath& other) +bool PythonQtWrapper_QTextFragment::isValid(QTextFragment* theWrappedObject) const { - return &( (*theWrappedObject)|= other); + return ( theWrappedObject->isValid()); } -qreal PythonQtWrapper_QPainterPath::percentAtLength(QPainterPath* theWrappedObject, qreal t) const +int PythonQtWrapper_QTextFragment::length(QTextFragment* theWrappedObject) const { - return ( theWrappedObject->percentAtLength(t)); + return ( theWrappedObject->length()); } -QPointF PythonQtWrapper_QPainterPath::pointAtPercent(QPainterPath* theWrappedObject, qreal t) const +bool PythonQtWrapper_QTextFragment::__ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const { - return ( theWrappedObject->pointAtPercent(t)); + return ( (*theWrappedObject)!= o); } -void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt, const QPointF& endPt) +bool PythonQtWrapper_QTextFragment::__lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const { - ( theWrappedObject->quadTo(ctrlPt, endPt)); + return ( (*theWrappedObject)< o); } -void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty) +bool PythonQtWrapper_QTextFragment::__eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const { - ( theWrappedObject->quadTo(ctrlPtx, ctrlPty, endPtx, endPty)); + return ( (*theWrappedObject)== o); } -void PythonQtWrapper_QPainterPath::setElementPositionAt(QPainterPath* theWrappedObject, int i, qreal x, qreal y) +int PythonQtWrapper_QTextFragment::position(QTextFragment* theWrappedObject) const { - ( theWrappedObject->setElementPositionAt(i, x, y)); + return ( theWrappedObject->position()); } -void PythonQtWrapper_QPainterPath::setFillRule(QPainterPath* theWrappedObject, Qt::FillRule fillRule) +QString PythonQtWrapper_QTextFragment::text(QTextFragment* theWrappedObject) const { - ( theWrappedObject->setFillRule(fillRule)); + return ( theWrappedObject->text()); } -QPainterPath PythonQtWrapper_QPainterPath::simplified(QPainterPath* theWrappedObject) const -{ - return ( theWrappedObject->simplified()); -} -qreal PythonQtWrapper_QPainterPath::slopeAtPercent(QPainterPath* theWrappedObject, qreal t) const -{ - return ( theWrappedObject->slopeAtPercent(t)); -} -QPainterPath PythonQtWrapper_QPainterPath::subtracted(QPainterPath* theWrappedObject, const QPainterPath& r) const -{ - return ( theWrappedObject->subtracted(r)); +PythonQtShell_QTextFrame::~PythonQtShell_QTextFrame() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QPainterPath PythonQtWrapper_QPainterPath::subtractedInverted(QPainterPath* theWrappedObject, const QPainterPath& r) const +void PythonQtShell_QTextFrame::childEvent(QChildEvent* event0) { - return ( theWrappedObject->subtractedInverted(r)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPainterPath::swap(QPainterPath* theWrappedObject, QPainterPath& other) -{ - ( theWrappedObject->swap(other)); + QTextFrame::childEvent(event0); } - -QPolygonF PythonQtWrapper_QPainterPath::toFillPolygon(QPainterPath* theWrappedObject, const QMatrix& matrix) const +void PythonQtShell_QTextFrame::customEvent(QEvent* event0) { - return ( theWrappedObject->toFillPolygon(matrix)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPolygonF PythonQtWrapper_QPainterPath::toFillPolygon(QPainterPath* theWrappedObject, const QTransform& matrix) const -{ - return ( theWrappedObject->toFillPolygon(matrix)); + QTextFrame::customEvent(event0); } - -QList PythonQtWrapper_QPainterPath::toFillPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const +bool PythonQtShell_QTextFrame::event(QEvent* event0) { - return ( theWrappedObject->toFillPolygons(matrix)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } + return QTextFrame::event(event0); +} +bool PythonQtShell_QTextFrame::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTextFrame::eventFilter(watched0, event1); +} +void PythonQtShell_QTextFrame::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextFrame::timerEvent(event0); +} +QTextFrame* PythonQtWrapper_QTextFrame::new_QTextFrame(QTextDocument* doc) +{ +return new PythonQtShell_QTextFrame(doc); } -QList PythonQtWrapper_QPainterPath::toFillPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const +const QMetaObject* PythonQtShell_QTextFrame::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextFrame::staticMetaObject); + } else { + return &QTextFrame::staticMetaObject; + } +} +int PythonQtShell_QTextFrame::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextFrame::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QTextFrame::iterator PythonQtWrapper_QTextFrame::begin(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->toFillPolygons(matrix)); + return ( theWrappedObject->begin()); } -QPainterPath PythonQtWrapper_QPainterPath::toReversed(QPainterPath* theWrappedObject) const +QList PythonQtWrapper_QTextFrame::childFrames(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->toReversed()); + return ( theWrappedObject->childFrames()); } -QList PythonQtWrapper_QPainterPath::toSubpathPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const +QTextFrame::iterator PythonQtWrapper_QTextFrame::end(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->toSubpathPolygons(matrix)); + return ( theWrappedObject->end()); } -QList PythonQtWrapper_QPainterPath::toSubpathPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const +QTextCursor PythonQtWrapper_QTextFrame::firstCursorPosition(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->toSubpathPolygons(matrix)); + return ( theWrappedObject->firstCursorPosition()); } -void PythonQtWrapper_QPainterPath::translate(QPainterPath* theWrappedObject, const QPointF& offset) +int PythonQtWrapper_QTextFrame::firstPosition(QTextFrame* theWrappedObject) const { - ( theWrappedObject->translate(offset)); + return ( theWrappedObject->firstPosition()); } -void PythonQtWrapper_QPainterPath::translate(QPainterPath* theWrappedObject, qreal dx, qreal dy) +QTextFrameFormat PythonQtWrapper_QTextFrame::frameFormat(QTextFrame* theWrappedObject) const { - ( theWrappedObject->translate(dx, dy)); + return ( theWrappedObject->frameFormat()); } -QPainterPath PythonQtWrapper_QPainterPath::translated(QPainterPath* theWrappedObject, const QPointF& offset) const +QTextCursor PythonQtWrapper_QTextFrame::lastCursorPosition(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->translated(offset)); + return ( theWrappedObject->lastCursorPosition()); } -QPainterPath PythonQtWrapper_QPainterPath::translated(QPainterPath* theWrappedObject, qreal dx, qreal dy) const +int PythonQtWrapper_QTextFrame::lastPosition(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->translated(dx, dy)); + return ( theWrappedObject->lastPosition()); } -QPainterPath PythonQtWrapper_QPainterPath::united(QPainterPath* theWrappedObject, const QPainterPath& r) const +QTextFrame* PythonQtWrapper_QTextFrame::parentFrame(QTextFrame* theWrappedObject) const { - return ( theWrappedObject->united(r)); + return ( theWrappedObject->parentFrame()); } -QString PythonQtWrapper_QPainterPath::py_toString(QPainterPath* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +void PythonQtWrapper_QTextFrame::setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format) +{ + ( theWrappedObject->setFrameFormat(format)); } -QPainterPathStroker* PythonQtWrapper_QPainterPathStroker::new_QPainterPathStroker() +PythonQtShell_QTextFrameFormat::~PythonQtShell_QTextFrameFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat() { -return new QPainterPathStroker(); } +return new PythonQtShell_QTextFrameFormat(); } -QPainterPathStroker* PythonQtWrapper_QPainterPathStroker::new_QPainterPathStroker(const QPen& pen) +QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat(const QTextFormat& fmt) { -return new QPainterPathStroker(pen); } +return new PythonQtShell_QTextFrameFormat(fmt); } -Qt::PenCapStyle PythonQtWrapper_QPainterPathStroker::capStyle(QPainterPathStroker* theWrappedObject) const +qreal PythonQtWrapper_QTextFrameFormat::border(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->capStyle()); + return ( theWrappedObject->border()); } -QPainterPath PythonQtWrapper_QPainterPathStroker::createStroke(QPainterPathStroker* theWrappedObject, const QPainterPath& path) const +QBrush PythonQtWrapper_QTextFrameFormat::borderBrush(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->createStroke(path)); + return ( theWrappedObject->borderBrush()); } -qreal PythonQtWrapper_QPainterPathStroker::curveThreshold(QPainterPathStroker* theWrappedObject) const +QTextFrameFormat::BorderStyle PythonQtWrapper_QTextFrameFormat::borderStyle(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->curveThreshold()); + return ( theWrappedObject->borderStyle()); } -qreal PythonQtWrapper_QPainterPathStroker::dashOffset(QPainterPathStroker* theWrappedObject) const +qreal PythonQtWrapper_QTextFrameFormat::bottomMargin(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->dashOffset()); + return ( theWrappedObject->bottomMargin()); } -QVector PythonQtWrapper_QPainterPathStroker::dashPattern(QPainterPathStroker* theWrappedObject) const +QTextLength PythonQtWrapper_QTextFrameFormat::height(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->dashPattern()); + return ( theWrappedObject->height()); } -Qt::PenJoinStyle PythonQtWrapper_QPainterPathStroker::joinStyle(QPainterPathStroker* theWrappedObject) const +bool PythonQtWrapper_QTextFrameFormat::isValid(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->joinStyle()); + return ( theWrappedObject->isValid()); } -qreal PythonQtWrapper_QPainterPathStroker::miterLimit(QPainterPathStroker* theWrappedObject) const +qreal PythonQtWrapper_QTextFrameFormat::leftMargin(QTextFrameFormat* theWrappedObject) const { - return ( theWrappedObject->miterLimit()); + return ( theWrappedObject->leftMargin()); } -void PythonQtWrapper_QPainterPathStroker::setCapStyle(QPainterPathStroker* theWrappedObject, Qt::PenCapStyle style) +qreal PythonQtWrapper_QTextFrameFormat::margin(QTextFrameFormat* theWrappedObject) const { - ( theWrappedObject->setCapStyle(style)); + return ( theWrappedObject->margin()); } -void PythonQtWrapper_QPainterPathStroker::setCurveThreshold(QPainterPathStroker* theWrappedObject, qreal threshold) +qreal PythonQtWrapper_QTextFrameFormat::padding(QTextFrameFormat* theWrappedObject) const { - ( theWrappedObject->setCurveThreshold(threshold)); + return ( theWrappedObject->padding()); } -void PythonQtWrapper_QPainterPathStroker::setDashOffset(QPainterPathStroker* theWrappedObject, qreal offset) +QTextFormat::PageBreakFlags PythonQtWrapper_QTextFrameFormat::pageBreakPolicy(QTextFrameFormat* theWrappedObject) const { - ( theWrappedObject->setDashOffset(offset)); + return ( theWrappedObject->pageBreakPolicy()); } -void PythonQtWrapper_QPainterPathStroker::setDashPattern(QPainterPathStroker* theWrappedObject, Qt::PenStyle arg__1) +QTextFrameFormat::Position PythonQtWrapper_QTextFrameFormat::position(QTextFrameFormat* theWrappedObject) const { - ( theWrappedObject->setDashPattern(arg__1)); + return ( theWrappedObject->position()); } -void PythonQtWrapper_QPainterPathStroker::setDashPattern(QPainterPathStroker* theWrappedObject, const QVector& dashPattern) +qreal PythonQtWrapper_QTextFrameFormat::rightMargin(QTextFrameFormat* theWrappedObject) const { - ( theWrappedObject->setDashPattern(dashPattern)); + return ( theWrappedObject->rightMargin()); } -void PythonQtWrapper_QPainterPathStroker::setJoinStyle(QPainterPathStroker* theWrappedObject, Qt::PenJoinStyle style) +void PythonQtWrapper_QTextFrameFormat::setBorder(QTextFrameFormat* theWrappedObject, qreal border) { - ( theWrappedObject->setJoinStyle(style)); + ( theWrappedObject->setBorder(border)); } -void PythonQtWrapper_QPainterPathStroker::setMiterLimit(QPainterPathStroker* theWrappedObject, qreal length) +void PythonQtWrapper_QTextFrameFormat::setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush) { - ( theWrappedObject->setMiterLimit(length)); + ( theWrappedObject->setBorderBrush(brush)); } -void PythonQtWrapper_QPainterPathStroker::setWidth(QPainterPathStroker* theWrappedObject, qreal width) +void PythonQtWrapper_QTextFrameFormat::setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) { - ( theWrappedObject->setWidth(width)); + ( theWrappedObject->setBorderStyle(style)); } -qreal PythonQtWrapper_QPainterPathStroker::width(QPainterPathStroker* theWrappedObject) const +void PythonQtWrapper_QTextFrameFormat::setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin) { - return ( theWrappedObject->width()); + ( theWrappedObject->setBottomMargin(margin)); } +void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height) +{ + ( theWrappedObject->setHeight(height)); +} +void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, qreal height) +{ + ( theWrappedObject->setHeight(height)); +} -PythonQtShell_QPainterPath__Element::~PythonQtShell_QPainterPath__Element() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QTextFrameFormat::setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin) +{ + ( theWrappedObject->setLeftMargin(margin)); } -QPainterPath::Element* PythonQtWrapper_QPainterPath__Element::new_QPainterPath__Element() -{ -return new PythonQtShell_QPainterPath__Element(); } -bool PythonQtWrapper_QPainterPath__Element::isCurveTo(QPainterPath::Element* theWrappedObject) const +void PythonQtWrapper_QTextFrameFormat::setMargin(QTextFrameFormat* theWrappedObject, qreal margin) { - return ( theWrappedObject->isCurveTo()); + ( theWrappedObject->setMargin(margin)); } -bool PythonQtWrapper_QPainterPath__Element::isLineTo(QPainterPath::Element* theWrappedObject) const +void PythonQtWrapper_QTextFrameFormat::setPadding(QTextFrameFormat* theWrappedObject, qreal padding) { - return ( theWrappedObject->isLineTo()); + ( theWrappedObject->setPadding(padding)); } -bool PythonQtWrapper_QPainterPath__Element::isMoveTo(QPainterPath::Element* theWrappedObject) const +void PythonQtWrapper_QTextFrameFormat::setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) { - return ( theWrappedObject->isMoveTo()); + ( theWrappedObject->setPageBreakPolicy(flags)); } -QPointF PythonQtWrapper_QPainterPath__Element::operator_cast_QPointF(QPainterPath::Element* theWrappedObject) const +void PythonQtWrapper_QTextFrameFormat::setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f) { - return ( theWrappedObject->operator QPointF()); + ( theWrappedObject->setPosition(f)); } -bool PythonQtWrapper_QPainterPath__Element::__ne__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const +void PythonQtWrapper_QTextFrameFormat::setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin) { - return ( (*theWrappedObject)!= e); + ( theWrappedObject->setRightMargin(margin)); } -bool PythonQtWrapper_QPainterPath__Element::__eq__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const +void PythonQtWrapper_QTextFrameFormat::setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin) { - return ( (*theWrappedObject)== e); + ( theWrappedObject->setTopMargin(margin)); } +void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length) +{ + ( theWrappedObject->setWidth(length)); +} +void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, qreal width) +{ + ( theWrappedObject->setWidth(width)); +} -PythonQtShell_QPainter__PixmapFragment::~PythonQtShell_QPainter__PixmapFragment() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +qreal PythonQtWrapper_QTextFrameFormat::topMargin(QTextFrameFormat* theWrappedObject) const +{ + return ( theWrappedObject->topMargin()); } -QPainter::PixmapFragment* PythonQtWrapper_QPainter__PixmapFragment::new_QPainter__PixmapFragment() -{ -return new PythonQtShell_QPainter__PixmapFragment(); } -QPainter::PixmapFragment PythonQtWrapper_QPainter__PixmapFragment::static_QPainter__PixmapFragment_create(const QPointF& pos, const QRectF& sourceRect, qreal scaleX, qreal scaleY, qreal rotation, qreal opacity) +QTextLength PythonQtWrapper_QTextFrameFormat::width(QTextFrameFormat* theWrappedObject) const { - return (QPainter::PixmapFragment::create(pos, sourceRect, scaleX, scaleY, rotation, opacity)); + return ( theWrappedObject->width()); } -PythonQtShell_QPanGesture::~PythonQtShell_QPanGesture() { +PythonQtShell_QTextImageFormat::~PythonQtShell_QTextImageFormat() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPanGesture::childEvent(QChildEvent* event0) +QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat() +{ +return new PythonQtShell_QTextImageFormat(); } + +QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat(const QTextFormat& format) +{ +return new PythonQtShell_QTextImageFormat(format); } + +qreal PythonQtWrapper_QTextImageFormat::height(QTextImageFormat* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->height()); } - QPanGesture::childEvent(event0); + +bool PythonQtWrapper_QTextImageFormat::isValid(QTextImageFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); } -void PythonQtShell_QPanGesture::customEvent(QEvent* event0) + +QString PythonQtWrapper_QTextImageFormat::name(QTextImageFormat* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->name()); } - QPanGesture::customEvent(event0); + +void PythonQtWrapper_QTextImageFormat::setHeight(QTextImageFormat* theWrappedObject, qreal height) +{ + ( theWrappedObject->setHeight(height)); } -bool PythonQtShell_QPanGesture::event(QEvent* event0) + +void PythonQtWrapper_QTextImageFormat::setName(QTextImageFormat* theWrappedObject, const QString& name) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setName(name)); } - return QPanGesture::event(event0); + +void PythonQtWrapper_QTextImageFormat::setWidth(QTextImageFormat* theWrappedObject, qreal width) +{ + ( theWrappedObject->setWidth(width)); } -bool PythonQtShell_QPanGesture::eventFilter(QObject* watched0, QEvent* event1) + +qreal PythonQtWrapper_QTextImageFormat::width(QTextImageFormat* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->width()); } - return QPanGesture::eventFilter(watched0, event1); + + + +QTextInlineObject* PythonQtWrapper_QTextInlineObject::new_QTextInlineObject() +{ +return new QTextInlineObject(); } + +qreal PythonQtWrapper_QTextInlineObject::ascent(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->ascent()); } -void PythonQtShell_QPanGesture::timerEvent(QTimerEvent* event0) + +qreal PythonQtWrapper_QTextInlineObject::descent(QTextInlineObject* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->descent()); } - QPanGesture::timerEvent(event0); + +QTextFormat PythonQtWrapper_QTextInlineObject::format(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->format()); } -QPanGesture* PythonQtWrapper_QPanGesture::new_QPanGesture(QObject* parent) -{ -return new PythonQtShell_QPanGesture(parent); } -const QMetaObject* PythonQtShell_QPanGesture::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPanGesture::staticMetaObject); - } else { - return &QPanGesture::staticMetaObject; - } +int PythonQtWrapper_QTextInlineObject::formatIndex(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->formatIndex()); } -int PythonQtShell_QPanGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPanGesture::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +qreal PythonQtWrapper_QTextInlineObject::height(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +bool PythonQtWrapper_QTextInlineObject::isValid(QTextInlineObject* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); } -qreal PythonQtWrapper_QPanGesture::acceleration(QPanGesture* theWrappedObject) const + +QRectF PythonQtWrapper_QTextInlineObject::rect(QTextInlineObject* theWrappedObject) const { - return ( theWrappedObject->acceleration()); + return ( theWrappedObject->rect()); } -QPointF PythonQtWrapper_QPanGesture::delta(QPanGesture* theWrappedObject) const +void PythonQtWrapper_QTextInlineObject::setAscent(QTextInlineObject* theWrappedObject, qreal a) { - return ( theWrappedObject->delta()); + ( theWrappedObject->setAscent(a)); } -QPointF PythonQtWrapper_QPanGesture::lastOffset(QPanGesture* theWrappedObject) const +void PythonQtWrapper_QTextInlineObject::setDescent(QTextInlineObject* theWrappedObject, qreal d) { - return ( theWrappedObject->lastOffset()); + ( theWrappedObject->setDescent(d)); } -QPointF PythonQtWrapper_QPanGesture::offset(QPanGesture* theWrappedObject) const +void PythonQtWrapper_QTextInlineObject::setWidth(QTextInlineObject* theWrappedObject, qreal w) { - return ( theWrappedObject->offset()); + ( theWrappedObject->setWidth(w)); } -void PythonQtWrapper_QPanGesture::setAcceleration(QPanGesture* theWrappedObject, qreal value) +Qt::LayoutDirection PythonQtWrapper_QTextInlineObject::textDirection(QTextInlineObject* theWrappedObject) const { - ( theWrappedObject->setAcceleration(value)); + return ( theWrappedObject->textDirection()); } -void PythonQtWrapper_QPanGesture::setLastOffset(QPanGesture* theWrappedObject, const QPointF& value) +int PythonQtWrapper_QTextInlineObject::textPosition(QTextInlineObject* theWrappedObject) const { - ( theWrappedObject->setLastOffset(value)); + return ( theWrappedObject->textPosition()); } -void PythonQtWrapper_QPanGesture::setOffset(QPanGesture* theWrappedObject, const QPointF& value) +qreal PythonQtWrapper_QTextInlineObject::width(QTextInlineObject* theWrappedObject) const { - ( theWrappedObject->setOffset(value)); + return ( theWrappedObject->width()); } -PythonQtShell_QPdfWriter::~PythonQtShell_QPdfWriter() { +PythonQtShell_QTextItem::~PythonQtShell_QTextItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPdfWriter::childEvent(QChildEvent* event0) +QTextItem* PythonQtWrapper_QTextItem::new_QTextItem() +{ +return new PythonQtShell_QTextItem(); } + +qreal PythonQtWrapper_QTextItem::ascent(QTextItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPdfWriter::childEvent(event0); -} -void PythonQtShell_QPdfWriter::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPdfWriter::customEvent(event0); -} -int PythonQtShell_QPdfWriter::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPdfWriter::devType(); -} -bool PythonQtShell_QPdfWriter::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPdfWriter::event(event0); -} -bool PythonQtShell_QPdfWriter::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPdfWriter::eventFilter(watched0, event1); -} -void PythonQtShell_QPdfWriter::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPdfWriter::initPainter(painter0); -} -int PythonQtShell_QPdfWriter::metric(QPaintDevice::PaintDeviceMetric id0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&id0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPdfWriter::metric(id0); -} -bool PythonQtShell_QPdfWriter::newPage() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("newPage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPdfWriter::newPage(); -} -QPaintEngine* PythonQtShell_QPdfWriter::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPdfWriter::paintEngine(); -} -QPaintDevice* PythonQtShell_QPdfWriter::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPdfWriter::redirected(offset0); -} -void PythonQtShell_QPdfWriter::setMargins(const QPagedPaintDevice::Margins& m0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setMargins"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&m0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPdfWriter::setMargins(m0); -} -void PythonQtShell_QPdfWriter::setPageSize(QPagedPaintDevice::PageSize size0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setPageSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&size0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPdfWriter::setPageSize(size0); -} -void PythonQtShell_QPdfWriter::setPageSizeMM(const QSizeF& size0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setPageSizeMM"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&size0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPdfWriter::setPageSizeMM(size0); -} -QPainter* PythonQtShell_QPdfWriter::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPdfWriter::sharedPainter(); -} -void PythonQtShell_QPdfWriter::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPdfWriter::timerEvent(event0); -} -QPdfWriter* PythonQtWrapper_QPdfWriter::new_QPdfWriter(QIODevice* device) -{ -return new PythonQtShell_QPdfWriter(device); } - -QPdfWriter* PythonQtWrapper_QPdfWriter::new_QPdfWriter(const QString& filename) -{ -return new PythonQtShell_QPdfWriter(filename); } - -const QMetaObject* PythonQtShell_QPdfWriter::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPdfWriter::staticMetaObject); - } else { - return &QPdfWriter::staticMetaObject; - } -} -int PythonQtShell_QPdfWriter::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPdfWriter::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QString PythonQtWrapper_QPdfWriter::creator(QPdfWriter* theWrappedObject) const -{ - return ( theWrappedObject->creator()); -} - -QPagedPaintDevice::PdfVersion PythonQtWrapper_QPdfWriter::pdfVersion(QPdfWriter* theWrappedObject) const -{ - return ( theWrappedObject->pdfVersion()); -} - -int PythonQtWrapper_QPdfWriter::resolution(QPdfWriter* theWrappedObject) const -{ - return ( theWrappedObject->resolution()); -} - -void PythonQtWrapper_QPdfWriter::setCreator(QPdfWriter* theWrappedObject, const QString& creator) -{ - ( theWrappedObject->setCreator(creator)); -} - -void PythonQtWrapper_QPdfWriter::setPdfVersion(QPdfWriter* theWrappedObject, QPagedPaintDevice::PdfVersion version) -{ - ( theWrappedObject->setPdfVersion(version)); -} - -void PythonQtWrapper_QPdfWriter::setResolution(QPdfWriter* theWrappedObject, int resolution) -{ - ( theWrappedObject->setResolution(resolution)); -} - -void PythonQtWrapper_QPdfWriter::setTitle(QPdfWriter* theWrappedObject, const QString& title) -{ - ( theWrappedObject->setTitle(title)); -} - -QString PythonQtWrapper_QPdfWriter::title(QPdfWriter* theWrappedObject) const -{ - return ( theWrappedObject->title()); -} - - - -PythonQtShell_QPicture::~PythonQtShell_QPicture() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -int PythonQtShell_QPicture::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPicture::devType(); -} -void PythonQtShell_QPicture::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPicture::initPainter(painter0); -} -int PythonQtShell_QPicture::metric(QPaintDevice::PaintDeviceMetric m0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&m0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPicture::metric(m0); -} -QPaintEngine* PythonQtShell_QPicture::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPicture::paintEngine(); -} -QPaintDevice* PythonQtShell_QPicture::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPicture::redirected(offset0); -} -QPainter* PythonQtShell_QPicture::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPicture::sharedPainter(); -} -QPicture* PythonQtWrapper_QPicture::new_QPicture(const QPicture& arg__1) -{ -return new PythonQtShell_QPicture(arg__1); } - -QPicture* PythonQtWrapper_QPicture::new_QPicture(int formatVersion) -{ -return new PythonQtShell_QPicture(formatVersion); } - -QRect PythonQtWrapper_QPicture::boundingRect(QPicture* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -const char* PythonQtWrapper_QPicture::data(QPicture* theWrappedObject) const -{ - return ( theWrappedObject->data()); -} - -bool PythonQtWrapper_QPicture::isNull(QPicture* theWrappedObject) const -{ - return ( theWrappedObject->isNull()); -} - -bool PythonQtWrapper_QPicture::load(QPicture* theWrappedObject, QIODevice* dev, const char* format) -{ - return ( theWrappedObject->load(dev, format)); -} - -bool PythonQtWrapper_QPicture::load(QPicture* theWrappedObject, const QString& fileName, const char* format) -{ - return ( theWrappedObject->load(fileName, format)); -} - -void PythonQtWrapper_QPicture::writeTo(QPicture* theWrappedObject, QDataStream& arg__1) -{ - arg__1 << (*theWrappedObject); -} - -void PythonQtWrapper_QPicture::readFrom(QPicture* theWrappedObject, QDataStream& arg__1) -{ - arg__1 >> (*theWrappedObject); -} - -bool PythonQtWrapper_QPicture::play(QPicture* theWrappedObject, QPainter* p) -{ - return ( theWrappedObject->play(p)); -} - -bool PythonQtWrapper_QPicture::save(QPicture* theWrappedObject, QIODevice* dev, const char* format) -{ - return ( theWrappedObject->save(dev, format)); -} - -bool PythonQtWrapper_QPicture::save(QPicture* theWrappedObject, const QString& fileName, const char* format) -{ - return ( theWrappedObject->save(fileName, format)); -} - -void PythonQtWrapper_QPicture::setBoundingRect(QPicture* theWrappedObject, const QRect& r) -{ - ( theWrappedObject->setBoundingRect(r)); -} - -uint PythonQtWrapper_QPicture::size(QPicture* theWrappedObject) const -{ - return ( theWrappedObject->size()); -} - -void PythonQtWrapper_QPicture::swap(QPicture* theWrappedObject, QPicture& other) -{ - ( theWrappedObject->swap(other)); -} - - - -PythonQtShell_QPictureFormatPlugin::~PythonQtShell_QPictureFormatPlugin() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QPictureFormatPlugin::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPictureFormatPlugin::childEvent(event0); -} -void PythonQtShell_QPictureFormatPlugin::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPictureFormatPlugin::customEvent(event0); -} -bool PythonQtShell_QPictureFormatPlugin::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPictureFormatPlugin::event(event0); -} -bool PythonQtShell_QPictureFormatPlugin::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPictureFormatPlugin::eventFilter(watched0, event1); -} -bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& format0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("installIOHandler"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&format0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("installIOHandler", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return bool(); -} -bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format0, const QString& filename1, QPicture* pic2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("loadPicture"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QPicture*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&format0, (void*)&filename1, (void*)&pic2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("loadPicture", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPictureFormatPlugin::loadPicture(format0, filename1, pic2); -} -bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format0, const QString& filename1, const QPicture& pic2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("savePicture"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QPicture&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&format0, (void*)&filename1, (void*)&pic2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("savePicture", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPictureFormatPlugin::savePicture(format0, filename1, pic2); -} -void PythonQtShell_QPictureFormatPlugin::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPictureFormatPlugin::timerEvent(event0); -} -QPictureFormatPlugin* PythonQtWrapper_QPictureFormatPlugin::new_QPictureFormatPlugin(QObject* parent) -{ -return new PythonQtShell_QPictureFormatPlugin(parent); } - -const QMetaObject* PythonQtShell_QPictureFormatPlugin::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPictureFormatPlugin::staticMetaObject); - } else { - return &QPictureFormatPlugin::staticMetaObject; - } -} -int PythonQtShell_QPictureFormatPlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPictureFormatPlugin::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QPictureFormatPlugin::installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format) -{ - return ( theWrappedObject->installIOHandler(format)); -} - -bool PythonQtWrapper_QPictureFormatPlugin::loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic) -{ - return ( theWrappedObject->loadPicture(format, filename, pic)); -} - -bool PythonQtWrapper_QPictureFormatPlugin::savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic) -{ - return ( theWrappedObject->savePicture(format, filename, pic)); -} - - - -QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO() -{ -return new QPictureIO(); } - -QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO(QIODevice* ioDevice, const char* format) -{ -return new QPictureIO(ioDevice, format); } - -QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO(const QString& fileName, const char* format) -{ -return new QPictureIO(fileName, format); } - -QString PythonQtWrapper_QPictureIO::description(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->description()); -} - -QString PythonQtWrapper_QPictureIO::fileName(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->fileName()); -} - -const char* PythonQtWrapper_QPictureIO::format(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -float PythonQtWrapper_QPictureIO::gamma(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->gamma()); -} - -QList PythonQtWrapper_QPictureIO::static_QPictureIO_inputFormats() -{ - return (QPictureIO::inputFormats()); -} - -QIODevice* PythonQtWrapper_QPictureIO::ioDevice(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->ioDevice()); -} - -QList PythonQtWrapper_QPictureIO::static_QPictureIO_outputFormats() -{ - return (QPictureIO::outputFormats()); -} - -const char* PythonQtWrapper_QPictureIO::parameters(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->parameters()); -} - -const QPicture* PythonQtWrapper_QPictureIO::picture(QPictureIO* theWrappedObject) const -{ - return &( theWrappedObject->picture()); -} - -QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(QIODevice* arg__1) -{ - return (QPictureIO::pictureFormat(arg__1)); -} - -QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(const QString& fileName) -{ - return (QPictureIO::pictureFormat(fileName)); -} - -int PythonQtWrapper_QPictureIO::quality(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->quality()); -} - -bool PythonQtWrapper_QPictureIO::read(QPictureIO* theWrappedObject) -{ - return ( theWrappedObject->read()); -} - -void PythonQtWrapper_QPictureIO::setDescription(QPictureIO* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setDescription(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setFileName(QPictureIO* theWrappedObject, const QString& arg__1) -{ - ( theWrappedObject->setFileName(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setFormat(QPictureIO* theWrappedObject, const char* arg__1) -{ - ( theWrappedObject->setFormat(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setGamma(QPictureIO* theWrappedObject, float arg__1) -{ - ( theWrappedObject->setGamma(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1) -{ - ( theWrappedObject->setIODevice(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setParameters(QPictureIO* theWrappedObject, const char* arg__1) -{ - ( theWrappedObject->setParameters(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1) -{ - ( theWrappedObject->setPicture(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setQuality(QPictureIO* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setQuality(arg__1)); -} - -void PythonQtWrapper_QPictureIO::setStatus(QPictureIO* theWrappedObject, int arg__1) -{ - ( theWrappedObject->setStatus(arg__1)); -} - -int PythonQtWrapper_QPictureIO::status(QPictureIO* theWrappedObject) const -{ - return ( theWrappedObject->status()); -} - -bool PythonQtWrapper_QPictureIO::write(QPictureIO* theWrappedObject) -{ - return ( theWrappedObject->write()); -} - - - -PythonQtShell_QPinchGesture::~PythonQtShell_QPinchGesture() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QPinchGesture::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPinchGesture::childEvent(event0); -} -void PythonQtShell_QPinchGesture::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPinchGesture::customEvent(event0); -} -bool PythonQtShell_QPinchGesture::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPinchGesture::event(event0); -} -bool PythonQtShell_QPinchGesture::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPinchGesture::eventFilter(watched0, event1); -} -void PythonQtShell_QPinchGesture::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPinchGesture::timerEvent(event0); -} -QPinchGesture* PythonQtWrapper_QPinchGesture::new_QPinchGesture(QObject* parent) -{ -return new PythonQtShell_QPinchGesture(parent); } - -const QMetaObject* PythonQtShell_QPinchGesture::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPinchGesture::staticMetaObject); - } else { - return &QPinchGesture::staticMetaObject; - } -} -int PythonQtShell_QPinchGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPinchGesture::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QPointF PythonQtWrapper_QPinchGesture::centerPoint(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->centerPoint()); -} - -QPinchGesture::ChangeFlags PythonQtWrapper_QPinchGesture::changeFlags(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->changeFlags()); -} - -QPointF PythonQtWrapper_QPinchGesture::lastCenterPoint(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->lastCenterPoint()); -} - -qreal PythonQtWrapper_QPinchGesture::lastRotationAngle(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->lastRotationAngle()); -} - -qreal PythonQtWrapper_QPinchGesture::lastScaleFactor(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->lastScaleFactor()); -} - -qreal PythonQtWrapper_QPinchGesture::rotationAngle(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->rotationAngle()); -} - -qreal PythonQtWrapper_QPinchGesture::scaleFactor(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->scaleFactor()); -} - -void PythonQtWrapper_QPinchGesture::setCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) -{ - ( theWrappedObject->setCenterPoint(value)); -} - -void PythonQtWrapper_QPinchGesture::setChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value) -{ - ( theWrappedObject->setChangeFlags(value)); -} - -void PythonQtWrapper_QPinchGesture::setLastCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) -{ - ( theWrappedObject->setLastCenterPoint(value)); -} - -void PythonQtWrapper_QPinchGesture::setLastRotationAngle(QPinchGesture* theWrappedObject, qreal value) -{ - ( theWrappedObject->setLastRotationAngle(value)); -} - -void PythonQtWrapper_QPinchGesture::setLastScaleFactor(QPinchGesture* theWrappedObject, qreal value) -{ - ( theWrappedObject->setLastScaleFactor(value)); -} - -void PythonQtWrapper_QPinchGesture::setRotationAngle(QPinchGesture* theWrappedObject, qreal value) -{ - ( theWrappedObject->setRotationAngle(value)); -} - -void PythonQtWrapper_QPinchGesture::setScaleFactor(QPinchGesture* theWrappedObject, qreal value) -{ - ( theWrappedObject->setScaleFactor(value)); -} - -void PythonQtWrapper_QPinchGesture::setStartCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) -{ - ( theWrappedObject->setStartCenterPoint(value)); -} - -void PythonQtWrapper_QPinchGesture::setTotalChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value) -{ - ( theWrappedObject->setTotalChangeFlags(value)); -} - -void PythonQtWrapper_QPinchGesture::setTotalRotationAngle(QPinchGesture* theWrappedObject, qreal value) -{ - ( theWrappedObject->setTotalRotationAngle(value)); -} - -void PythonQtWrapper_QPinchGesture::setTotalScaleFactor(QPinchGesture* theWrappedObject, qreal value) -{ - ( theWrappedObject->setTotalScaleFactor(value)); -} - -QPointF PythonQtWrapper_QPinchGesture::startCenterPoint(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->startCenterPoint()); -} - -QPinchGesture::ChangeFlags PythonQtWrapper_QPinchGesture::totalChangeFlags(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->totalChangeFlags()); -} - -qreal PythonQtWrapper_QPinchGesture::totalRotationAngle(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->totalRotationAngle()); -} - -qreal PythonQtWrapper_QPinchGesture::totalScaleFactor(QPinchGesture* theWrappedObject) const -{ - return ( theWrappedObject->totalScaleFactor()); -} - - - -QPixelFormat* PythonQtWrapper_QPixelFormat::new_QPixelFormat() -{ -return new QPixelFormat(); } - -QPixelFormat* PythonQtWrapper_QPixelFormat::new_QPixelFormat(QPixelFormat::ColorModel colorModel, uchar firstSize, uchar secondSize, uchar thirdSize, uchar fourthSize, uchar fifthSize, uchar alphaSize, QPixelFormat::AlphaUsage alphaUsage, QPixelFormat::AlphaPosition alphaPosition, QPixelFormat::AlphaPremultiplied premultiplied, QPixelFormat::TypeInterpretation typeInterpretation, QPixelFormat::ByteOrder byteOrder, uchar subEnum) -{ -return new QPixelFormat(colorModel, firstSize, secondSize, thirdSize, fourthSize, fifthSize, alphaSize, alphaUsage, alphaPosition, premultiplied, typeInterpretation, byteOrder, subEnum); } - -QPixelFormat::AlphaPosition PythonQtWrapper_QPixelFormat::alphaPosition(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->alphaPosition()); -} - -uchar PythonQtWrapper_QPixelFormat::alphaSize(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->alphaSize()); -} - -QPixelFormat::AlphaUsage PythonQtWrapper_QPixelFormat::alphaUsage(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->alphaUsage()); -} - -uchar PythonQtWrapper_QPixelFormat::bitsPerPixel(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->bitsPerPixel()); -} - -uchar PythonQtWrapper_QPixelFormat::blackSize(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->blackSize()); -} - -uchar PythonQtWrapper_QPixelFormat::blueSize(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->blueSize()); -} - -uchar PythonQtWrapper_QPixelFormat::brightnessSize(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->brightnessSize()); -} - -QPixelFormat::ByteOrder PythonQtWrapper_QPixelFormat::byteOrder(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->byteOrder()); -} - -uchar PythonQtWrapper_QPixelFormat::channelCount(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->channelCount()); -} - -QPixelFormat::ColorModel PythonQtWrapper_QPixelFormat::colorModel(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->colorModel()); -} - -uchar PythonQtWrapper_QPixelFormat::cyanSize(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->cyanSize()); -} - -uchar PythonQtWrapper_QPixelFormat::greenSize(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->greenSize()); -} - -uchar PythonQtWrapper_QPixelFormat::hueSize(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->hueSize()); -} - -uchar PythonQtWrapper_QPixelFormat::lightnessSize(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->lightnessSize()); -} - -uchar PythonQtWrapper_QPixelFormat::magentaSize(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->magentaSize()); -} - -bool PythonQtWrapper_QPixelFormat::__ne__(QPixelFormat* theWrappedObject, QPixelFormat fmt2) -{ - return ( (*theWrappedObject)!= fmt2); -} - -bool PythonQtWrapper_QPixelFormat::__eq__(QPixelFormat* theWrappedObject, QPixelFormat fmt2) -{ - return ( (*theWrappedObject)== fmt2); -} - -QPixelFormat::AlphaPremultiplied PythonQtWrapper_QPixelFormat::premultiplied(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->premultiplied()); -} - -uchar PythonQtWrapper_QPixelFormat::redSize(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->redSize()); -} - -uchar PythonQtWrapper_QPixelFormat::saturationSize(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->saturationSize()); -} - -uchar PythonQtWrapper_QPixelFormat::subEnum(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->subEnum()); -} - -QPixelFormat::TypeInterpretation PythonQtWrapper_QPixelFormat::typeInterpretation(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->typeInterpretation()); -} - -uchar PythonQtWrapper_QPixelFormat::yellowSize(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->yellowSize()); -} - -QPixelFormat::YUVLayout PythonQtWrapper_QPixelFormat::yuvLayout(QPixelFormat* theWrappedObject) const -{ - return ( theWrappedObject->yuvLayout()); -} - - - -PythonQtShell_QPixmapCache::~PythonQtShell_QPixmapCache() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QPixmapCache* PythonQtWrapper_QPixmapCache::new_QPixmapCache() -{ -return new PythonQtShell_QPixmapCache(); } - -int PythonQtWrapper_QPixmapCache::static_QPixmapCache_cacheLimit() -{ - return (QPixmapCache::cacheLimit()); -} - -void PythonQtWrapper_QPixmapCache::static_QPixmapCache_clear() -{ - (QPixmapCache::clear()); -} - -bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QPixmapCache::Key& key, QPixmap* pixmap) -{ - return (QPixmapCache::find(key, pixmap)); -} - -QPixmap* PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QString& key) -{ - return (QPixmapCache::find(key)); -} - -bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QString& key, QPixmap& pixmap) -{ - return (QPixmapCache::find(key, pixmap)); -} - -bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QString& key, QPixmap* pixmap) -{ - return (QPixmapCache::find(key, pixmap)); -} - -QPixmapCache::Key PythonQtWrapper_QPixmapCache::static_QPixmapCache_insert(const QPixmap& pixmap) -{ - return (QPixmapCache::insert(pixmap)); -} - -bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_insert(const QString& key, const QPixmap& pixmap) -{ - return (QPixmapCache::insert(key, pixmap)); -} - -void PythonQtWrapper_QPixmapCache::static_QPixmapCache_remove(const QPixmapCache::Key& key) -{ - (QPixmapCache::remove(key)); -} - -void PythonQtWrapper_QPixmapCache::static_QPixmapCache_remove(const QString& key) -{ - (QPixmapCache::remove(key)); -} - -bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_replace(const QPixmapCache::Key& key, const QPixmap& pixmap) -{ - return (QPixmapCache::replace(key, pixmap)); -} - -void PythonQtWrapper_QPixmapCache::static_QPixmapCache_setCacheLimit(int arg__1) -{ - (QPixmapCache::setCacheLimit(arg__1)); -} - - - -QPixmapCache::Key* PythonQtWrapper_QPixmapCache__Key::new_QPixmapCache__Key() -{ -return new QPixmapCache::Key(); } - -QPixmapCache::Key* PythonQtWrapper_QPixmapCache__Key::new_QPixmapCache__Key(const QPixmapCache::Key& other) -{ -return new QPixmapCache::Key(other); } - -bool PythonQtWrapper_QPixmapCache__Key::isValid(QPixmapCache::Key* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QPixmapCache__Key::__ne__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const -{ - return ( (*theWrappedObject)!= key); -} - -QPixmapCache::Key* PythonQtWrapper_QPixmapCache__Key::operator_assign(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QPixmapCache__Key::__eq__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const -{ - return ( (*theWrappedObject)== key); -} - -void PythonQtWrapper_QPixmapCache__Key::swap(QPixmapCache::Key* theWrappedObject, QPixmapCache::Key& other) -{ - ( theWrappedObject->swap(other)); -} - - - -PythonQtShell_QPlainTextDocumentLayout::~PythonQtShell_QPlainTextDocumentLayout() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QRectF PythonQtShell_QPlainTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("blockBoundingRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {nullptr, (void*)&block0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("blockBoundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPlainTextDocumentLayout::blockBoundingRect(block0); -} -void PythonQtShell_QPlainTextDocumentLayout::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPlainTextDocumentLayout::childEvent(event0); -} -void PythonQtShell_QPlainTextDocumentLayout::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPlainTextDocumentLayout::customEvent(event0); -} -void PythonQtShell_QPlainTextDocumentLayout::documentChanged(int from0, int arg__2, int charsAdded2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("documentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&from0, (void*)&arg__2, (void*)&charsAdded2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPlainTextDocumentLayout::documentChanged(from0, arg__2, charsAdded2); -} -QSizeF PythonQtShell_QPlainTextDocumentLayout::documentSize() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("documentSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSizeF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSizeF returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("documentSize", methodInfo, result); - } else { - returnValue = *((QSizeF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPlainTextDocumentLayout::documentSize(); -} -void PythonQtShell_QPlainTextDocumentLayout::draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("draw"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QAbstractTextDocumentLayout::PaintContext&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPlainTextDocumentLayout::draw(arg__1, arg__2); -} -void PythonQtShell_QPlainTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawInlineObject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&" , "QTextInlineObject" , "int" , "const QTextFormat&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - void* args[6] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&object2, (void*)&posInDocument3, (void*)&format4}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPlainTextDocumentLayout::drawInlineObject(painter0, rect1, object2, posInDocument3, format4); -} -bool PythonQtShell_QPlainTextDocumentLayout::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPlainTextDocumentLayout::event(event0); -} -bool PythonQtShell_QPlainTextDocumentLayout::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPlainTextDocumentLayout::eventFilter(watched0, event1); -} -QRectF PythonQtShell_QPlainTextDocumentLayout::frameBoundingRect(QTextFrame* arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("frameBoundingRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF" , "QTextFrame*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRectF returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("frameBoundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPlainTextDocumentLayout::frameBoundingRect(arg__1); -} -int PythonQtShell_QPlainTextDocumentLayout::hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hitTest"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "const QPointF&" , "Qt::HitTestAccuracy"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - int returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitTest", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPlainTextDocumentLayout::hitTest(arg__1, arg__2); -} -int PythonQtShell_QPlainTextDocumentLayout::pageCount() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("pageCount"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("pageCount", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPlainTextDocumentLayout::pageCount(); -} -void PythonQtShell_QPlainTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("positionInlineObject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPlainTextDocumentLayout::positionInlineObject(item0, posInDocument1, format2); -} -void PythonQtShell_QPlainTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeInlineObject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPlainTextDocumentLayout::resizeInlineObject(item0, posInDocument1, format2); + return ( theWrappedObject->ascent()); } -void PythonQtShell_QPlainTextDocumentLayout::timerEvent(QTimerEvent* event0) + +qreal PythonQtWrapper_QTextItem::descent(QTextItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->descent()); } - QPlainTextDocumentLayout::timerEvent(event0); -} -QPlainTextDocumentLayout* PythonQtWrapper_QPlainTextDocumentLayout::new_QPlainTextDocumentLayout(QTextDocument* document) -{ -return new PythonQtShell_QPlainTextDocumentLayout(document); } -const QMetaObject* PythonQtShell_QPlainTextDocumentLayout::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPlainTextDocumentLayout::staticMetaObject); - } else { - return &QPlainTextDocumentLayout::staticMetaObject; - } -} -int PythonQtShell_QPlainTextDocumentLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPlainTextDocumentLayout::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -int PythonQtWrapper_QPlainTextDocumentLayout::cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const +QFont PythonQtWrapper_QTextItem::font(QTextItem* theWrappedObject) const { - return ( theWrappedObject->cursorWidth()); + return ( theWrappedObject->font()); } -void PythonQtWrapper_QPlainTextDocumentLayout::ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const +QTextItem::RenderFlags PythonQtWrapper_QTextItem::renderFlags(QTextItem* theWrappedObject) const { - ( theWrappedObject->ensureBlockLayout(block)); + return ( theWrappedObject->renderFlags()); } -void PythonQtWrapper_QPlainTextDocumentLayout::requestUpdate(QPlainTextDocumentLayout* theWrappedObject) +QString PythonQtWrapper_QTextItem::text(QTextItem* theWrappedObject) const { - ( theWrappedObject->requestUpdate()); + return ( theWrappedObject->text()); } -void PythonQtWrapper_QPlainTextDocumentLayout::setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width) +qreal PythonQtWrapper_QTextItem::width(QTextItem* theWrappedObject) const { - ( theWrappedObject->setCursorWidth(width)); + return ( theWrappedObject->width()); } -PythonQtShell_QPlainTextEdit::~PythonQtShell_QPlainTextEdit() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPlainTextEdit::actionEvent(event0); -} -bool PythonQtShell_QPlainTextEdit::canInsertFromMimeData(const QMimeData* source0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("canInsertFromMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&source0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPlainTextEdit::canInsertFromMimeData(source0); -} -void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e0) +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout() +{ +return new QTextLayout(); } + +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QString& text) +{ +return new QTextLayout(text); } + +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QString& text, const QFont& font, QPaintDevice* paintdevice) +{ +return new QTextLayout(text, font, paintdevice); } + +QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QTextBlock& b) +{ +return new QTextLayout(b); } + +QList PythonQtWrapper_QTextLayout::additionalFormats(QTextLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPlainTextEdit::changeEvent(e0); + return ( theWrappedObject->additionalFormats()); } -void PythonQtShell_QPlainTextEdit::childEvent(QChildEvent* event0) + +void PythonQtWrapper_QTextLayout::beginLayout(QTextLayout* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->beginLayout()); } - QPlainTextEdit::childEvent(event0); + +QRectF PythonQtWrapper_QTextLayout::boundingRect(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); } -void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* event0) + +bool PythonQtWrapper_QTextLayout::cacheEnabled(QTextLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->cacheEnabled()); } - QPlainTextEdit::closeEvent(event0); + +void PythonQtWrapper_QTextLayout::clearAdditionalFormats(QTextLayout* theWrappedObject) +{ + ( theWrappedObject->clearAdditionalFormats()); } -void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e0) + +void PythonQtWrapper_QTextLayout::clearFormats(QTextLayout* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->clearFormats()); } - QPlainTextEdit::contextMenuEvent(e0); + +void PythonQtWrapper_QTextLayout::clearLayout(QTextLayout* theWrappedObject) +{ + ( theWrappedObject->clearLayout()); } -QMimeData* PythonQtShell_QPlainTextEdit::createMimeDataFromSelection() const + +QTextLine PythonQtWrapper_QTextLayout::createLine(QTextLayout* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("createMimeDataFromSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMimeData* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->createLine()); } - return QPlainTextEdit::createMimeDataFromSelection(); + +Qt::CursorMoveStyle PythonQtWrapper_QTextLayout::cursorMoveStyle(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->cursorMoveStyle()); } -void PythonQtShell_QPlainTextEdit::customEvent(QEvent* event0) + +void PythonQtWrapper_QTextLayout::draw(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, const QVector& selections, const QRectF& clip) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->draw(p, pos, selections, clip)); } - QPlainTextEdit::customEvent(event0); + +void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition) const +{ + ( theWrappedObject->drawCursor(p, pos, cursorPosition)); } -int PythonQtShell_QPlainTextEdit::devType() const + +void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition, int width) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->drawCursor(p, pos, cursorPosition, width)); } - return QPlainTextEdit::devType(); + +void PythonQtWrapper_QTextLayout::endLayout(QTextLayout* theWrappedObject) +{ + ( theWrappedObject->endLayout()); } -void PythonQtShell_QPlainTextEdit::doSetTextCursor(const QTextCursor& cursor0) + +QFont PythonQtWrapper_QTextLayout::font(QTextLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("doSetTextCursor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QTextCursor&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&cursor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->font()); } - QPlainTextEdit::doSetTextCursor(cursor0); + +QVector PythonQtWrapper_QTextLayout::formats(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->formats()); } -void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e0) + +QList PythonQtWrapper_QTextLayout::glyphRuns(QTextLayout* theWrappedObject, int from, int length) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->glyphRuns(from, length)); } - QPlainTextEdit::dragEnterEvent(e0); + +bool PythonQtWrapper_QTextLayout::isValidCursorPosition(QTextLayout* theWrappedObject, int pos) const +{ + return ( theWrappedObject->isValidCursorPosition(pos)); } -void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) + +int PythonQtWrapper_QTextLayout::leftCursorPosition(QTextLayout* theWrappedObject, int oldPos) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->leftCursorPosition(oldPos)); } - QPlainTextEdit::dragLeaveEvent(e0); + +QTextLine PythonQtWrapper_QTextLayout::lineAt(QTextLayout* theWrappedObject, int i) const +{ + return ( theWrappedObject->lineAt(i)); } -void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e0) + +int PythonQtWrapper_QTextLayout::lineCount(QTextLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->lineCount()); } - QPlainTextEdit::dragMoveEvent(e0); + +QTextLine PythonQtWrapper_QTextLayout::lineForTextPosition(QTextLayout* theWrappedObject, int pos) const +{ + return ( theWrappedObject->lineForTextPosition(pos)); } -void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e0) + +qreal PythonQtWrapper_QTextLayout::maximumWidth(QTextLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->maximumWidth()); } - QPlainTextEdit::dropEvent(e0); + +qreal PythonQtWrapper_QTextLayout::minimumWidth(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->minimumWidth()); } -void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* event0) + +int PythonQtWrapper_QTextLayout::nextCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->nextCursorPosition(oldPos, mode)); +} + +QPointF PythonQtWrapper_QTextLayout::position(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +int PythonQtWrapper_QTextLayout::preeditAreaPosition(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->preeditAreaPosition()); +} + +QString PythonQtWrapper_QTextLayout::preeditAreaText(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->preeditAreaText()); +} + +int PythonQtWrapper_QTextLayout::previousCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const +{ + return ( theWrappedObject->previousCursorPosition(oldPos, mode)); } - QPlainTextEdit::enterEvent(event0); + +int PythonQtWrapper_QTextLayout::rightCursorPosition(QTextLayout* theWrappedObject, int oldPos) const +{ + return ( theWrappedObject->rightCursorPosition(oldPos)); } -bool PythonQtShell_QPlainTextEdit::event(QEvent* e0) + +void PythonQtWrapper_QTextLayout::setAdditionalFormats(QTextLayout* theWrappedObject, const QList& overrides) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setAdditionalFormats(overrides)); } - return QPlainTextEdit::event(e0); + +void PythonQtWrapper_QTextLayout::setCacheEnabled(QTextLayout* theWrappedObject, bool enable) +{ + ( theWrappedObject->setCacheEnabled(enable)); } -bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) + +void PythonQtWrapper_QTextLayout::setCursorMoveStyle(QTextLayout* theWrappedObject, Qt::CursorMoveStyle style) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCursorMoveStyle(style)); } - return QPlainTextEdit::eventFilter(arg__1, arg__2); + +void PythonQtWrapper_QTextLayout::setFlags(QTextLayout* theWrappedObject, int flags) +{ + ( theWrappedObject->setFlags(flags)); } -void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e0) + +void PythonQtWrapper_QTextLayout::setFont(QTextLayout* theWrappedObject, const QFont& f) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFont(f)); } - QPlainTextEdit::focusInEvent(e0); + +void PythonQtWrapper_QTextLayout::setFormats(QTextLayout* theWrappedObject, const QVector& overrides) +{ + ( theWrappedObject->setFormats(overrides)); } -bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next0) + +void PythonQtWrapper_QTextLayout::setPosition(QTextLayout* theWrappedObject, const QPointF& p) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPosition(p)); } - return QPlainTextEdit::focusNextPrevChild(next0); + +void PythonQtWrapper_QTextLayout::setPreeditArea(QTextLayout* theWrappedObject, int position, const QString& text) +{ + ( theWrappedObject->setPreeditArea(position, text)); } -void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e0) + +void PythonQtWrapper_QTextLayout::setRawFont(QTextLayout* theWrappedObject, const QRawFont& rawFont) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setRawFont(rawFont)); } - QPlainTextEdit::focusOutEvent(e0); + +void PythonQtWrapper_QTextLayout::setText(QTextLayout* theWrappedObject, const QString& string) +{ + ( theWrappedObject->setText(string)); } -bool PythonQtShell_QPlainTextEdit::hasHeightForWidth() const + +void PythonQtWrapper_QTextLayout::setTextOption(QTextLayout* theWrappedObject, const QTextOption& option) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTextOption(option)); } - return QPlainTextEdit::hasHeightForWidth(); + +QString PythonQtWrapper_QTextLayout::text(QTextLayout* theWrappedObject) const +{ + return ( theWrappedObject->text()); } -int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const + +const QTextOption* PythonQtWrapper_QTextLayout::textOption(QTextLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return &( theWrappedObject->textOption()); } - return QPlainTextEdit::heightForWidth(arg__1); + + + +PythonQtShell_QTextLayout__FormatRange::~PythonQtShell_QTextLayout__FormatRange() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* event0) +QTextLayout::FormatRange* PythonQtWrapper_QTextLayout__FormatRange::new_QTextLayout__FormatRange() +{ +return new PythonQtShell_QTextLayout__FormatRange(); } + + + +QTextLine* PythonQtWrapper_QTextLine::new_QTextLine() +{ +return new QTextLine(); } + +qreal PythonQtWrapper_QTextLine::ascent(QTextLine* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->ascent()); } - QPlainTextEdit::hideEvent(event0); + +qreal PythonQtWrapper_QTextLine::cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge) const +{ + return ( theWrappedObject->cursorToX(cursorPos, edge)); } -void PythonQtShell_QPlainTextEdit::initPainter(QPainter* painter0) const + +qreal PythonQtWrapper_QTextLine::descent(QTextLine* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->descent()); +} + +void PythonQtWrapper_QTextLine::draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection) const +{ + ( theWrappedObject->draw(p, point, selection)); +} + +QList PythonQtWrapper_QTextLine::glyphRuns(QTextLine* theWrappedObject, int from, int length) const +{ + return ( theWrappedObject->glyphRuns(from, length)); +} + +qreal PythonQtWrapper_QTextLine::height(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +qreal PythonQtWrapper_QTextLine::horizontalAdvance(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->horizontalAdvance()); } - QPlainTextEdit::initPainter(painter0); + +bool PythonQtWrapper_QTextLine::isValid(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); } -void PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) + +qreal PythonQtWrapper_QTextLine::leading(QTextLine* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->leading()); } - QPlainTextEdit::inputMethodEvent(arg__1); + +bool PythonQtWrapper_QTextLine::leadingIncluded(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->leadingIncluded()); } -QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const + +int PythonQtWrapper_QTextLine::lineNumber(QTextLine* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&property0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->lineNumber()); } - return QPlainTextEdit::inputMethodQuery(property0); + +QRectF PythonQtWrapper_QTextLine::naturalTextRect(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->naturalTextRect()); } -void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source0) + +qreal PythonQtWrapper_QTextLine::naturalTextWidth(QTextLine* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("insertFromMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&source0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->naturalTextWidth()); } - QPlainTextEdit::insertFromMimeData(source0); + +QPointF PythonQtWrapper_QTextLine::position(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->position()); } -void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e0) + +QRectF PythonQtWrapper_QTextLine::rect(QTextLine* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->rect()); } - QPlainTextEdit::keyPressEvent(e0); + +void PythonQtWrapper_QTextLine::setLeadingIncluded(QTextLine* theWrappedObject, bool included) +{ + ( theWrappedObject->setLeadingIncluded(included)); } -void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e0) + +void PythonQtWrapper_QTextLine::setLineWidth(QTextLine* theWrappedObject, qreal width) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setLineWidth(width)); } - QPlainTextEdit::keyReleaseEvent(e0); + +void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns) +{ + ( theWrappedObject->setNumColumns(columns)); } -void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* event0) + +void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setNumColumns(columns, alignmentWidth)); } - QPlainTextEdit::leaveEvent(event0); + +void PythonQtWrapper_QTextLine::setPosition(QTextLine* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPosition(pos)); } -QVariant PythonQtShell_QPlainTextEdit::loadResource(int type0, const QUrl& name1) + +int PythonQtWrapper_QTextLine::textLength(QTextLine* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("loadResource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->textLength()); } - return QPlainTextEdit::loadResource(type0, name1); + +int PythonQtWrapper_QTextLine::textStart(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->textStart()); } -int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +qreal PythonQtWrapper_QTextLine::width(QTextLine* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->width()); +} + +qreal PythonQtWrapper_QTextLine::x(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QTextLine::xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2) const +{ + return ( theWrappedObject->xToCursor(x, arg__2)); +} + +qreal PythonQtWrapper_QTextLine::y(QTextLine* theWrappedObject) const +{ + return ( theWrappedObject->y()); } - return QPlainTextEdit::metric(arg__1); + + + +PythonQtShell_QTextList::~PythonQtShell_QTextList() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -QSize PythonQtShell_QPlainTextEdit::minimumSizeHint() const +void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("blockFormatChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::minimumSizeHint(); + QTextList::blockFormatChanged(block0); } -void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) +void PythonQtShell_QTextList::blockInserted(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyUnicode_FromString("blockInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7604,19 +5908,19 @@ if (_wrapper) { } } } - QPlainTextEdit::mouseDoubleClickEvent(e0); + QTextList::blockInserted(block0); } -void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + static PyObject* name = PyUnicode_FromString("blockRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "const QTextBlock&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7626,19 +5930,19 @@ if (_wrapper) { } } } - QPlainTextEdit::mouseMoveEvent(e0); + QTextList::blockRemoved(block0); } -void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e0) +void PythonQtShell_QTextList::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7648,19 +5952,19 @@ if (_wrapper) { } } } - QPlainTextEdit::mousePressEvent(e0); + QTextList::childEvent(event0); } -void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QTextList::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7670,48 +5974,59 @@ if (_wrapper) { } } } - QPlainTextEdit::mouseReleaseEvent(e0); + QTextList::customEvent(event0); } -void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* event0) +bool PythonQtShell_QTextList::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::moveEvent(event0); + return QTextList::event(event0); } -bool PythonQtShell_QPlainTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QTextList::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -7725,52 +6040,168 @@ if (_wrapper) { } } } - return QPlainTextEdit::nativeEvent(eventType0, message1, result2); + return QTextList::eventFilter(watched0, event1); } -QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const +void PythonQtShell_QTextList::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::paintEngine(); + QTextList::timerEvent(event0); +} +QTextList* PythonQtWrapper_QTextList::new_QTextList(QTextDocument* doc) +{ +return new PythonQtShell_QTextList(doc); } + +const QMetaObject* PythonQtShell_QTextList::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextList::staticMetaObject); + } else { + return &QTextList::staticMetaObject; + } +} +int PythonQtShell_QTextList::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextList::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QTextList::add(QTextList* theWrappedObject, const QTextBlock& block) +{ + ( theWrappedObject->add(block)); +} + +int PythonQtWrapper_QTextList::count(QTextList* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QTextListFormat PythonQtWrapper_QTextList::format(QTextList* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +QTextBlock PythonQtWrapper_QTextList::item(QTextList* theWrappedObject, int i) const +{ + return ( theWrappedObject->item(i)); +} + +int PythonQtWrapper_QTextList::itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const +{ + return ( theWrappedObject->itemNumber(arg__1)); +} + +QString PythonQtWrapper_QTextList::itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const +{ + return ( theWrappedObject->itemText(arg__1)); +} + +void PythonQtWrapper_QTextList::remove(QTextList* theWrappedObject, const QTextBlock& arg__1) +{ + ( theWrappedObject->remove(arg__1)); +} + +void PythonQtWrapper_QTextList::removeItem(QTextList* theWrappedObject, int i) +{ + ( theWrappedObject->removeItem(i)); +} + +void PythonQtWrapper_QTextList::setFormat(QTextList* theWrappedObject, const QTextListFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + + + +PythonQtShell_QTextListFormat::~PythonQtShell_QTextListFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat() +{ +return new PythonQtShell_QTextListFormat(); } + +QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextListFormat(fmt); } + +int PythonQtWrapper_QTextListFormat::indent(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->indent()); +} + +bool PythonQtWrapper_QTextListFormat::isValid(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QString PythonQtWrapper_QTextListFormat::numberPrefix(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->numberPrefix()); +} + +QString PythonQtWrapper_QTextListFormat::numberSuffix(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->numberSuffix()); +} + +void PythonQtWrapper_QTextListFormat::setIndent(QTextListFormat* theWrappedObject, int indent) +{ + ( theWrappedObject->setIndent(indent)); +} + +void PythonQtWrapper_QTextListFormat::setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix) +{ + ( theWrappedObject->setNumberPrefix(numberPrefix)); +} + +void PythonQtWrapper_QTextListFormat::setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix) +{ + ( theWrappedObject->setNumberSuffix(numberSuffix)); +} + +void PythonQtWrapper_QTextListFormat::setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style) +{ + ( theWrappedObject->setStyle(style)); +} + +QTextListFormat::Style PythonQtWrapper_QTextListFormat::style(QTextListFormat* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + + + +PythonQtShell_QTextObject::~PythonQtShell_QTextObject() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e0) +void PythonQtShell_QTextObject::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7780,96 +6211,107 @@ if (_wrapper) { } } } - QPlainTextEdit::paintEvent(e0); + QTextObject::childEvent(event0); } -QPaintDevice* PythonQtShell_QPlainTextEdit::redirected(QPoint* offset0) const +void PythonQtShell_QTextObject::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPlainTextEdit::redirected(offset0); + QTextObject::customEvent(event0); } -void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e0) +bool PythonQtShell_QTextObject::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::resizeEvent(e0); + return QTextObject::event(event0); } -void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx0, int dy1) +bool PythonQtShell_QTextObject::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPlainTextEdit::scrollContentsBy(dx0, dy1); + return QTextObject::eventFilter(watched0, event1); } -void PythonQtShell_QPlainTextEdit::setVisible(bool visible0) +void PythonQtShell_QTextObject::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7879,127 +6321,193 @@ if (_wrapper) { } } } - QPlainTextEdit::setVisible(visible0); + QTextObject::timerEvent(event0); +} +QTextObject* PythonQtWrapper_QTextObject::new_QTextObject(QTextDocument* doc) +{ +return new PythonQtShell_QTextObject(doc); } + +const QMetaObject* PythonQtShell_QTextObject::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextObject::staticMetaObject); + } else { + return &QTextObject::staticMetaObject; + } +} +int PythonQtShell_QTextObject::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextObject::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QTextDocument* PythonQtWrapper_QTextObject::document(QTextObject* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QTextFormat PythonQtWrapper_QTextObject::format(QTextObject* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +int PythonQtWrapper_QTextObject::formatIndex(QTextObject* theWrappedObject) const +{ + return ( theWrappedObject->formatIndex()); +} + +int PythonQtWrapper_QTextObject::objectIndex(QTextObject* theWrappedObject) const +{ + return ( theWrappedObject->objectIndex()); +} + +void PythonQtWrapper_QTextObject::setFormat(QTextObject* theWrappedObject, const QTextFormat& format) +{ + ( ((PythonQtPublicPromoter_QTextObject*)theWrappedObject)->promoted_setFormat(format)); +} + + + +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption() +{ +return new QTextOption(); } + +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(Qt::Alignment alignment) +{ +return new QTextOption(alignment); } + +QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(const QTextOption& o) +{ +return new QTextOption(o); } + +Qt::Alignment PythonQtWrapper_QTextOption::alignment(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QTextOption::Flags PythonQtWrapper_QTextOption::flags(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +void PythonQtWrapper_QTextOption::setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +void PythonQtWrapper_QTextOption::setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QTextOption::setTabArray(QTextOption* theWrappedObject, const QList& tabStops) +{ + ( theWrappedObject->setTabArray(tabStops)); +} + +void PythonQtWrapper_QTextOption::setTabStop(QTextOption* theWrappedObject, qreal tabStop) +{ + ( theWrappedObject->setTabStop(tabStop)); +} + +void PythonQtWrapper_QTextOption::setTabStopDistance(QTextOption* theWrappedObject, qreal tabStopDistance) +{ + ( theWrappedObject->setTabStopDistance(tabStopDistance)); +} + +void PythonQtWrapper_QTextOption::setTabs(QTextOption* theWrappedObject, const QList& tabStops) +{ + ( theWrappedObject->setTabs(tabStops)); +} + +void PythonQtWrapper_QTextOption::setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection) +{ + ( theWrappedObject->setTextDirection(aDirection)); +} + +void PythonQtWrapper_QTextOption::setUseDesignMetrics(QTextOption* theWrappedObject, bool b) +{ + ( theWrappedObject->setUseDesignMetrics(b)); +} + +void PythonQtWrapper_QTextOption::setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap) +{ + ( theWrappedObject->setWrapMode(wrap)); } -void PythonQtShell_QPlainTextEdit::setupViewport(QWidget* viewport0) + +QList PythonQtWrapper_QTextOption::tabArray(QTextOption* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->tabArray()); } - QPlainTextEdit::setupViewport(viewport0); + +qreal PythonQtWrapper_QTextOption::tabStop(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->tabStop()); } -QPainter* PythonQtShell_QPlainTextEdit::sharedPainter() const + +qreal PythonQtWrapper_QTextOption::tabStopDistance(QTextOption* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->tabStopDistance()); } - return QPlainTextEdit::sharedPainter(); + +QList PythonQtWrapper_QTextOption::tabs(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->tabs()); } -void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) + +Qt::LayoutDirection PythonQtWrapper_QTextOption::textDirection(QTextOption* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->textDirection()); } - QPlainTextEdit::showEvent(arg__1); + +bool PythonQtWrapper_QTextOption::useDesignMetrics(QTextOption* theWrappedObject) const +{ + return ( theWrappedObject->useDesignMetrics()); } -QSize PythonQtShell_QPlainTextEdit::sizeHint() const + +QTextOption::WrapMode PythonQtWrapper_QTextOption::wrapMode(QTextOption* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->wrapMode()); +} + + + +PythonQtShell_QTextOption__Tab::~PythonQtShell_QTextOption__Tab() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab() +{ +return new PythonQtShell_QTextOption__Tab(); } + +QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim) +{ +return new PythonQtShell_QTextOption__Tab(pos, tabType, delim); } + +bool PythonQtWrapper_QTextOption__Tab::__ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QTextOption__Tab::__eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const +{ + return ( (*theWrappedObject)== other); } - return QPlainTextEdit::sizeHint(); + + + +PythonQtShell_QTextTable::~PythonQtShell_QTextTable() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTextTable::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -8011,19 +6519,19 @@ if (_wrapper) { } } } - QPlainTextEdit::tabletEvent(event0); + QTextTable::childEvent(event0); } -void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e0) +void PythonQtShell_QTextTable::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8033,26 +6541,26 @@ if (_wrapper) { } } } - QPlainTextEdit::timerEvent(e0); + QTextTable::customEvent(event0); } -bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) +bool PythonQtShell_QTextTable::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -8066,28 +6574,28 @@ if (_wrapper) { } } } - return QPlainTextEdit::viewportEvent(arg__1); + return QTextTable::event(event0); } -QSize PythonQtShell_QPlainTextEdit::viewportSizeHint() const +bool PythonQtShell_QTextTable::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -8099,19 +6607,19 @@ if (_wrapper) { } } } - return QPlainTextEdit::viewportSizeHint(); + return QTextTable::eventFilter(watched0, event1); } -void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QTextTable::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8121,764 +6629,1709 @@ if (_wrapper) { } } } - QPlainTextEdit::wheelEvent(e0); + QTextTable::timerEvent(event0); } -QPlainTextEdit* PythonQtWrapper_QPlainTextEdit::new_QPlainTextEdit(QWidget* parent) -{ -return new PythonQtShell_QPlainTextEdit(parent); } - -QPlainTextEdit* PythonQtWrapper_QPlainTextEdit::new_QPlainTextEdit(const QString& text, QWidget* parent) +QTextTable* PythonQtWrapper_QTextTable::new_QTextTable(QTextDocument* doc) { -return new PythonQtShell_QPlainTextEdit(text, parent); } +return new PythonQtShell_QTextTable(doc); } -const QMetaObject* PythonQtShell_QPlainTextEdit::metaObject() const { +const QMetaObject* PythonQtShell_QTextTable::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPlainTextEdit::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextTable::staticMetaObject); } else { - return &QPlainTextEdit::staticMetaObject; + return &QTextTable::staticMetaObject; } } -int PythonQtShell_QPlainTextEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPlainTextEdit::qt_metacall(call, id, args); +int PythonQtShell_QTextTable::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextTable::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QString PythonQtWrapper_QPlainTextEdit::anchorAt(QPlainTextEdit* theWrappedObject, const QPoint& pos) const +void PythonQtWrapper_QTextTable::appendColumns(QTextTable* theWrappedObject, int count) { - return ( theWrappedObject->anchorAt(pos)); + ( theWrappedObject->appendColumns(count)); } -bool PythonQtWrapper_QPlainTextEdit::backgroundVisible(QPlainTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTable::appendRows(QTextTable* theWrappedObject, int count) { - return ( theWrappedObject->backgroundVisible()); + ( theWrappedObject->appendRows(count)); } -QRectF PythonQtWrapper_QPlainTextEdit::blockBoundingGeometry(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const { - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_blockBoundingGeometry(block)); + return ( theWrappedObject->cellAt(c)); } -QRectF PythonQtWrapper_QPlainTextEdit::blockBoundingRect(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int position) const { - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_blockBoundingRect(block)); + return ( theWrappedObject->cellAt(position)); } -int PythonQtWrapper_QPlainTextEdit::blockCount(QPlainTextEdit* theWrappedObject) const +QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int row, int col) const { - return ( theWrappedObject->blockCount()); + return ( theWrappedObject->cellAt(row, col)); } -bool PythonQtWrapper_QPlainTextEdit::canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const +int PythonQtWrapper_QTextTable::columns(QTextTable* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); + return ( theWrappedObject->columns()); } -bool PythonQtWrapper_QPlainTextEdit::canPaste(QPlainTextEdit* theWrappedObject) const +QTextTableFormat PythonQtWrapper_QTextTable::format(QTextTable* theWrappedObject) const { - return ( theWrappedObject->canPaste()); + return ( theWrappedObject->format()); } -bool PythonQtWrapper_QPlainTextEdit::centerOnScroll(QPlainTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTable::insertColumns(QTextTable* theWrappedObject, int pos, int num) { - return ( theWrappedObject->centerOnScroll()); + ( theWrappedObject->insertColumns(pos, num)); } -QPointF PythonQtWrapper_QPlainTextEdit::contentOffset(QPlainTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTable::insertRows(QTextTable* theWrappedObject, int pos, int num) { - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_contentOffset()); + ( theWrappedObject->insertRows(pos, num)); } -QMimeData* PythonQtWrapper_QPlainTextEdit::createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor) { - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); + ( theWrappedObject->mergeCells(cursor)); } -QMenu* PythonQtWrapper_QPlainTextEdit::createStandardContextMenu(QPlainTextEdit* theWrappedObject) +void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) { - return ( theWrappedObject->createStandardContextMenu()); + ( theWrappedObject->mergeCells(row, col, numRows, numCols)); } -QMenu* PythonQtWrapper_QPlainTextEdit::createStandardContextMenu(QPlainTextEdit* theWrappedObject, const QPoint& position) +void PythonQtWrapper_QTextTable::removeColumns(QTextTable* theWrappedObject, int pos, int num) { - return ( theWrappedObject->createStandardContextMenu(position)); + ( theWrappedObject->removeColumns(pos, num)); } -QTextCharFormat PythonQtWrapper_QPlainTextEdit::currentCharFormat(QPlainTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTable::removeRows(QTextTable* theWrappedObject, int pos, int num) { - return ( theWrappedObject->currentCharFormat()); + ( theWrappedObject->removeRows(pos, num)); } -QTextCursor PythonQtWrapper_QPlainTextEdit::cursorForPosition(QPlainTextEdit* theWrappedObject, const QPoint& pos) const +void PythonQtWrapper_QTextTable::resize(QTextTable* theWrappedObject, int rows, int cols) { - return ( theWrappedObject->cursorForPosition(pos)); + ( theWrappedObject->resize(rows, cols)); } -QRect PythonQtWrapper_QPlainTextEdit::cursorRect(QPlainTextEdit* theWrappedObject) const +QTextCursor PythonQtWrapper_QTextTable::rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const { - return ( theWrappedObject->cursorRect()); + return ( theWrappedObject->rowEnd(c)); } -QRect PythonQtWrapper_QPlainTextEdit::cursorRect(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) const +QTextCursor PythonQtWrapper_QTextTable::rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const { - return ( theWrappedObject->cursorRect(cursor)); + return ( theWrappedObject->rowStart(c)); } -int PythonQtWrapper_QPlainTextEdit::cursorWidth(QPlainTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextTable::rows(QTextTable* theWrappedObject) const { - return ( theWrappedObject->cursorWidth()); + return ( theWrappedObject->rows()); } -void PythonQtWrapper_QPlainTextEdit::doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) +void PythonQtWrapper_QTextTable::setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format) { - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); + ( theWrappedObject->setFormat(format)); } -QTextDocument* PythonQtWrapper_QPlainTextEdit::document(QPlainTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextTable::splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) { - return ( theWrappedObject->document()); + ( theWrappedObject->splitCell(row, col, numRows, numCols)); } -QString PythonQtWrapper_QPlainTextEdit::documentTitle(QPlainTextEdit* theWrappedObject) const + + +QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell() +{ +return new QTextTableCell(); } + +QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell(const QTextTableCell& o) +{ +return new QTextTableCell(o); } + +QTextFrame::iterator PythonQtWrapper_QTextTableCell::begin(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->documentTitle()); + return ( theWrappedObject->begin()); } -void PythonQtWrapper_QPlainTextEdit::ensureCursorVisible(QPlainTextEdit* theWrappedObject) +int PythonQtWrapper_QTextTableCell::column(QTextTableCell* theWrappedObject) const { - ( theWrappedObject->ensureCursorVisible()); + return ( theWrappedObject->column()); } -QList PythonQtWrapper_QPlainTextEdit::extraSelections(QPlainTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextTableCell::columnSpan(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->extraSelections()); + return ( theWrappedObject->columnSpan()); } -bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) +QTextFrame::iterator PythonQtWrapper_QTextTableCell::end(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->find(exp, options)); + return ( theWrappedObject->end()); } -bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) +QTextCursor PythonQtWrapper_QTextTableCell::firstCursorPosition(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->find(exp, options)); + return ( theWrappedObject->firstCursorPosition()); } -QTextBlock PythonQtWrapper_QPlainTextEdit::firstVisibleBlock(QPlainTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextTableCell::firstPosition(QTextTableCell* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_firstVisibleBlock()); + return ( theWrappedObject->firstPosition()); } -QAbstractTextDocumentLayout::PaintContext PythonQtWrapper_QPlainTextEdit::getPaintContext(QPlainTextEdit* theWrappedObject) const +QTextCharFormat PythonQtWrapper_QTextTableCell::format(QTextTableCell* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_getPaintContext()); + return ( theWrappedObject->format()); } -QVariant PythonQtWrapper_QPlainTextEdit::inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const +bool PythonQtWrapper_QTextTableCell::isValid(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->inputMethodQuery(query, argument)); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QPlainTextEdit::insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) +QTextCursor PythonQtWrapper_QTextTableCell::lastCursorPosition(QTextTableCell* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); + return ( theWrappedObject->lastCursorPosition()); } -bool PythonQtWrapper_QPlainTextEdit::isReadOnly(QPlainTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextTableCell::lastPosition(QTextTableCell* theWrappedObject) const { - return ( theWrappedObject->isReadOnly()); + return ( theWrappedObject->lastPosition()); } -bool PythonQtWrapper_QPlainTextEdit::isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const +bool PythonQtWrapper_QTextTableCell::__ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const { - return ( theWrappedObject->isUndoRedoEnabled()); + return ( (*theWrappedObject)!= other); } -QPlainTextEdit::LineWrapMode PythonQtWrapper_QPlainTextEdit::lineWrapMode(QPlainTextEdit* theWrappedObject) const +bool PythonQtWrapper_QTextTableCell::__eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const { - return ( theWrappedObject->lineWrapMode()); + return ( (*theWrappedObject)== other); +} + +int PythonQtWrapper_QTextTableCell::row(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->row()); +} + +int PythonQtWrapper_QTextTableCell::rowSpan(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->rowSpan()); +} + +void PythonQtWrapper_QTextTableCell::setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format) +{ + ( theWrappedObject->setFormat(format)); +} + +int PythonQtWrapper_QTextTableCell::tableCellFormatIndex(QTextTableCell* theWrappedObject) const +{ + return ( theWrappedObject->tableCellFormatIndex()); +} + + + +PythonQtShell_QTextTableCellFormat::~PythonQtShell_QTextTableCellFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat() +{ +return new PythonQtShell_QTextTableCellFormat(); } + +QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextTableCellFormat(fmt); } + +qreal PythonQtWrapper_QTextTableCellFormat::bottomPadding(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->bottomPadding()); +} + +bool PythonQtWrapper_QTextTableCellFormat::isValid(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +qreal PythonQtWrapper_QTextTableCellFormat::leftPadding(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->leftPadding()); +} + +qreal PythonQtWrapper_QTextTableCellFormat::rightPadding(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->rightPadding()); +} + +void PythonQtWrapper_QTextTableCellFormat::setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setBottomPadding(padding)); +} + +void PythonQtWrapper_QTextTableCellFormat::setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setLeftPadding(padding)); +} + +void PythonQtWrapper_QTextTableCellFormat::setPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setPadding(padding)); +} + +void PythonQtWrapper_QTextTableCellFormat::setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setRightPadding(padding)); +} + +void PythonQtWrapper_QTextTableCellFormat::setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding) +{ + ( theWrappedObject->setTopPadding(padding)); +} + +qreal PythonQtWrapper_QTextTableCellFormat::topPadding(QTextTableCellFormat* theWrappedObject) const +{ + return ( theWrappedObject->topPadding()); +} + + + +PythonQtShell_QTextTableFormat::~PythonQtShell_QTextTableFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat() +{ +return new PythonQtShell_QTextTableFormat(); } + +QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextTableFormat(fmt); } -QVariant PythonQtWrapper_QPlainTextEdit::loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name) +Qt::Alignment PythonQtWrapper_QTextTableFormat::alignment(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->loadResource(type, name)); + return ( theWrappedObject->alignment()); } -int PythonQtWrapper_QPlainTextEdit::maximumBlockCount(QPlainTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QTextTableFormat::cellPadding(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->maximumBlockCount()); + return ( theWrappedObject->cellPadding()); } -void PythonQtWrapper_QPlainTextEdit::mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier) +qreal PythonQtWrapper_QTextTableFormat::cellSpacing(QTextTableFormat* theWrappedObject) const { - ( theWrappedObject->mergeCurrentCharFormat(modifier)); + return ( theWrappedObject->cellSpacing()); } -void PythonQtWrapper_QPlainTextEdit::moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) +void PythonQtWrapper_QTextTableFormat::clearColumnWidthConstraints(QTextTableFormat* theWrappedObject) { - ( theWrappedObject->moveCursor(operation, mode)); + ( theWrappedObject->clearColumnWidthConstraints()); } -bool PythonQtWrapper_QPlainTextEdit::overwriteMode(QPlainTextEdit* theWrappedObject) const +QVector PythonQtWrapper_QTextTableFormat::columnWidthConstraints(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->overwriteMode()); + return ( theWrappedObject->columnWidthConstraints()); } -QString PythonQtWrapper_QPlainTextEdit::placeholderText(QPlainTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextTableFormat::columns(QTextTableFormat* theWrappedObject) const { - return ( theWrappedObject->placeholderText()); + return ( theWrappedObject->columns()); } -void PythonQtWrapper_QPlainTextEdit::print(QPlainTextEdit* theWrappedObject, QPagedPaintDevice* printer) const +int PythonQtWrapper_QTextTableFormat::headerRowCount(QTextTableFormat* theWrappedObject) const { - ( theWrappedObject->print(printer)); + return ( theWrappedObject->headerRowCount()); } -void PythonQtWrapper_QPlainTextEdit::setBackgroundVisible(QPlainTextEdit* theWrappedObject, bool visible) +bool PythonQtWrapper_QTextTableFormat::isValid(QTextTableFormat* theWrappedObject) const { - ( theWrappedObject->setBackgroundVisible(visible)); + return ( theWrappedObject->isValid()); } -void PythonQtWrapper_QPlainTextEdit::setCenterOnScroll(QPlainTextEdit* theWrappedObject, bool enabled) +void PythonQtWrapper_QTextTableFormat::setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment) { - ( theWrappedObject->setCenterOnScroll(enabled)); + ( theWrappedObject->setAlignment(alignment)); } -void PythonQtWrapper_QPlainTextEdit::setCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& format) +void PythonQtWrapper_QTextTableFormat::setCellPadding(QTextTableFormat* theWrappedObject, qreal padding) { - ( theWrappedObject->setCurrentCharFormat(format)); + ( theWrappedObject->setCellPadding(padding)); } -void PythonQtWrapper_QPlainTextEdit::setCursorWidth(QPlainTextEdit* theWrappedObject, int width) +void PythonQtWrapper_QTextTableFormat::setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing) { - ( theWrappedObject->setCursorWidth(width)); + ( theWrappedObject->setCellSpacing(spacing)); } -void PythonQtWrapper_QPlainTextEdit::setDocument(QPlainTextEdit* theWrappedObject, QTextDocument* document) +void PythonQtWrapper_QTextTableFormat::setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints) { - ( theWrappedObject->setDocument(document)); + ( theWrappedObject->setColumnWidthConstraints(constraints)); } -void PythonQtWrapper_QPlainTextEdit::setDocumentTitle(QPlainTextEdit* theWrappedObject, const QString& title) +void PythonQtWrapper_QTextTableFormat::setColumns(QTextTableFormat* theWrappedObject, int columns) { - ( theWrappedObject->setDocumentTitle(title)); + ( theWrappedObject->setColumns(columns)); } -void PythonQtWrapper_QPlainTextEdit::setExtraSelections(QPlainTextEdit* theWrappedObject, const QList& selections) +void PythonQtWrapper_QTextTableFormat::setHeaderRowCount(QTextTableFormat* theWrappedObject, int count) { - ( theWrappedObject->setExtraSelections(selections)); + ( theWrappedObject->setHeaderRowCount(count)); } -void PythonQtWrapper_QPlainTextEdit::setLineWrapMode(QPlainTextEdit* theWrappedObject, QPlainTextEdit::LineWrapMode mode) -{ - ( theWrappedObject->setLineWrapMode(mode)); + + +PythonQtShell_QTileRules::~PythonQtShell_QTileRules() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QTileRules* PythonQtWrapper_QTileRules::new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule) +{ +return new PythonQtShell_QTileRules(horizontalRule, verticalRule); } + +QTileRules* PythonQtWrapper_QTileRules::new_QTileRules(Qt::TileRule rule) +{ +return new PythonQtShell_QTileRules(rule); } + + -void PythonQtWrapper_QPlainTextEdit::setMaximumBlockCount(QPlainTextEdit* theWrappedObject, int maximum) +PythonQtShell_QTimeEdit::~PythonQtShell_QTimeEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* event0) { - ( theWrappedObject->setMaximumBlockCount(maximum)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPlainTextEdit::setOverwriteMode(QPlainTextEdit* theWrappedObject, bool overwrite) + QTimeEdit::actionEvent(event0); +} +void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) { - ( theWrappedObject->setOverwriteMode(overwrite)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPlainTextEdit::setPlaceholderText(QPlainTextEdit* theWrappedObject, const QString& placeholderText) + QTimeEdit::changeEvent(event0); +} +void PythonQtShell_QTimeEdit::childEvent(QChildEvent* event0) { - ( theWrappedObject->setPlaceholderText(placeholderText)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPlainTextEdit::setReadOnly(QPlainTextEdit* theWrappedObject, bool ro) + QTimeEdit::childEvent(event0); +} +void PythonQtShell_QTimeEdit::clear() { - ( theWrappedObject->setReadOnly(ro)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("clear"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPlainTextEdit::setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b) + QTimeEdit::clear(); +} +void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) { - ( theWrappedObject->setTabChangesFocus(b)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPlainTextEdit::setTabStopDistance(QPlainTextEdit* theWrappedObject, qreal distance) + QTimeEdit::closeEvent(event0); +} +void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event0) { - ( theWrappedObject->setTabStopDistance(distance)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPlainTextEdit::setTabStopWidth(QPlainTextEdit* theWrappedObject, int width) + QTimeEdit::contextMenuEvent(event0); +} +void PythonQtShell_QTimeEdit::customEvent(QEvent* event0) { - ( theWrappedObject->setTabStopWidth(width)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPlainTextEdit::setTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) + QTimeEdit::customEvent(event0); +} +QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) const { - ( theWrappedObject->setTextCursor(cursor)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dateTimeFromText"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QDateTime" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QDateTime returnValue{}; + void* args[2] = {nullptr, (void*)&text0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); + } else { + returnValue = *((QDateTime*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPlainTextEdit::setTextInteractionFlags(QPlainTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) + return QTimeEdit::dateTimeFromText(text0); +} +int PythonQtShell_QTimeEdit::devType() const { - ( theWrappedObject->setTextInteractionFlags(flags)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPlainTextEdit::setUndoRedoEnabled(QPlainTextEdit* theWrappedObject, bool enable) + return QTimeEdit::devType(); +} +void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* event0) { - ( theWrappedObject->setUndoRedoEnabled(enable)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPlainTextEdit::setWordWrapMode(QPlainTextEdit* theWrappedObject, QTextOption::WrapMode policy) + QTimeEdit::dragEnterEvent(event0); +} +void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) { - ( theWrappedObject->setWordWrapMode(policy)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QPlainTextEdit::tabChangesFocus(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->tabChangesFocus()); + QTimeEdit::dragLeaveEvent(event0); } - -qreal PythonQtWrapper_QPlainTextEdit::tabStopDistance(QPlainTextEdit* theWrappedObject) const +void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* event0) { - return ( theWrappedObject->tabStopDistance()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QPlainTextEdit::tabStopWidth(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->tabStopWidth()); + QTimeEdit::dragMoveEvent(event0); } - -QTextCursor PythonQtWrapper_QPlainTextEdit::textCursor(QPlainTextEdit* theWrappedObject) const +void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* event0) { - return ( theWrappedObject->textCursor()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::TextInteractionFlags PythonQtWrapper_QPlainTextEdit::textInteractionFlags(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->textInteractionFlags()); + QTimeEdit::dropEvent(event0); } - -QString PythonQtWrapper_QPlainTextEdit::toPlainText(QPlainTextEdit* theWrappedObject) const +void PythonQtShell_QTimeEdit::enterEvent(QEvent* event0) { - return ( theWrappedObject->toPlainText()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextOption::WrapMode PythonQtWrapper_QPlainTextEdit::wordWrapMode(QPlainTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->wordWrapMode()); + QTimeEdit::enterEvent(event0); } - -void PythonQtWrapper_QPlainTextEdit::zoomInF(QPlainTextEdit* theWrappedObject, float range) +bool PythonQtShell_QTimeEdit::event(QEvent* event0) { - ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_zoomInF(range)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QPlatformSurfaceEvent::~PythonQtShell_QPlatformSurfaceEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QTimeEdit::event(event0); } -QPlatformSurfaceEvent* PythonQtWrapper_QPlatformSurfaceEvent::new_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType) -{ -return new PythonQtShell_QPlatformSurfaceEvent(surfaceEventType); } - -QPlatformSurfaceEvent::SurfaceEventType PythonQtWrapper_QPlatformSurfaceEvent::surfaceEventType(QPlatformSurfaceEvent* theWrappedObject) const +bool PythonQtShell_QTimeEdit::eventFilter(QObject* watched0, QEvent* event1) { - return ( theWrappedObject->surfaceEventType()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF() -{ -return new QPolygonF(); } - -QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QPolygon& a) -{ -return new QPolygonF(a); } - -QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QPolygonF& a) -{ -return new QPolygonF(a); } - -QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QRectF& r) -{ -return new QPolygonF(r); } - -QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QVector& v) -{ -return new QPolygonF(v); } - -QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(int size) -{ -return new QPolygonF(size); } - -void PythonQtWrapper_QPolygonF::append(QPolygonF* theWrappedObject, const QPointF& t) -{ - ( theWrappedObject->append(t)); + return QTimeEdit::eventFilter(watched0, event1); } - -void PythonQtWrapper_QPolygonF::append(QPolygonF* theWrappedObject, const QVector& l) +void PythonQtShell_QTimeEdit::fixup(QString& input0) const { - ( theWrappedObject->append(l)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&input0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -const QPointF* PythonQtWrapper_QPolygonF::at(QPolygonF* theWrappedObject, int i) const -{ - return &( theWrappedObject->at(i)); + QTimeEdit::fixup(input0); } - -QRectF PythonQtWrapper_QPolygonF::boundingRect(QPolygonF* theWrappedObject) const +void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event0) { - return ( theWrappedObject->boundingRect()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QPolygonF::capacity(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->capacity()); + QTimeEdit::focusInEvent(event0); } - -void PythonQtWrapper_QPolygonF::clear(QPolygonF* theWrappedObject) +bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next0) { - ( theWrappedObject->clear()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -const QPointF* PythonQtWrapper_QPolygonF::constFirst(QPolygonF* theWrappedObject) const -{ - return &( theWrappedObject->constFirst()); + return QTimeEdit::focusNextPrevChild(next0); } - -const QPointF* PythonQtWrapper_QPolygonF::constLast(QPolygonF* theWrappedObject) const +void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* event0) { - return &( theWrappedObject->constLast()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QPolygonF::contains(QPolygonF* theWrappedObject, const QPointF& t) const + QTimeEdit::focusOutEvent(event0); +} +bool PythonQtShell_QTimeEdit::hasHeightForWidth() const { - return ( theWrappedObject->contains(t)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QPolygonF::containsPoint(QPolygonF* theWrappedObject, const QPointF& pt, Qt::FillRule fillRule) const -{ - return ( theWrappedObject->containsPoint(pt, fillRule)); + return QTimeEdit::hasHeightForWidth(); } - -int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject) const +int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const { - return ( theWrappedObject->count()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject, const QPointF& t) const -{ - return ( theWrappedObject->count(t)); + return QTimeEdit::heightForWidth(arg__1); } - -bool PythonQtWrapper_QPolygonF::empty(QPolygonF* theWrappedObject) const +void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event0) { - return ( theWrappedObject->empty()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QPolygonF::endsWith(QPolygonF* theWrappedObject, const QPointF& t) const -{ - return ( theWrappedObject->endsWith(t)); + QTimeEdit::hideEvent(event0); } - -QVector* PythonQtWrapper_QPolygonF::fill(QPolygonF* theWrappedObject, const QPointF& t, int size) +void PythonQtShell_QTimeEdit::initPainter(QPainter* painter0) const { - return &( theWrappedObject->fill(t, size)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -const QPointF* PythonQtWrapper_QPolygonF::first(QPolygonF* theWrappedObject) const -{ - return &( theWrappedObject->first()); + QTimeEdit::initPainter(painter0); } - -QVector PythonQtWrapper_QPolygonF::static_QPolygonF_fromList(const QList& list) +void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) { - return (QPolygonF::fromList(list)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QPolygonF::indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const -{ - return ( theWrappedObject->indexOf(t, from)); + QTimeEdit::inputMethodEvent(arg__1); } - -QPolygonF PythonQtWrapper_QPolygonF::intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const +QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - return ( theWrappedObject->intersected(r)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QPolygonF::intersects(QPolygonF* theWrappedObject, const QPolygonF& r) const -{ - return ( theWrappedObject->intersects(r)); + return QTimeEdit::inputMethodQuery(arg__1); } - -bool PythonQtWrapper_QPolygonF::isClosed(QPolygonF* theWrappedObject) const +void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event0) { - return ( theWrappedObject->isClosed()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QPolygonF::isEmpty(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); + QTimeEdit::keyPressEvent(event0); } - -bool PythonQtWrapper_QPolygonF::isSharedWith(QPolygonF* theWrappedObject, const QVector& other) const +void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->isSharedWith(other)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -const QPointF* PythonQtWrapper_QPolygonF::last(QPolygonF* theWrappedObject) const -{ - return &( theWrappedObject->last()); + QTimeEdit::keyReleaseEvent(event0); } - -int PythonQtWrapper_QPolygonF::lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const +void PythonQtShell_QTimeEdit::leaveEvent(QEvent* event0) { - return ( theWrappedObject->lastIndexOf(t, from)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QPolygonF::length(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->length()); + QTimeEdit::leaveEvent(event0); } - -QVector PythonQtWrapper_QPolygonF::mid(QPolygonF* theWrappedObject, int pos, int len) const +int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - return ( theWrappedObject->mid(pos, len)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::move(QPolygonF* theWrappedObject, int from, int to) -{ - ( theWrappedObject->move(from, to)); + return QTimeEdit::metric(arg__1); } - -bool PythonQtWrapper_QPolygonF::__ne__(QPolygonF* theWrappedObject, const QVector& v) const +QSize PythonQtShell_QTimeEdit::minimumSizeHint() const { - return ( (*theWrappedObject)!= v); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPolygonF PythonQtWrapper_QPolygonF::__mul__(QPolygonF* theWrappedObject, const QMatrix& m) -{ - return ( (*theWrappedObject)* m); + return QTimeEdit::minimumSizeHint(); } - -QPolygonF PythonQtWrapper_QPolygonF::__mul__(QPolygonF* theWrappedObject, const QTransform& m) +void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* event0) { - return ( (*theWrappedObject)* m); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::writeTo(QPolygonF* theWrappedObject, QDataStream& stream) -{ - stream << (*theWrappedObject); + QTimeEdit::mouseDoubleClickEvent(event0); } - -QPolygonF* PythonQtWrapper_QPolygonF::operator_assign(QPolygonF* theWrappedObject, const QPolygonF& other) +void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event0) { - return &( (*theWrappedObject)= other); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QPolygonF::__eq__(QPolygonF* theWrappedObject, const QVector& v) const -{ - return ( (*theWrappedObject)== v); + QTimeEdit::mouseMoveEvent(event0); } - -void PythonQtWrapper_QPolygonF::readFrom(QPolygonF* theWrappedObject, QDataStream& stream) +void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event0) { - stream >> (*theWrappedObject); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::pop_back(QPolygonF* theWrappedObject) -{ - ( theWrappedObject->pop_back()); + QTimeEdit::mousePressEvent(event0); } - -void PythonQtWrapper_QPolygonF::pop_front(QPolygonF* theWrappedObject) +void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event0) { - ( theWrappedObject->pop_front()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::prepend(QPolygonF* theWrappedObject, const QPointF& t) -{ - ( theWrappedObject->prepend(t)); + QTimeEdit::mouseReleaseEvent(event0); } - -void PythonQtWrapper_QPolygonF::push_back(QPolygonF* theWrappedObject, const QPointF& t) +void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* event0) { - ( theWrappedObject->push_back(t)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::push_front(QPolygonF* theWrappedObject, const QPointF& t) -{ - ( theWrappedObject->push_front(t)); + QTimeEdit::moveEvent(event0); } - -void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i) +bool PythonQtShell_QTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - ( theWrappedObject->remove(i)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i, int n) -{ - ( theWrappedObject->remove(i, n)); + return QTimeEdit::nativeEvent(eventType0, message1, result2); } - -int PythonQtWrapper_QPolygonF::removeAll(QPolygonF* theWrappedObject, const QPointF& t) +QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const { - return ( theWrappedObject->removeAll(t)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::removeAt(QPolygonF* theWrappedObject, int i) -{ - ( theWrappedObject->removeAt(i)); + return QTimeEdit::paintEngine(); } - -void PythonQtWrapper_QPolygonF::removeFirst(QPolygonF* theWrappedObject) +void PythonQtShell_QTimeEdit::paintEvent(QPaintEvent* event0) { - ( theWrappedObject->removeFirst()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::removeLast(QPolygonF* theWrappedObject) -{ - ( theWrappedObject->removeLast()); + QTimeEdit::paintEvent(event0); } - -bool PythonQtWrapper_QPolygonF::removeOne(QPolygonF* theWrappedObject, const QPointF& t) +QPaintDevice* PythonQtShell_QTimeEdit::redirected(QPoint* offset0) const { - return ( theWrappedObject->removeOne(t)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::replace(QPolygonF* theWrappedObject, int i, const QPointF& t) -{ - ( theWrappedObject->replace(i, t)); + return QTimeEdit::redirected(offset0); } - -void PythonQtWrapper_QPolygonF::reserve(QPolygonF* theWrappedObject, int size) +void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event0) { - ( theWrappedObject->reserve(size)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::resize(QPolygonF* theWrappedObject, int size) -{ - ( theWrappedObject->resize(size)); + QTimeEdit::resizeEvent(event0); } - -void PythonQtWrapper_QPolygonF::setSharable(QPolygonF* theWrappedObject, bool sharable) +void PythonQtShell_QTimeEdit::setVisible(bool visible0) { - ( theWrappedObject->setSharable(sharable)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::shrink_to_fit(QPolygonF* theWrappedObject) -{ - ( theWrappedObject->shrink_to_fit()); + QTimeEdit::setVisible(visible0); } - -int PythonQtWrapper_QPolygonF::size(QPolygonF* theWrappedObject) const +QPainter* PythonQtShell_QTimeEdit::sharedPainter() const { - return ( theWrappedObject->size()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::squeeze(QPolygonF* theWrappedObject) -{ - ( theWrappedObject->squeeze()); + return QTimeEdit::sharedPainter(); } - -bool PythonQtWrapper_QPolygonF::startsWith(QPolygonF* theWrappedObject, const QPointF& t) const +void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event0) { - return ( theWrappedObject->startsWith(t)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPolygonF PythonQtWrapper_QPolygonF::subtracted(QPolygonF* theWrappedObject, const QPolygonF& r) const -{ - return ( theWrappedObject->subtracted(r)); + QTimeEdit::showEvent(event0); } - -void PythonQtWrapper_QPolygonF::swap(QPolygonF* theWrappedObject, QPolygonF& other) +QSize PythonQtShell_QTimeEdit::sizeHint() const { - ( theWrappedObject->swap(other)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QPolygonF::takeAt(QPolygonF* theWrappedObject, int i) -{ - return ( theWrappedObject->takeAt(i)); + return QTimeEdit::sizeHint(); } - -QPointF PythonQtWrapper_QPolygonF::takeFirst(QPolygonF* theWrappedObject) +void PythonQtShell_QTimeEdit::stepBy(int steps0) { - return ( theWrappedObject->takeFirst()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("stepBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&steps0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QPolygonF::takeLast(QPolygonF* theWrappedObject) -{ - return ( theWrappedObject->takeLast()); + QTimeEdit::stepBy(steps0); } - -QList PythonQtWrapper_QPolygonF::toList(QPolygonF* theWrappedObject) const +QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const { - return ( theWrappedObject->toList()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("stepEnabled"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QAbstractSpinBox::StepEnabled returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + } else { + returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPolygon PythonQtWrapper_QPolygonF::toPolygon(QPolygonF* theWrappedObject) const -{ - return ( theWrappedObject->toPolygon()); + return QTimeEdit::stepEnabled(); } - -void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, const QPointF& offset) +void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* event0) { - ( theWrappedObject->translate(offset)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, qreal dx, qreal dy) -{ - ( theWrappedObject->translate(dx, dy)); + QTimeEdit::tabletEvent(event0); } - -QPolygonF PythonQtWrapper_QPolygonF::translated(QPolygonF* theWrappedObject, const QPointF& offset) const +QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt0) const { - return ( theWrappedObject->translated(offset)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("textFromDateTime"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QDateTime&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue{}; + void* args[2] = {nullptr, (void*)&dt0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPolygonF PythonQtWrapper_QPolygonF::translated(QPolygonF* theWrappedObject, qreal dx, qreal dy) const -{ - return ( theWrappedObject->translated(dx, dy)); + return QTimeEdit::textFromDateTime(dt0); } - -QPolygonF PythonQtWrapper_QPolygonF::united(QPolygonF* theWrappedObject, const QPolygonF& r) const +void PythonQtShell_QTimeEdit::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->united(r)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i) const -{ - return ( theWrappedObject->value(i)); + QTimeEdit::timerEvent(event0); } - -QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i, const QPointF& defaultValue) const +QValidator::State PythonQtShell_QTimeEdit::validate(QString& input0, int& pos1) const { - return ( theWrappedObject->value(i, defaultValue)); -} - -QString PythonQtWrapper_QPolygonF::py_toString(QPolygonF* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QPrintDialog::~PythonQtShell_QPrintDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QTimeEdit::validate(input0, pos1); } -void PythonQtShell_QPrintDialog::accept() +void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("accept"); + static PyObject* name = PyUnicode_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8888,9 +8341,36 @@ if (_wrapper) { } } } - QPrintDialog::accept(); + QTimeEdit::wheelEvent(event0); +} +QTimeEdit* PythonQtWrapper_QTimeEdit::new_QTimeEdit(QWidget* parent) +{ +return new PythonQtShell_QTimeEdit(parent); } + +QTimeEdit* PythonQtWrapper_QTimeEdit::new_QTimeEdit(const QTime& time, QWidget* parent) +{ +return new PythonQtShell_QTimeEdit(time, parent); } + +const QMetaObject* PythonQtShell_QTimeEdit::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTimeEdit::staticMetaObject); + } else { + return &QTimeEdit::staticMetaObject; + } +} +int PythonQtShell_QTimeEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTimeEdit::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QToolBar::~PythonQtShell_QToolBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* event0) +void PythonQtShell_QToolBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8910,9 +8390,9 @@ if (_wrapper) { } } } - QPrintDialog::actionEvent(event0); + QToolBar::actionEvent(event0); } -void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) +void PythonQtShell_QToolBar::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8922,7 +8402,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8932,9 +8412,9 @@ if (_wrapper) { } } } - QPrintDialog::changeEvent(arg__1); + QToolBar::changeEvent(event0); } -void PythonQtShell_QPrintDialog::childEvent(QChildEvent* event0) +void PythonQtShell_QToolBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8954,9 +8434,9 @@ if (_wrapper) { } } } - QPrintDialog::childEvent(event0); + QToolBar::childEvent(event0); } -void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) +void PythonQtShell_QToolBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8966,7 +8446,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8976,9 +8456,9 @@ if (_wrapper) { } } } - QPrintDialog::closeEvent(arg__1); + QToolBar::closeEvent(event0); } -void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -8988,7 +8468,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8998,9 +8478,9 @@ if (_wrapper) { } } } - QPrintDialog::contextMenuEvent(arg__1); + QToolBar::contextMenuEvent(event0); } -void PythonQtShell_QPrintDialog::customEvent(QEvent* event0) +void PythonQtShell_QToolBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9020,9 +8500,9 @@ if (_wrapper) { } } } - QPrintDialog::customEvent(event0); + QToolBar::customEvent(event0); } -int PythonQtShell_QPrintDialog::devType() const +int PythonQtShell_QToolBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9053,31 +8533,9 @@ if (_wrapper) { } } } - return QPrintDialog::devType(); -} -void PythonQtShell_QPrintDialog::done(int result0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("done"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&result0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPrintDialog::done(result0); + return QToolBar::devType(); } -void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9097,9 +8555,9 @@ if (_wrapper) { } } } - QPrintDialog::dragEnterEvent(event0); + QToolBar::dragEnterEvent(event0); } -void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9119,9 +8577,9 @@ if (_wrapper) { } } } - QPrintDialog::dragLeaveEvent(event0); + QToolBar::dragLeaveEvent(event0); } -void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9141,9 +8599,9 @@ if (_wrapper) { } } } - QPrintDialog::dragMoveEvent(event0); + QToolBar::dragMoveEvent(event0); } -void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QToolBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9163,9 +8621,9 @@ if (_wrapper) { } } } - QPrintDialog::dropEvent(event0); + QToolBar::dropEvent(event0); } -void PythonQtShell_QPrintDialog::enterEvent(QEvent* event0) +void PythonQtShell_QToolBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9185,9 +8643,9 @@ if (_wrapper) { } } } - QPrintDialog::enterEvent(event0); + QToolBar::enterEvent(event0); } -bool PythonQtShell_QPrintDialog::event(QEvent* event0) +bool PythonQtShell_QToolBar::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9218,9 +8676,9 @@ if (_wrapper) { } } } - return QPrintDialog::event(event0); + return QToolBar::event(event0); } -bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QToolBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9231,7 +8689,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -9251,42 +8709,9 @@ if (_wrapper) { } } } - return QPrintDialog::eventFilter(arg__1, arg__2); -} -int PythonQtShell_QPrintDialog::exec() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("exec"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPrintDialog::exec(); + return QToolBar::eventFilter(watched0, event1); } -void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9306,9 +8731,9 @@ if (_wrapper) { } } } - QPrintDialog::focusInEvent(event0); + QToolBar::focusInEvent(event0); } -bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next0) +bool PythonQtShell_QToolBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9339,9 +8764,9 @@ if (_wrapper) { } } } - return QPrintDialog::focusNextPrevChild(next0); + return QToolBar::focusNextPrevChild(next0); } -void PythonQtShell_QPrintDialog::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9361,9 +8786,9 @@ if (_wrapper) { } } } - QPrintDialog::focusOutEvent(event0); + QToolBar::focusOutEvent(event0); } -bool PythonQtShell_QPrintDialog::hasHeightForWidth() const +bool PythonQtShell_QToolBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9394,9 +8819,9 @@ if (_wrapper) { } } } - return QPrintDialog::hasHeightForWidth(); + return QToolBar::hasHeightForWidth(); } -int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const +int PythonQtShell_QToolBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9427,9 +8852,9 @@ if (_wrapper) { } } } - return QPrintDialog::heightForWidth(arg__1); + return QToolBar::heightForWidth(arg__1); } -void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* event0) +void PythonQtShell_QToolBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9449,9 +8874,9 @@ if (_wrapper) { } } } - QPrintDialog::hideEvent(event0); + QToolBar::hideEvent(event0); } -void PythonQtShell_QPrintDialog::initPainter(QPainter* painter0) const +void PythonQtShell_QToolBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9471,9 +8896,9 @@ if (_wrapper) { } } } - QPrintDialog::initPainter(painter0); + QToolBar::initPainter(painter0); } -void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9493,9 +8918,9 @@ if (_wrapper) { } } } - QPrintDialog::inputMethodEvent(arg__1); + QToolBar::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9526,9 +8951,9 @@ if (_wrapper) { } } } - return QPrintDialog::inputMethodQuery(arg__1); + return QToolBar::inputMethodQuery(arg__1); } -void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9538,7 +8963,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9548,9 +8973,9 @@ if (_wrapper) { } } } - QPrintDialog::keyPressEvent(arg__1); + QToolBar::keyPressEvent(event0); } -void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9570,9 +8995,9 @@ if (_wrapper) { } } } - QPrintDialog::keyReleaseEvent(event0); + QToolBar::keyReleaseEvent(event0); } -void PythonQtShell_QPrintDialog::leaveEvent(QEvent* event0) +void PythonQtShell_QToolBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9592,9 +9017,9 @@ if (_wrapper) { } } } - QPrintDialog::leaveEvent(event0); + QToolBar::leaveEvent(event0); } -int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9625,9 +9050,9 @@ if (_wrapper) { } } } - return QPrintDialog::metric(arg__1); + return QToolBar::metric(arg__1); } -QSize PythonQtShell_QPrintDialog::minimumSizeHint() const +QSize PythonQtShell_QToolBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9658,9 +9083,9 @@ if (_wrapper) { } } } - return QPrintDialog::minimumSizeHint(); + return QToolBar::minimumSizeHint(); } -void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9680,9 +9105,9 @@ if (_wrapper) { } } } - QPrintDialog::mouseDoubleClickEvent(event0); + QToolBar::mouseDoubleClickEvent(event0); } -void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9702,9 +9127,9 @@ if (_wrapper) { } } } - QPrintDialog::mouseMoveEvent(event0); + QToolBar::mouseMoveEvent(event0); } -void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9724,9 +9149,9 @@ if (_wrapper) { } } } - QPrintDialog::mousePressEvent(event0); + QToolBar::mousePressEvent(event0); } -void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9746,9 +9171,9 @@ if (_wrapper) { } } } - QPrintDialog::mouseReleaseEvent(event0); + QToolBar::mouseReleaseEvent(event0); } -void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* event0) +void PythonQtShell_QToolBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9768,9 +9193,9 @@ if (_wrapper) { } } } - QPrintDialog::moveEvent(event0); + QToolBar::moveEvent(event0); } -bool PythonQtShell_QPrintDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QToolBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9801,9 +9226,9 @@ if (_wrapper) { } } } - return QPrintDialog::nativeEvent(eventType0, message1, result2); + return QToolBar::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const +QPaintEngine* PythonQtShell_QToolBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9834,9 +9259,9 @@ if (_wrapper) { } } } - return QPrintDialog::paintEngine(); + return QToolBar::paintEngine(); } -void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9856,9 +9281,9 @@ if (_wrapper) { } } } - QPrintDialog::paintEvent(event0); + QToolBar::paintEvent(event0); } -QPaintDevice* PythonQtShell_QPrintDialog::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QToolBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9889,31 +9314,9 @@ if (_wrapper) { } } } - return QPrintDialog::redirected(offset0); -} -void PythonQtShell_QPrintDialog::reject() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("reject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPrintDialog::reject(); + return QToolBar::redirected(offset0); } -void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9923,7 +9326,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9933,9 +9336,9 @@ if (_wrapper) { } } } - QPrintDialog::resizeEvent(arg__1); + QToolBar::resizeEvent(event0); } -void PythonQtShell_QPrintDialog::setVisible(bool visible0) +void PythonQtShell_QToolBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9955,9 +9358,9 @@ if (_wrapper) { } } } - QPrintDialog::setVisible(visible0); + QToolBar::setVisible(visible0); } -QPainter* PythonQtShell_QPrintDialog::sharedPainter() const +QPainter* PythonQtShell_QToolBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9988,9 +9391,9 @@ if (_wrapper) { } } } - return QPrintDialog::sharedPainter(); + return QToolBar::sharedPainter(); } -void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) +void PythonQtShell_QToolBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10000,7 +9403,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10010,9 +9413,9 @@ if (_wrapper) { } } } - QPrintDialog::showEvent(arg__1); + QToolBar::showEvent(event0); } -QSize PythonQtShell_QPrintDialog::sizeHint() const +QSize PythonQtShell_QToolBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10043,9 +9446,9 @@ if (_wrapper) { } } } - return QPrintDialog::sizeHint(); + return QToolBar::sizeHint(); } -void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10065,9 +9468,9 @@ if (_wrapper) { } } } - QPrintDialog::tabletEvent(event0); + QToolBar::tabletEvent(event0); } -void PythonQtShell_QPrintDialog::timerEvent(QTimerEvent* event0) +void PythonQtShell_QToolBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10087,9 +9490,9 @@ if (_wrapper) { } } } - QPrintDialog::timerEvent(event0); + QToolBar::timerEvent(event0); } -void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10109,279 +9512,173 @@ if (_wrapper) { } } } - QPrintDialog::wheelEvent(event0); + QToolBar::wheelEvent(event0); } -QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QPrinter* printer, QWidget* parent) +QToolBar* PythonQtWrapper_QToolBar::new_QToolBar(QWidget* parent) { -return new PythonQtShell_QPrintDialog(printer, parent); } +return new PythonQtShell_QToolBar(parent); } -QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QWidget* parent) +QToolBar* PythonQtWrapper_QToolBar::new_QToolBar(const QString& title, QWidget* parent) { -return new PythonQtShell_QPrintDialog(parent); } +return new PythonQtShell_QToolBar(title, parent); } -const QMetaObject* PythonQtShell_QPrintDialog::metaObject() const { +const QMetaObject* PythonQtShell_QToolBar::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintDialog::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolBar::staticMetaObject); } else { - return &QPrintDialog::staticMetaObject; + return &QToolBar::staticMetaObject; } } -int PythonQtShell_QPrintDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPrintDialog::qt_metacall(call, id, args); +int PythonQtShell_QToolBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QToolBar::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QPrintDialog::open(QPrintDialog* theWrappedObject, QObject* receiver, const char* member) +QAction* PythonQtWrapper_QToolBar::actionAt(QToolBar* theWrappedObject, const QPoint& p) const { - ( theWrappedObject->open(receiver, member)); + return ( theWrappedObject->actionAt(p)); } -QAbstractPrintDialog::PrintDialogOptions PythonQtWrapper_QPrintDialog::options(QPrintDialog* theWrappedObject) const +QAction* PythonQtWrapper_QToolBar::actionAt(QToolBar* theWrappedObject, int x, int y) const { - return ( theWrappedObject->options()); + return ( theWrappedObject->actionAt(x, y)); } -void PythonQtWrapper_QPrintDialog::setOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option, bool on) +QRect PythonQtWrapper_QToolBar::actionGeometry(QToolBar* theWrappedObject, QAction* action) const { - ( theWrappedObject->setOption(option, on)); + return ( theWrappedObject->actionGeometry(action)); } -void PythonQtWrapper_QPrintDialog::setOptions(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options) +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text) { - ( theWrappedObject->setOptions(options)); + return ( theWrappedObject->addAction(icon, text)); } -bool PythonQtWrapper_QPrintDialog::testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member) { - return ( theWrappedObject->testOption(option)); + return ( theWrappedObject->addAction(icon, text, receiver, member)); } +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QString& text) +{ + return ( theWrappedObject->addAction(text)); +} +QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member) +{ + return ( theWrappedObject->addAction(text, receiver, member)); +} -PythonQtShell_QPrintEngine::~PythonQtShell_QPrintEngine() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QAction* PythonQtWrapper_QToolBar::addSeparator(QToolBar* theWrappedObject) +{ + return ( theWrappedObject->addSeparator()); } -bool PythonQtShell_QPrintEngine::abort() + +QAction* PythonQtWrapper_QToolBar::addWidget(QToolBar* theWrappedObject, QWidget* widget) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("abort"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("abort", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->addWidget(widget)); } - return bool(); + +Qt::ToolBarAreas PythonQtWrapper_QToolBar::allowedAreas(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->allowedAreas()); } -int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +void PythonQtWrapper_QToolBar::clear(QToolBar* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->clear()); } - return int(); + +QSize PythonQtWrapper_QToolBar::iconSize(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); } -bool PythonQtShell_QPrintEngine::newPage() + +void PythonQtWrapper_QToolBar::initStyleOption(QToolBar* theWrappedObject, QStyleOptionToolBar* option) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("newPage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_initStyleOption(option)); } - return bool(); + +QAction* PythonQtWrapper_QToolBar::insertSeparator(QToolBar* theWrappedObject, QAction* before) +{ + return ( theWrappedObject->insertSeparator(before)); } -QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const + +QAction* PythonQtWrapper_QToolBar::insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("printerState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPrinter::PrinterState"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPrinter::PrinterState returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("printerState", methodInfo, result); - } else { - returnValue = *((QPrinter::PrinterState*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->insertWidget(before, widget)); } - return QPrinter::PrinterState(); + +bool PythonQtWrapper_QToolBar::isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const +{ + return ( theWrappedObject->isAreaAllowed(area)); } -QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEnginePropertyKey key0) const + +bool PythonQtWrapper_QToolBar::isFloatable(QToolBar* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("property"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "QPrintEngine::PrintEnginePropertyKey"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&key0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isFloatable()); } - return QVariant(); + +bool PythonQtWrapper_QToolBar::isFloating(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->isFloating()); } -void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKey key0, const QVariant& value1) + +bool PythonQtWrapper_QToolBar::isMovable(QToolBar* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setProperty"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPrintEngine::PrintEnginePropertyKey" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&key0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isMovable()); +} + +Qt::Orientation PythonQtWrapper_QToolBar::orientation(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); } - + +void PythonQtWrapper_QToolBar::setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas) +{ + ( theWrappedObject->setAllowedAreas(areas)); } -QPrintEngine* PythonQtWrapper_QPrintEngine::new_QPrintEngine() -{ -return new PythonQtShell_QPrintEngine(); } -bool PythonQtWrapper_QPrintEngine::abort(QPrintEngine* theWrappedObject) +void PythonQtWrapper_QToolBar::setFloatable(QToolBar* theWrappedObject, bool floatable) { - return ( theWrappedObject->abort()); + ( theWrappedObject->setFloatable(floatable)); } -int PythonQtWrapper_QPrintEngine::metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtWrapper_QToolBar::setMovable(QToolBar* theWrappedObject, bool movable) { - return ( theWrappedObject->metric(arg__1)); + ( theWrappedObject->setMovable(movable)); } -bool PythonQtWrapper_QPrintEngine::newPage(QPrintEngine* theWrappedObject) +void PythonQtWrapper_QToolBar::setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation) { - return ( theWrappedObject->newPage()); + ( theWrappedObject->setOrientation(orientation)); +} + +QAction* PythonQtWrapper_QToolBar::toggleViewAction(QToolBar* theWrappedObject) const +{ + return ( theWrappedObject->toggleViewAction()); } -QPrinter::PrinterState PythonQtWrapper_QPrintEngine::printerState(QPrintEngine* theWrappedObject) const +Qt::ToolButtonStyle PythonQtWrapper_QToolBar::toolButtonStyle(QToolBar* theWrappedObject) const { - return ( theWrappedObject->printerState()); + return ( theWrappedObject->toolButtonStyle()); } -QVariant PythonQtWrapper_QPrintEngine::property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const +QWidget* PythonQtWrapper_QToolBar::widgetForAction(QToolBar* theWrappedObject, QAction* action) const { - return ( theWrappedObject->property(key)); + return ( theWrappedObject->widgetForAction(action)); } -void PythonQtWrapper_QPrintEngine::setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) + + +QToolBarChangeEvent* PythonQtWrapper_QToolBarChangeEvent::new_QToolBarChangeEvent(bool t) +{ +return new QToolBarChangeEvent(t); } + +bool PythonQtWrapper_QToolBarChangeEvent::toggle(QToolBarChangeEvent* theWrappedObject) const { - ( theWrappedObject->setProperty(key, value)); + return ( theWrappedObject->toggle()); } diff --git a/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui10.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui10.h new file mode 100644 index 000000000..d6a3ca98a --- /dev/null +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui10.h @@ -0,0 +1,1858 @@ +#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_QTextBrowser : public QTextBrowser +{ +public: + PythonQtShell_QTextBrowser(QWidget* parent = nullptr):QTextBrowser(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextBrowser() override; + +void actionEvent(QActionEvent* event) override; +void backward() override; +bool canInsertFromMimeData(const QMimeData* source) const override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +QMimeData* createMimeDataFromSelection() const override; +void customEvent(QEvent* event) override; +int devType() const override; +void doSetTextCursor(const QTextCursor& cursor) override; +void dragEnterEvent(QDragEnterEvent* e) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* ev) override; +void forward() override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void home() override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery property) const override; +void insertFromMimeData(const QMimeData* source) override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +QVariant loadResource(int type, const QUrl& name) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* e) override; +void mouseMoveEvent(QMouseEvent* ev) override; +void mousePressEvent(QMouseEvent* ev) override; +void mouseReleaseEvent(QMouseEvent* ev) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reload() override; +void resizeEvent(QResizeEvent* e) override; +void scrollContentsBy(int dx, int dy) override; +void setSource(const QUrl& name) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTextBrowser : public QTextBrowser +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* ev) { this->focusOutEvent(ev); } +inline void promoted_keyPressEvent(QKeyEvent* ev) { this->keyPressEvent(ev); } +inline void promoted_mouseMoveEvent(QMouseEvent* ev) { this->mouseMoveEvent(ev); } +inline void promoted_mousePressEvent(QMouseEvent* ev) { this->mousePressEvent(ev); } +inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { this->mouseReleaseEvent(ev); } +inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline void py_q_backward() { QTextBrowser::backward(); } +inline bool py_q_event(QEvent* e) { return QTextBrowser::event(e); } +inline bool py_q_focusNextPrevChild(bool next) { return QTextBrowser::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* ev) { QTextBrowser::focusOutEvent(ev); } +inline void py_q_forward() { QTextBrowser::forward(); } +inline void py_q_home() { QTextBrowser::home(); } +inline void py_q_keyPressEvent(QKeyEvent* ev) { QTextBrowser::keyPressEvent(ev); } +inline QVariant py_q_loadResource(int type, const QUrl& name) { return QTextBrowser::loadResource(type, name); } +inline void py_q_mouseMoveEvent(QMouseEvent* ev) { QTextBrowser::mouseMoveEvent(ev); } +inline void py_q_mousePressEvent(QMouseEvent* ev) { QTextBrowser::mousePressEvent(ev); } +inline void py_q_mouseReleaseEvent(QMouseEvent* ev) { QTextBrowser::mouseReleaseEvent(ev); } +inline void py_q_paintEvent(QPaintEvent* e) { QTextBrowser::paintEvent(e); } +inline void py_q_reload() { QTextBrowser::reload(); } +inline void py_q_setSource(const QUrl& name) { QTextBrowser::setSource(name); } +}; + +class PythonQtWrapper_QTextBrowser : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QTextBrowser* new_QTextBrowser(QWidget* parent = nullptr); +void delete_QTextBrowser(QTextBrowser* obj) { delete obj; } + void py_q_backward(QTextBrowser* theWrappedObject){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_backward());} + int backwardHistoryCount(QTextBrowser* theWrappedObject) const; + void clearHistory(QTextBrowser* theWrappedObject); + bool py_q_event(QTextBrowser* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_event(e));} + bool py_q_focusNextPrevChild(QTextBrowser* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QTextBrowser* theWrappedObject, QFocusEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_focusOutEvent(ev));} + void py_q_forward(QTextBrowser* theWrappedObject){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_forward());} + int forwardHistoryCount(QTextBrowser* theWrappedObject) const; + QString historyTitle(QTextBrowser* theWrappedObject, int arg__1) const; + QUrl historyUrl(QTextBrowser* theWrappedObject, int arg__1) const; + void py_q_home(QTextBrowser* theWrappedObject){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_home());} + bool isBackwardAvailable(QTextBrowser* theWrappedObject) const; + bool isForwardAvailable(QTextBrowser* theWrappedObject) const; + void py_q_keyPressEvent(QTextBrowser* theWrappedObject, QKeyEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_keyPressEvent(ev));} + QVariant py_q_loadResource(QTextBrowser* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_loadResource(type, name));} + void py_q_mouseMoveEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_mouseMoveEvent(ev));} + void py_q_mousePressEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_mousePressEvent(ev));} + void py_q_mouseReleaseEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_mouseReleaseEvent(ev));} + bool openExternalLinks(QTextBrowser* theWrappedObject) const; + bool openLinks(QTextBrowser* theWrappedObject) const; + void py_q_paintEvent(QTextBrowser* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_paintEvent(e));} + void py_q_reload(QTextBrowser* theWrappedObject){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_reload());} + QStringList searchPaths(QTextBrowser* theWrappedObject) const; + void setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open); + void setOpenLinks(QTextBrowser* theWrappedObject, bool open); + void setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths); + void py_q_setSource(QTextBrowser* theWrappedObject, const QUrl& name){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_setSource(name));} + QUrl source(QTextBrowser* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextCharFormat : public QTextCharFormat +{ +public: + PythonQtShell_QTextCharFormat():QTextCharFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextCharFormat(const QTextFormat& fmt):QTextCharFormat(fmt),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextCharFormat(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextCharFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FontPropertiesInheritanceBehavior UnderlineStyle VerticalAlignment ) +enum FontPropertiesInheritanceBehavior{ + FontPropertiesSpecifiedOnly = QTextCharFormat::FontPropertiesSpecifiedOnly, FontPropertiesAll = QTextCharFormat::FontPropertiesAll}; +enum UnderlineStyle{ + NoUnderline = QTextCharFormat::NoUnderline, SingleUnderline = QTextCharFormat::SingleUnderline, DashUnderline = QTextCharFormat::DashUnderline, DotLine = QTextCharFormat::DotLine, DashDotLine = QTextCharFormat::DashDotLine, DashDotDotLine = QTextCharFormat::DashDotDotLine, WaveUnderline = QTextCharFormat::WaveUnderline, SpellCheckUnderline = QTextCharFormat::SpellCheckUnderline}; +enum VerticalAlignment{ + AlignNormal = QTextCharFormat::AlignNormal, AlignSuperScript = QTextCharFormat::AlignSuperScript, AlignSubScript = QTextCharFormat::AlignSubScript, AlignMiddle = QTextCharFormat::AlignMiddle, AlignTop = QTextCharFormat::AlignTop, AlignBottom = QTextCharFormat::AlignBottom, AlignBaseline = QTextCharFormat::AlignBaseline}; +public Q_SLOTS: +QTextCharFormat* new_QTextCharFormat(); +QTextCharFormat* new_QTextCharFormat(const QTextFormat& fmt); +QTextCharFormat* new_QTextCharFormat(const QTextCharFormat& other) { +PythonQtShell_QTextCharFormat* a = new PythonQtShell_QTextCharFormat(); +*((QTextCharFormat*)a) = other; +return a; } +void delete_QTextCharFormat(QTextCharFormat* obj) { delete obj; } + QString anchorHref(QTextCharFormat* theWrappedObject) const; + QStringList anchorNames(QTextCharFormat* theWrappedObject) const; + QFont font(QTextCharFormat* theWrappedObject) const; + QFont::Capitalization fontCapitalization(QTextCharFormat* theWrappedObject) const; + QString fontFamily(QTextCharFormat* theWrappedObject) const; + bool fontFixedPitch(QTextCharFormat* theWrappedObject) const; + QFont::HintingPreference fontHintingPreference(QTextCharFormat* theWrappedObject) const; + bool fontItalic(QTextCharFormat* theWrappedObject) const; + bool fontKerning(QTextCharFormat* theWrappedObject) const; + qreal fontLetterSpacing(QTextCharFormat* theWrappedObject) const; + QFont::SpacingType fontLetterSpacingType(QTextCharFormat* theWrappedObject) const; + bool fontOverline(QTextCharFormat* theWrappedObject) const; + qreal fontPointSize(QTextCharFormat* theWrappedObject) const; + int fontStretch(QTextCharFormat* theWrappedObject) const; + bool fontStrikeOut(QTextCharFormat* theWrappedObject) const; + QFont::StyleHint fontStyleHint(QTextCharFormat* theWrappedObject) const; + QFont::StyleStrategy fontStyleStrategy(QTextCharFormat* theWrappedObject) const; + bool fontUnderline(QTextCharFormat* theWrappedObject) const; + int fontWeight(QTextCharFormat* theWrappedObject) const; + qreal fontWordSpacing(QTextCharFormat* theWrappedObject) const; + bool isAnchor(QTextCharFormat* theWrappedObject) const; + bool isValid(QTextCharFormat* theWrappedObject) const; + void setAnchor(QTextCharFormat* theWrappedObject, bool anchor); + void setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value); + void setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names); + void setFont(QTextCharFormat* theWrappedObject, const QFont& font); + void setFont(QTextCharFormat* theWrappedObject, const QFont& font, QTextCharFormat::FontPropertiesInheritanceBehavior behavior); + void setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization); + void setFontFamily(QTextCharFormat* theWrappedObject, const QString& family); + void setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch); + void setFontHintingPreference(QTextCharFormat* theWrappedObject, QFont::HintingPreference hintingPreference); + void setFontItalic(QTextCharFormat* theWrappedObject, bool italic); + void setFontKerning(QTextCharFormat* theWrappedObject, bool enable); + void setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing); + void setFontLetterSpacingType(QTextCharFormat* theWrappedObject, QFont::SpacingType letterSpacingType); + void setFontOverline(QTextCharFormat* theWrappedObject, bool overline); + void setFontPointSize(QTextCharFormat* theWrappedObject, qreal size); + void setFontStretch(QTextCharFormat* theWrappedObject, int factor); + void setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut); + void setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy = QFont::PreferDefault); + void setFontStyleStrategy(QTextCharFormat* theWrappedObject, QFont::StyleStrategy strategy); + void setFontUnderline(QTextCharFormat* theWrappedObject, bool underline); + void setFontWeight(QTextCharFormat* theWrappedObject, int weight); + void setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing); + void setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan); + void setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan); + void setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen); + void setToolTip(QTextCharFormat* theWrappedObject, const QString& tip); + void setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color); + void setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style); + void setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment); + int tableCellColumnSpan(QTextCharFormat* theWrappedObject) const; + int tableCellRowSpan(QTextCharFormat* theWrappedObject) const; + QPen textOutline(QTextCharFormat* theWrappedObject) const; + QString toolTip(QTextCharFormat* theWrappedObject) const; + QColor underlineColor(QTextCharFormat* theWrappedObject) const; + QTextCharFormat::UnderlineStyle underlineStyle(QTextCharFormat* theWrappedObject) const; + QTextCharFormat::VerticalAlignment verticalAlignment(QTextCharFormat* theWrappedObject) const; + bool __nonzero__(QTextCharFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QTextCursor : public QObject +{ Q_OBJECT +public: +Q_ENUMS(MoveMode MoveOperation SelectionType ) +enum MoveMode{ + MoveAnchor = QTextCursor::MoveAnchor, KeepAnchor = QTextCursor::KeepAnchor}; +enum MoveOperation{ + NoMove = QTextCursor::NoMove, Start = QTextCursor::Start, Up = QTextCursor::Up, StartOfLine = QTextCursor::StartOfLine, StartOfBlock = QTextCursor::StartOfBlock, StartOfWord = QTextCursor::StartOfWord, PreviousBlock = QTextCursor::PreviousBlock, PreviousCharacter = QTextCursor::PreviousCharacter, PreviousWord = QTextCursor::PreviousWord, Left = QTextCursor::Left, WordLeft = QTextCursor::WordLeft, End = QTextCursor::End, Down = QTextCursor::Down, EndOfLine = QTextCursor::EndOfLine, EndOfWord = QTextCursor::EndOfWord, EndOfBlock = QTextCursor::EndOfBlock, NextBlock = QTextCursor::NextBlock, NextCharacter = QTextCursor::NextCharacter, NextWord = QTextCursor::NextWord, Right = QTextCursor::Right, WordRight = QTextCursor::WordRight, NextCell = QTextCursor::NextCell, PreviousCell = QTextCursor::PreviousCell, NextRow = QTextCursor::NextRow, PreviousRow = QTextCursor::PreviousRow}; +enum SelectionType{ + WordUnderCursor = QTextCursor::WordUnderCursor, LineUnderCursor = QTextCursor::LineUnderCursor, BlockUnderCursor = QTextCursor::BlockUnderCursor, Document = QTextCursor::Document}; +public Q_SLOTS: +QTextCursor* new_QTextCursor(); +QTextCursor* new_QTextCursor(QTextDocument* document); +QTextCursor* new_QTextCursor(QTextFrame* frame); +QTextCursor* new_QTextCursor(const QTextBlock& block); +QTextCursor* new_QTextCursor(const QTextCursor& cursor); +void delete_QTextCursor(QTextCursor* obj) { delete obj; } + int anchor(QTextCursor* theWrappedObject) const; + bool atBlockEnd(QTextCursor* theWrappedObject) const; + bool atBlockStart(QTextCursor* theWrappedObject) const; + bool atEnd(QTextCursor* theWrappedObject) const; + bool atStart(QTextCursor* theWrappedObject) const; + void beginEditBlock(QTextCursor* theWrappedObject); + QTextBlock block(QTextCursor* theWrappedObject) const; + QTextCharFormat blockCharFormat(QTextCursor* theWrappedObject) const; + QTextBlockFormat blockFormat(QTextCursor* theWrappedObject) const; + int blockNumber(QTextCursor* theWrappedObject) const; + QTextCharFormat charFormat(QTextCursor* theWrappedObject) const; + void clearSelection(QTextCursor* theWrappedObject); + int columnNumber(QTextCursor* theWrappedObject) const; + QTextList* createList(QTextCursor* theWrappedObject, QTextListFormat::Style style); + QTextList* createList(QTextCursor* theWrappedObject, const QTextListFormat& format); + QTextFrame* currentFrame(QTextCursor* theWrappedObject) const; + QTextList* currentList(QTextCursor* theWrappedObject) const; + QTextTable* currentTable(QTextCursor* theWrappedObject) const; + void deleteChar(QTextCursor* theWrappedObject); + void deletePreviousChar(QTextCursor* theWrappedObject); + QTextDocument* document(QTextCursor* theWrappedObject) const; + void endEditBlock(QTextCursor* theWrappedObject); + bool hasComplexSelection(QTextCursor* theWrappedObject) const; + bool hasSelection(QTextCursor* theWrappedObject) const; + void insertBlock(QTextCursor* theWrappedObject); + void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format); + void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat); + void insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment); + QTextFrame* insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format); + void insertHtml(QTextCursor* theWrappedObject, const QString& html); + void insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name = QString()); + void insertImage(QTextCursor* theWrappedObject, const QString& name); + void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format); + void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment); + QTextList* insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style); + QTextList* insertList(QTextCursor* theWrappedObject, const QTextListFormat& format); + QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols); + QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format); + void insertText(QTextCursor* theWrappedObject, const QString& text); + void insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format); + bool isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const; + bool isNull(QTextCursor* theWrappedObject) const; + void joinPreviousEditBlock(QTextCursor* theWrappedObject); + bool keepPositionOnInsert(QTextCursor* theWrappedObject) const; + void mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier); + void mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier); + void mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier); + bool movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2 = QTextCursor::MoveAnchor, int n = 1); + bool __ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + bool __ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; + int position(QTextCursor* theWrappedObject) const; + int positionInBlock(QTextCursor* theWrappedObject) const; + void removeSelectedText(QTextCursor* theWrappedObject); + void select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection); + QString selectedText(QTextCursor* theWrappedObject) const; + QTextDocumentFragment selection(QTextCursor* theWrappedObject) const; + int selectionEnd(QTextCursor* theWrappedObject) const; + int selectionStart(QTextCursor* theWrappedObject) const; + void setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format); + void setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format); + void setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format); + void setKeepPositionOnInsert(QTextCursor* theWrappedObject, bool b); + void setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); + void setVerticalMovementX(QTextCursor* theWrappedObject, int x); + void setVisualNavigation(QTextCursor* theWrappedObject, bool b); + void swap(QTextCursor* theWrappedObject, QTextCursor& other); + int verticalMovementX(QTextCursor* theWrappedObject) const; + bool visualNavigation(QTextCursor* theWrappedObject) const; + bool __nonzero__(QTextCursor* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QTextDocument : public QTextDocument +{ +public: + PythonQtShell_QTextDocument(QObject* parent = nullptr):QTextDocument(parent),_wrapper(nullptr) {}; + PythonQtShell_QTextDocument(const QString& text, QObject* parent = nullptr):QTextDocument(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextDocument() override; + +void childEvent(QChildEvent* event) override; +void clear() override; +QTextObject* createObject(const QTextFormat& f) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant loadResource(int type, const QUrl& name) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTextDocument : public QTextDocument +{ public: +inline QTextObject* promoted_createObject(const QTextFormat& f) { return this->createObject(f); } +inline QVariant promoted_loadResource(int type, const QUrl& name) { return this->loadResource(type, name); } +inline void py_q_clear() { QTextDocument::clear(); } +inline QTextObject* py_q_createObject(const QTextFormat& f) { return QTextDocument::createObject(f); } +inline QVariant py_q_loadResource(int type, const QUrl& name) { return QTextDocument::loadResource(type, name); } +}; + +class PythonQtWrapper_QTextDocument : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FindFlag MetaInformation ResourceType Stacks ) +Q_FLAGS(FindFlags ) +enum FindFlag{ + FindBackward = QTextDocument::FindBackward, FindCaseSensitively = QTextDocument::FindCaseSensitively, FindWholeWords = QTextDocument::FindWholeWords}; +enum MetaInformation{ + DocumentTitle = QTextDocument::DocumentTitle, DocumentUrl = QTextDocument::DocumentUrl}; +enum ResourceType{ + HtmlResource = QTextDocument::HtmlResource, ImageResource = QTextDocument::ImageResource, StyleSheetResource = QTextDocument::StyleSheetResource, UserResource = QTextDocument::UserResource}; +enum Stacks{ + UndoStack = QTextDocument::UndoStack, RedoStack = QTextDocument::RedoStack, UndoAndRedoStacks = QTextDocument::UndoAndRedoStacks}; +Q_DECLARE_FLAGS(FindFlags, FindFlag) +public Q_SLOTS: +QTextDocument* new_QTextDocument(QObject* parent = nullptr); +QTextDocument* new_QTextDocument(const QString& text, QObject* parent = nullptr); +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; + QUrl baseUrl(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 py_q_clear(QTextDocument* theWrappedObject){ (((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->py_q_clear());} + void clearUndoRedoStacks(QTextDocument* theWrappedObject, QTextDocument::Stacks historyToClear = QTextDocument::UndoAndRedoStacks); + QTextDocument* clone(QTextDocument* theWrappedObject, QObject* parent = nullptr) const; + QTextObject* createObject(QTextDocument* theWrappedObject, const QTextFormat& f); + QTextObject* py_q_createObject(QTextDocument* theWrappedObject, const QTextFormat& f){ return (((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->py_q_createObject(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& cursor, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; + QTextCursor find(QTextDocument* theWrappedObject, const QRegExp& expr, int from = 0, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; + QTextCursor find(QTextDocument* theWrappedObject, const QRegularExpression& expr, const QTextCursor& cursor, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; + QTextCursor find(QTextDocument* theWrappedObject, const QRegularExpression& expr, int from = 0, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; + QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& cursor, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; + QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, int from = 0, QTextDocument::FindFlags options = QTextDocument::FindFlags()) 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); + QVariant py_q_loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->py_q_loadResource(type, 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 print(QTextDocument* theWrappedObject, QPagedPaintDevice* printer) 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 setBaseUrl(QTextDocument* theWrappedObject, const QUrl& url); + 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; + QString toRawText(QTextDocument* theWrappedObject) const; + void undo(QTextDocument* theWrappedObject, QTextCursor* cursor); + bool useDesignMetrics(QTextDocument* theWrappedObject) const; + bool __nonzero__(QTextDocument* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QTextDocumentFragment : public QObject +{ Q_OBJECT +public: +public Q_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; + bool __nonzero__(QTextDocumentFragment* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QTextDocumentWriter : public QObject +{ Q_OBJECT +public: +public Q_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 = nullptr):QTextEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QTextEdit(const QString& text, QWidget* parent = nullptr):QTextEdit(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextEdit() override; + +void actionEvent(QActionEvent* event) override; +bool canInsertFromMimeData(const QMimeData* source) const override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +QMimeData* createMimeDataFromSelection() const override; +void customEvent(QEvent* event) override; +int devType() const override; +void doSetTextCursor(const QTextCursor& cursor) override; +void dragEnterEvent(QDragEnterEvent* e) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery property) const override; +void insertFromMimeData(const QMimeData* source) override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* event) override; +QVariant loadResource(int type, const QUrl& name) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* e) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* e) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* e) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* e) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* e) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTextEdit : public QTextEdit +{ public: +inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return this->canInsertFromMimeData(source); } +inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } +inline void promoted_contextMenuEvent(QContextMenuEvent* e) { this->contextMenuEvent(e); } +inline QMimeData* promoted_createMimeDataFromSelection() const { return this->createMimeDataFromSelection(); } +inline void promoted_doSetTextCursor(const QTextCursor& cursor) { this->doSetTextCursor(cursor); } +inline void promoted_dragEnterEvent(QDragEnterEvent* e) { this->dragEnterEvent(e); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { this->dragLeaveEvent(e); } +inline void promoted_dragMoveEvent(QDragMoveEvent* e) { this->dragMoveEvent(e); } +inline void promoted_dropEvent(QDropEvent* e) { this->dropEvent(e); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_focusInEvent(QFocusEvent* e) { this->focusInEvent(e); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* e) { this->focusOutEvent(e); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } +inline void promoted_insertFromMimeData(const QMimeData* source) { this->insertFromMimeData(source); } +inline void promoted_keyPressEvent(QKeyEvent* e) { this->keyPressEvent(e); } +inline void promoted_keyReleaseEvent(QKeyEvent* e) { this->keyReleaseEvent(e); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { this->mouseDoubleClickEvent(e); } +inline void promoted_mouseMoveEvent(QMouseEvent* e) { this->mouseMoveEvent(e); } +inline void promoted_mousePressEvent(QMouseEvent* e) { this->mousePressEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { this->mouseReleaseEvent(e); } +inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* e) { this->timerEvent(e); } +inline void promoted_wheelEvent(QWheelEvent* e) { this->wheelEvent(e); } +inline void promoted_zoomInF(float range) { this->zoomInF(range); } +inline bool py_q_canInsertFromMimeData(const QMimeData* source) const { return QTextEdit::canInsertFromMimeData(source); } +inline void py_q_changeEvent(QEvent* e) { QTextEdit::changeEvent(e); } +inline void py_q_contextMenuEvent(QContextMenuEvent* e) { QTextEdit::contextMenuEvent(e); } +inline QMimeData* py_q_createMimeDataFromSelection() const { return QTextEdit::createMimeDataFromSelection(); } +inline void py_q_doSetTextCursor(const QTextCursor& cursor) { QTextEdit::doSetTextCursor(cursor); } +inline void py_q_dragEnterEvent(QDragEnterEvent* e) { QTextEdit::dragEnterEvent(e); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* e) { QTextEdit::dragLeaveEvent(e); } +inline void py_q_dragMoveEvent(QDragMoveEvent* e) { QTextEdit::dragMoveEvent(e); } +inline void py_q_dropEvent(QDropEvent* e) { QTextEdit::dropEvent(e); } +inline bool py_q_event(QEvent* e) { return QTextEdit::event(e); } +inline void py_q_focusInEvent(QFocusEvent* e) { QTextEdit::focusInEvent(e); } +inline bool py_q_focusNextPrevChild(bool next) { return QTextEdit::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* e) { QTextEdit::focusOutEvent(e); } +inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QTextEdit::inputMethodEvent(arg__1); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery property) const { return QTextEdit::inputMethodQuery(property); } +inline void py_q_insertFromMimeData(const QMimeData* source) { QTextEdit::insertFromMimeData(source); } +inline void py_q_keyPressEvent(QKeyEvent* e) { QTextEdit::keyPressEvent(e); } +inline void py_q_keyReleaseEvent(QKeyEvent* e) { QTextEdit::keyReleaseEvent(e); } +inline QVariant py_q_loadResource(int type, const QUrl& name) { return QTextEdit::loadResource(type, name); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* e) { QTextEdit::mouseDoubleClickEvent(e); } +inline void py_q_mouseMoveEvent(QMouseEvent* e) { QTextEdit::mouseMoveEvent(e); } +inline void py_q_mousePressEvent(QMouseEvent* e) { QTextEdit::mousePressEvent(e); } +inline void py_q_mouseReleaseEvent(QMouseEvent* e) { QTextEdit::mouseReleaseEvent(e); } +inline void py_q_paintEvent(QPaintEvent* e) { QTextEdit::paintEvent(e); } +inline void py_q_resizeEvent(QResizeEvent* e) { QTextEdit::resizeEvent(e); } +inline void py_q_scrollContentsBy(int dx, int dy) { QTextEdit::scrollContentsBy(dx, dy); } +inline void py_q_showEvent(QShowEvent* arg__1) { QTextEdit::showEvent(arg__1); } +inline void py_q_timerEvent(QTimerEvent* e) { QTextEdit::timerEvent(e); } +inline void py_q_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 Q_SLOTS: +QTextEdit* new_QTextEdit(QWidget* parent = nullptr); +QTextEdit* new_QTextEdit(const QString& text, QWidget* parent = nullptr); +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 py_q_canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_canInsertFromMimeData(source));} + bool canPaste(QTextEdit* theWrappedObject) const; + void py_q_changeEvent(QTextEdit* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_changeEvent(e));} + void py_q_contextMenuEvent(QTextEdit* theWrappedObject, QContextMenuEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_contextMenuEvent(e));} + QMimeData* createMimeDataFromSelection(QTextEdit* theWrappedObject) const; + QMimeData* py_q_createMimeDataFromSelection(QTextEdit* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_createMimeDataFromSelection());} + 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); + void py_q_doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_doSetTextCursor(cursor));} + QTextDocument* document(QTextEdit* theWrappedObject) const; + QString documentTitle(QTextEdit* theWrappedObject) const; + void py_q_dragEnterEvent(QTextEdit* theWrappedObject, QDragEnterEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragEnterEvent(e));} + void py_q_dragLeaveEvent(QTextEdit* theWrappedObject, QDragLeaveEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragLeaveEvent(e));} + void py_q_dragMoveEvent(QTextEdit* theWrappedObject, QDragMoveEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragMoveEvent(e));} + void py_q_dropEvent(QTextEdit* theWrappedObject, QDropEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dropEvent(e));} + void ensureCursorVisible(QTextEdit* theWrappedObject); + bool py_q_event(QTextEdit* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_event(e));} + QList extraSelections(QTextEdit* theWrappedObject) const; + bool find(QTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + bool find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + void py_q_focusInEvent(QTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusInEvent(e));} + bool py_q_focusNextPrevChild(QTextEdit* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusOutEvent(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 py_q_inputMethodEvent(QTextEdit* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} + QVariant py_q_inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery property) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_inputMethodQuery(property));} + QVariant inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const; + void insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source); + void py_q_insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_insertFromMimeData(source));} + bool isReadOnly(QTextEdit* theWrappedObject) const; + bool isUndoRedoEnabled(QTextEdit* theWrappedObject) const; + void py_q_keyPressEvent(QTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_keyPressEvent(e));} + void py_q_keyReleaseEvent(QTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_keyReleaseEvent(e));} + int lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const; + QTextEdit::LineWrapMode lineWrapMode(QTextEdit* theWrappedObject) const; + QVariant loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name); + QVariant py_q_loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_loadResource(type, name));} + void mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier); + void py_q_mouseDoubleClickEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseDoubleClickEvent(e));} + void py_q_mouseMoveEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseMoveEvent(e));} + void py_q_mousePressEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mousePressEvent(e));} + void py_q_mouseReleaseEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseReleaseEvent(e));} + void moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); + bool overwriteMode(QTextEdit* theWrappedObject) const; + void py_q_paintEvent(QTextEdit* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_paintEvent(e));} + QString placeholderText(QTextEdit* theWrappedObject) const; + void print(QTextEdit* theWrappedObject, QPagedPaintDevice* printer) const; + void py_q_resizeEvent(QTextEdit* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_resizeEvent(e));} + void py_q_scrollContentsBy(QTextEdit* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_scrollContentsBy(dx, 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 setPlaceholderText(QTextEdit* theWrappedObject, const QString& placeholderText); + void setReadOnly(QTextEdit* theWrappedObject, bool ro); + void setTabChangesFocus(QTextEdit* theWrappedObject, bool b); + void setTabStopDistance(QTextEdit* theWrappedObject, qreal distance); + 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 py_q_showEvent(QTextEdit* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_showEvent(arg__1));} + bool tabChangesFocus(QTextEdit* theWrappedObject) const; + qreal tabStopDistance(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 py_q_timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_timerEvent(e));} + QString toHtml(QTextEdit* theWrappedObject) const; + QString toPlainText(QTextEdit* theWrappedObject) const; + void py_q_wheelEvent(QTextEdit* theWrappedObject, QWheelEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_wheelEvent(e));} + QTextOption::WrapMode wordWrapMode(QTextEdit* theWrappedObject) const; + void zoomInF(QTextEdit* theWrappedObject, float range); +}; + + + + + +class PythonQtShell_QTextEdit__ExtraSelection : public QTextEdit::ExtraSelection +{ +public: + PythonQtShell_QTextEdit__ExtraSelection():QTextEdit::ExtraSelection(),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextEdit__ExtraSelection(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextEdit__ExtraSelection : public QObject +{ Q_OBJECT +public: +public Q_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_cursor(QTextEdit::ExtraSelection* theWrappedObject, QTextCursor cursor){ theWrappedObject->cursor = cursor; } +QTextCursor py_get_cursor(QTextEdit::ExtraSelection* theWrappedObject){ return theWrappedObject->cursor; } +void py_set_format(QTextEdit::ExtraSelection* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } +QTextCharFormat py_get_format(QTextEdit::ExtraSelection* theWrappedObject){ return theWrappedObject->format; } +}; + + + + + +class PythonQtWrapper_QTextFragment : public QObject +{ Q_OBJECT +public: +public Q_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; + QList glyphRuns(QTextFragment* theWrappedObject, int from = -1, int length = -1) 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; + bool __nonzero__(QTextFragment* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QTextFrame : public QTextFrame +{ +public: + PythonQtShell_QTextFrame(QTextDocument* doc):QTextFrame(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextFrame() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextFrame : public QObject +{ Q_OBJECT +public: +public Q_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(nullptr) {}; + PythonQtShell_QTextFrameFormat(const QTextFormat& fmt):QTextFrameFormat(fmt),_wrapper(nullptr) {}; + + ~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 Q_SLOTS: +QTextFrameFormat* new_QTextFrameFormat(); +QTextFrameFormat* new_QTextFrameFormat(const QTextFormat& fmt); +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; + bool __nonzero__(QTextFrameFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QTextImageFormat : public QTextImageFormat +{ +public: + PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextImageFormat(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextImageFormat : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QTextImageFormat* new_QTextImageFormat(); +QTextImageFormat* new_QTextImageFormat(const QTextFormat& format); +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; + bool __nonzero__(QTextImageFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtWrapper_QTextInlineObject : public QObject +{ Q_OBJECT +public: +public Q_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; + bool __nonzero__(QTextInlineObject* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QTextItem : public QTextItem +{ +public: + PythonQtShell_QTextItem():QTextItem(),_wrapper(nullptr) {}; + + ~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 Q_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_QTextLayout : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CursorMode ) +enum CursorMode{ + SkipCharacters = QTextLayout::SkipCharacters, SkipWords = QTextLayout::SkipWords}; +public Q_SLOTS: +QTextLayout* new_QTextLayout(); +QTextLayout* new_QTextLayout(const QString& text); +QTextLayout* new_QTextLayout(const QString& text, const QFont& font, QPaintDevice* paintdevice = nullptr); +QTextLayout* new_QTextLayout(const QTextBlock& b); +void delete_QTextLayout(QTextLayout* obj) { delete obj; } + QList additionalFormats(QTextLayout* theWrappedObject) const; + void beginLayout(QTextLayout* theWrappedObject); + QRectF boundingRect(QTextLayout* theWrappedObject) const; + bool cacheEnabled(QTextLayout* theWrappedObject) const; + void clearAdditionalFormats(QTextLayout* theWrappedObject); + void clearFormats(QTextLayout* theWrappedObject); + void clearLayout(QTextLayout* theWrappedObject); + QTextLine createLine(QTextLayout* theWrappedObject); + Qt::CursorMoveStyle cursorMoveStyle(QTextLayout* theWrappedObject) const; + void draw(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, const QVector& selections = QVector(), const QRectF& clip = QRectF()) const; + void drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition) const; + void drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition, int width) const; + void endLayout(QTextLayout* theWrappedObject); + QFont font(QTextLayout* theWrappedObject) const; + QVector formats(QTextLayout* theWrappedObject) const; + QList glyphRuns(QTextLayout* theWrappedObject, int from = -1, int length = -1) const; + bool isValidCursorPosition(QTextLayout* theWrappedObject, int pos) const; + int leftCursorPosition(QTextLayout* theWrappedObject, int oldPos) const; + QTextLine lineAt(QTextLayout* theWrappedObject, int i) const; + int lineCount(QTextLayout* theWrappedObject) const; + QTextLine lineForTextPosition(QTextLayout* theWrappedObject, int pos) const; + qreal maximumWidth(QTextLayout* theWrappedObject) const; + qreal minimumWidth(QTextLayout* theWrappedObject) const; + int nextCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode = QTextLayout::SkipCharacters) const; + QPointF position(QTextLayout* theWrappedObject) const; + int preeditAreaPosition(QTextLayout* theWrappedObject) const; + QString preeditAreaText(QTextLayout* theWrappedObject) const; + int previousCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode = QTextLayout::SkipCharacters) const; + int rightCursorPosition(QTextLayout* theWrappedObject, int oldPos) const; + void setAdditionalFormats(QTextLayout* theWrappedObject, const QList& overrides); + void setCacheEnabled(QTextLayout* theWrappedObject, bool enable); + void setCursorMoveStyle(QTextLayout* theWrappedObject, Qt::CursorMoveStyle style); + void setFlags(QTextLayout* theWrappedObject, int flags); + void setFont(QTextLayout* theWrappedObject, const QFont& f); + void setFormats(QTextLayout* theWrappedObject, const QVector& overrides); + void setPosition(QTextLayout* theWrappedObject, const QPointF& p); + void setPreeditArea(QTextLayout* theWrappedObject, int position, const QString& text); + void setRawFont(QTextLayout* theWrappedObject, const QRawFont& rawFont); + void setText(QTextLayout* theWrappedObject, const QString& string); + void setTextOption(QTextLayout* theWrappedObject, const QTextOption& option); + QString text(QTextLayout* theWrappedObject) const; + const QTextOption* textOption(QTextLayout* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextLayout__FormatRange : public QTextLayout::FormatRange +{ +public: + PythonQtShell_QTextLayout__FormatRange():QTextLayout::FormatRange(),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextLayout__FormatRange(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextLayout__FormatRange : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QTextLayout::FormatRange* new_QTextLayout__FormatRange(); +QTextLayout::FormatRange* new_QTextLayout__FormatRange(const QTextLayout::FormatRange& other) { +PythonQtShell_QTextLayout__FormatRange* a = new PythonQtShell_QTextLayout__FormatRange(); +*((QTextLayout::FormatRange*)a) = other; +return a; } +void delete_QTextLayout__FormatRange(QTextLayout::FormatRange* obj) { delete obj; } +void py_set_format(QTextLayout::FormatRange* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } +QTextCharFormat py_get_format(QTextLayout::FormatRange* theWrappedObject){ return theWrappedObject->format; } +void py_set_length(QTextLayout::FormatRange* theWrappedObject, int length){ theWrappedObject->length = length; } +int py_get_length(QTextLayout::FormatRange* theWrappedObject){ return theWrappedObject->length; } +void py_set_start(QTextLayout::FormatRange* theWrappedObject, int start){ theWrappedObject->start = start; } +int py_get_start(QTextLayout::FormatRange* theWrappedObject){ return theWrappedObject->start; } +}; + + + + + +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 Q_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 = nullptr) const; + QList glyphRuns(QTextLine* theWrappedObject, int from = -1, int length = -1) 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; + bool __nonzero__(QTextLine* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QTextList : public QTextList +{ +public: + PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextList() override; + +void blockFormatChanged(const QTextBlock& block) override; +void blockInserted(const QTextBlock& block) override; +void blockRemoved(const QTextBlock& block) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextList : public QObject +{ Q_OBJECT +public: +public Q_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); + bool __nonzero__(QTextList* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QTextListFormat : public QTextListFormat +{ +public: + PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(nullptr) {}; + + ~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 Q_SLOTS: +QTextListFormat* new_QTextListFormat(); +QTextListFormat* new_QTextListFormat(const QTextFormat& fmt); +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; + bool __nonzero__(QTextListFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QTextObject : public QTextObject +{ +public: + PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextObject() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTextObject : public QTextObject +{ public: +inline void promoted_setFormat(const QTextFormat& format) { this->setFormat(format); } +}; + +class PythonQtWrapper_QTextObject : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QTextObject* new_QTextObject(QTextDocument* doc); + QTextDocument* document(QTextObject* theWrappedObject) const; + QTextFormat format(QTextObject* theWrappedObject) const; + int formatIndex(QTextObject* theWrappedObject) const; + int objectIndex(QTextObject* theWrappedObject) const; + void setFormat(QTextObject* theWrappedObject, const QTextFormat& format); +}; + + + + + +class PythonQtWrapper_QTextOption : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Flag TabType WrapMode ) +Q_FLAGS(Flags ) +enum Flag{ + ShowTabsAndSpaces = QTextOption::ShowTabsAndSpaces, ShowLineAndParagraphSeparators = QTextOption::ShowLineAndParagraphSeparators, AddSpaceForLineAndParagraphSeparators = QTextOption::AddSpaceForLineAndParagraphSeparators, SuppressColors = QTextOption::SuppressColors, ShowDocumentTerminator = QTextOption::ShowDocumentTerminator, IncludeTrailingSpaces = QTextOption::IncludeTrailingSpaces}; +enum TabType{ + LeftTab = QTextOption::LeftTab, RightTab = QTextOption::RightTab, CenterTab = QTextOption::CenterTab, DelimiterTab = QTextOption::DelimiterTab}; +enum WrapMode{ + NoWrap = QTextOption::NoWrap, WordWrap = QTextOption::WordWrap, ManualWrap = QTextOption::ManualWrap, WrapAnywhere = QTextOption::WrapAnywhere, WrapAtWordBoundaryOrAnywhere = QTextOption::WrapAtWordBoundaryOrAnywhere}; +Q_DECLARE_FLAGS(Flags, Flag) +public Q_SLOTS: +QTextOption* new_QTextOption(); +QTextOption* new_QTextOption(Qt::Alignment alignment); +QTextOption* new_QTextOption(const QTextOption& o); +void delete_QTextOption(QTextOption* obj) { delete obj; } + Qt::Alignment alignment(QTextOption* theWrappedObject) const; + QTextOption::Flags flags(QTextOption* theWrappedObject) const; + void setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment); + void setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags); + void setTabArray(QTextOption* theWrappedObject, const QList& tabStops); + void setTabStop(QTextOption* theWrappedObject, qreal tabStop); + void setTabStopDistance(QTextOption* theWrappedObject, qreal tabStopDistance); + void setTabs(QTextOption* theWrappedObject, const QList& tabStops); + void setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection); + void setUseDesignMetrics(QTextOption* theWrappedObject, bool b); + void setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap); + QList tabArray(QTextOption* theWrappedObject) const; + qreal tabStop(QTextOption* theWrappedObject) const; + qreal tabStopDistance(QTextOption* theWrappedObject) const; + QList tabs(QTextOption* theWrappedObject) const; + Qt::LayoutDirection textDirection(QTextOption* theWrappedObject) const; + bool useDesignMetrics(QTextOption* theWrappedObject) const; + QTextOption::WrapMode wrapMode(QTextOption* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTextOption__Tab : public QTextOption::Tab +{ +public: + PythonQtShell_QTextOption__Tab():QTextOption::Tab(),_wrapper(nullptr) {}; + PythonQtShell_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()):QTextOption::Tab(pos, tabType, delim),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextOption__Tab(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextOption__Tab : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QTextOption::Tab* new_QTextOption__Tab(); +QTextOption::Tab* new_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()); +QTextOption::Tab* new_QTextOption__Tab(const QTextOption::Tab& other) { +PythonQtShell_QTextOption__Tab* a = new PythonQtShell_QTextOption__Tab(); +*((QTextOption::Tab*)a) = other; +return a; } +void delete_QTextOption__Tab(QTextOption::Tab* obj) { delete obj; } + bool __ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const; + bool __eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const; +void py_set_delimiter(QTextOption::Tab* theWrappedObject, QChar delimiter){ theWrappedObject->delimiter = delimiter; } +QChar py_get_delimiter(QTextOption::Tab* theWrappedObject){ return theWrappedObject->delimiter; } +void py_set_position(QTextOption::Tab* theWrappedObject, qreal position){ theWrappedObject->position = position; } +qreal py_get_position(QTextOption::Tab* theWrappedObject){ return theWrappedObject->position; } +void py_set_type(QTextOption::Tab* theWrappedObject, QTextOption::TabType type){ theWrappedObject->type = type; } +QTextOption::TabType py_get_type(QTextOption::Tab* theWrappedObject){ return theWrappedObject->type; } +}; + + + + + +class PythonQtShell_QTextTable : public QTextTable +{ +public: + PythonQtShell_QTextTable(QTextDocument* doc):QTextTable(doc),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextTable() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextTable : public QObject +{ Q_OBJECT +public: +public Q_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 Q_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; + bool __nonzero__(QTextTableCell* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat +{ +public: + PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextTableCellFormat(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextTableCellFormat : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QTextTableCellFormat* new_QTextTableCellFormat(); +QTextTableCellFormat* new_QTextTableCellFormat(const QTextFormat& fmt); +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; + bool __nonzero__(QTextTableCellFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QTextTableFormat : public QTextTableFormat +{ +public: + PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(nullptr) {}; + PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(nullptr) {}; + + ~PythonQtShell_QTextTableFormat(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTextTableFormat : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QTextTableFormat* new_QTextTableFormat(); +QTextTableFormat* new_QTextTableFormat(const QTextFormat& fmt); +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); + bool __nonzero__(QTextTableFormat* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QTileRules : public QTileRules +{ +public: + PythonQtShell_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule):QTileRules(horizontalRule, verticalRule),_wrapper(nullptr) {}; + PythonQtShell_QTileRules(Qt::TileRule rule = Qt::StretchTile):QTileRules(rule),_wrapper(nullptr) {}; + + ~PythonQtShell_QTileRules(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTileRules : public QObject +{ Q_OBJECT +public: +public Q_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_horizontal(QTileRules* theWrappedObject, Qt::TileRule horizontal){ theWrappedObject->horizontal = horizontal; } +Qt::TileRule py_get_horizontal(QTileRules* theWrappedObject){ return theWrappedObject->horizontal; } +void py_set_vertical(QTileRules* theWrappedObject, Qt::TileRule vertical){ theWrappedObject->vertical = vertical; } +Qt::TileRule py_get_vertical(QTileRules* theWrappedObject){ return theWrappedObject->vertical; } +}; + + + + + +class PythonQtShell_QTimeEdit : public QTimeEdit +{ +public: + PythonQtShell_QTimeEdit(QWidget* parent = nullptr):QTimeEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = nullptr):QTimeEdit(time, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTimeEdit() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void clear() override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +QDateTime dateTimeFromText(const QString& text) const override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& input) const override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void stepBy(int steps) override; +QAbstractSpinBox::StepEnabled stepEnabled() const override; +void tabletEvent(QTabletEvent* event) override; +QString textFromDateTime(const QDateTime& dt) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTimeEdit : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QTimeEdit* new_QTimeEdit(QWidget* parent = nullptr); +QTimeEdit* new_QTimeEdit(const QTime& time, QWidget* parent = nullptr); +void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QToolBar : public QToolBar +{ +public: + PythonQtShell_QToolBar(QWidget* parent = nullptr):QToolBar(parent),_wrapper(nullptr) {}; + PythonQtShell_QToolBar(const QString& title, QWidget* parent = nullptr):QToolBar(title, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QToolBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QToolBar : public QToolBar +{ public: +inline void promoted_actionEvent(QActionEvent* event) { this->actionEvent(event); } +inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_initStyleOption(QStyleOptionToolBar* option) const { this->initStyleOption(option); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline void py_q_actionEvent(QActionEvent* event) { QToolBar::actionEvent(event); } +inline void py_q_changeEvent(QEvent* event) { QToolBar::changeEvent(event); } +inline bool py_q_event(QEvent* event) { return QToolBar::event(event); } +inline void py_q_paintEvent(QPaintEvent* event) { QToolBar::paintEvent(event); } +}; + +class PythonQtWrapper_QToolBar : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QToolBar* new_QToolBar(QWidget* parent = nullptr); +QToolBar* new_QToolBar(const QString& title, QWidget* parent = nullptr); +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 py_q_actionEvent(QToolBar* theWrappedObject, QActionEvent* event){ (((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->py_q_actionEvent(event));} + QRect actionGeometry(QToolBar* theWrappedObject, QAction* action) const; + QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text); + QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member); + QAction* addAction(QToolBar* theWrappedObject, const QString& text); + QAction* addAction(QToolBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member); + QAction* addSeparator(QToolBar* theWrappedObject); + QAction* addWidget(QToolBar* theWrappedObject, QWidget* widget); + Qt::ToolBarAreas allowedAreas(QToolBar* theWrappedObject) const; + void py_q_changeEvent(QToolBar* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->py_q_changeEvent(event));} + void clear(QToolBar* theWrappedObject); + bool py_q_event(QToolBar* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->py_q_event(event));} + QSize iconSize(QToolBar* theWrappedObject) const; + void initStyleOption(QToolBar* theWrappedObject, QStyleOptionToolBar* option) 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 py_q_paintEvent(QToolBar* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->py_q_paintEvent(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 Q_SLOTS: +QToolBarChangeEvent* new_QToolBarChangeEvent(bool t); +void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } + bool toggle(QToolBarChangeEvent* theWrappedObject) const; +}; + + diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp similarity index 59% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp index 19f4aa01d..30e7629d1 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui11.cpp @@ -2,54 +2,55 @@ #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 @@ -57,528 +58,269 @@ #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 -QTextInlineObject* PythonQtWrapper_QTextInlineObject::new_QTextInlineObject() -{ -return new QTextInlineObject(); } - -qreal PythonQtWrapper_QTextInlineObject::ascent(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->ascent()); -} - -qreal PythonQtWrapper_QTextInlineObject::descent(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->descent()); +PythonQtShell_QToolBox::~PythonQtShell_QToolBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QTextFormat PythonQtWrapper_QTextInlineObject::format(QTextInlineObject* theWrappedObject) const +void PythonQtShell_QToolBox::actionEvent(QActionEvent* event0) { - return ( theWrappedObject->format()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextInlineObject::formatIndex(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->formatIndex()); + QToolBox::actionEvent(event0); } - -qreal PythonQtWrapper_QTextInlineObject::height(QTextInlineObject* theWrappedObject) const +void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) { - return ( theWrappedObject->height()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextInlineObject::isValid(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); + QToolBox::changeEvent(arg__1); } - -QRectF PythonQtWrapper_QTextInlineObject::rect(QTextInlineObject* theWrappedObject) const +void PythonQtShell_QToolBox::childEvent(QChildEvent* event0) { - return ( theWrappedObject->rect()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextInlineObject::setAscent(QTextInlineObject* theWrappedObject, qreal a) -{ - ( theWrappedObject->setAscent(a)); + QToolBox::childEvent(event0); } - -void PythonQtWrapper_QTextInlineObject::setDescent(QTextInlineObject* theWrappedObject, qreal d) +void PythonQtShell_QToolBox::closeEvent(QCloseEvent* event0) { - ( theWrappedObject->setDescent(d)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextInlineObject::setWidth(QTextInlineObject* theWrappedObject, qreal w) -{ - ( theWrappedObject->setWidth(w)); + QToolBox::closeEvent(event0); } - -Qt::LayoutDirection PythonQtWrapper_QTextInlineObject::textDirection(QTextInlineObject* theWrappedObject) const +void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* event0) { - return ( theWrappedObject->textDirection()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextInlineObject::textPosition(QTextInlineObject* theWrappedObject) const -{ - return ( theWrappedObject->textPosition()); + QToolBox::contextMenuEvent(event0); } - -qreal PythonQtWrapper_QTextInlineObject::width(QTextInlineObject* theWrappedObject) const +void PythonQtShell_QToolBox::customEvent(QEvent* event0) { - return ( theWrappedObject->width()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTextItem::~PythonQtShell_QTextItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QToolBox::customEvent(event0); } -QTextItem* PythonQtWrapper_QTextItem::new_QTextItem() -{ -return new PythonQtShell_QTextItem(); } - -qreal PythonQtWrapper_QTextItem::ascent(QTextItem* theWrappedObject) const +int PythonQtShell_QToolBox::devType() const { - return ( theWrappedObject->ascent()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextItem::descent(QTextItem* theWrappedObject) const -{ - return ( theWrappedObject->descent()); + return QToolBox::devType(); } - -QFont PythonQtWrapper_QTextItem::font(QTextItem* theWrappedObject) const +void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* event0) { - return ( theWrappedObject->font()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextItem::RenderFlags PythonQtWrapper_QTextItem::renderFlags(QTextItem* theWrappedObject) const -{ - return ( theWrappedObject->renderFlags()); + QToolBox::dragEnterEvent(event0); } - -QString PythonQtWrapper_QTextItem::text(QTextItem* theWrappedObject) const +void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* event0) { - return ( theWrappedObject->text()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextItem::width(QTextItem* theWrappedObject) const -{ - return ( theWrappedObject->width()); + QToolBox::dragLeaveEvent(event0); } - - - -QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout() -{ -return new QTextLayout(); } - -QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QString& text) -{ -return new QTextLayout(text); } - -QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QString& text, const QFont& font, QPaintDevice* paintdevice) -{ -return new QTextLayout(text, font, paintdevice); } - -QTextLayout* PythonQtWrapper_QTextLayout::new_QTextLayout(const QTextBlock& b) -{ -return new QTextLayout(b); } - -QList PythonQtWrapper_QTextLayout::additionalFormats(QTextLayout* theWrappedObject) const +void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* event0) { - return ( theWrappedObject->additionalFormats()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextLayout::beginLayout(QTextLayout* theWrappedObject) -{ - ( theWrappedObject->beginLayout()); -} - -QRectF PythonQtWrapper_QTextLayout::boundingRect(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->boundingRect()); -} - -bool PythonQtWrapper_QTextLayout::cacheEnabled(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->cacheEnabled()); -} - -void PythonQtWrapper_QTextLayout::clearAdditionalFormats(QTextLayout* theWrappedObject) -{ - ( theWrappedObject->clearAdditionalFormats()); -} - -void PythonQtWrapper_QTextLayout::clearFormats(QTextLayout* theWrappedObject) -{ - ( theWrappedObject->clearFormats()); -} - -void PythonQtWrapper_QTextLayout::clearLayout(QTextLayout* theWrappedObject) -{ - ( theWrappedObject->clearLayout()); -} - -QTextLine PythonQtWrapper_QTextLayout::createLine(QTextLayout* theWrappedObject) -{ - return ( theWrappedObject->createLine()); -} - -Qt::CursorMoveStyle PythonQtWrapper_QTextLayout::cursorMoveStyle(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->cursorMoveStyle()); -} - -void PythonQtWrapper_QTextLayout::draw(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, const QVector& selections, const QRectF& clip) const -{ - ( theWrappedObject->draw(p, pos, selections, clip)); -} - -void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition) const -{ - ( theWrappedObject->drawCursor(p, pos, cursorPosition)); -} - -void PythonQtWrapper_QTextLayout::drawCursor(QTextLayout* theWrappedObject, QPainter* p, const QPointF& pos, int cursorPosition, int width) const -{ - ( theWrappedObject->drawCursor(p, pos, cursorPosition, width)); -} - -void PythonQtWrapper_QTextLayout::endLayout(QTextLayout* theWrappedObject) -{ - ( theWrappedObject->endLayout()); -} - -QFont PythonQtWrapper_QTextLayout::font(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -QVector PythonQtWrapper_QTextLayout::formats(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->formats()); -} - -QList PythonQtWrapper_QTextLayout::glyphRuns(QTextLayout* theWrappedObject, int from, int length) const -{ - return ( theWrappedObject->glyphRuns(from, length)); -} - -bool PythonQtWrapper_QTextLayout::isValidCursorPosition(QTextLayout* theWrappedObject, int pos) const -{ - return ( theWrappedObject->isValidCursorPosition(pos)); -} - -int PythonQtWrapper_QTextLayout::leftCursorPosition(QTextLayout* theWrappedObject, int oldPos) const -{ - return ( theWrappedObject->leftCursorPosition(oldPos)); -} - -QTextLine PythonQtWrapper_QTextLayout::lineAt(QTextLayout* theWrappedObject, int i) const -{ - return ( theWrappedObject->lineAt(i)); -} - -int PythonQtWrapper_QTextLayout::lineCount(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->lineCount()); -} - -QTextLine PythonQtWrapper_QTextLayout::lineForTextPosition(QTextLayout* theWrappedObject, int pos) const -{ - return ( theWrappedObject->lineForTextPosition(pos)); -} - -qreal PythonQtWrapper_QTextLayout::maximumWidth(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->maximumWidth()); -} - -qreal PythonQtWrapper_QTextLayout::minimumWidth(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->minimumWidth()); -} - -int PythonQtWrapper_QTextLayout::nextCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const -{ - return ( theWrappedObject->nextCursorPosition(oldPos, mode)); -} - -QPointF PythonQtWrapper_QTextLayout::position(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -int PythonQtWrapper_QTextLayout::preeditAreaPosition(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->preeditAreaPosition()); -} - -QString PythonQtWrapper_QTextLayout::preeditAreaText(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->preeditAreaText()); -} - -int PythonQtWrapper_QTextLayout::previousCursorPosition(QTextLayout* theWrappedObject, int oldPos, QTextLayout::CursorMode mode) const -{ - return ( theWrappedObject->previousCursorPosition(oldPos, mode)); -} - -int PythonQtWrapper_QTextLayout::rightCursorPosition(QTextLayout* theWrappedObject, int oldPos) const -{ - return ( theWrappedObject->rightCursorPosition(oldPos)); -} - -void PythonQtWrapper_QTextLayout::setAdditionalFormats(QTextLayout* theWrappedObject, const QList& overrides) -{ - ( theWrappedObject->setAdditionalFormats(overrides)); -} - -void PythonQtWrapper_QTextLayout::setCacheEnabled(QTextLayout* theWrappedObject, bool enable) -{ - ( theWrappedObject->setCacheEnabled(enable)); -} - -void PythonQtWrapper_QTextLayout::setCursorMoveStyle(QTextLayout* theWrappedObject, Qt::CursorMoveStyle style) -{ - ( theWrappedObject->setCursorMoveStyle(style)); -} - -void PythonQtWrapper_QTextLayout::setFlags(QTextLayout* theWrappedObject, int flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -void PythonQtWrapper_QTextLayout::setFont(QTextLayout* theWrappedObject, const QFont& f) -{ - ( theWrappedObject->setFont(f)); -} - -void PythonQtWrapper_QTextLayout::setFormats(QTextLayout* theWrappedObject, const QVector& overrides) -{ - ( theWrappedObject->setFormats(overrides)); -} - -void PythonQtWrapper_QTextLayout::setPosition(QTextLayout* theWrappedObject, const QPointF& p) -{ - ( theWrappedObject->setPosition(p)); -} - -void PythonQtWrapper_QTextLayout::setPreeditArea(QTextLayout* theWrappedObject, int position, const QString& text) -{ - ( theWrappedObject->setPreeditArea(position, text)); -} - -void PythonQtWrapper_QTextLayout::setRawFont(QTextLayout* theWrappedObject, const QRawFont& rawFont) -{ - ( theWrappedObject->setRawFont(rawFont)); -} - -void PythonQtWrapper_QTextLayout::setText(QTextLayout* theWrappedObject, const QString& string) -{ - ( theWrappedObject->setText(string)); -} - -void PythonQtWrapper_QTextLayout::setTextOption(QTextLayout* theWrappedObject, const QTextOption& option) -{ - ( theWrappedObject->setTextOption(option)); -} - -QString PythonQtWrapper_QTextLayout::text(QTextLayout* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -const QTextOption* PythonQtWrapper_QTextLayout::textOption(QTextLayout* theWrappedObject) const -{ - return &( theWrappedObject->textOption()); -} - - - -PythonQtShell_QTextLayout__FormatRange::~PythonQtShell_QTextLayout__FormatRange() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextLayout::FormatRange* PythonQtWrapper_QTextLayout__FormatRange::new_QTextLayout__FormatRange() -{ -return new PythonQtShell_QTextLayout__FormatRange(); } - - - -QTextLine* PythonQtWrapper_QTextLine::new_QTextLine() -{ -return new QTextLine(); } - -qreal PythonQtWrapper_QTextLine::ascent(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->ascent()); -} - -qreal PythonQtWrapper_QTextLine::cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge) const -{ - return ( theWrappedObject->cursorToX(cursorPos, edge)); -} - -qreal PythonQtWrapper_QTextLine::descent(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->descent()); -} - -void PythonQtWrapper_QTextLine::draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection) const -{ - ( theWrappedObject->draw(p, point, selection)); -} - -QList PythonQtWrapper_QTextLine::glyphRuns(QTextLine* theWrappedObject, int from, int length) const -{ - return ( theWrappedObject->glyphRuns(from, length)); -} - -qreal PythonQtWrapper_QTextLine::height(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -qreal PythonQtWrapper_QTextLine::horizontalAdvance(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->horizontalAdvance()); -} - -bool PythonQtWrapper_QTextLine::isValid(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -qreal PythonQtWrapper_QTextLine::leading(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->leading()); -} - -bool PythonQtWrapper_QTextLine::leadingIncluded(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->leadingIncluded()); -} - -int PythonQtWrapper_QTextLine::lineNumber(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->lineNumber()); -} - -QRectF PythonQtWrapper_QTextLine::naturalTextRect(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->naturalTextRect()); -} - -qreal PythonQtWrapper_QTextLine::naturalTextWidth(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->naturalTextWidth()); -} - -QPointF PythonQtWrapper_QTextLine::position(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -QRectF PythonQtWrapper_QTextLine::rect(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->rect()); -} - -void PythonQtWrapper_QTextLine::setLeadingIncluded(QTextLine* theWrappedObject, bool included) -{ - ( theWrappedObject->setLeadingIncluded(included)); -} - -void PythonQtWrapper_QTextLine::setLineWidth(QTextLine* theWrappedObject, qreal width) -{ - ( theWrappedObject->setLineWidth(width)); -} - -void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns) -{ - ( theWrappedObject->setNumColumns(columns)); -} - -void PythonQtWrapper_QTextLine::setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth) -{ - ( theWrappedObject->setNumColumns(columns, alignmentWidth)); -} - -void PythonQtWrapper_QTextLine::setPosition(QTextLine* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPosition(pos)); -} - -int PythonQtWrapper_QTextLine::textLength(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->textLength()); -} - -int PythonQtWrapper_QTextLine::textStart(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->textStart()); -} - -qreal PythonQtWrapper_QTextLine::width(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} - -qreal PythonQtWrapper_QTextLine::x(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->x()); -} - -int PythonQtWrapper_QTextLine::xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2) const -{ - return ( theWrappedObject->xToCursor(x, arg__2)); -} - -qreal PythonQtWrapper_QTextLine::y(QTextLine* theWrappedObject) const -{ - return ( theWrappedObject->y()); -} - - - -PythonQtShell_QTextList::~PythonQtShell_QTextList() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QToolBox::dragMoveEvent(event0); } -void PythonQtShell_QTextList::blockFormatChanged(const QTextBlock& block0) +void PythonQtShell_QToolBox::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("blockFormatChanged"); + static PyObject* name = PyUnicode_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&block0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -588,19 +330,19 @@ if (_wrapper) { } } } - QTextList::blockFormatChanged(block0); + QToolBox::dropEvent(event0); } -void PythonQtShell_QTextList::blockInserted(const QTextBlock& block0) +void PythonQtShell_QToolBox::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("blockInserted"); + static PyObject* name = PyUnicode_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&block0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -610,61 +352,83 @@ if (_wrapper) { } } } - QTextList::blockInserted(block0); + QToolBox::enterEvent(event0); } -void PythonQtShell_QTextList::blockRemoved(const QTextBlock& block0) +bool PythonQtShell_QToolBox::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("blockRemoved"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&block0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextList::blockRemoved(block0); + return QToolBox::event(e0); } -void PythonQtShell_QTextList::childEvent(QChildEvent* event0) +bool PythonQtShell_QToolBox::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextList::childEvent(event0); + return QToolBox::eventFilter(watched0, event1); } -void PythonQtShell_QTextList::customEvent(QEvent* event0) +void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -676,26 +440,26 @@ if (_wrapper) { } } } - QTextList::customEvent(event0); + QToolBox::focusInEvent(event0); } -bool PythonQtShell_QTextList::event(QEvent* event0) +bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -709,26 +473,48 @@ if (_wrapper) { } } } - return QTextList::event(event0); + return QToolBox::focusNextPrevChild(next0); } -bool PythonQtShell_QTextList::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolBox::focusOutEvent(event0); +} +bool PythonQtShell_QToolBox::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -742,168 +528,74 @@ if (_wrapper) { } } } - return QTextList::eventFilter(watched0, event1); + return QToolBox::hasHeightForWidth(); } -void PythonQtShell_QTextList::timerEvent(QTimerEvent* event0) +int PythonQtShell_QToolBox::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextList::timerEvent(event0); -} -QTextList* PythonQtWrapper_QTextList::new_QTextList(QTextDocument* doc) -{ -return new PythonQtShell_QTextList(doc); } - -const QMetaObject* PythonQtShell_QTextList::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextList::staticMetaObject); - } else { - return &QTextList::staticMetaObject; - } -} -int PythonQtShell_QTextList::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextList::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QTextList::add(QTextList* theWrappedObject, const QTextBlock& block) -{ - ( theWrappedObject->add(block)); -} - -int PythonQtWrapper_QTextList::count(QTextList* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -QTextListFormat PythonQtWrapper_QTextList::format(QTextList* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -QTextBlock PythonQtWrapper_QTextList::item(QTextList* theWrappedObject, int i) const -{ - return ( theWrappedObject->item(i)); -} - -int PythonQtWrapper_QTextList::itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const -{ - return ( theWrappedObject->itemNumber(arg__1)); -} - -QString PythonQtWrapper_QTextList::itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const -{ - return ( theWrappedObject->itemText(arg__1)); -} - -void PythonQtWrapper_QTextList::remove(QTextList* theWrappedObject, const QTextBlock& arg__1) -{ - ( theWrappedObject->remove(arg__1)); -} - -void PythonQtWrapper_QTextList::removeItem(QTextList* theWrappedObject, int i) -{ - ( theWrappedObject->removeItem(i)); -} - -void PythonQtWrapper_QTextList::setFormat(QTextList* theWrappedObject, const QTextListFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - - - -PythonQtShell_QTextListFormat::~PythonQtShell_QTextListFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat() -{ -return new PythonQtShell_QTextListFormat(); } - -QTextListFormat* PythonQtWrapper_QTextListFormat::new_QTextListFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextListFormat(fmt); } - -int PythonQtWrapper_QTextListFormat::indent(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->indent()); -} - -bool PythonQtWrapper_QTextListFormat::isValid(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QString PythonQtWrapper_QTextListFormat::numberPrefix(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->numberPrefix()); -} - -QString PythonQtWrapper_QTextListFormat::numberSuffix(QTextListFormat* theWrappedObject) const -{ - return ( theWrappedObject->numberSuffix()); -} - -void PythonQtWrapper_QTextListFormat::setIndent(QTextListFormat* theWrappedObject, int indent) -{ - ( theWrappedObject->setIndent(indent)); -} - -void PythonQtWrapper_QTextListFormat::setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix) -{ - ( theWrappedObject->setNumberPrefix(numberPrefix)); -} - -void PythonQtWrapper_QTextListFormat::setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix) -{ - ( theWrappedObject->setNumberSuffix(numberSuffix)); -} - -void PythonQtWrapper_QTextListFormat::setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style) -{ - ( theWrappedObject->setStyle(style)); + return QToolBox::heightForWidth(arg__1); } - -QTextListFormat::Style PythonQtWrapper_QTextListFormat::style(QTextListFormat* theWrappedObject) const +void PythonQtShell_QToolBox::hideEvent(QHideEvent* event0) { - return ( theWrappedObject->style()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTextObject::~PythonQtShell_QTextObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QToolBox::hideEvent(event0); } -void PythonQtShell_QTextObject::childEvent(QChildEvent* event0) +void PythonQtShell_QToolBox::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -913,19 +605,19 @@ if (_wrapper) { } } } - QTextObject::childEvent(event0); + QToolBox::initPainter(painter0); } -void PythonQtShell_QTextObject::customEvent(QEvent* event0) +void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -935,28 +627,28 @@ if (_wrapper) { } } } - QTextObject::customEvent(event0); + QToolBox::inputMethodEvent(arg__1); } -bool PythonQtShell_QTextObject::event(QEvent* event0) +QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } @@ -968,52 +660,41 @@ if (_wrapper) { } } } - return QTextObject::event(event0); + return QToolBox::inputMethodQuery(arg__1); } -bool PythonQtShell_QTextObject::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QToolBox::itemInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("itemInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextObject::eventFilter(watched0, event1); + QToolBox::itemInserted(index0); } -void PythonQtShell_QTextObject::timerEvent(QTimerEvent* event0) +void PythonQtShell_QToolBox::itemRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("itemRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1023,193 +704,39 @@ if (_wrapper) { } } } - QTextObject::timerEvent(event0); + QToolBox::itemRemoved(index0); } -QTextObject* PythonQtWrapper_QTextObject::new_QTextObject(QTextDocument* doc) -{ -return new PythonQtShell_QTextObject(doc); } - -const QMetaObject* PythonQtShell_QTextObject::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextObject::staticMetaObject); - } else { - return &QTextObject::staticMetaObject; - } -} -int PythonQtShell_QTextObject::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextObject::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QTextDocument* PythonQtWrapper_QTextObject::document(QTextObject* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -QTextFormat PythonQtWrapper_QTextObject::format(QTextObject* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -int PythonQtWrapper_QTextObject::formatIndex(QTextObject* theWrappedObject) const -{ - return ( theWrappedObject->formatIndex()); -} - -int PythonQtWrapper_QTextObject::objectIndex(QTextObject* theWrappedObject) const -{ - return ( theWrappedObject->objectIndex()); -} - -void PythonQtWrapper_QTextObject::setFormat(QTextObject* theWrappedObject, const QTextFormat& format) -{ - ( ((PythonQtPublicPromoter_QTextObject*)theWrappedObject)->promoted_setFormat(format)); -} - - - -QTextOption* PythonQtWrapper_QTextOption::new_QTextOption() -{ -return new QTextOption(); } - -QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(Qt::Alignment alignment) -{ -return new QTextOption(alignment); } - -QTextOption* PythonQtWrapper_QTextOption::new_QTextOption(const QTextOption& o) -{ -return new QTextOption(o); } - -Qt::Alignment PythonQtWrapper_QTextOption::alignment(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -QTextOption::Flags PythonQtWrapper_QTextOption::flags(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -void PythonQtWrapper_QTextOption::setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(alignment)); -} - -void PythonQtWrapper_QTextOption::setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -void PythonQtWrapper_QTextOption::setTabArray(QTextOption* theWrappedObject, const QList& tabStops) -{ - ( theWrappedObject->setTabArray(tabStops)); -} - -void PythonQtWrapper_QTextOption::setTabStop(QTextOption* theWrappedObject, qreal tabStop) -{ - ( theWrappedObject->setTabStop(tabStop)); -} - -void PythonQtWrapper_QTextOption::setTabStopDistance(QTextOption* theWrappedObject, qreal tabStopDistance) -{ - ( theWrappedObject->setTabStopDistance(tabStopDistance)); -} - -void PythonQtWrapper_QTextOption::setTabs(QTextOption* theWrappedObject, const QList& tabStops) -{ - ( theWrappedObject->setTabs(tabStops)); -} - -void PythonQtWrapper_QTextOption::setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection) -{ - ( theWrappedObject->setTextDirection(aDirection)); -} - -void PythonQtWrapper_QTextOption::setUseDesignMetrics(QTextOption* theWrappedObject, bool b) -{ - ( theWrappedObject->setUseDesignMetrics(b)); -} - -void PythonQtWrapper_QTextOption::setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap) -{ - ( theWrappedObject->setWrapMode(wrap)); -} - -QList PythonQtWrapper_QTextOption::tabArray(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->tabArray()); -} - -qreal PythonQtWrapper_QTextOption::tabStop(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->tabStop()); -} - -qreal PythonQtWrapper_QTextOption::tabStopDistance(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->tabStopDistance()); -} - -QList PythonQtWrapper_QTextOption::tabs(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->tabs()); -} - -Qt::LayoutDirection PythonQtWrapper_QTextOption::textDirection(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->textDirection()); -} - -bool PythonQtWrapper_QTextOption::useDesignMetrics(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->useDesignMetrics()); -} - -QTextOption::WrapMode PythonQtWrapper_QTextOption::wrapMode(QTextOption* theWrappedObject) const -{ - return ( theWrappedObject->wrapMode()); -} - - - -PythonQtShell_QTextOption__Tab::~PythonQtShell_QTextOption__Tab() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab() -{ -return new PythonQtShell_QTextOption__Tab(); } - -QTextOption::Tab* PythonQtWrapper_QTextOption__Tab::new_QTextOption__Tab(qreal pos, QTextOption::TabType tabType, QChar delim) -{ -return new PythonQtShell_QTextOption__Tab(pos, tabType, delim); } - -bool PythonQtWrapper_QTextOption__Tab::__ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const -{ - return ( (*theWrappedObject)!= other); -} - -bool PythonQtWrapper_QTextOption__Tab::__eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const +void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* event0) { - return ( (*theWrappedObject)== other); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTextTable::~PythonQtShell_QTextTable() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QToolBox::keyPressEvent(event0); } -void PythonQtShell_QTextTable::childEvent(QChildEvent* event0) +void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1221,14 +748,14 @@ if (_wrapper) { } } } - QTextTable::childEvent(event0); + QToolBox::keyReleaseEvent(event0); } -void PythonQtShell_QTextTable::customEvent(QEvent* event0) +void PythonQtShell_QToolBox::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; @@ -1243,28 +770,28 @@ if (_wrapper) { } } } - QTextTable::customEvent(event0); + QToolBox::leaveEvent(event0); } -bool PythonQtShell_QTextTable::event(QEvent* event0) +int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -1276,28 +803,28 @@ if (_wrapper) { } } } - return QTextTable::event(event0); + return QToolBox::metric(arg__1); } -bool PythonQtShell_QTextTable::eventFilter(QObject* watched0, QEvent* event1) +QSize PythonQtShell_QToolBox::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -1309,17 +836,17 @@ if (_wrapper) { } } } - return QTextTable::eventFilter(watched0, event1); + return QToolBox::minimumSizeHint(); } -void PythonQtShell_QTextTable::timerEvent(QTimerEvent* event0) +void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1331,433 +858,173 @@ if (_wrapper) { } } } - QTextTable::timerEvent(event0); + QToolBox::mouseDoubleClickEvent(event0); } -QTextTable* PythonQtWrapper_QTextTable::new_QTextTable(QTextDocument* doc) -{ -return new PythonQtShell_QTextTable(doc); } - -const QMetaObject* PythonQtShell_QTextTable::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextTable::staticMetaObject); - } else { - return &QTextTable::staticMetaObject; +void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } } } -int PythonQtShell_QTextTable::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextTable::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + QToolBox::mouseMoveEvent(event0); } -void PythonQtWrapper_QTextTable::appendColumns(QTextTable* theWrappedObject, int count) +void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* event0) { - ( theWrappedObject->appendColumns(count)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextTable::appendRows(QTextTable* theWrappedObject, int count) -{ - ( theWrappedObject->appendRows(count)); + QToolBox::mousePressEvent(event0); } - -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const +void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* event0) { - return ( theWrappedObject->cellAt(c)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int position) const -{ - return ( theWrappedObject->cellAt(position)); + QToolBox::mouseReleaseEvent(event0); } - -QTextTableCell PythonQtWrapper_QTextTable::cellAt(QTextTable* theWrappedObject, int row, int col) const +void PythonQtShell_QToolBox::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->cellAt(row, col)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextTable::columns(QTextTable* theWrappedObject) const -{ - return ( theWrappedObject->columns()); -} - -QTextTableFormat PythonQtWrapper_QTextTable::format(QTextTable* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -void PythonQtWrapper_QTextTable::insertColumns(QTextTable* theWrappedObject, int pos, int num) -{ - ( theWrappedObject->insertColumns(pos, num)); -} - -void PythonQtWrapper_QTextTable::insertRows(QTextTable* theWrappedObject, int pos, int num) -{ - ( theWrappedObject->insertRows(pos, num)); -} - -void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor) -{ - ( theWrappedObject->mergeCells(cursor)); -} - -void PythonQtWrapper_QTextTable::mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) -{ - ( theWrappedObject->mergeCells(row, col, numRows, numCols)); -} - -void PythonQtWrapper_QTextTable::removeColumns(QTextTable* theWrappedObject, int pos, int num) -{ - ( theWrappedObject->removeColumns(pos, num)); -} - -void PythonQtWrapper_QTextTable::removeRows(QTextTable* theWrappedObject, int pos, int num) -{ - ( theWrappedObject->removeRows(pos, num)); -} - -void PythonQtWrapper_QTextTable::resize(QTextTable* theWrappedObject, int rows, int cols) -{ - ( theWrappedObject->resize(rows, cols)); -} - -QTextCursor PythonQtWrapper_QTextTable::rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const -{ - return ( theWrappedObject->rowEnd(c)); -} - -QTextCursor PythonQtWrapper_QTextTable::rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const -{ - return ( theWrappedObject->rowStart(c)); -} - -int PythonQtWrapper_QTextTable::rows(QTextTable* theWrappedObject) const -{ - return ( theWrappedObject->rows()); -} - -void PythonQtWrapper_QTextTable::setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QTextTable::splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols) -{ - ( theWrappedObject->splitCell(row, col, numRows, numCols)); -} - - - -QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell() -{ -return new QTextTableCell(); } - -QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell(const QTextTableCell& o) -{ -return new QTextTableCell(o); } - -QTextFrame::iterator PythonQtWrapper_QTextTableCell::begin(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->begin()); -} - -int PythonQtWrapper_QTextTableCell::column(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->column()); -} - -int PythonQtWrapper_QTextTableCell::columnSpan(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->columnSpan()); -} - -QTextFrame::iterator PythonQtWrapper_QTextTableCell::end(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->end()); -} - -QTextCursor PythonQtWrapper_QTextTableCell::firstCursorPosition(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->firstCursorPosition()); -} - -int PythonQtWrapper_QTextTableCell::firstPosition(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->firstPosition()); -} - -QTextCharFormat PythonQtWrapper_QTextTableCell::format(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -bool PythonQtWrapper_QTextTableCell::isValid(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QTextCursor PythonQtWrapper_QTextTableCell::lastCursorPosition(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->lastCursorPosition()); -} - -int PythonQtWrapper_QTextTableCell::lastPosition(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->lastPosition()); -} - -bool PythonQtWrapper_QTextTableCell::__ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const -{ - return ( (*theWrappedObject)!= other); -} - -bool PythonQtWrapper_QTextTableCell::__eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const -{ - return ( (*theWrappedObject)== other); -} - -int PythonQtWrapper_QTextTableCell::row(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->row()); -} - -int PythonQtWrapper_QTextTableCell::rowSpan(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->rowSpan()); -} - -void PythonQtWrapper_QTextTableCell::setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - -int PythonQtWrapper_QTextTableCell::tableCellFormatIndex(QTextTableCell* theWrappedObject) const -{ - return ( theWrappedObject->tableCellFormatIndex()); -} - - - -PythonQtShell_QTextTableCellFormat::~PythonQtShell_QTextTableCellFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat() -{ -return new PythonQtShell_QTextTableCellFormat(); } - -QTextTableCellFormat* PythonQtWrapper_QTextTableCellFormat::new_QTextTableCellFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextTableCellFormat(fmt); } - -qreal PythonQtWrapper_QTextTableCellFormat::bottomPadding(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->bottomPadding()); -} - -bool PythonQtWrapper_QTextTableCellFormat::isValid(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -qreal PythonQtWrapper_QTextTableCellFormat::leftPadding(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->leftPadding()); -} - -qreal PythonQtWrapper_QTextTableCellFormat::rightPadding(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->rightPadding()); -} - -void PythonQtWrapper_QTextTableCellFormat::setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setBottomPadding(padding)); -} - -void PythonQtWrapper_QTextTableCellFormat::setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setLeftPadding(padding)); -} - -void PythonQtWrapper_QTextTableCellFormat::setPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setPadding(padding)); -} - -void PythonQtWrapper_QTextTableCellFormat::setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setRightPadding(padding)); -} - -void PythonQtWrapper_QTextTableCellFormat::setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setTopPadding(padding)); -} - -qreal PythonQtWrapper_QTextTableCellFormat::topPadding(QTextTableCellFormat* theWrappedObject) const -{ - return ( theWrappedObject->topPadding()); -} - - - -PythonQtShell_QTextTableFormat::~PythonQtShell_QTextTableFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat() -{ -return new PythonQtShell_QTextTableFormat(); } - -QTextTableFormat* PythonQtWrapper_QTextTableFormat::new_QTextTableFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextTableFormat(fmt); } - -Qt::Alignment PythonQtWrapper_QTextTableFormat::alignment(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -qreal PythonQtWrapper_QTextTableFormat::cellPadding(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->cellPadding()); -} - -qreal PythonQtWrapper_QTextTableFormat::cellSpacing(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->cellSpacing()); -} - -void PythonQtWrapper_QTextTableFormat::clearColumnWidthConstraints(QTextTableFormat* theWrappedObject) -{ - ( theWrappedObject->clearColumnWidthConstraints()); -} - -QVector PythonQtWrapper_QTextTableFormat::columnWidthConstraints(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->columnWidthConstraints()); -} - -int PythonQtWrapper_QTextTableFormat::columns(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->columns()); -} - -int PythonQtWrapper_QTextTableFormat::headerRowCount(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->headerRowCount()); -} - -bool PythonQtWrapper_QTextTableFormat::isValid(QTextTableFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QTextTableFormat::setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(alignment)); -} - -void PythonQtWrapper_QTextTableFormat::setCellPadding(QTextTableFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setCellPadding(padding)); -} - -void PythonQtWrapper_QTextTableFormat::setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setCellSpacing(spacing)); -} - -void PythonQtWrapper_QTextTableFormat::setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector& constraints) -{ - ( theWrappedObject->setColumnWidthConstraints(constraints)); -} - -void PythonQtWrapper_QTextTableFormat::setColumns(QTextTableFormat* theWrappedObject, int columns) -{ - ( theWrappedObject->setColumns(columns)); -} - -void PythonQtWrapper_QTextTableFormat::setHeaderRowCount(QTextTableFormat* theWrappedObject, int count) -{ - ( theWrappedObject->setHeaderRowCount(count)); -} - - - -PythonQtShell_QTileRules::~PythonQtShell_QTileRules() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTileRules* PythonQtWrapper_QTileRules::new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule) -{ -return new PythonQtShell_QTileRules(horizontalRule, verticalRule); } - -QTileRules* PythonQtWrapper_QTileRules::new_QTileRules(Qt::TileRule rule) -{ -return new PythonQtShell_QTileRules(rule); } - - - -PythonQtShell_QTimeEdit::~PythonQtShell_QTimeEdit() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QToolBox::moveEvent(event0); } -void PythonQtShell_QTimeEdit::actionEvent(QActionEvent* event0) +bool PythonQtShell_QToolBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); + static PyObject* name = PyUnicode_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::actionEvent(event0); + return QToolBox::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QTimeEdit::changeEvent(QEvent* event0) +QPaintEngine* PythonQtShell_QToolBox::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); + static PyObject* name = PyUnicode_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::changeEvent(event0); + return QToolBox::paintEngine(); } -void PythonQtShell_QTimeEdit::childEvent(QChildEvent* event0) +void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1767,39 +1034,50 @@ if (_wrapper) { } } } - QTimeEdit::childEvent(event0); + QToolBox::paintEvent(arg__1); } -void PythonQtShell_QTimeEdit::clear() +QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("clear"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::clear(); + return QToolBox::redirected(offset0); } -void PythonQtShell_QTimeEdit::closeEvent(QCloseEvent* event0) +void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); + static PyObject* name = PyUnicode_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1811,19 +1089,19 @@ if (_wrapper) { } } } - QTimeEdit::closeEvent(event0); + QToolBox::resizeEvent(event0); } -void PythonQtShell_QTimeEdit::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QToolBox::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + static PyObject* name = PyUnicode_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1833,83 +1111,83 @@ if (_wrapper) { } } } - QTimeEdit::contextMenuEvent(event0); + QToolBox::setVisible(visible0); } -void PythonQtShell_QTimeEdit::customEvent(QEvent* event0) +QPainter* PythonQtShell_QToolBox::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::customEvent(event0); + return QToolBox::sharedPainter(); } -QDateTime PythonQtShell_QTimeEdit::dateTimeFromText(const QString& text0) const +void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dateTimeFromText"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QDateTime" , "const QString&"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QDateTime returnValue{}; - void* args[2] = {nullptr, (void*)&text0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("dateTimeFromText", methodInfo, result); - } else { - returnValue = *((QDateTime*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::dateTimeFromText(text0); + QToolBox::showEvent(e0); } -int PythonQtShell_QTimeEdit::devType() const +QSize PythonQtShell_QToolBox::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -1921,17 +1199,17 @@ if (_wrapper) { } } } - return QTimeEdit::devType(); + return QToolBox::sizeHint(); } -void PythonQtShell_QTimeEdit::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + static PyObject* name = PyUnicode_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1943,17 +1221,17 @@ if (_wrapper) { } } } - QTimeEdit::dragEnterEvent(event0); + QToolBox::tabletEvent(event0); } -void PythonQtShell_QTimeEdit::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QToolBox::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1965,17 +1243,17 @@ if (_wrapper) { } } } - QTimeEdit::dragLeaveEvent(event0); + QToolBox::timerEvent(event0); } -void PythonQtShell_QTimeEdit::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + static PyObject* name = PyUnicode_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1987,19 +1265,142 @@ if (_wrapper) { } } } - QTimeEdit::dragMoveEvent(event0); + QToolBox::wheelEvent(event0); +} +QToolBox* PythonQtWrapper_QToolBox::new_QToolBox(QWidget* parent, Qt::WindowFlags f) +{ +return new PythonQtShell_QToolBox(parent, f); } + +const QMetaObject* PythonQtShell_QToolBox::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolBox::staticMetaObject); + } else { + return &QToolBox::staticMetaObject; + } +} +int PythonQtShell_QToolBox::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QToolBox::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addItem(widget, icon, text)); +} + +int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& text) +{ + return ( theWrappedObject->addItem(widget, text)); +} + +int PythonQtWrapper_QToolBox::count(QToolBox* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QToolBox::currentIndex(QToolBox* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +QWidget* PythonQtWrapper_QToolBox::currentWidget(QToolBox* theWrappedObject) const +{ + return ( theWrappedObject->currentWidget()); +} + +int PythonQtWrapper_QToolBox::indexOf(QToolBox* theWrappedObject, QWidget* widget) const +{ + return ( theWrappedObject->indexOf(widget)); +} + +int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->insertItem(index, widget, icon, text)); +} + +int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QString& text) +{ + return ( theWrappedObject->insertItem(index, widget, text)); +} + +bool PythonQtWrapper_QToolBox::isItemEnabled(QToolBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->isItemEnabled(index)); +} + +QIcon PythonQtWrapper_QToolBox::itemIcon(QToolBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->itemIcon(index)); +} + +void PythonQtWrapper_QToolBox::itemInserted(QToolBox* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemInserted(index)); +} + +void PythonQtWrapper_QToolBox::itemRemoved(QToolBox* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemRemoved(index)); +} + +QString PythonQtWrapper_QToolBox::itemText(QToolBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->itemText(index)); +} + +QString PythonQtWrapper_QToolBox::itemToolTip(QToolBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->itemToolTip(index)); +} + +void PythonQtWrapper_QToolBox::removeItem(QToolBox* theWrappedObject, int index) +{ + ( theWrappedObject->removeItem(index)); +} + +void PythonQtWrapper_QToolBox::setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled) +{ + ( theWrappedObject->setItemEnabled(index, enabled)); +} + +void PythonQtWrapper_QToolBox::setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon) +{ + ( theWrappedObject->setItemIcon(index, icon)); +} + +void PythonQtWrapper_QToolBox::setItemText(QToolBox* theWrappedObject, int index, const QString& text) +{ + ( theWrappedObject->setItemText(index, text)); +} + +void PythonQtWrapper_QToolBox::setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip) +{ + ( theWrappedObject->setItemToolTip(index, toolTip)); +} + +QWidget* PythonQtWrapper_QToolBox::widget(QToolBox* theWrappedObject, int index) const +{ + return ( theWrappedObject->widget(index)); +} + + + +PythonQtShell_QToolButton::~PythonQtShell_QToolButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTimeEdit::dropEvent(QDropEvent* event0) +void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); + static PyObject* name = PyUnicode_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2009,19 +1410,19 @@ if (_wrapper) { } } } - QTimeEdit::dropEvent(event0); + QToolButton::actionEvent(arg__1); } -void PythonQtShell_QTimeEdit::enterEvent(QEvent* event0) +void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); + static PyObject* name = PyUnicode_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2031,85 +1432,63 @@ if (_wrapper) { } } } - QTimeEdit::enterEvent(event0); + QToolButton::changeEvent(arg__1); } -bool PythonQtShell_QTimeEdit::event(QEvent* event0) +void PythonQtShell_QToolButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::event(event0); + QToolButton::checkStateSet(); } -bool PythonQtShell_QTimeEdit::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QToolButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::eventFilter(watched0, event1); + QToolButton::childEvent(event0); } -void PythonQtShell_QTimeEdit::fixup(QString& input0) const +void PythonQtShell_QToolButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("fixup"); + static PyObject* name = PyUnicode_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QString&"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&input0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2119,17 +1498,17 @@ if (_wrapper) { } } } - QTimeEdit::fixup(input0); + QToolButton::closeEvent(event0); } -void PythonQtShell_QTimeEdit::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -2141,28 +1520,50 @@ if (_wrapper) { } } } - QTimeEdit::focusInEvent(event0); + QToolButton::contextMenuEvent(event0); } -bool PythonQtShell_QTimeEdit::focusNextPrevChild(bool next0) +void PythonQtShell_QToolButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QToolButton::customEvent(event0); +} +int PythonQtShell_QToolButton::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -2174,17 +1575,17 @@ if (_wrapper) { } } } - return QTimeEdit::focusNextPrevChild(next0); + return QToolButton::devType(); } -void PythonQtShell_QTimeEdit::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -2196,83 +1597,61 @@ if (_wrapper) { } } } - QTimeEdit::focusOutEvent(event0); + QToolButton::dragEnterEvent(event0); } -bool PythonQtShell_QTimeEdit::hasHeightForWidth() const +void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::hasHeightForWidth(); + QToolButton::dragLeaveEvent(event0); } -int PythonQtShell_QTimeEdit::heightForWidth(int arg__1) const +void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::heightForWidth(arg__1); + QToolButton::dragMoveEvent(event0); } -void PythonQtShell_QTimeEdit::hideEvent(QHideEvent* event0) +void PythonQtShell_QToolButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); + static PyObject* name = PyUnicode_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -2284,19 +1663,19 @@ if (_wrapper) { } } } - QTimeEdit::hideEvent(event0); + QToolButton::dropEvent(event0); } -void PythonQtShell_QTimeEdit::initPainter(QPainter* painter0) const +void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); + static PyObject* name = PyUnicode_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2306,50 +1685,61 @@ if (_wrapper) { } } } - QTimeEdit::initPainter(painter0); + QToolButton::enterEvent(arg__1); } -void PythonQtShell_QTimeEdit::inputMethodEvent(QInputMethodEvent* arg__1) +bool PythonQtShell_QToolButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::inputMethodEvent(arg__1); + return QToolButton::event(e0); } -QVariant PythonQtShell_QTimeEdit::inputMethodQuery(Qt::InputMethodQuery arg__1) const +bool PythonQtShell_QToolButton::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -2361,19 +1751,19 @@ if (_wrapper) { } } } - return QTimeEdit::inputMethodQuery(arg__1); + return QToolButton::eventFilter(watched0, event1); } -void PythonQtShell_QTimeEdit::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2383,41 +1773,52 @@ if (_wrapper) { } } } - QTimeEdit::keyPressEvent(event0); + QToolButton::focusInEvent(e0); } -void PythonQtShell_QTimeEdit::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::keyReleaseEvent(event0); + return QToolButton::focusNextPrevChild(next0); } -void PythonQtShell_QTimeEdit::leaveEvent(QEvent* event0) +void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); + static PyObject* name = PyUnicode_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2427,28 +1828,28 @@ if (_wrapper) { } } } - QTimeEdit::leaveEvent(event0); + QToolButton::focusOutEvent(e0); } -int PythonQtShell_QTimeEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QToolButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -2460,28 +1861,28 @@ if (_wrapper) { } } } - return QTimeEdit::metric(arg__1); + return QToolButton::hasHeightForWidth(); } -QSize PythonQtShell_QTimeEdit::minimumSizeHint() const +int PythonQtShell_QToolButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -2493,17 +1894,17 @@ if (_wrapper) { } } } - return QTimeEdit::minimumSizeHint(); + return QToolButton::heightForWidth(arg__1); } -void PythonQtShell_QTimeEdit::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyUnicode_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -2515,41 +1916,52 @@ if (_wrapper) { } } } - QTimeEdit::mouseDoubleClickEvent(event0); + QToolButton::hideEvent(event0); } -void PythonQtShell_QTimeEdit::mouseMoveEvent(QMouseEvent* event0) +bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + static PyObject* name = PyUnicode_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::mouseMoveEvent(event0); + return QToolButton::hitButton(pos0); } -void PythonQtShell_QTimeEdit::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2559,19 +1971,19 @@ if (_wrapper) { } } } - QTimeEdit::mousePressEvent(event0); + QToolButton::initPainter(painter0); } -void PythonQtShell_QTimeEdit::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2581,107 +1993,96 @@ if (_wrapper) { } } } - QTimeEdit::mouseReleaseEvent(event0); + QToolButton::inputMethodEvent(arg__1); } -void PythonQtShell_QTimeEdit::moveEvent(QMoveEvent* event0) +QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::moveEvent(event0); + return QToolButton::inputMethodQuery(arg__1); } -bool PythonQtShell_QTimeEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::nativeEvent(eventType0, message1, result2); + QToolButton::keyPressEvent(e0); } -QPaintEngine* PythonQtShell_QTimeEdit::paintEngine() const +void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::paintEngine(); + QToolButton::keyReleaseEvent(e0); } -void PythonQtShell_QTimeEdit::paintEvent(QPaintEvent* event0) +void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); + static PyObject* name = PyUnicode_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2691,28 +2092,28 @@ if (_wrapper) { } } } - QTimeEdit::paintEvent(event0); + QToolButton::leaveEvent(arg__1); } -QPaintDevice* PythonQtShell_QTimeEdit::redirected(QPoint* offset0) const +int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } @@ -2724,41 +2125,52 @@ if (_wrapper) { } } } - return QTimeEdit::redirected(offset0); + return QToolButton::metric(arg__1); } -void PythonQtShell_QTimeEdit::resizeEvent(QResizeEvent* event0) +QSize PythonQtShell_QToolButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTimeEdit::resizeEvent(event0); + return QToolButton::minimumSizeHint(); } -void PythonQtShell_QTimeEdit::setVisible(bool visible0) +void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2768,52 +2180,41 @@ if (_wrapper) { } } } - QTimeEdit::setVisible(visible0); + QToolButton::mouseDoubleClickEvent(event0); } -QPainter* PythonQtShell_QTimeEdit::sharedPainter() const +void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::sharedPainter(); + QToolButton::mouseMoveEvent(e0); } -void PythonQtShell_QTimeEdit::showEvent(QShowEvent* event0) +void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2823,52 +2224,41 @@ if (_wrapper) { } } } - QTimeEdit::showEvent(event0); + QToolButton::mousePressEvent(arg__1); } -QSize PythonQtShell_QTimeEdit::sizeHint() const +void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTimeEdit::sizeHint(); + QToolButton::mouseReleaseEvent(arg__1); } -void PythonQtShell_QTimeEdit::stepBy(int steps0) +void PythonQtShell_QToolButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("stepBy"); + static PyObject* name = PyUnicode_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&steps0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2878,28 +2268,28 @@ if (_wrapper) { } } } - QTimeEdit::stepBy(steps0); + QToolButton::moveEvent(event0); } -QAbstractSpinBox::StepEnabled PythonQtShell_QTimeEdit::stepEnabled() const +bool PythonQtShell_QToolButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("stepEnabled"); + static PyObject* name = PyUnicode_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QAbstractSpinBox::StepEnabled"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QAbstractSpinBox::StepEnabled returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("stepEnabled", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((QAbstractSpinBox::StepEnabled*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -2911,19 +2301,19 @@ if (_wrapper) { } } } - return QTimeEdit::stepEnabled(); + return QToolButton::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QTimeEdit::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QToolButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2933,28 +2323,28 @@ if (_wrapper) { } } } - QTimeEdit::tabletEvent(event0); + QToolButton::nextCheckState(); } -QString PythonQtShell_QTimeEdit::textFromDateTime(const QDateTime& dt0) const +QPaintEngine* PythonQtShell_QToolButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("textFromDateTime"); + static PyObject* name = PyUnicode_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString" , "const QDateTime&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QString returnValue{}; - void* args[2] = {nullptr, (void*)&dt0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("textFromDateTime", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } @@ -2966,19 +2356,19 @@ if (_wrapper) { } } } - return QTimeEdit::textFromDateTime(dt0); + return QToolButton::paintEngine(); } -void PythonQtShell_QTimeEdit::timerEvent(QTimerEvent* event0) +void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2988,28 +2378,28 @@ if (_wrapper) { } } } - QTimeEdit::timerEvent(event0); + QToolButton::paintEvent(arg__1); } -QValidator::State PythonQtShell_QTimeEdit::validate(QString& input0, int& pos1) const +QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("validate"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue{}; - void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QValidator::State*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } @@ -3021,110 +2411,17 @@ if (_wrapper) { } } } - return QTimeEdit::validate(input0, pos1); -} -void PythonQtShell_QTimeEdit::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTimeEdit::wheelEvent(event0); -} -QTimeEdit* PythonQtWrapper_QTimeEdit::new_QTimeEdit(QWidget* parent) -{ -return new PythonQtShell_QTimeEdit(parent); } - -QTimeEdit* PythonQtWrapper_QTimeEdit::new_QTimeEdit(const QTime& time, QWidget* parent) -{ -return new PythonQtShell_QTimeEdit(time, parent); } - -const QMetaObject* PythonQtShell_QTimeEdit::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTimeEdit::staticMetaObject); - } else { - return &QTimeEdit::staticMetaObject; - } -} -int PythonQtShell_QTimeEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTimeEdit::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} - - -PythonQtShell_QToolBar::~PythonQtShell_QToolBar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QToolBar::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QToolBar::actionEvent(event0); -} -void PythonQtShell_QToolBar::changeEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QToolBar::changeEvent(event0); + return QToolButton::redirected(offset0); } -void PythonQtShell_QToolBar::childEvent(QChildEvent* event0) +void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -3136,19 +2433,19 @@ if (_wrapper) { } } } - QToolBar::childEvent(event0); + QToolButton::resizeEvent(event0); } -void PythonQtShell_QToolBar::closeEvent(QCloseEvent* event0) +void PythonQtShell_QToolButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); + static PyObject* name = PyUnicode_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -3158,39 +2455,50 @@ if (_wrapper) { } } } - QToolBar::closeEvent(event0); + QToolButton::setVisible(visible0); } -void PythonQtShell_QToolBar::contextMenuEvent(QContextMenuEvent* event0) +QPainter* PythonQtShell_QToolButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBar::contextMenuEvent(event0); + return QToolButton::sharedPainter(); } -void PythonQtShell_QToolBar::customEvent(QEvent* event0) +void PythonQtShell_QToolButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -3202,28 +2510,28 @@ if (_wrapper) { } } } - QToolBar::customEvent(event0); + QToolButton::showEvent(event0); } -int PythonQtShell_QToolBar::devType() const +QSize PythonQtShell_QToolButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -3235,17 +2543,17 @@ if (_wrapper) { } } } - return QToolBar::devType(); + return QToolButton::sizeHint(); } -void PythonQtShell_QToolBar::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + static PyObject* name = PyUnicode_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -3257,19 +2565,19 @@ if (_wrapper) { } } } - QToolBar::dragEnterEvent(event0); + QToolButton::tabletEvent(event0); } -void PythonQtShell_QToolBar::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -3279,17 +2587,17 @@ if (_wrapper) { } } } - QToolBar::dragLeaveEvent(event0); + QToolButton::timerEvent(arg__1); } -void PythonQtShell_QToolBar::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + static PyObject* name = PyUnicode_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -3301,347 +2609,8781 @@ if (_wrapper) { } } } - QToolBar::dragMoveEvent(event0); + QToolButton::wheelEvent(event0); } -void PythonQtShell_QToolBar::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QToolButton* PythonQtWrapper_QToolButton::new_QToolButton(QWidget* parent) +{ +return new PythonQtShell_QToolButton(parent); } + +const QMetaObject* PythonQtShell_QToolButton::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolButton::staticMetaObject); + } else { + return &QToolButton::staticMetaObject; } } - QToolBar::dropEvent(event0); +int PythonQtShell_QToolButton::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QToolButton::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QToolBar::enterEvent(QEvent* event0) +Qt::ArrowType PythonQtWrapper_QToolButton::arrowType(QToolButton* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QToolBar::enterEvent(event0); + return ( theWrappedObject->arrowType()); } -bool PythonQtShell_QToolBar::event(QEvent* event0) + +bool PythonQtWrapper_QToolButton::autoRaise(QToolButton* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->autoRaise()); } - return QToolBar::event(event0); + +QAction* PythonQtWrapper_QToolButton::defaultAction(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->defaultAction()); } -bool PythonQtShell_QToolBar::eventFilter(QObject* watched0, QEvent* event1) + +void PythonQtWrapper_QToolButton::initStyleOption(QToolButton* theWrappedObject, QStyleOptionToolButton* option) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QToolBar::eventFilter(watched0, event1); + ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_initStyleOption(option)); } -void PythonQtShell_QToolBar::focusInEvent(QFocusEvent* event0) + +QMenu* PythonQtWrapper_QToolButton::menu(QToolButton* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QToolBar::focusInEvent(event0); + return ( theWrappedObject->menu()); } -bool PythonQtShell_QToolBar::focusNextPrevChild(bool next0) + +QToolButton::ToolButtonPopupMode PythonQtWrapper_QToolButton::popupMode(QToolButton* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->popupMode()); } - return QToolBar::focusNextPrevChild(next0); + +void PythonQtWrapper_QToolButton::setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type) +{ + ( theWrappedObject->setArrowType(type)); } -void PythonQtShell_QToolBar::focusOutEvent(QFocusEvent* event0) + +void PythonQtWrapper_QToolButton::setAutoRaise(QToolButton* theWrappedObject, bool enable) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setAutoRaise(enable)); } - QToolBar::focusOutEvent(event0); + +void PythonQtWrapper_QToolButton::setMenu(QToolButton* theWrappedObject, QMenu* menu) +{ + ( theWrappedObject->setMenu(menu)); } -bool PythonQtShell_QToolBar::hasHeightForWidth() const + +void PythonQtWrapper_QToolButton::setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPopupMode(mode)); } - return QToolBar::hasHeightForWidth(); + +Qt::ToolButtonStyle PythonQtWrapper_QToolButton::toolButtonStyle(QToolButton* theWrappedObject) const +{ + return ( theWrappedObject->toolButtonStyle()); } -int PythonQtShell_QToolBar::heightForWidth(int arg__1) const + + + +QFont PythonQtWrapper_QToolTip::static_QToolTip_font() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QToolTip::font()); } - return QToolBar::heightForWidth(arg__1); + +void PythonQtWrapper_QToolTip::static_QToolTip_hideText() +{ + (QToolTip::hideText()); } -void PythonQtShell_QToolBar::hideEvent(QHideEvent* event0) + +bool PythonQtWrapper_QToolTip::static_QToolTip_isVisible() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return (QToolTip::isVisible()); } - QToolBar::hideEvent(event0); + +QPalette PythonQtWrapper_QToolTip::static_QToolTip_palette() +{ + return (QToolTip::palette()); } -void PythonQtShell_QToolBar::initPainter(QPainter* painter0) const + +void PythonQtWrapper_QToolTip::static_QToolTip_setFont(const QFont& arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + (QToolTip::setFont(arg__1)); } - QToolBar::initPainter(painter0); + +void PythonQtWrapper_QToolTip::static_QToolTip_setPalette(const QPalette& arg__1) +{ + (QToolTip::setPalette(arg__1)); } -void PythonQtShell_QToolBar::inputMethodEvent(QInputMethodEvent* arg__1) + +void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + (QToolTip::showText(pos, text, w)); } - QToolBar::inputMethodEvent(arg__1); + +void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect) +{ + (QToolTip::showText(pos, text, w, rect)); } -QVariant PythonQtShell_QToolBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const + +void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect, int msecShowTime) +{ + (QToolTip::showText(pos, text, w, rect, msecShowTime)); +} + +QString PythonQtWrapper_QToolTip::static_QToolTip_text() +{ + return (QToolTip::text()); +} + + + +QTouchDevice* PythonQtWrapper_QTouchDevice::new_QTouchDevice() +{ +return new QTouchDevice(); } + +QTouchDevice::Capabilities PythonQtWrapper_QTouchDevice::capabilities(QTouchDevice* theWrappedObject) const +{ + return ( theWrappedObject->capabilities()); +} + +QList PythonQtWrapper_QTouchDevice::static_QTouchDevice_devices() +{ + return (QTouchDevice::devices()); +} + +int PythonQtWrapper_QTouchDevice::maximumTouchPoints(QTouchDevice* theWrappedObject) const +{ + return ( theWrappedObject->maximumTouchPoints()); +} + +QString PythonQtWrapper_QTouchDevice::name(QTouchDevice* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +void PythonQtWrapper_QTouchDevice::setCapabilities(QTouchDevice* theWrappedObject, QTouchDevice::Capabilities caps) +{ + ( theWrappedObject->setCapabilities(caps)); +} + +void PythonQtWrapper_QTouchDevice::setMaximumTouchPoints(QTouchDevice* theWrappedObject, int max) +{ + ( theWrappedObject->setMaximumTouchPoints(max)); +} + +void PythonQtWrapper_QTouchDevice::setName(QTouchDevice* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setName(name)); +} + +void PythonQtWrapper_QTouchDevice::setType(QTouchDevice* theWrappedObject, QTouchDevice::DeviceType devType) +{ + ( theWrappedObject->setType(devType)); +} + +QTouchDevice::DeviceType PythonQtWrapper_QTouchDevice::type(QTouchDevice* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QTouchDevice::py_toString(QTouchDevice* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QTouchEvent::~PythonQtShell_QTouchEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTouchEvent* PythonQtWrapper_QTouchEvent::new_QTouchEvent(QEvent::Type eventType, QTouchDevice* device, Qt::KeyboardModifiers modifiers, Qt::TouchPointStates touchPointStates, const QList& touchPoints) +{ +return new PythonQtShell_QTouchEvent(eventType, device, modifiers, touchPointStates, touchPoints); } + +QTouchDevice* PythonQtWrapper_QTouchEvent::device(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->device()); +} + +void PythonQtWrapper_QTouchEvent::setDevice(QTouchEvent* theWrappedObject, QTouchDevice* adevice) +{ + ( theWrappedObject->setDevice(adevice)); +} + +void PythonQtWrapper_QTouchEvent::setTarget(QTouchEvent* theWrappedObject, QObject* atarget) +{ + ( theWrappedObject->setTarget(atarget)); +} + +void PythonQtWrapper_QTouchEvent::setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates) +{ + ( theWrappedObject->setTouchPointStates(aTouchPointStates)); +} + +void PythonQtWrapper_QTouchEvent::setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints) +{ + ( theWrappedObject->setTouchPoints(atouchPoints)); +} + +void PythonQtWrapper_QTouchEvent::setWindow(QTouchEvent* theWrappedObject, QWindow* awindow) +{ + ( theWrappedObject->setWindow(awindow)); +} + +QObject* PythonQtWrapper_QTouchEvent::target(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->target()); +} + +Qt::TouchPointStates PythonQtWrapper_QTouchEvent::touchPointStates(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->touchPointStates()); +} + +const QList* PythonQtWrapper_QTouchEvent::touchPoints(QTouchEvent* theWrappedObject) const +{ + return &( theWrappedObject->touchPoints()); +} + +QWindow* PythonQtWrapper_QTouchEvent::window(QTouchEvent* theWrappedObject) const +{ + return ( theWrappedObject->window()); +} + + + +QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::new_QTouchEvent__TouchPoint(const QTouchEvent::TouchPoint& other) +{ +return new QTouchEvent::TouchPoint(other); } + +QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::new_QTouchEvent__TouchPoint(int id) +{ +return new QTouchEvent::TouchPoint(id); } + +QSizeF PythonQtWrapper_QTouchEvent__TouchPoint::ellipseDiameters(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->ellipseDiameters()); +} + +QTouchEvent::TouchPoint::InfoFlags PythonQtWrapper_QTouchEvent__TouchPoint::flags(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +int PythonQtWrapper_QTouchEvent__TouchPoint::id(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->id()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastNormalizedPos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastPos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastScenePos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastScenePos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->lastScreenPos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::normalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->normalizedPos()); +} + +QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::operator_assign(QTouchEvent::TouchPoint* theWrappedObject, const QTouchEvent::TouchPoint& other) +{ + return &( (*theWrappedObject)= other); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::pos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +qreal PythonQtWrapper_QTouchEvent__TouchPoint::pressure(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->pressure()); +} + +QVector PythonQtWrapper_QTouchEvent__TouchPoint::rawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->rawScreenPositions()); +} + +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::rect(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->rect()); +} + +qreal PythonQtWrapper_QTouchEvent__TouchPoint::rotation(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->rotation()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::scenePos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->scenePos()); +} + +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::sceneRect(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->sceneRect()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::screenPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->screenPos()); +} + +QRectF PythonQtWrapper_QTouchEvent__TouchPoint::screenRect(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->screenRect()); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setEllipseDiameters(QTouchEvent::TouchPoint* theWrappedObject, const QSizeF& dia) +{ + ( theWrappedObject->setEllipseDiameters(dia)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setFlags(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint::InfoFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setId(QTouchEvent::TouchPoint* theWrappedObject, int id) +{ + ( theWrappedObject->setId(id)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastNormalizedPos) +{ + ( theWrappedObject->setLastNormalizedPos(lastNormalizedPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastPos) +{ + ( theWrappedObject->setLastPos(lastPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScenePos) +{ + ( theWrappedObject->setLastScenePos(lastScenePos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setLastScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScreenPos) +{ + ( theWrappedObject->setLastScreenPos(lastScreenPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& normalizedPos) +{ + ( theWrappedObject->setNormalizedPos(normalizedPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setPos(pos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setPressure(QTouchEvent::TouchPoint* theWrappedObject, qreal pressure) +{ + ( theWrappedObject->setPressure(pressure)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setRawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject, const QVector& positions) +{ + ( theWrappedObject->setRawScreenPositions(positions)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setRect(rect)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setRotation(QTouchEvent::TouchPoint* theWrappedObject, qreal angle) +{ + ( theWrappedObject->setRotation(angle)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& scenePos) +{ + ( theWrappedObject->setScenePos(scenePos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setSceneRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& sceneRect) +{ + ( theWrappedObject->setSceneRect(sceneRect)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& screenPos) +{ + ( theWrappedObject->setScreenPos(screenPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setScreenRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& screenRect) +{ + ( theWrappedObject->setScreenRect(screenRect)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startNormalizedPos) +{ + ( theWrappedObject->setStartNormalizedPos(startNormalizedPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startPos) +{ + ( theWrappedObject->setStartPos(startPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScenePos) +{ + ( theWrappedObject->setStartScenePos(startScenePos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setStartScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScreenPos) +{ + ( theWrappedObject->setStartScreenPos(startScreenPos)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setState(QTouchEvent::TouchPoint* theWrappedObject, Qt::TouchPointStates state) +{ + ( theWrappedObject->setState(state)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setUniqueId(QTouchEvent::TouchPoint* theWrappedObject, qint64 uid) +{ + ( theWrappedObject->setUniqueId(uid)); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::setVelocity(QTouchEvent::TouchPoint* theWrappedObject, const QVector2D& v) +{ + ( theWrappedObject->setVelocity(v)); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startNormalizedPos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startPos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startScenePos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startScenePos()); +} + +QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->startScreenPos()); +} + +Qt::TouchPointState PythonQtWrapper_QTouchEvent__TouchPoint::state(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QTouchEvent__TouchPoint::swap(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint& other) +{ + ( theWrappedObject->swap(other)); +} + +QVector2D PythonQtWrapper_QTouchEvent__TouchPoint::velocity(QTouchEvent::TouchPoint* theWrappedObject) const +{ + return ( theWrappedObject->velocity()); +} + +QString PythonQtWrapper_QTouchEvent__TouchPoint::py_toString(QTouchEvent::TouchPoint* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QTreeView::~PythonQtShell_QTreeView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTreeView::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::actionEvent(event0); +} +void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::changeEvent(arg__1); +} +void PythonQtShell_QTreeView::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::childEvent(event0); +} +void PythonQtShell_QTreeView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::closeEditor(editor0, hint1); +} +void PythonQtShell_QTreeView::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::closeEvent(event0); +} +void PythonQtShell_QTreeView::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::commitData(editor0); +} +void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::contextMenuEvent(arg__1); +} +void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::currentChanged(current0, previous1); +} +void PythonQtShell_QTreeView::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::customEvent(event0); +} +void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::dataChanged(topLeft0, bottomRight1, roles2); +} +int PythonQtShell_QTreeView::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::devType(); +} +void PythonQtShell_QTreeView::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("doItemsLayout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::doItemsLayout(); +} +void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::dragEnterEvent(event0); +} +void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::dragLeaveEvent(event0); +} +void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::dragMoveEvent(event0); +} +void PythonQtShell_QTreeView::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawBranches"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::drawBranches(painter0, rect1, index2); +} +void PythonQtShell_QTreeView::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawRow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&options1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::drawRow(painter0, options1, index2); +} +void PythonQtShell_QTreeView::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::dropEvent(event0); +} +bool PythonQtShell_QTreeView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::edit(index0, trigger1, event2); +} +void PythonQtShell_QTreeView::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::editorDestroyed(editor0); +} +void PythonQtShell_QTreeView::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::enterEvent(event0); +} +bool PythonQtShell_QTreeView::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::event(event0); +} +bool PythonQtShell_QTreeView::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::focusInEvent(event0); +} +bool PythonQtShell_QTreeView::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::focusNextPrevChild(next0); +} +void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::focusOutEvent(event0); +} +bool PythonQtShell_QTreeView::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::hasHeightForWidth(); +} +int PythonQtShell_QTreeView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::heightForWidth(arg__1); +} +void PythonQtShell_QTreeView::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::hideEvent(event0); +} +int PythonQtShell_QTreeView::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("horizontalOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::horizontalOffset(); +} +void PythonQtShell_QTreeView::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::horizontalScrollbarAction(action0); +} +void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::indexAt(p0); +} +void PythonQtShell_QTreeView::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::initPainter(painter0); +} +void PythonQtShell_QTreeView::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::inputMethodEvent(event0); +} +QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::inputMethodQuery(query0); +} +bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::isIndexHidden(index0); +} +void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::keyPressEvent(event0); +} +void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::keyReleaseEvent(event0); +} +void PythonQtShell_QTreeView::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::keyboardSearch(search0); +} +void PythonQtShell_QTreeView::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::leaveEvent(event0); +} +int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::metric(arg__1); +} +QSize PythonQtShell_QTreeView::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::minimumSizeHint(); +} +void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::mouseMoveEvent(event0); +} +void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::mousePressEvent(event0); +} +void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::mouseReleaseEvent(event0); +} +QModelIndex PythonQtShell_QTreeView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::moveCursor(cursorAction0, modifiers1); +} +void PythonQtShell_QTreeView::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::moveEvent(event0); +} +bool PythonQtShell_QTreeView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QTreeView::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::paintEngine(); +} +void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QTreeView::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::redirected(offset0); +} +void PythonQtShell_QTreeView::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::reset(); +} +void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::resizeEvent(event0); +} +void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QTreeView::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::scrollTo(index0, hint1); +} +void PythonQtShell_QTreeView::selectAll() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectAll"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::selectAll(); +} +QList PythonQtShell_QTreeView::selectedIndexes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::selectedIndexes(); +} +void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::selectionCommand(index0, event1); +} +void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&model0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::setModel(model0); +} +void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::setRootIndex(index0); +} +void PythonQtShell_QTreeView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::setSelection(rect0, command1); +} +void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::setSelectionModel(selectionModel0); +} +void PythonQtShell_QTreeView::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::setVisible(visible0); +} +void PythonQtShell_QTreeView::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::setupViewport(viewport0); +} +QPainter* PythonQtShell_QTreeView::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::sharedPainter(); +} +void PythonQtShell_QTreeView::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::showEvent(event0); +} +QSize PythonQtShell_QTreeView::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::sizeHint(); +} +int PythonQtShell_QTreeView::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::sizeHintForColumn(column0); +} +int PythonQtShell_QTreeView::sizeHintForRow(int row0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHintForRow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::sizeHintForRow(row0); +} +void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::startDrag(supportedActions0); +} +void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::tabletEvent(event0); +} +void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::timerEvent(event0); +} +void PythonQtShell_QTreeView::updateEditorData() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("updateEditorData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::updateEditorData(); +} +void PythonQtShell_QTreeView::updateEditorGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::updateEditorGeometries(); +} +void PythonQtShell_QTreeView::updateGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("updateGeometries"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::updateGeometries(); +} +int PythonQtShell_QTreeView::verticalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("verticalOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::verticalOffset(); +} +void PythonQtShell_QTreeView::verticalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::verticalScrollbarAction(action0); +} +void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::viewOptions(); +} +bool PythonQtShell_QTreeView::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("viewportEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::viewportEvent(event0); +} +QSize PythonQtShell_QTreeView::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::viewportSizeHint(); +} +QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("visualRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::visualRect(index0); +} +QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeView::visualRegionForSelection(selection0); +} +void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeView::wheelEvent(arg__1); +} +QTreeView* PythonQtWrapper_QTreeView::new_QTreeView(QWidget* parent) +{ +return new PythonQtShell_QTreeView(parent); } + +const QMetaObject* PythonQtShell_QTreeView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTreeView::staticMetaObject); + } else { + return &QTreeView::staticMetaObject; + } +} +int PythonQtShell_QTreeView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTreeView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QTreeView::allColumnsShowFocus(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->allColumnsShowFocus()); +} + +int PythonQtWrapper_QTreeView::autoExpandDelay(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->autoExpandDelay()); +} + +int PythonQtWrapper_QTreeView::columnAt(QTreeView* theWrappedObject, int x) const +{ + return ( theWrappedObject->columnAt(x)); +} + +int PythonQtWrapper_QTreeView::columnViewportPosition(QTreeView* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnViewportPosition(column)); +} + +int PythonQtWrapper_QTreeView::columnWidth(QTreeView* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnWidth(column)); +} + +void PythonQtWrapper_QTreeView::drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawBranches(painter, rect, index)); +} + +void PythonQtWrapper_QTreeView::drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawRow(painter, options, index)); +} + +void PythonQtWrapper_QTreeView::drawTree(QTreeView* theWrappedObject, QPainter* painter, const QRegion& region) const +{ + ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawTree(painter, region)); +} + +bool PythonQtWrapper_QTreeView::expandsOnDoubleClick(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->expandsOnDoubleClick()); +} + +QHeaderView* PythonQtWrapper_QTreeView::header(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->header()); +} + +int PythonQtWrapper_QTreeView::indentation(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->indentation()); +} + +QModelIndex PythonQtWrapper_QTreeView::indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->indexAbove(index)); +} + +QModelIndex PythonQtWrapper_QTreeView::indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->indexBelow(index)); +} + +int PythonQtWrapper_QTreeView::indexRowSizeHint(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_indexRowSizeHint(index)); +} + +bool PythonQtWrapper_QTreeView::isAnimated(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->isAnimated()); +} + +bool PythonQtWrapper_QTreeView::isColumnHidden(QTreeView* theWrappedObject, int column) const +{ + return ( theWrappedObject->isColumnHidden(column)); +} + +bool PythonQtWrapper_QTreeView::isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( theWrappedObject->isExpanded(index)); +} + +bool PythonQtWrapper_QTreeView::isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const +{ + return ( theWrappedObject->isFirstColumnSpanned(row, parent)); +} + +bool PythonQtWrapper_QTreeView::isHeaderHidden(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->isHeaderHidden()); +} + +bool PythonQtWrapper_QTreeView::isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const +{ + return ( theWrappedObject->isRowHidden(row, parent)); +} + +bool PythonQtWrapper_QTreeView::isSortingEnabled(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->isSortingEnabled()); +} + +bool PythonQtWrapper_QTreeView::itemsExpandable(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->itemsExpandable()); +} + +void PythonQtWrapper_QTreeView::resetIndentation(QTreeView* theWrappedObject) +{ + ( theWrappedObject->resetIndentation()); +} + +bool PythonQtWrapper_QTreeView::rootIsDecorated(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->rootIsDecorated()); +} + +int PythonQtWrapper_QTreeView::rowHeight(QTreeView* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_rowHeight(index)); +} + +void PythonQtWrapper_QTreeView::setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAllColumnsShowFocus(enable)); +} + +void PythonQtWrapper_QTreeView::setAnimated(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setAnimated(enable)); +} + +void PythonQtWrapper_QTreeView::setAutoExpandDelay(QTreeView* theWrappedObject, int delay) +{ + ( theWrappedObject->setAutoExpandDelay(delay)); +} + +void PythonQtWrapper_QTreeView::setColumnHidden(QTreeView* theWrappedObject, int column, bool hide) +{ + ( theWrappedObject->setColumnHidden(column, hide)); +} + +void PythonQtWrapper_QTreeView::setColumnWidth(QTreeView* theWrappedObject, int column, int width) +{ + ( theWrappedObject->setColumnWidth(column, width)); +} + +void PythonQtWrapper_QTreeView::setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand) +{ + ( theWrappedObject->setExpanded(index, expand)); +} + +void PythonQtWrapper_QTreeView::setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setExpandsOnDoubleClick(enable)); +} + +void PythonQtWrapper_QTreeView::setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span) +{ + ( theWrappedObject->setFirstColumnSpanned(row, parent, span)); +} + +void PythonQtWrapper_QTreeView::setHeader(QTreeView* theWrappedObject, QHeaderView* header) +{ + ( theWrappedObject->setHeader(header)); +} + +void PythonQtWrapper_QTreeView::setHeaderHidden(QTreeView* theWrappedObject, bool hide) +{ + ( theWrappedObject->setHeaderHidden(hide)); +} + +void PythonQtWrapper_QTreeView::setIndentation(QTreeView* theWrappedObject, int i) +{ + ( theWrappedObject->setIndentation(i)); +} + +void PythonQtWrapper_QTreeView::setItemsExpandable(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setItemsExpandable(enable)); +} + +void PythonQtWrapper_QTreeView::setRootIsDecorated(QTreeView* theWrappedObject, bool show) +{ + ( theWrappedObject->setRootIsDecorated(show)); +} + +void PythonQtWrapper_QTreeView::setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide) +{ + ( theWrappedObject->setRowHidden(row, parent, hide)); +} + +void PythonQtWrapper_QTreeView::setSortingEnabled(QTreeView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setSortingEnabled(enable)); +} + +void PythonQtWrapper_QTreeView::setTreePosition(QTreeView* theWrappedObject, int logicalIndex) +{ + ( theWrappedObject->setTreePosition(logicalIndex)); +} + +void PythonQtWrapper_QTreeView::setUniformRowHeights(QTreeView* theWrappedObject, bool uniform) +{ + ( theWrappedObject->setUniformRowHeights(uniform)); +} + +void PythonQtWrapper_QTreeView::setWordWrap(QTreeView* theWrappedObject, bool on) +{ + ( theWrappedObject->setWordWrap(on)); +} + +void PythonQtWrapper_QTreeView::sortByColumn(QTreeView* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortByColumn(column, order)); +} + +int PythonQtWrapper_QTreeView::treePosition(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->treePosition()); +} + +bool PythonQtWrapper_QTreeView::uniformRowHeights(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->uniformRowHeights()); +} + +bool PythonQtWrapper_QTreeView::wordWrap(QTreeView* theWrappedObject) const +{ + return ( theWrappedObject->wordWrap()); +} + + + +PythonQtShell_QTreeWidget::~PythonQtShell_QTreeWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::actionEvent(event0); +} +void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::changeEvent(arg__1); +} +void PythonQtShell_QTreeWidget::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::childEvent(event0); +} +void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::closeEditor(editor0, hint1); +} +void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::closeEvent(event0); +} +void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::commitData(editor0); +} +void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::contextMenuEvent(arg__1); +} +void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::currentChanged(current0, previous1); +} +void PythonQtShell_QTreeWidget::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::customEvent(event0); +} +void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::dataChanged(topLeft0, bottomRight1, roles2); +} +int PythonQtShell_QTreeWidget::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::devType(); +} +void PythonQtShell_QTreeWidget::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("doItemsLayout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::doItemsLayout(); +} +void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::dragEnterEvent(event0); +} +void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::dragLeaveEvent(event0); +} +void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::dragMoveEvent(event0); +} +void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawBranches"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::drawBranches(painter0, rect1, index2); +} +void PythonQtShell_QTreeWidget::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawRow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&options1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::drawRow(painter0, options1, index2); +} +void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::dropEvent(event0); +} +bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent0, int index1, const QMimeData* data2, Qt::DropAction action3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropMimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QTreeWidgetItem*" , "int" , "const QMimeData*" , "Qt::DropAction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue{}; + void* args[5] = {nullptr, (void*)&parent0, (void*)&index1, (void*)&data2, (void*)&action3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::dropMimeData(parent0, index1, data2, action3); +} +bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::edit(index0, trigger1, event2); +} +void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::editorDestroyed(editor0); +} +void PythonQtShell_QTreeWidget::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::enterEvent(event0); +} +bool PythonQtShell_QTreeWidget::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::event(e0); +} +bool PythonQtShell_QTreeWidget::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QTreeWidget::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::focusInEvent(event0); +} +bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::focusNextPrevChild(next0); +} +void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::focusOutEvent(event0); +} +bool PythonQtShell_QTreeWidget::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::hasHeightForWidth(); +} +int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::heightForWidth(arg__1); +} +void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::hideEvent(event0); +} +int PythonQtShell_QTreeWidget::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("horizontalOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::horizontalOffset(); +} +void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::horizontalScrollbarAction(action0); +} +void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::indexAt(p0); +} +void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::initPainter(painter0); +} +void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::inputMethodEvent(event0); +} +QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::inputMethodQuery(query0); +} +bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::isIndexHidden(index0); +} +void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::keyPressEvent(event0); +} +void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::keyReleaseEvent(event0); +} +void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::keyboardSearch(search0); +} +void PythonQtShell_QTreeWidget::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::leaveEvent(event0); +} +int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::metric(arg__1); +} +QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&items0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::mimeData(items0); +} +QStringList PythonQtShell_QTreeWidget::mimeTypes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::mimeTypes(); +} +QSize PythonQtShell_QTreeWidget::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::minimumSizeHint(); +} +void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::mouseMoveEvent(event0); +} +void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::mousePressEvent(event0); +} +void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::mouseReleaseEvent(event0); +} +QModelIndex PythonQtShell_QTreeWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::moveCursor(cursorAction0, modifiers1); +} +void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::moveEvent(event0); +} +bool PythonQtShell_QTreeWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::paintEngine(); +} +void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::redirected(offset0); +} +void PythonQtShell_QTreeWidget::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::reset(); +} +void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::resizeEvent(event0); +} +void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::scrollTo(index0, hint1); +} +void PythonQtShell_QTreeWidget::selectAll() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectAll"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::selectAll(); +} +QList PythonQtShell_QTreeWidget::selectedIndexes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::selectedIndexes(); +} +void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::selectionCommand(index0, event1); +} +void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::setRootIndex(index0); +} +void PythonQtShell_QTreeWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::setSelection(rect0, command1); +} +void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectionModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::setSelectionModel(selectionModel0); +} +void PythonQtShell_QTreeWidget::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::setVisible(visible0); +} +void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::setupViewport(viewport0); +} +QPainter* PythonQtShell_QTreeWidget::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::sharedPainter(); +} +void PythonQtShell_QTreeWidget::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::showEvent(event0); +} +QSize PythonQtShell_QTreeWidget::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::sizeHint(); +} +int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::sizeHintForColumn(column0); +} +int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHintForRow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::sizeHintForRow(row0); +} +void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::startDrag(supportedActions0); +} +Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::supportedDropActions(); +} +void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::tabletEvent(event0); +} +void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::timerEvent(event0); +} +void PythonQtShell_QTreeWidget::updateEditorData() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("updateEditorData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::updateEditorData(); +} +void PythonQtShell_QTreeWidget::updateEditorGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::updateEditorGeometries(); +} +void PythonQtShell_QTreeWidget::updateGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("updateGeometries"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::updateGeometries(); +} +int PythonQtShell_QTreeWidget::verticalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("verticalOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::verticalOffset(); +} +void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::verticalScrollbarAction(action0); +} +void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::viewOptions(); +} +bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("viewportEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::viewportEvent(event0); +} +QSize PythonQtShell_QTreeWidget::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::viewportSizeHint(); +} +QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("visualRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::visualRect(index0); +} +QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidget::visualRegionForSelection(selection0); +} +void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidget::wheelEvent(arg__1); +} +QTreeWidget* PythonQtWrapper_QTreeWidget::new_QTreeWidget(QWidget* parent) +{ +return new PythonQtShell_QTreeWidget(parent); } + +const QMetaObject* PythonQtShell_QTreeWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTreeWidget::staticMetaObject); + } else { + return &QTreeWidget::staticMetaObject; + } +} +int PythonQtShell_QTreeWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTreeWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QTreeWidget::addTopLevelItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->addTopLevelItem(item)); +} + +void PythonQtWrapper_QTreeWidget::addTopLevelItems(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->addTopLevelItems(items)); +} + +void PythonQtWrapper_QTreeWidget::closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->closePersistentEditor(item, column)); +} + +int PythonQtWrapper_QTreeWidget::columnCount(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +int PythonQtWrapper_QTreeWidget::currentColumn(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentColumn()); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::currentItem(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentItem()); +} + +bool PythonQtWrapper_QTreeWidget::dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_dropMimeData(parent, index, data, action)); +} + +void PythonQtWrapper_QTreeWidget::editItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->editItem(item, column)); +} + +QList PythonQtWrapper_QTreeWidget::findItems(QTreeWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column) const +{ + return ( theWrappedObject->findItems(text, flags, column)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::headerItem(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->headerItem()); +} + +QModelIndex PythonQtWrapper_QTreeWidget::indexFromItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_indexFromItem(item, column)); +} + +QModelIndex PythonQtWrapper_QTreeWidget::indexFromItem(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, int column) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_indexFromItem(item, column)); +} + +int PythonQtWrapper_QTreeWidget::indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const +{ + return ( theWrappedObject->indexOfTopLevelItem(item)); +} + +void PythonQtWrapper_QTreeWidget::insertTopLevelItem(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->insertTopLevelItem(index, item)); +} + +void PythonQtWrapper_QTreeWidget::insertTopLevelItems(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP > items) +{ + ( theWrappedObject->insertTopLevelItems(index, items)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::invisibleRootItem(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->invisibleRootItem()); +} + +bool PythonQtWrapper_QTreeWidget::isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +{ + return ( theWrappedObject->isFirstItemColumnSpanned(item)); +} + +bool PythonQtWrapper_QTreeWidget::isPersistentEditorOpen(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const +{ + return ( theWrappedObject->isPersistentEditorOpen(item, column)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +{ + return ( theWrappedObject->itemAbove(item)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->itemAt(p)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, int x, int y) const +{ + return ( theWrappedObject->itemAt(x, y)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +{ + return ( theWrappedObject->itemBelow(item)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemFromIndex(QTreeWidget* theWrappedObject, const QModelIndex& index) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_itemFromIndex(index)); +} + +QWidget* PythonQtWrapper_QTreeWidget::itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const +{ + return ( theWrappedObject->itemWidget(item, column)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::mimeData(QTreeWidget* theWrappedObject, const QList items) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeData(items)); +} + +QStringList PythonQtWrapper_QTreeWidget::mimeTypes(QTreeWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeTypes()); +} + +void PythonQtWrapper_QTreeWidget::openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->openPersistentEditor(item, column)); +} + +void PythonQtWrapper_QTreeWidget::removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->removeItemWidget(item, column)); +} + +QList PythonQtWrapper_QTreeWidget::selectedItems(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectedItems()); +} + +void PythonQtWrapper_QTreeWidget::setColumnCount(QTreeWidget* theWrappedObject, int columns) +{ + ( theWrappedObject->setColumnCount(columns)); +} + +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) +{ + ( theWrappedObject->setCurrentItem(item)); +} + +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +{ + ( theWrappedObject->setCurrentItem(item, column)); +} + +void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command) +{ + ( theWrappedObject->setCurrentItem(item, column, command)); +} + +void PythonQtWrapper_QTreeWidget::setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span) +{ + ( theWrappedObject->setFirstItemColumnSpanned(item, span)); +} + +void PythonQtWrapper_QTreeWidget::setHeaderItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setHeaderItem(item)); +} + +void PythonQtWrapper_QTreeWidget::setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label) +{ + ( theWrappedObject->setHeaderLabel(label)); +} + +void PythonQtWrapper_QTreeWidget::setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels) +{ + ( theWrappedObject->setHeaderLabels(labels)); +} + +void PythonQtWrapper_QTreeWidget::setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget) +{ + ( theWrappedObject->setItemWidget(item, column, widget)); +} + +int PythonQtWrapper_QTreeWidget::sortColumn(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->sortColumn()); +} + +void PythonQtWrapper_QTreeWidget::sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortItems(column, order)); +} + +Qt::DropActions PythonQtWrapper_QTreeWidget::supportedDropActions(QTreeWidget* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_supportedDropActions()); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::takeTopLevelItem(QTreeWidget* theWrappedObject, int index) +{ + return ( theWrappedObject->takeTopLevelItem(index)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidget::topLevelItem(QTreeWidget* theWrappedObject, int index) const +{ + return ( theWrappedObject->topLevelItem(index)); +} + +int PythonQtWrapper_QTreeWidget::topLevelItemCount(QTreeWidget* theWrappedObject) const +{ + return ( theWrappedObject->topLevelItemCount()); +} + +QRect PythonQtWrapper_QTreeWidget::visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +{ + return ( theWrappedObject->visualItemRect(item)); +} + + + +PythonQtShell_QTreeWidgetItem::~PythonQtShell_QTreeWidgetItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("clone"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QTreeWidgetItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QTreeWidgetItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QTreeWidgetItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidgetItem::clone(); +} +QVariant PythonQtShell_QTreeWidgetItem::data(int column0, int role1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&column0, (void*)&role1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTreeWidgetItem::data(column0, role1); +} +void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("read"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&in0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidgetItem::read(in0); +} +void PythonQtShell_QTreeWidgetItem::setData(int column0, int role1, const QVariant& value2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&column0, (void*)&role1, (void*)&value2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidgetItem::setData(column0, role1, value2); +} +void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("write"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&out0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTreeWidgetItem::write(out0); +} +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, QTreeWidgetItem* after, int type) +{ +return new PythonQtShell_QTreeWidgetItem(view, after, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, const QStringList& strings, int type) +{ +return new PythonQtShell_QTreeWidgetItem(view, strings, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, int type) +{ +return new PythonQtShell_QTreeWidgetItem(view, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, QTreeWidgetItem* after, int type) +{ +return new PythonQtShell_QTreeWidgetItem(parent, after, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, const QStringList& strings, int type) +{ +return new PythonQtShell_QTreeWidgetItem(parent, strings, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, int type) +{ +return new PythonQtShell_QTreeWidgetItem(parent, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(const QStringList& strings, int type) +{ +return new PythonQtShell_QTreeWidgetItem(strings, type); } + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(int type) +{ +return new PythonQtShell_QTreeWidgetItem(type); } + +void PythonQtWrapper_QTreeWidgetItem::addChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP child) +{ + ( theWrappedObject->addChild(child)); +} + +void PythonQtWrapper_QTreeWidgetItem::addChildren(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP > children) +{ + ( theWrappedObject->addChildren(children)); +} + +QBrush PythonQtWrapper_QTreeWidgetItem::background(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->background(column)); +} + +Qt::CheckState PythonQtWrapper_QTreeWidgetItem::checkState(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->checkState(column)); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::child(QTreeWidgetItem* theWrappedObject, int index) const +{ + return ( theWrappedObject->child(index)); +} + +int PythonQtWrapper_QTreeWidgetItem::childCount(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->childCount()); +} + +QTreeWidgetItem::ChildIndicatorPolicy PythonQtWrapper_QTreeWidgetItem::childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->childIndicatorPolicy()); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::clone(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->clone()); +} + +int PythonQtWrapper_QTreeWidgetItem::columnCount(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); +} + +QVariant PythonQtWrapper_QTreeWidgetItem::data(QTreeWidgetItem* theWrappedObject, int column, int role) const +{ + return ( theWrappedObject->data(column, role)); +} + +void PythonQtWrapper_QTreeWidgetItem::emitDataChanged(QTreeWidgetItem* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_emitDataChanged()); +} + +Qt::ItemFlags PythonQtWrapper_QTreeWidgetItem::flags(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QFont PythonQtWrapper_QTreeWidgetItem::font(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->font(column)); +} + +QBrush PythonQtWrapper_QTreeWidgetItem::foreground(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->foreground(column)); +} + +QIcon PythonQtWrapper_QTreeWidgetItem::icon(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->icon(column)); +} + +int PythonQtWrapper_QTreeWidgetItem::indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const +{ + return ( theWrappedObject->indexOfChild(child)); +} + +void PythonQtWrapper_QTreeWidgetItem::insertChild(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP child) +{ + ( theWrappedObject->insertChild(index, child)); +} + +void PythonQtWrapper_QTreeWidgetItem::insertChildren(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP > children) +{ + ( theWrappedObject->insertChildren(index, children)); +} + +bool PythonQtWrapper_QTreeWidgetItem::isDisabled(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isDisabled()); +} + +bool PythonQtWrapper_QTreeWidgetItem::isExpanded(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isExpanded()); +} + +bool PythonQtWrapper_QTreeWidgetItem::isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isFirstColumnSpanned()); +} + +bool PythonQtWrapper_QTreeWidgetItem::isHidden(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isHidden()); +} + +bool PythonQtWrapper_QTreeWidgetItem::isSelected(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isSelected()); +} + +void PythonQtWrapper_QTreeWidgetItem::writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +void PythonQtWrapper_QTreeWidgetItem::readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::parent(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +void PythonQtWrapper_QTreeWidgetItem::read(QTreeWidgetItem* theWrappedObject, QDataStream& in) +{ + ( theWrappedObject->read(in)); +} + +void PythonQtWrapper_QTreeWidgetItem::removeChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToPython child) +{ + ( theWrappedObject->removeChild(child)); +} + +void PythonQtWrapper_QTreeWidgetItem::setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) +{ + ( theWrappedObject->setBackground(column, brush)); +} + +void PythonQtWrapper_QTreeWidgetItem::setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state) +{ + ( theWrappedObject->setCheckState(column, state)); +} + +void PythonQtWrapper_QTreeWidgetItem::setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy) +{ + ( theWrappedObject->setChildIndicatorPolicy(policy)); +} + +void PythonQtWrapper_QTreeWidgetItem::setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value) +{ + ( theWrappedObject->setData(column, role, value)); +} + +void PythonQtWrapper_QTreeWidgetItem::setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled) +{ + ( theWrappedObject->setDisabled(disabled)); +} + +void PythonQtWrapper_QTreeWidgetItem::setExpanded(QTreeWidgetItem* theWrappedObject, bool expand) +{ + ( theWrappedObject->setExpanded(expand)); +} + +void PythonQtWrapper_QTreeWidgetItem::setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span) +{ + ( theWrappedObject->setFirstColumnSpanned(span)); +} + +void PythonQtWrapper_QTreeWidgetItem::setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QTreeWidgetItem::setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font) +{ + ( theWrappedObject->setFont(column, font)); +} + +void PythonQtWrapper_QTreeWidgetItem::setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) +{ + ( theWrappedObject->setForeground(column, brush)); +} + +void PythonQtWrapper_QTreeWidgetItem::setHidden(QTreeWidgetItem* theWrappedObject, bool hide) +{ + ( theWrappedObject->setHidden(hide)); +} + +void PythonQtWrapper_QTreeWidgetItem::setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon) +{ + ( theWrappedObject->setIcon(column, icon)); +} + +void PythonQtWrapper_QTreeWidgetItem::setSelected(QTreeWidgetItem* theWrappedObject, bool select) +{ + ( theWrappedObject->setSelected(select)); +} + +void PythonQtWrapper_QTreeWidgetItem::setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size) +{ + ( theWrappedObject->setSizeHint(column, size)); +} + +void PythonQtWrapper_QTreeWidgetItem::setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip) +{ + ( theWrappedObject->setStatusTip(column, statusTip)); +} + +void PythonQtWrapper_QTreeWidgetItem::setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text) +{ + ( theWrappedObject->setText(column, text)); +} + +void PythonQtWrapper_QTreeWidgetItem::setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment) +{ + ( theWrappedObject->setTextAlignment(column, alignment)); +} + +void PythonQtWrapper_QTreeWidgetItem::setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(column, toolTip)); +} + +void PythonQtWrapper_QTreeWidgetItem::setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis) +{ + ( theWrappedObject->setWhatsThis(column, whatsThis)); +} + +QSize PythonQtWrapper_QTreeWidgetItem::sizeHint(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->sizeHint(column)); +} + +void PythonQtWrapper_QTreeWidgetItem::sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortChildren(column, order)); +} + +QString PythonQtWrapper_QTreeWidgetItem::statusTip(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->statusTip(column)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidgetItem::takeChild(QTreeWidgetItem* theWrappedObject, int index) +{ + return ( theWrappedObject->takeChild(index)); +} + +PythonQtPassOwnershipToCPP > PythonQtWrapper_QTreeWidgetItem::takeChildren(QTreeWidgetItem* theWrappedObject) +{ + return ( theWrappedObject->takeChildren()); +} + +QString PythonQtWrapper_QTreeWidgetItem::text(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->text(column)); +} + +int PythonQtWrapper_QTreeWidgetItem::textAlignment(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->textAlignment(column)); +} + +QString PythonQtWrapper_QTreeWidgetItem::toolTip(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->toolTip(column)); +} + +QTreeWidget* PythonQtWrapper_QTreeWidgetItem::treeWidget(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->treeWidget()); +} + +int PythonQtWrapper_QTreeWidgetItem::type(QTreeWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QTreeWidgetItem::whatsThis(QTreeWidgetItem* theWrappedObject, int column) const +{ + return ( theWrappedObject->whatsThis(column)); +} + +void PythonQtWrapper_QTreeWidgetItem::write(QTreeWidgetItem* theWrappedObject, QDataStream& out) const +{ + ( theWrappedObject->write(out)); +} + + + +PythonQtShell_QUndoCommand::~PythonQtShell_QUndoCommand() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QUndoCommand::id() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("id"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("id", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoCommand::id(); +} +bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mergeWith"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QUndoCommand*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&other0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mergeWith", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoCommand::mergeWith(other0); +} +void PythonQtShell_QUndoCommand::redo() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoCommand::redo(); +} +void PythonQtShell_QUndoCommand::undo() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("undo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoCommand::undo(); +} +QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(QUndoCommand* parent) +{ +return new PythonQtShell_QUndoCommand(parent); } + +QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(const QString& text, QUndoCommand* parent) +{ +return new PythonQtShell_QUndoCommand(text, parent); } + +QString PythonQtWrapper_QUndoCommand::actionText(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->actionText()); +} + +const QUndoCommand* PythonQtWrapper_QUndoCommand::child(QUndoCommand* theWrappedObject, int index) const +{ + return ( theWrappedObject->child(index)); +} + +int PythonQtWrapper_QUndoCommand::childCount(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->childCount()); +} + +int PythonQtWrapper_QUndoCommand::id(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->id()); +} + +bool PythonQtWrapper_QUndoCommand::isObsolete(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->isObsolete()); +} + +bool PythonQtWrapper_QUndoCommand::mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other) +{ + return ( theWrappedObject->mergeWith(other)); +} + +void PythonQtWrapper_QUndoCommand::redo(QUndoCommand* theWrappedObject) +{ + ( theWrappedObject->redo()); +} + +void PythonQtWrapper_QUndoCommand::setObsolete(QUndoCommand* theWrappedObject, bool obsolete) +{ + ( theWrappedObject->setObsolete(obsolete)); +} + +void PythonQtWrapper_QUndoCommand::setText(QUndoCommand* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +QString PythonQtWrapper_QUndoCommand::text(QUndoCommand* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +void PythonQtWrapper_QUndoCommand::undo(QUndoCommand* theWrappedObject) +{ + ( theWrappedObject->undo()); +} + + + +PythonQtShell_QUndoGroup::~PythonQtShell_QUndoGroup() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QUndoGroup::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoGroup::childEvent(event0); +} +void PythonQtShell_QUndoGroup::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoGroup::customEvent(event0); +} +bool PythonQtShell_QUndoGroup::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoGroup::event(event0); +} +bool PythonQtShell_QUndoGroup::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoGroup::eventFilter(watched0, event1); +} +void PythonQtShell_QUndoGroup::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoGroup::timerEvent(event0); +} +QUndoGroup* PythonQtWrapper_QUndoGroup::new_QUndoGroup(QObject* parent) +{ +return new PythonQtShell_QUndoGroup(parent); } + +const QMetaObject* PythonQtShell_QUndoGroup::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoGroup::staticMetaObject); + } else { + return &QUndoGroup::staticMetaObject; + } +} +int PythonQtShell_QUndoGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QUndoGroup::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QUndoStack* PythonQtWrapper_QUndoGroup::activeStack(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->activeStack()); +} + +void PythonQtWrapper_QUndoGroup::addStack(QUndoGroup* theWrappedObject, QUndoStack* stack) +{ + ( theWrappedObject->addStack(stack)); +} + +bool PythonQtWrapper_QUndoGroup::canRedo(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->canRedo()); +} + +bool PythonQtWrapper_QUndoGroup::canUndo(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->canUndo()); +} + +QAction* PythonQtWrapper_QUndoGroup::createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix) const +{ + return ( theWrappedObject->createRedoAction(parent, prefix)); +} + +QAction* PythonQtWrapper_QUndoGroup::createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix) const +{ + return ( theWrappedObject->createUndoAction(parent, prefix)); +} + +bool PythonQtWrapper_QUndoGroup::isClean(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->isClean()); +} + +QString PythonQtWrapper_QUndoGroup::redoText(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->redoText()); +} + +void PythonQtWrapper_QUndoGroup::removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack) +{ + ( theWrappedObject->removeStack(stack)); +} + +QList PythonQtWrapper_QUndoGroup::stacks(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->stacks()); +} + +QString PythonQtWrapper_QUndoGroup::undoText(QUndoGroup* theWrappedObject) const +{ + return ( theWrappedObject->undoText()); +} + + + +PythonQtShell_QUndoStack::~PythonQtShell_QUndoStack() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QUndoStack::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoStack::childEvent(event0); +} +void PythonQtShell_QUndoStack::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoStack::customEvent(event0); +} +bool PythonQtShell_QUndoStack::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoStack::event(event0); +} +bool PythonQtShell_QUndoStack::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoStack::eventFilter(watched0, event1); +} +void PythonQtShell_QUndoStack::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoStack::timerEvent(event0); +} +QUndoStack* PythonQtWrapper_QUndoStack::new_QUndoStack(QObject* parent) +{ +return new PythonQtShell_QUndoStack(parent); } + +const QMetaObject* PythonQtShell_QUndoStack::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoStack::staticMetaObject); + } else { + return &QUndoStack::staticMetaObject; + } +} +int PythonQtShell_QUndoStack::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QUndoStack::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QUndoStack::beginMacro(QUndoStack* theWrappedObject, const QString& text) +{ + ( theWrappedObject->beginMacro(text)); +} + +bool PythonQtWrapper_QUndoStack::canRedo(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->canRedo()); +} + +bool PythonQtWrapper_QUndoStack::canUndo(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->canUndo()); +} + +int PythonQtWrapper_QUndoStack::cleanIndex(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->cleanIndex()); +} + +void PythonQtWrapper_QUndoStack::clear(QUndoStack* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +const QUndoCommand* PythonQtWrapper_QUndoStack::command(QUndoStack* theWrappedObject, int index) const +{ + return ( theWrappedObject->command(index)); +} + +int PythonQtWrapper_QUndoStack::count(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QAction* PythonQtWrapper_QUndoStack::createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const +{ + return ( theWrappedObject->createRedoAction(parent, prefix)); +} + +QAction* PythonQtWrapper_QUndoStack::createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const +{ + return ( theWrappedObject->createUndoAction(parent, prefix)); +} + +void PythonQtWrapper_QUndoStack::endMacro(QUndoStack* theWrappedObject) +{ + ( theWrappedObject->endMacro()); +} + +int PythonQtWrapper_QUndoStack::index(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->index()); +} + +bool PythonQtWrapper_QUndoStack::isActive(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QUndoStack::isClean(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->isClean()); +} + +void PythonQtWrapper_QUndoStack::push(QUndoStack* theWrappedObject, QUndoCommand* cmd) +{ + ( theWrappedObject->push(cmd)); +} + +QString PythonQtWrapper_QUndoStack::redoText(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->redoText()); +} + +void PythonQtWrapper_QUndoStack::setUndoLimit(QUndoStack* theWrappedObject, int limit) +{ + ( theWrappedObject->setUndoLimit(limit)); +} + +QString PythonQtWrapper_QUndoStack::text(QUndoStack* theWrappedObject, int idx) const +{ + return ( theWrappedObject->text(idx)); +} + +int PythonQtWrapper_QUndoStack::undoLimit(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->undoLimit()); +} + +QString PythonQtWrapper_QUndoStack::undoText(QUndoStack* theWrappedObject) const +{ + return ( theWrappedObject->undoText()); +} + + + +PythonQtShell_QUndoView::~PythonQtShell_QUndoView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QUndoView::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::actionEvent(event0); +} +void PythonQtShell_QUndoView::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::changeEvent(arg__1); +} +void PythonQtShell_QUndoView::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::childEvent(event0); +} +void PythonQtShell_QUndoView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::closeEditor(editor0, hint1); +} +void PythonQtShell_QUndoView::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::closeEvent(event0); +} +void PythonQtShell_QUndoView::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::commitData(editor0); +} +void PythonQtShell_QUndoView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::contextMenuEvent(arg__1); +} +void PythonQtShell_QUndoView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::currentChanged(current0, previous1); +} +void PythonQtShell_QUndoView::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::customEvent(event0); +} +void PythonQtShell_QUndoView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::dataChanged(topLeft0, bottomRight1, roles2); +} +int PythonQtShell_QUndoView::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::devType(); +} +void PythonQtShell_QUndoView::doItemsLayout() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("doItemsLayout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::doItemsLayout(); +} +void PythonQtShell_QUndoView::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::dragEnterEvent(event0); +} +void PythonQtShell_QUndoView::dragLeaveEvent(QDragLeaveEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::dragLeaveEvent(e0); +} +void PythonQtShell_QUndoView::dragMoveEvent(QDragMoveEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::dragMoveEvent(e0); +} +void PythonQtShell_QUndoView::dropEvent(QDropEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::dropEvent(e0); +} +bool PythonQtShell_QUndoView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::edit(index0, trigger1, event2); +} +void PythonQtShell_QUndoView::editorDestroyed(QObject* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("editorDestroyed"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::editorDestroyed(editor0); +} +void PythonQtShell_QUndoView::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::enterEvent(event0); +} +bool PythonQtShell_QUndoView::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::event(e0); +} +bool PythonQtShell_QUndoView::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QUndoView::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::focusInEvent(event0); +} +bool PythonQtShell_QUndoView::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::focusNextPrevChild(next0); +} +void PythonQtShell_QUndoView::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::focusOutEvent(event0); +} +bool PythonQtShell_QUndoView::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::hasHeightForWidth(); +} +int PythonQtShell_QUndoView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::heightForWidth(arg__1); +} +void PythonQtShell_QUndoView::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::hideEvent(event0); +} +int PythonQtShell_QUndoView::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("horizontalOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::horizontalOffset(); +} +void PythonQtShell_QUndoView::horizontalScrollbarAction(int action0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&action0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::horizontalScrollbarAction(action0); +} +void PythonQtShell_QUndoView::horizontalScrollbarValueChanged(int value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::horizontalScrollbarValueChanged(value0); +} +QModelIndex PythonQtShell_QUndoView::indexAt(const QPoint& p0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("indexAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::indexAt(p0); +} +void PythonQtShell_QUndoView::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::initPainter(painter0); +} +void PythonQtShell_QUndoView::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::inputMethodEvent(event0); +} +QVariant PythonQtShell_QUndoView::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::inputMethodQuery(query0); +} +bool PythonQtShell_QUndoView::isIndexHidden(const QModelIndex& index0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::isIndexHidden(index0); +} +void PythonQtShell_QUndoView::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::keyPressEvent(event0); +} +void PythonQtShell_QUndoView::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::keyReleaseEvent(event0); +} +void PythonQtShell_QUndoView::keyboardSearch(const QString& search0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::keyboardSearch(search0); +} +void PythonQtShell_QUndoView::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::leaveEvent(event0); +} +int PythonQtShell_QUndoView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::metric(arg__1); +} +QSize PythonQtShell_QUndoView::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::minimumSizeHint(); +} +void PythonQtShell_QUndoView::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QUndoView::mouseMoveEvent(QMouseEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::mouseMoveEvent(e0); +} +void PythonQtShell_QUndoView::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::mousePressEvent(event0); +} +void PythonQtShell_QUndoView::mouseReleaseEvent(QMouseEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::mouseReleaseEvent(e0); +} +QModelIndex PythonQtShell_QUndoView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::moveCursor(cursorAction0, modifiers1); +} +void PythonQtShell_QUndoView::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::moveEvent(event0); +} +bool PythonQtShell_QUndoView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QUndoView::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::paintEngine(); +} +void PythonQtShell_QUndoView::paintEvent(QPaintEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::paintEvent(e0); +} +QPaintDevice* PythonQtShell_QUndoView::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::redirected(offset0); +} +void PythonQtShell_QUndoView::reset() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::reset(); +} +void PythonQtShell_QUndoView::resizeEvent(QResizeEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::resizeEvent(e0); +} +void PythonQtShell_QUndoView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::rowsAboutToBeRemoved(parent0, start1, end2); +} +void PythonQtShell_QUndoView::rowsInserted(const QModelIndex& parent0, int start1, int end2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::rowsInserted(parent0, start1, end2); +} +void PythonQtShell_QUndoView::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QUndoView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::scrollTo(index0, hint1); +} +void PythonQtShell_QUndoView::selectAll() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectAll"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::selectAll(); +} +QList PythonQtShell_QUndoView::selectedIndexes() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::selectedIndexes(); +} +void PythonQtShell_QUndoView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QUndoView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::selectionCommand(index0, event1); +} +void PythonQtShell_QUndoView::setModel(QAbstractItemModel* model0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&model0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::setModel(model0); +} +void PythonQtShell_QUndoView::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::setRootIndex(index0); +} +void PythonQtShell_QUndoView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::setSelection(rect0, command1); +} +void PythonQtShell_QUndoView::setSelectionModel(QItemSelectionModel* selectionModel0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::setSelectionModel(selectionModel0); +} +void PythonQtShell_QUndoView::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::setVisible(visible0); +} +void PythonQtShell_QUndoView::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::setupViewport(viewport0); +} +QPainter* PythonQtShell_QUndoView::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::sharedPainter(); +} +void PythonQtShell_QUndoView::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::showEvent(event0); +} +QSize PythonQtShell_QUndoView::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::sizeHint(); +} +int PythonQtShell_QUndoView::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::sizeHintForColumn(column0); +} +int PythonQtShell_QUndoView::sizeHintForRow(int row0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHintForRow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUndoView::sizeHintForRow(row0); +} +void PythonQtShell_QUndoView::startDrag(Qt::DropActions supportedActions0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::startDrag(supportedActions0); +} +void PythonQtShell_QUndoView::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::tabletEvent(event0); +} +void PythonQtShell_QUndoView::timerEvent(QTimerEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::timerEvent(e0); +} +void PythonQtShell_QUndoView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + static PyObject* name = PyUnicode_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::updateEditorData(); +} +void PythonQtShell_QUndoView::updateEditorGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::updateEditorGeometries(); +} +void PythonQtShell_QUndoView::updateGeometries() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("updateGeometries"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QUndoView::updateGeometries(); +} +int PythonQtShell_QUndoView::verticalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("verticalOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -3653,19 +11395,19 @@ if (_wrapper) { } } } - return QToolBar::inputMethodQuery(arg__1); + return QUndoView::verticalOffset(); } -void PythonQtShell_QToolBar::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QUndoView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -3675,19 +11417,19 @@ if (_wrapper) { } } } - QToolBar::keyPressEvent(event0); + QUndoView::verticalScrollbarAction(action0); } -void PythonQtShell_QToolBar::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QUndoView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -3697,50 +11439,61 @@ if (_wrapper) { } } } - QToolBar::keyReleaseEvent(event0); + QUndoView::verticalScrollbarValueChanged(value0); } -void PythonQtShell_QToolBar::leaveEvent(QEvent* event0) +QStyleOptionViewItem PythonQtShell_QUndoView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); + static PyObject* name = PyUnicode_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBar::leaveEvent(event0); + return QUndoView::viewOptions(); } -int PythonQtShell_QToolBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QUndoView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -3752,14 +11505,14 @@ if (_wrapper) { } } } - return QToolBar::metric(arg__1); + return QUndoView::viewportEvent(event0); } -QSize PythonQtShell_QToolBar::minimumSizeHint() const +QSize PythonQtShell_QUndoView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -3771,7 +11524,7 @@ if (_wrapper) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } @@ -3785,63 +11538,85 @@ if (_wrapper) { } } } - return QToolBar::minimumSizeHint(); + return QUndoView::viewportSizeHint(); } -void PythonQtShell_QToolBar::mouseDoubleClickEvent(QMouseEvent* event0) +QRect PythonQtShell_QUndoView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyUnicode_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBar::mouseDoubleClickEvent(event0); + return QUndoView::visualRect(index0); } -void PythonQtShell_QToolBar::mouseMoveEvent(QMouseEvent* event0) +QRegion PythonQtShell_QUndoView::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBar::mouseMoveEvent(event0); + return QUndoView::visualRegionForSelection(selection0); } -void PythonQtShell_QToolBar::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QUndoView::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -3851,19 +11626,80 @@ if (_wrapper) { } } } - QToolBar::mousePressEvent(event0); + QUndoView::wheelEvent(e0); +} +QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QUndoGroup* group, QWidget* parent) +{ +return new PythonQtShell_QUndoView(group, parent); } + +QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QUndoStack* stack, QWidget* parent) +{ +return new PythonQtShell_QUndoView(stack, parent); } + +QUndoView* PythonQtWrapper_QUndoView::new_QUndoView(QWidget* parent) +{ +return new PythonQtShell_QUndoView(parent); } + +const QMetaObject* PythonQtShell_QUndoView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoView::staticMetaObject); + } else { + return &QUndoView::staticMetaObject; + } +} +int PythonQtShell_QUndoView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QUndoView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QIcon PythonQtWrapper_QUndoView::cleanIcon(QUndoView* theWrappedObject) const +{ + return ( theWrappedObject->cleanIcon()); +} + +QString PythonQtWrapper_QUndoView::emptyLabel(QUndoView* theWrappedObject) const +{ + return ( theWrappedObject->emptyLabel()); +} + +QUndoGroup* PythonQtWrapper_QUndoView::group(QUndoView* theWrappedObject) const +{ + return ( theWrappedObject->group()); +} + +void PythonQtWrapper_QUndoView::setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setCleanIcon(icon)); +} + +void PythonQtWrapper_QUndoView::setEmptyLabel(QUndoView* theWrappedObject, const QString& label) +{ + ( theWrappedObject->setEmptyLabel(label)); +} + +QUndoStack* PythonQtWrapper_QUndoView::stack(QUndoView* theWrappedObject) const +{ + return ( theWrappedObject->stack()); +} + + + +PythonQtShell_QVBoxLayout::~PythonQtShell_QVBoxLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QToolBar::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QVBoxLayout::addItem(QLayoutItem* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("addItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QLayoutItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -3873,19 +11709,19 @@ if (_wrapper) { } } } - QToolBar::mouseReleaseEvent(event0); + QVBoxLayout::addItem(arg__1); } -void PythonQtShell_QToolBar::moveEvent(QMoveEvent* event0) +void PythonQtShell_QVBoxLayout::childEvent(QChildEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -3895,28 +11731,28 @@ if (_wrapper) { } } } - QToolBar::moveEvent(event0); + QVBoxLayout::childEvent(e0); } -bool PythonQtShell_QToolBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QSizePolicy::ControlTypes PythonQtShell_QVBoxLayout::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSizePolicy::ControlTypes returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } @@ -3928,28 +11764,28 @@ if (_wrapper) { } } } - return QToolBar::nativeEvent(eventType0, message1, result2); + return QVBoxLayout::controlTypes(); } -QPaintEngine* PythonQtShell_QToolBar::paintEngine() const +int PythonQtShell_QVBoxLayout::count() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("count"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("count", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((int*)args[0]); } } } @@ -3961,50 +11797,83 @@ if (_wrapper) { } } } - return QToolBar::paintEngine(); + return QVBoxLayout::count(); } -void PythonQtShell_QToolBar::paintEvent(QPaintEvent* event0) +void PythonQtShell_QVBoxLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QVBoxLayout::customEvent(event0); +} +bool PythonQtShell_QVBoxLayout::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBar::paintEvent(event0); + return QVBoxLayout::event(event0); } -QPaintDevice* PythonQtShell_QToolBar::redirected(QPoint* offset0) const +bool PythonQtShell_QVBoxLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -4016,72 +11885,94 @@ if (_wrapper) { } } } - return QToolBar::redirected(offset0); + return QVBoxLayout::eventFilter(watched0, event1); } -void PythonQtShell_QToolBar::resizeEvent(QResizeEvent* event0) +Qt::Orientations PythonQtShell_QVBoxLayout::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); + static PyObject* name = PyUnicode_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBar::resizeEvent(event0); + return QVBoxLayout::expandingDirections(); } -void PythonQtShell_QToolBar::setVisible(bool visible0) +QRect PythonQtShell_QVBoxLayout::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); + static PyObject* name = PyUnicode_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + static const char* argumentList[] ={"QRect"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRect returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBar::setVisible(visible0); + return QVBoxLayout::geometry(); } -QPainter* PythonQtShell_QToolBar::sharedPainter() const +bool PythonQtShell_QVBoxLayout::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -4093,50 +11984,61 @@ if (_wrapper) { } } } - return QToolBar::sharedPainter(); + return QVBoxLayout::hasHeightForWidth(); } -void PythonQtShell_QToolBar::showEvent(QShowEvent* event0) +int PythonQtShell_QVBoxLayout::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBar::showEvent(event0); + return QVBoxLayout::heightForWidth(arg__1); } -QSize PythonQtShell_QToolBar::sizeHint() const +int PythonQtShell_QVBoxLayout::indexOf(QWidget* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); + static PyObject* name = PyUnicode_FromString("indexOf"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"int" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("indexOf", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -4148,19 +12050,19 @@ if (_wrapper) { } } } - return QToolBar::sizeHint(); + return QVBoxLayout::indexOf(arg__1); } -void PythonQtShell_QToolBar::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QVBoxLayout::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -4170,324 +12072,217 @@ if (_wrapper) { } } } - QToolBar::tabletEvent(event0); + QVBoxLayout::invalidate(); } -void PythonQtShell_QToolBar::timerEvent(QTimerEvent* event0) +bool PythonQtShell_QVBoxLayout::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBar::timerEvent(event0); + return QVBoxLayout::isEmpty(); } -void PythonQtShell_QToolBar::wheelEvent(QWheelEvent* event0) +QLayoutItem* PythonQtShell_QVBoxLayout::itemAt(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); + static PyObject* name = PyUnicode_FromString("itemAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBar::wheelEvent(event0); -} -QToolBar* PythonQtWrapper_QToolBar::new_QToolBar(QWidget* parent) -{ -return new PythonQtShell_QToolBar(parent); } - -QToolBar* PythonQtWrapper_QToolBar::new_QToolBar(const QString& title, QWidget* parent) -{ -return new PythonQtShell_QToolBar(title, parent); } - -const QMetaObject* PythonQtShell_QToolBar::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolBar::staticMetaObject); - } else { - return &QToolBar::staticMetaObject; - } -} -int PythonQtShell_QToolBar::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QToolBar::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QAction* PythonQtWrapper_QToolBar::actionAt(QToolBar* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->actionAt(p)); -} - -QAction* PythonQtWrapper_QToolBar::actionAt(QToolBar* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->actionAt(x, y)); -} - -QRect PythonQtWrapper_QToolBar::actionGeometry(QToolBar* theWrappedObject, QAction* action) const -{ - return ( theWrappedObject->actionGeometry(action)); -} - -QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->addAction(icon, text)); -} - -QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member) -{ - return ( theWrappedObject->addAction(icon, text, receiver, member)); -} - -QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QString& text) -{ - return ( theWrappedObject->addAction(text)); -} - -QAction* PythonQtWrapper_QToolBar::addAction(QToolBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member) -{ - return ( theWrappedObject->addAction(text, receiver, member)); -} - -QAction* PythonQtWrapper_QToolBar::addSeparator(QToolBar* theWrappedObject) -{ - return ( theWrappedObject->addSeparator()); -} - -QAction* PythonQtWrapper_QToolBar::addWidget(QToolBar* theWrappedObject, QWidget* widget) -{ - return ( theWrappedObject->addWidget(widget)); -} - -Qt::ToolBarAreas PythonQtWrapper_QToolBar::allowedAreas(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->allowedAreas()); -} - -void PythonQtWrapper_QToolBar::clear(QToolBar* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QSize PythonQtWrapper_QToolBar::iconSize(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->iconSize()); -} - -void PythonQtWrapper_QToolBar::initStyleOption(QToolBar* theWrappedObject, QStyleOptionToolBar* option) const -{ - ( ((PythonQtPublicPromoter_QToolBar*)theWrappedObject)->promoted_initStyleOption(option)); -} - -QAction* PythonQtWrapper_QToolBar::insertSeparator(QToolBar* theWrappedObject, QAction* before) -{ - return ( theWrappedObject->insertSeparator(before)); -} - -QAction* PythonQtWrapper_QToolBar::insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget) -{ - return ( theWrappedObject->insertWidget(before, widget)); -} - -bool PythonQtWrapper_QToolBar::isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const -{ - return ( theWrappedObject->isAreaAllowed(area)); -} - -bool PythonQtWrapper_QToolBar::isFloatable(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->isFloatable()); -} - -bool PythonQtWrapper_QToolBar::isFloating(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->isFloating()); -} - -bool PythonQtWrapper_QToolBar::isMovable(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->isMovable()); -} - -Qt::Orientation PythonQtWrapper_QToolBar::orientation(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QToolBar::setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas) -{ - ( theWrappedObject->setAllowedAreas(areas)); -} - -void PythonQtWrapper_QToolBar::setFloatable(QToolBar* theWrappedObject, bool floatable) -{ - ( theWrappedObject->setFloatable(floatable)); -} - -void PythonQtWrapper_QToolBar::setMovable(QToolBar* theWrappedObject, bool movable) -{ - ( theWrappedObject->setMovable(movable)); -} - -void PythonQtWrapper_QToolBar::setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation) -{ - ( theWrappedObject->setOrientation(orientation)); -} - -QAction* PythonQtWrapper_QToolBar::toggleViewAction(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->toggleViewAction()); -} - -Qt::ToolButtonStyle PythonQtWrapper_QToolBar::toolButtonStyle(QToolBar* theWrappedObject) const -{ - return ( theWrappedObject->toolButtonStyle()); -} - -QWidget* PythonQtWrapper_QToolBar::widgetForAction(QToolBar* theWrappedObject, QAction* action) const -{ - return ( theWrappedObject->widgetForAction(action)); -} - - - -QToolBarChangeEvent* PythonQtWrapper_QToolBarChangeEvent::new_QToolBarChangeEvent(bool t) -{ -return new QToolBarChangeEvent(t); } - -bool PythonQtWrapper_QToolBarChangeEvent::toggle(QToolBarChangeEvent* theWrappedObject) const -{ - return ( theWrappedObject->toggle()); -} - - - -PythonQtShell_QToolBox::~PythonQtShell_QToolBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QVBoxLayout::itemAt(arg__1); } -void PythonQtShell_QToolBox::actionEvent(QActionEvent* event0) +QLayout* PythonQtShell_QVBoxLayout::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); + static PyObject* name = PyUnicode_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + if (obj) { + static const char* argumentList[] ={"QLayout*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBox::actionEvent(event0); + return QVBoxLayout::layout(); } -void PythonQtShell_QToolBox::changeEvent(QEvent* arg__1) +QSize PythonQtShell_QVBoxLayout::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); + static PyObject* name = PyUnicode_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBox::changeEvent(arg__1); + return QVBoxLayout::maximumSize(); } -void PythonQtShell_QToolBox::childEvent(QChildEvent* event0) +int PythonQtShell_QVBoxLayout::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBox::childEvent(event0); + return QVBoxLayout::minimumHeightForWidth(arg__1); } -void PythonQtShell_QToolBox::closeEvent(QCloseEvent* event0) +QSize PythonQtShell_QVBoxLayout::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); + static PyObject* name = PyUnicode_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBox::closeEvent(event0); + return QVBoxLayout::minimumSize(); } -void PythonQtShell_QToolBox::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QVBoxLayout::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + static PyObject* name = PyUnicode_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -4497,50 +12292,61 @@ if (_wrapper) { } } } - QToolBox::contextMenuEvent(event0); + QVBoxLayout::setGeometry(arg__1); } -void PythonQtShell_QToolBox::customEvent(QEvent* event0) +QSize PythonQtShell_QVBoxLayout::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBox::customEvent(event0); + return QVBoxLayout::sizeHint(); } -int PythonQtShell_QToolBox::devType() const +QSpacerItem* PythonQtShell_QVBoxLayout::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); + static PyObject* name = PyUnicode_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QSpacerItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + QSpacerItem* returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSpacerItem**)args[0]); } } } @@ -4552,39 +12358,50 @@ if (_wrapper) { } } } - return QToolBox::devType(); + return QVBoxLayout::spacerItem(); } -void PythonQtShell_QToolBox::dragEnterEvent(QDragEnterEvent* event0) +QLayoutItem* PythonQtShell_QVBoxLayout::takeAt(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + static PyObject* name = PyUnicode_FromString("takeAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"QLayoutItem*" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QLayoutItem* returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("takeAt", methodInfo, result); + } else { + returnValue = *((QLayoutItem**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBox::dragEnterEvent(event0); + return QVBoxLayout::takeAt(arg__1); } -void PythonQtShell_QToolBox::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QVBoxLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -4596,39 +12413,77 @@ if (_wrapper) { } } } - QToolBox::dragLeaveEvent(event0); + QVBoxLayout::timerEvent(event0); } -void PythonQtShell_QToolBox::dragMoveEvent(QDragMoveEvent* event0) +QWidget* PythonQtShell_QVBoxLayout::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + static PyObject* name = PyUnicode_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolBox::dragMoveEvent(event0); + return QVBoxLayout::widget(); } -void PythonQtShell_QToolBox::dropEvent(QDropEvent* event0) +QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout() +{ +return new PythonQtShell_QVBoxLayout(); } + +QVBoxLayout* PythonQtWrapper_QVBoxLayout::new_QVBoxLayout(QWidget* parent) +{ +return new PythonQtShell_QVBoxLayout(parent); } + +const QMetaObject* PythonQtShell_QVBoxLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QVBoxLayout::staticMetaObject); + } else { + return &QVBoxLayout::staticMetaObject; + } +} +int PythonQtShell_QVBoxLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QVBoxLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} + + +PythonQtShell_QValidator::~PythonQtShell_QValidator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -4640,14 +12495,14 @@ if (_wrapper) { } } } - QToolBox::dropEvent(event0); + QValidator::childEvent(event0); } -void PythonQtShell_QToolBox::enterEvent(QEvent* event0) +void PythonQtShell_QValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; @@ -4662,9 +12517,9 @@ if (_wrapper) { } } } - QToolBox::enterEvent(event0); + QValidator::customEvent(event0); } -bool PythonQtShell_QToolBox::event(QEvent* e0) +bool PythonQtShell_QValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4675,7 +12530,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -4695,9 +12550,9 @@ if (_wrapper) { } } } - return QToolBox::event(e0); + return QValidator::event(event0); } -bool PythonQtShell_QToolBox::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -4728,74 +12583,19 @@ if (_wrapper) { } } } - return QToolBox::eventFilter(watched0, event1); -} -void PythonQtShell_QToolBox::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QToolBox::focusInEvent(event0); -} -bool PythonQtShell_QToolBox::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QToolBox::focusNextPrevChild(next0); + return QValidator::eventFilter(watched0, event1); } -void PythonQtShell_QToolBox::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QValidator::fixup(QString& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); + static PyObject* name = PyUnicode_FromString("fixup"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -4805,61 +12605,50 @@ if (_wrapper) { } } } - QToolBox::focusOutEvent(event0); + QValidator::fixup(arg__1); } -bool PythonQtShell_QToolBox::hasHeightForWidth() const +void PythonQtShell_QValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QToolBox::hasHeightForWidth(); + QValidator::timerEvent(event0); } -int PythonQtShell_QToolBox::heightForWidth(int arg__1) const +QValidator::State PythonQtShell_QValidator::validate(QString& arg__1, int& arg__2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); + static PyObject* name = PyUnicode_FromString("validate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QValidator::State*)args[0]); } } } @@ -4871,836 +12660,901 @@ if (_wrapper) { } } } - return QToolBox::heightForWidth(arg__1); + return QValidator::State(); +} +QValidator* PythonQtWrapper_QValidator::new_QValidator(QObject* parent) +{ +return new PythonQtShell_QValidator(parent); } + +const QMetaObject* PythonQtShell_QValidator::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QValidator::staticMetaObject); + } else { + return &QValidator::staticMetaObject; + } +} +int PythonQtShell_QValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QValidator::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QValidator::fixup(QValidator* theWrappedObject, QString& arg__1) const +{ + ( theWrappedObject->fixup(arg__1)); +} + +QLocale PythonQtWrapper_QValidator::locale(QValidator* theWrappedObject) const +{ + return ( theWrappedObject->locale()); +} + +void PythonQtWrapper_QValidator::setLocale(QValidator* theWrappedObject, const QLocale& locale) +{ + ( theWrappedObject->setLocale(locale)); +} + +QValidator::State PythonQtWrapper_QValidator::validate(QValidator* theWrappedObject, QString& arg__1, int& arg__2) const +{ + return ( theWrappedObject->validate(arg__1, arg__2)); +} + + + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D() +{ +return new QVector2D(); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QPoint& point) +{ +return new QVector2D(point); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QPointF& point) +{ +return new QVector2D(point); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QVector3D& vector) +{ +return new QVector2D(vector); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(const QVector4D& vector) +{ +return new QVector2D(vector); } + +QVector2D* PythonQtWrapper_QVector2D::new_QVector2D(float xpos, float ypos) +{ +return new QVector2D(xpos, ypos); } + +float PythonQtWrapper_QVector2D::distanceToLine(QVector2D* theWrappedObject, const QVector2D& point, const QVector2D& direction) const +{ + return ( theWrappedObject->distanceToLine(point, direction)); +} + +float PythonQtWrapper_QVector2D::distanceToPoint(QVector2D* theWrappedObject, const QVector2D& point) const +{ + return ( theWrappedObject->distanceToPoint(point)); +} + +float PythonQtWrapper_QVector2D::static_QVector2D_dotProduct(const QVector2D& v1, const QVector2D& v2) +{ + return (QVector2D::dotProduct(v1, v2)); +} + +bool PythonQtWrapper_QVector2D::isNull(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +float PythonQtWrapper_QVector2D::length(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +float PythonQtWrapper_QVector2D::lengthSquared(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->lengthSquared()); +} + +void PythonQtWrapper_QVector2D::normalize(QVector2D* theWrappedObject) +{ + ( theWrappedObject->normalize()); +} + +QVector2D PythonQtWrapper_QVector2D::normalized(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->normalized()); +} + +bool PythonQtWrapper_QVector2D::__ne__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)!= v2); +} + +const QVector2D PythonQtWrapper_QVector2D::__mul__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)* v2); +} + +const QVector2D PythonQtWrapper_QVector2D::__mul__(QVector2D* theWrappedObject, float factor) +{ + return ( (*theWrappedObject)* factor); +} + +QVector2D* PythonQtWrapper_QVector2D::__imul__(QVector2D* theWrappedObject, const QVector2D& vector) +{ + return &( (*theWrappedObject)*= vector); +} + +QVector2D* PythonQtWrapper_QVector2D::__imul__(QVector2D* theWrappedObject, float factor) +{ + return &( (*theWrappedObject)*= factor); +} + +const QVector2D PythonQtWrapper_QVector2D::__add__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)+ v2); +} + +QVector2D* PythonQtWrapper_QVector2D::__iadd__(QVector2D* theWrappedObject, const QVector2D& vector) +{ + return &( (*theWrappedObject)+= vector); +} + +const QVector2D PythonQtWrapper_QVector2D::__sub__(QVector2D* theWrappedObject) +{ + return (- (*theWrappedObject)); +} + +const QVector2D PythonQtWrapper_QVector2D::__sub__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)- v2); +} + +QVector2D* PythonQtWrapper_QVector2D::__isub__(QVector2D* theWrappedObject, const QVector2D& vector) +{ + return &( (*theWrappedObject)-= vector); +} + +const QVector2D PythonQtWrapper_QVector2D::__div__(QVector2D* theWrappedObject, const QVector2D& divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +const QVector2D PythonQtWrapper_QVector2D::__div__(QVector2D* theWrappedObject, float divisor) +{ + return ( (*theWrappedObject)/ divisor); +} + +QVector2D* PythonQtWrapper_QVector2D::__idiv__(QVector2D* theWrappedObject, const QVector2D& vector) +{ + return &( (*theWrappedObject)/= vector); +} + +QVector2D* PythonQtWrapper_QVector2D::__idiv__(QVector2D* theWrappedObject, float divisor) +{ + return &( (*theWrappedObject)/= divisor); +} + +void PythonQtWrapper_QVector2D::writeTo(QVector2D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +bool PythonQtWrapper_QVector2D::__eq__(QVector2D* theWrappedObject, const QVector2D& v2) +{ + return ( (*theWrappedObject)== v2); +} + +void PythonQtWrapper_QVector2D::readFrom(QVector2D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +float PythonQtWrapper_QVector2D::operator_subscript(QVector2D* theWrappedObject, int i) const +{ + return ( (*theWrappedObject)[i]); +} + +void PythonQtWrapper_QVector2D::setX(QVector2D* theWrappedObject, float x) +{ + ( theWrappedObject->setX(x)); +} + +void PythonQtWrapper_QVector2D::setY(QVector2D* theWrappedObject, float y) +{ + ( theWrappedObject->setY(y)); +} + +QPoint PythonQtWrapper_QVector2D::toPoint(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->toPoint()); +} + +QPointF PythonQtWrapper_QVector2D::toPointF(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->toPointF()); +} + +QVector3D PythonQtWrapper_QVector2D::toVector3D(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->toVector3D()); +} + +QVector4D PythonQtWrapper_QVector2D::toVector4D(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->toVector4D()); +} + +float PythonQtWrapper_QVector2D::x(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +float PythonQtWrapper_QVector2D::y(QVector2D* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +QString PythonQtWrapper_QVector2D::py_toString(QVector2D* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D() +{ +return new QVector3D(); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QPoint& point) +{ +return new QVector3D(point); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QPointF& point) +{ +return new QVector3D(point); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QVector2D& vector) +{ +return new QVector3D(vector); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QVector2D& vector, float zpos) +{ +return new QVector3D(vector, zpos); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(const QVector4D& vector) +{ +return new QVector3D(vector); } + +QVector3D* PythonQtWrapper_QVector3D::new_QVector3D(float xpos, float ypos, float zpos) +{ +return new QVector3D(xpos, ypos, zpos); } + +QVector3D PythonQtWrapper_QVector3D::static_QVector3D_crossProduct(const QVector3D& v1, const QVector3D& v2) +{ + return (QVector3D::crossProduct(v1, v2)); +} + +float PythonQtWrapper_QVector3D::distanceToLine(QVector3D* theWrappedObject, const QVector3D& point, const QVector3D& direction) const +{ + return ( theWrappedObject->distanceToLine(point, direction)); +} + +float PythonQtWrapper_QVector3D::distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane, const QVector3D& normal) const +{ + return ( theWrappedObject->distanceToPlane(plane, normal)); +} + +float PythonQtWrapper_QVector3D::distanceToPlane(QVector3D* theWrappedObject, const QVector3D& plane1, const QVector3D& plane2, const QVector3D& plane3) const +{ + return ( theWrappedObject->distanceToPlane(plane1, plane2, plane3)); +} + +float PythonQtWrapper_QVector3D::distanceToPoint(QVector3D* theWrappedObject, const QVector3D& point) const +{ + return ( theWrappedObject->distanceToPoint(point)); +} + +float PythonQtWrapper_QVector3D::static_QVector3D_dotProduct(const QVector3D& v1, const QVector3D& v2) +{ + return (QVector3D::dotProduct(v1, v2)); +} + +bool PythonQtWrapper_QVector3D::isNull(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +float PythonQtWrapper_QVector3D::length(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->length()); +} + +float PythonQtWrapper_QVector3D::lengthSquared(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->lengthSquared()); +} + +QVector3D PythonQtWrapper_QVector3D::static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2) +{ + return (QVector3D::normal(v1, v2)); +} + +QVector3D PythonQtWrapper_QVector3D::static_QVector3D_normal(const QVector3D& v1, const QVector3D& v2, const QVector3D& v3) +{ + return (QVector3D::normal(v1, v2, v3)); +} + +void PythonQtWrapper_QVector3D::normalize(QVector3D* theWrappedObject) +{ + ( theWrappedObject->normalize()); +} + +QVector3D PythonQtWrapper_QVector3D::normalized(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->normalized()); +} + +bool PythonQtWrapper_QVector3D::__ne__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)!= v2); +} + +QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, const QMatrix4x4& matrix) +{ + return ( (*theWrappedObject)* matrix); +} + +const QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)* v2); +} + +const QVector3D PythonQtWrapper_QVector3D::__mul__(QVector3D* theWrappedObject, float factor) +{ + return ( (*theWrappedObject)* factor); +} + +QVector3D* PythonQtWrapper_QVector3D::__imul__(QVector3D* theWrappedObject, const QVector3D& vector) +{ + return &( (*theWrappedObject)*= vector); +} + +QVector3D* PythonQtWrapper_QVector3D::__imul__(QVector3D* theWrappedObject, float factor) +{ + return &( (*theWrappedObject)*= factor); +} + +const QVector3D PythonQtWrapper_QVector3D::__add__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)+ v2); +} + +QVector3D* PythonQtWrapper_QVector3D::__iadd__(QVector3D* theWrappedObject, const QVector3D& vector) +{ + return &( (*theWrappedObject)+= vector); +} + +const QVector3D PythonQtWrapper_QVector3D::__sub__(QVector3D* theWrappedObject) +{ + return (- (*theWrappedObject)); } -void PythonQtShell_QToolBox::hideEvent(QHideEvent* event0) + +const QVector3D PythonQtWrapper_QVector3D::__sub__(QVector3D* theWrappedObject, const QVector3D& v2) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)- v2); } - QToolBox::hideEvent(event0); + +QVector3D* PythonQtWrapper_QVector3D::__isub__(QVector3D* theWrappedObject, const QVector3D& vector) +{ + return &( (*theWrappedObject)-= vector); } -void PythonQtShell_QToolBox::initPainter(QPainter* painter0) const + +const QVector3D PythonQtWrapper_QVector3D::__div__(QVector3D* theWrappedObject, const QVector3D& divisor) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)/ divisor); } - QToolBox::initPainter(painter0); + +const QVector3D PythonQtWrapper_QVector3D::__div__(QVector3D* theWrappedObject, float divisor) +{ + return ( (*theWrappedObject)/ divisor); } -void PythonQtShell_QToolBox::inputMethodEvent(QInputMethodEvent* arg__1) + +QVector3D* PythonQtWrapper_QVector3D::__idiv__(QVector3D* theWrappedObject, const QVector3D& vector) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return &( (*theWrappedObject)/= vector); } - QToolBox::inputMethodEvent(arg__1); + +QVector3D* PythonQtWrapper_QVector3D::__idiv__(QVector3D* theWrappedObject, float divisor) +{ + return &( (*theWrappedObject)/= divisor); } -QVariant PythonQtShell_QToolBox::inputMethodQuery(Qt::InputMethodQuery arg__1) const + +void PythonQtWrapper_QVector3D::writeTo(QVector3D* theWrappedObject, QDataStream& arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + arg__1 << (*theWrappedObject); } - return QToolBox::inputMethodQuery(arg__1); + +bool PythonQtWrapper_QVector3D::__eq__(QVector3D* theWrappedObject, const QVector3D& v2) +{ + return ( (*theWrappedObject)== v2); } -void PythonQtShell_QToolBox::itemInserted(int index0) + +void PythonQtWrapper_QVector3D::readFrom(QVector3D* theWrappedObject, QDataStream& arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("itemInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + arg__1 >> (*theWrappedObject); } - QToolBox::itemInserted(index0); + +float PythonQtWrapper_QVector3D::operator_subscript(QVector3D* theWrappedObject, int i) const +{ + return ( (*theWrappedObject)[i]); } -void PythonQtShell_QToolBox::itemRemoved(int index0) + +QVector3D PythonQtWrapper_QVector3D::project(QVector3D* theWrappedObject, const QMatrix4x4& modelView, const QMatrix4x4& projection, const QRect& viewport) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("itemRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->project(modelView, projection, viewport)); } - QToolBox::itemRemoved(index0); + +void PythonQtWrapper_QVector3D::setX(QVector3D* theWrappedObject, float x) +{ + ( theWrappedObject->setX(x)); } -void PythonQtShell_QToolBox::keyPressEvent(QKeyEvent* event0) + +void PythonQtWrapper_QVector3D::setY(QVector3D* theWrappedObject, float y) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setY(y)); } - QToolBox::keyPressEvent(event0); + +void PythonQtWrapper_QVector3D::setZ(QVector3D* theWrappedObject, float z) +{ + ( theWrappedObject->setZ(z)); } -void PythonQtShell_QToolBox::keyReleaseEvent(QKeyEvent* event0) + +QPoint PythonQtWrapper_QVector3D::toPoint(QVector3D* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toPoint()); } - QToolBox::keyReleaseEvent(event0); + +QPointF PythonQtWrapper_QVector3D::toPointF(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->toPointF()); } -void PythonQtShell_QToolBox::leaveEvent(QEvent* event0) + +QVector2D PythonQtWrapper_QVector3D::toVector2D(QVector3D* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toVector2D()); } - QToolBox::leaveEvent(event0); + +QVector4D PythonQtWrapper_QVector3D::toVector4D(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->toVector4D()); } -int PythonQtShell_QToolBox::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +QVector3D PythonQtWrapper_QVector3D::unproject(QVector3D* theWrappedObject, const QMatrix4x4& modelView, const QMatrix4x4& projection, const QRect& viewport) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->unproject(modelView, projection, viewport)); +} + +float PythonQtWrapper_QVector3D::x(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +float PythonQtWrapper_QVector3D::y(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +float PythonQtWrapper_QVector3D::z(QVector3D* theWrappedObject) const +{ + return ( theWrappedObject->z()); +} + +QString PythonQtWrapper_QVector3D::py_toString(QVector3D* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } - return QToolBox::metric(arg__1); + + + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D() +{ +return new QVector4D(); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QPoint& point) +{ +return new QVector4D(point); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QPointF& point) +{ +return new QVector4D(point); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector2D& vector) +{ +return new QVector4D(vector); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector2D& vector, float zpos, float wpos) +{ +return new QVector4D(vector, zpos, wpos); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector3D& vector) +{ +return new QVector4D(vector); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(const QVector3D& vector, float wpos) +{ +return new QVector4D(vector, wpos); } + +QVector4D* PythonQtWrapper_QVector4D::new_QVector4D(float xpos, float ypos, float zpos, float wpos) +{ +return new QVector4D(xpos, ypos, zpos, wpos); } + +float PythonQtWrapper_QVector4D::static_QVector4D_dotProduct(const QVector4D& v1, const QVector4D& v2) +{ + return (QVector4D::dotProduct(v1, v2)); } -QSize PythonQtShell_QToolBox::minimumSizeHint() const + +bool PythonQtWrapper_QVector4D::isNull(QVector4D* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isNull()); } - return QToolBox::minimumSizeHint(); + +float PythonQtWrapper_QVector4D::length(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->length()); } -void PythonQtShell_QToolBox::mouseDoubleClickEvent(QMouseEvent* event0) + +float PythonQtWrapper_QVector4D::lengthSquared(QVector4D* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->lengthSquared()); } - QToolBox::mouseDoubleClickEvent(event0); + +void PythonQtWrapper_QVector4D::normalize(QVector4D* theWrappedObject) +{ + ( theWrappedObject->normalize()); } -void PythonQtShell_QToolBox::mouseMoveEvent(QMouseEvent* event0) + +QVector4D PythonQtWrapper_QVector4D::normalized(QVector4D* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->normalized()); } - QToolBox::mouseMoveEvent(event0); + +bool PythonQtWrapper_QVector4D::__ne__(QVector4D* theWrappedObject, const QVector4D& v2) +{ + return ( (*theWrappedObject)!= v2); } -void PythonQtShell_QToolBox::mousePressEvent(QMouseEvent* event0) + +QVector4D PythonQtWrapper_QVector4D::__mul__(QVector4D* theWrappedObject, const QMatrix4x4& matrix) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)* matrix); } - QToolBox::mousePressEvent(event0); + +const QVector4D PythonQtWrapper_QVector4D::__mul__(QVector4D* theWrappedObject, const QVector4D& v2) +{ + return ( (*theWrappedObject)* v2); } -void PythonQtShell_QToolBox::mouseReleaseEvent(QMouseEvent* event0) + +const QVector4D PythonQtWrapper_QVector4D::__mul__(QVector4D* theWrappedObject, float factor) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)* factor); } - QToolBox::mouseReleaseEvent(event0); + +QVector4D* PythonQtWrapper_QVector4D::__imul__(QVector4D* theWrappedObject, const QVector4D& vector) +{ + return &( (*theWrappedObject)*= vector); } -void PythonQtShell_QToolBox::moveEvent(QMoveEvent* event0) + +QVector4D* PythonQtWrapper_QVector4D::__imul__(QVector4D* theWrappedObject, float factor) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return &( (*theWrappedObject)*= factor); } - QToolBox::moveEvent(event0); + +const QVector4D PythonQtWrapper_QVector4D::__add__(QVector4D* theWrappedObject, const QVector4D& v2) +{ + return ( (*theWrappedObject)+ v2); } -bool PythonQtShell_QToolBox::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +QVector4D* PythonQtWrapper_QVector4D::__iadd__(QVector4D* theWrappedObject, const QVector4D& vector) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return &( (*theWrappedObject)+= vector); } - return QToolBox::nativeEvent(eventType0, message1, result2); + +const QVector4D PythonQtWrapper_QVector4D::__sub__(QVector4D* theWrappedObject) +{ + return (- (*theWrappedObject)); } -QPaintEngine* PythonQtShell_QToolBox::paintEngine() const + +const QVector4D PythonQtWrapper_QVector4D::__sub__(QVector4D* theWrappedObject, const QVector4D& v2) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)- v2); } - return QToolBox::paintEngine(); + +QVector4D* PythonQtWrapper_QVector4D::__isub__(QVector4D* theWrappedObject, const QVector4D& vector) +{ + return &( (*theWrappedObject)-= vector); } -void PythonQtShell_QToolBox::paintEvent(QPaintEvent* arg__1) + +const QVector4D PythonQtWrapper_QVector4D::__div__(QVector4D* theWrappedObject, const QVector4D& divisor) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)/ divisor); +} + +const QVector4D PythonQtWrapper_QVector4D::__div__(QVector4D* theWrappedObject, float divisor) +{ + return ( (*theWrappedObject)/ divisor); } - QToolBox::paintEvent(arg__1); + +QVector4D* PythonQtWrapper_QVector4D::__idiv__(QVector4D* theWrappedObject, const QVector4D& vector) +{ + return &( (*theWrappedObject)/= vector); } -QPaintDevice* PythonQtShell_QToolBox::redirected(QPoint* offset0) const + +QVector4D* PythonQtWrapper_QVector4D::__idiv__(QVector4D* theWrappedObject, float divisor) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return &( (*theWrappedObject)/= divisor); } - return QToolBox::redirected(offset0); + +void PythonQtWrapper_QVector4D::writeTo(QVector4D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); } -void PythonQtShell_QToolBox::resizeEvent(QResizeEvent* event0) + +bool PythonQtWrapper_QVector4D::__eq__(QVector4D* theWrappedObject, const QVector4D& v2) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)== v2); } - QToolBox::resizeEvent(event0); + +void PythonQtWrapper_QVector4D::readFrom(QVector4D* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); } -void PythonQtShell_QToolBox::setVisible(bool visible0) + +float PythonQtWrapper_QVector4D::operator_subscript(QVector4D* theWrappedObject, int i) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)[i]); } - QToolBox::setVisible(visible0); + +void PythonQtWrapper_QVector4D::setW(QVector4D* theWrappedObject, float w) +{ + ( theWrappedObject->setW(w)); } -QPainter* PythonQtShell_QToolBox::sharedPainter() const + +void PythonQtWrapper_QVector4D::setX(QVector4D* theWrappedObject, float x) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setX(x)); } - return QToolBox::sharedPainter(); + +void PythonQtWrapper_QVector4D::setY(QVector4D* theWrappedObject, float y) +{ + ( theWrappedObject->setY(y)); } -void PythonQtShell_QToolBox::showEvent(QShowEvent* e0) + +void PythonQtWrapper_QVector4D::setZ(QVector4D* theWrappedObject, float z) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setZ(z)); } - QToolBox::showEvent(e0); + +QPoint PythonQtWrapper_QVector4D::toPoint(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toPoint()); } -QSize PythonQtShell_QToolBox::sizeHint() const + +QPointF PythonQtWrapper_QVector4D::toPointF(QVector4D* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toPointF()); } - return QToolBox::sizeHint(); + +QVector2D PythonQtWrapper_QVector4D::toVector2D(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toVector2D()); } -void PythonQtShell_QToolBox::tabletEvent(QTabletEvent* event0) + +QVector2D PythonQtWrapper_QVector4D::toVector2DAffine(QVector4D* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toVector2DAffine()); } - QToolBox::tabletEvent(event0); + +QVector3D PythonQtWrapper_QVector4D::toVector3D(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->toVector3D()); } -void PythonQtShell_QToolBox::timerEvent(QTimerEvent* event0) + +QVector3D PythonQtWrapper_QVector4D::toVector3DAffine(QVector4D* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toVector3DAffine()); } - QToolBox::timerEvent(event0); + +float PythonQtWrapper_QVector4D::w(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->w()); } -void PythonQtShell_QToolBox::wheelEvent(QWheelEvent* event0) + +float PythonQtWrapper_QVector4D::x(QVector4D* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->x()); } - QToolBox::wheelEvent(event0); + +float PythonQtWrapper_QVector4D::y(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->y()); } -QToolBox* PythonQtWrapper_QToolBox::new_QToolBox(QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QToolBox(parent, f); } -const QMetaObject* PythonQtShell_QToolBox::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolBox::staticMetaObject); - } else { - return &QToolBox::staticMetaObject; - } +float PythonQtWrapper_QVector4D::z(QVector4D* theWrappedObject) const +{ + return ( theWrappedObject->z()); +} + +QString PythonQtWrapper_QVector4D::py_toString(QVector4D* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +QAction* PythonQtWrapper_QWhatsThis::static_QWhatsThis_createAction(QObject* parent) +{ + return (QWhatsThis::createAction(parent)); } -int PythonQtShell_QToolBox::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QToolBox::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +void PythonQtWrapper_QWhatsThis::static_QWhatsThis_enterWhatsThisMode() +{ + (QWhatsThis::enterWhatsThisMode()); } -int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) + +void PythonQtWrapper_QWhatsThis::static_QWhatsThis_hideText() { - return ( theWrappedObject->addItem(widget, icon, text)); + (QWhatsThis::hideText()); } -int PythonQtWrapper_QToolBox::addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& text) +bool PythonQtWrapper_QWhatsThis::static_QWhatsThis_inWhatsThisMode() { - return ( theWrappedObject->addItem(widget, text)); + return (QWhatsThis::inWhatsThisMode()); } -int PythonQtWrapper_QToolBox::count(QToolBox* theWrappedObject) const +void PythonQtWrapper_QWhatsThis::static_QWhatsThis_leaveWhatsThisMode() { - return ( theWrappedObject->count()); + (QWhatsThis::leaveWhatsThisMode()); } -int PythonQtWrapper_QToolBox::currentIndex(QToolBox* theWrappedObject) const +void PythonQtWrapper_QWhatsThis::static_QWhatsThis_showText(const QPoint& pos, const QString& text, QWidget* w) { - return ( theWrappedObject->currentIndex()); + (QWhatsThis::showText(pos, text, w)); } -QWidget* PythonQtWrapper_QToolBox::currentWidget(QToolBox* theWrappedObject) const + + +QWhatsThisClickedEvent* PythonQtWrapper_QWhatsThisClickedEvent::new_QWhatsThisClickedEvent(const QString& href) +{ +return new QWhatsThisClickedEvent(href); } + +QString PythonQtWrapper_QWhatsThisClickedEvent::href(QWhatsThisClickedEvent* theWrappedObject) const { - return ( theWrappedObject->currentWidget()); + return ( theWrappedObject->href()); } -int PythonQtWrapper_QToolBox::indexOf(QToolBox* theWrappedObject, QWidget* widget) const + + +PythonQtShell_QWheelEvent::~PythonQtShell_QWheelEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) +{ +return new PythonQtShell_QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers); } + +QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase) +{ +return new PythonQtShell_QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase); } + +QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source) +{ +return new PythonQtShell_QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source); } + +QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, QPoint pixelDelta, QPoint angleDelta, int qt4Delta, Qt::Orientation qt4Orientation, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::ScrollPhase phase, Qt::MouseEventSource source, bool inverted) +{ +return new PythonQtShell_QWheelEvent(pos, globalPos, pixelDelta, angleDelta, qt4Delta, qt4Orientation, buttons, modifiers, phase, source, inverted); } + +QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, const QPointF& globalPos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient) +{ +return new PythonQtShell_QWheelEvent(pos, globalPos, delta, buttons, modifiers, orient); } + +QWheelEvent* PythonQtWrapper_QWheelEvent::new_QWheelEvent(const QPointF& pos, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient) +{ +return new PythonQtShell_QWheelEvent(pos, delta, buttons, modifiers, orient); } + +QPoint PythonQtWrapper_QWheelEvent::angleDelta(QWheelEvent* theWrappedObject) const { - return ( theWrappedObject->indexOf(widget)); + return ( theWrappedObject->angleDelta()); } -int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text) +Qt::MouseButtons PythonQtWrapper_QWheelEvent::buttons(QWheelEvent* theWrappedObject) const { - return ( theWrappedObject->insertItem(index, widget, icon, text)); + return ( theWrappedObject->buttons()); } -int PythonQtWrapper_QToolBox::insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QString& text) +int PythonQtWrapper_QWheelEvent::delta(QWheelEvent* theWrappedObject) const { - return ( theWrappedObject->insertItem(index, widget, text)); + return ( theWrappedObject->delta()); } -bool PythonQtWrapper_QToolBox::isItemEnabled(QToolBox* theWrappedObject, int index) const +QPoint PythonQtWrapper_QWheelEvent::globalPos(QWheelEvent* theWrappedObject) const { - return ( theWrappedObject->isItemEnabled(index)); + return ( theWrappedObject->globalPos()); } -QIcon PythonQtWrapper_QToolBox::itemIcon(QToolBox* theWrappedObject, int index) const +const QPointF* PythonQtWrapper_QWheelEvent::globalPosF(QWheelEvent* theWrappedObject) const { - return ( theWrappedObject->itemIcon(index)); + return &( theWrappedObject->globalPosF()); } -void PythonQtWrapper_QToolBox::itemInserted(QToolBox* theWrappedObject, int index) +int PythonQtWrapper_QWheelEvent::globalX(QWheelEvent* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemInserted(index)); + return ( theWrappedObject->globalX()); } -void PythonQtWrapper_QToolBox::itemRemoved(QToolBox* theWrappedObject, int index) +int PythonQtWrapper_QWheelEvent::globalY(QWheelEvent* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->promoted_itemRemoved(index)); + return ( theWrappedObject->globalY()); } -QString PythonQtWrapper_QToolBox::itemText(QToolBox* theWrappedObject, int index) const +bool PythonQtWrapper_QWheelEvent::inverted(QWheelEvent* theWrappedObject) const { - return ( theWrappedObject->itemText(index)); + return ( theWrappedObject->inverted()); } -QString PythonQtWrapper_QToolBox::itemToolTip(QToolBox* theWrappedObject, int index) const +Qt::Orientation PythonQtWrapper_QWheelEvent::orientation(QWheelEvent* theWrappedObject) const { - return ( theWrappedObject->itemToolTip(index)); + return ( theWrappedObject->orientation()); } -void PythonQtWrapper_QToolBox::removeItem(QToolBox* theWrappedObject, int index) +Qt::ScrollPhase PythonQtWrapper_QWheelEvent::phase(QWheelEvent* theWrappedObject) const { - ( theWrappedObject->removeItem(index)); + return ( theWrappedObject->phase()); } -void PythonQtWrapper_QToolBox::setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled) +QPoint PythonQtWrapper_QWheelEvent::pixelDelta(QWheelEvent* theWrappedObject) const { - ( theWrappedObject->setItemEnabled(index, enabled)); + return ( theWrappedObject->pixelDelta()); } -void PythonQtWrapper_QToolBox::setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon) +QPoint PythonQtWrapper_QWheelEvent::pos(QWheelEvent* theWrappedObject) const { - ( theWrappedObject->setItemIcon(index, icon)); + return ( theWrappedObject->pos()); } -void PythonQtWrapper_QToolBox::setItemText(QToolBox* theWrappedObject, int index, const QString& text) +const QPointF* PythonQtWrapper_QWheelEvent::posF(QWheelEvent* theWrappedObject) const { - ( theWrappedObject->setItemText(index, text)); + return &( theWrappedObject->posF()); } -void PythonQtWrapper_QToolBox::setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip) +Qt::MouseEventSource PythonQtWrapper_QWheelEvent::source(QWheelEvent* theWrappedObject) const { - ( theWrappedObject->setItemToolTip(index, toolTip)); + return ( theWrappedObject->source()); } -QWidget* PythonQtWrapper_QToolBox::widget(QToolBox* theWrappedObject, int index) const +int PythonQtWrapper_QWheelEvent::x(QWheelEvent* theWrappedObject) const { - return ( theWrappedObject->widget(index)); + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QWheelEvent::y(QWheelEvent* theWrappedObject) const +{ + return ( theWrappedObject->y()); } -PythonQtShell_QToolButton::~PythonQtShell_QToolButton() { +PythonQtShell_QWidget::~PythonQtShell_QWidget() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QToolButton::actionEvent(QActionEvent* arg__1) +void PythonQtShell_QWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5710,7 +13564,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -5720,9 +13574,9 @@ if (_wrapper) { } } } - QToolButton::actionEvent(arg__1); + QWidget::actionEvent(event0); } -void PythonQtShell_QToolButton::changeEvent(QEvent* arg__1) +void PythonQtShell_QWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5742,31 +13596,9 @@ if (_wrapper) { } } } - QToolButton::changeEvent(arg__1); -} -void PythonQtShell_QToolButton::checkStateSet() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("checkStateSet"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QToolButton::checkStateSet(); + QWidget::changeEvent(arg__1); } -void PythonQtShell_QToolButton::childEvent(QChildEvent* event0) +void PythonQtShell_QWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5786,9 +13618,9 @@ if (_wrapper) { } } } - QToolButton::childEvent(event0); + QWidget::childEvent(event0); } -void PythonQtShell_QToolButton::closeEvent(QCloseEvent* event0) +void PythonQtShell_QWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5808,9 +13640,9 @@ if (_wrapper) { } } } - QToolButton::closeEvent(event0); + QWidget::closeEvent(event0); } -void PythonQtShell_QToolButton::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5830,9 +13662,9 @@ if (_wrapper) { } } } - QToolButton::contextMenuEvent(event0); + QWidget::contextMenuEvent(event0); } -void PythonQtShell_QToolButton::customEvent(QEvent* event0) +void PythonQtShell_QWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5852,9 +13684,9 @@ if (_wrapper) { } } } - QToolButton::customEvent(event0); + QWidget::customEvent(event0); } -int PythonQtShell_QToolButton::devType() const +int PythonQtShell_QWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5885,9 +13717,9 @@ if (_wrapper) { } } } - return QToolButton::devType(); + return QWidget::devType(); } -void PythonQtShell_QToolButton::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5907,9 +13739,9 @@ if (_wrapper) { } } } - QToolButton::dragEnterEvent(event0); + QWidget::dragEnterEvent(event0); } -void PythonQtShell_QToolButton::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5929,9 +13761,9 @@ if (_wrapper) { } } } - QToolButton::dragLeaveEvent(event0); + QWidget::dragLeaveEvent(event0); } -void PythonQtShell_QToolButton::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5951,9 +13783,9 @@ if (_wrapper) { } } } - QToolButton::dragMoveEvent(event0); + QWidget::dragMoveEvent(event0); } -void PythonQtShell_QToolButton::dropEvent(QDropEvent* event0) +void PythonQtShell_QWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5973,9 +13805,9 @@ if (_wrapper) { } } } - QToolButton::dropEvent(event0); + QWidget::dropEvent(event0); } -void PythonQtShell_QToolButton::enterEvent(QEvent* arg__1) +void PythonQtShell_QWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -5985,7 +13817,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -5995,9 +13827,9 @@ if (_wrapper) { } } } - QToolButton::enterEvent(arg__1); + QWidget::enterEvent(event0); } -bool PythonQtShell_QToolButton::event(QEvent* e0) +bool PythonQtShell_QWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6008,7 +13840,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -6028,9 +13860,9 @@ if (_wrapper) { } } } - return QToolButton::event(e0); + return QWidget::event(event0); } -bool PythonQtShell_QToolButton::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6061,9 +13893,9 @@ if (_wrapper) { } } } - return QToolButton::eventFilter(watched0, event1); + return QWidget::eventFilter(watched0, event1); } -void PythonQtShell_QToolButton::focusInEvent(QFocusEvent* e0) +void PythonQtShell_QWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6073,7 +13905,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6083,9 +13915,9 @@ if (_wrapper) { } } } - QToolButton::focusInEvent(e0); + QWidget::focusInEvent(event0); } -bool PythonQtShell_QToolButton::focusNextPrevChild(bool next0) +bool PythonQtShell_QWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6116,9 +13948,9 @@ if (_wrapper) { } } } - return QToolButton::focusNextPrevChild(next0); + return QWidget::focusNextPrevChild(next0); } -void PythonQtShell_QToolButton::focusOutEvent(QFocusEvent* e0) +void PythonQtShell_QWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6128,7 +13960,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6138,9 +13970,9 @@ if (_wrapper) { } } } - QToolButton::focusOutEvent(e0); + QWidget::focusOutEvent(event0); } -bool PythonQtShell_QToolButton::hasHeightForWidth() const +bool PythonQtShell_QWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6171,9 +14003,9 @@ if (_wrapper) { } } } - return QToolButton::hasHeightForWidth(); + return QWidget::hasHeightForWidth(); } -int PythonQtShell_QToolButton::heightForWidth(int arg__1) const +int PythonQtShell_QWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6204,9 +14036,9 @@ if (_wrapper) { } } } - return QToolButton::heightForWidth(arg__1); + return QWidget::heightForWidth(arg__1); } -void PythonQtShell_QToolButton::hideEvent(QHideEvent* event0) +void PythonQtShell_QWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6226,42 +14058,9 @@ if (_wrapper) { } } } - QToolButton::hideEvent(event0); -} -bool PythonQtShell_QToolButton::hitButton(const QPoint& pos0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hitButton"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&pos0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QToolButton::hitButton(pos0); + QWidget::hideEvent(event0); } -void PythonQtShell_QToolButton::initPainter(QPainter* painter0) const +void PythonQtShell_QWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6281,9 +14080,9 @@ if (_wrapper) { } } } - QToolButton::initPainter(painter0); + QWidget::initPainter(painter0); } -void PythonQtShell_QToolButton::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6303,9 +14102,9 @@ if (_wrapper) { } } } - QToolButton::inputMethodEvent(arg__1); + QWidget::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QToolButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6336,9 +14135,9 @@ if (_wrapper) { } } } - return QToolButton::inputMethodQuery(arg__1); + return QWidget::inputMethodQuery(arg__1); } -void PythonQtShell_QToolButton::keyPressEvent(QKeyEvent* e0) +void PythonQtShell_QWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6348,7 +14147,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6358,9 +14157,9 @@ if (_wrapper) { } } } - QToolButton::keyPressEvent(e0); + QWidget::keyPressEvent(event0); } -void PythonQtShell_QToolButton::keyReleaseEvent(QKeyEvent* e0) +void PythonQtShell_QWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6370,7 +14169,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6380,9 +14179,9 @@ if (_wrapper) { } } } - QToolButton::keyReleaseEvent(e0); + QWidget::keyReleaseEvent(event0); } -void PythonQtShell_QToolButton::leaveEvent(QEvent* arg__1) +void PythonQtShell_QWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6392,7 +14191,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6402,9 +14201,9 @@ if (_wrapper) { } } } - QToolButton::leaveEvent(arg__1); + QWidget::leaveEvent(event0); } -int PythonQtShell_QToolButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6435,9 +14234,9 @@ if (_wrapper) { } } } - return QToolButton::metric(arg__1); + return QWidget::metric(arg__1); } -QSize PythonQtShell_QToolButton::minimumSizeHint() const +QSize PythonQtShell_QWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6468,9 +14267,9 @@ if (_wrapper) { } } } - return QToolButton::minimumSizeHint(); + return QWidget::minimumSizeHint(); } -void PythonQtShell_QToolButton::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6490,9 +14289,9 @@ if (_wrapper) { } } } - QToolButton::mouseDoubleClickEvent(event0); + QWidget::mouseDoubleClickEvent(event0); } -void PythonQtShell_QToolButton::mouseMoveEvent(QMouseEvent* e0) +void PythonQtShell_QWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6502,7 +14301,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6512,9 +14311,9 @@ if (_wrapper) { } } } - QToolButton::mouseMoveEvent(e0); + QWidget::mouseMoveEvent(event0); } -void PythonQtShell_QToolButton::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6524,7 +14323,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6534,9 +14333,9 @@ if (_wrapper) { } } } - QToolButton::mousePressEvent(arg__1); + QWidget::mousePressEvent(event0); } -void PythonQtShell_QToolButton::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6546,7 +14345,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6556,9 +14355,9 @@ if (_wrapper) { } } } - QToolButton::mouseReleaseEvent(arg__1); + QWidget::mouseReleaseEvent(event0); } -void PythonQtShell_QToolButton::moveEvent(QMoveEvent* event0) +void PythonQtShell_QWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6578,9 +14377,9 @@ if (_wrapper) { } } } - QToolButton::moveEvent(event0); + QWidget::moveEvent(event0); } -bool PythonQtShell_QToolButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6588,54 +14387,32 @@ if (_wrapper) { static PyObject* name = PyUnicode_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QToolButton::nativeEvent(eventType0, message1, result2); -} -void PythonQtShell_QToolButton::nextCheckState() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nextCheckState"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QToolButton::nextCheckState(); + return QWidget::nativeEvent(eventType0, message1, result2); } -QPaintEngine* PythonQtShell_QToolButton::paintEngine() const +QPaintEngine* PythonQtShell_QWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6666,9 +14443,9 @@ if (_wrapper) { } } } - return QToolButton::paintEngine(); + return QWidget::paintEngine(); } -void PythonQtShell_QToolButton::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6678,7 +14455,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6688,9 +14465,9 @@ if (_wrapper) { } } } - QToolButton::paintEvent(arg__1); + QWidget::paintEvent(event0); } -QPaintDevice* PythonQtShell_QToolButton::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6721,9 +14498,9 @@ if (_wrapper) { } } } - return QToolButton::redirected(offset0); + return QWidget::redirected(offset0); } -void PythonQtShell_QToolButton::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6743,9 +14520,9 @@ if (_wrapper) { } } } - QToolButton::resizeEvent(event0); + QWidget::resizeEvent(event0); } -void PythonQtShell_QToolButton::setVisible(bool visible0) +void PythonQtShell_QWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6765,9 +14542,9 @@ if (_wrapper) { } } } - QToolButton::setVisible(visible0); + QWidget::setVisible(visible0); } -QPainter* PythonQtShell_QToolButton::sharedPainter() const +QPainter* PythonQtShell_QWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6798,9 +14575,9 @@ if (_wrapper) { } } } - return QToolButton::sharedPainter(); + return QWidget::sharedPainter(); } -void PythonQtShell_QToolButton::showEvent(QShowEvent* event0) +void PythonQtShell_QWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6820,9 +14597,9 @@ if (_wrapper) { } } } - QToolButton::showEvent(event0); + QWidget::showEvent(event0); } -QSize PythonQtShell_QToolButton::sizeHint() const +QSize PythonQtShell_QWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6853,9 +14630,9 @@ if (_wrapper) { } } } - return QToolButton::sizeHint(); + return QWidget::sizeHint(); } -void PythonQtShell_QToolButton::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6875,9 +14652,9 @@ if (_wrapper) { } } } - QToolButton::tabletEvent(event0); + QWidget::tabletEvent(event0); } -void PythonQtShell_QToolButton::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6887,7 +14664,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6897,9 +14674,9 @@ if (_wrapper) { } } } - QToolButton::timerEvent(arg__1); + QWidget::timerEvent(event0); } -void PythonQtShell_QToolButton::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -6919,1948 +14696,1279 @@ if (_wrapper) { } } } - QToolButton::wheelEvent(event0); + QWidget::wheelEvent(event0); } -QToolButton* PythonQtWrapper_QToolButton::new_QToolButton(QWidget* parent) +QWidget* PythonQtWrapper_QWidget::new_QWidget(QWidget* parent, Qt::WindowFlags f) { -return new PythonQtShell_QToolButton(parent); } +return new PythonQtShell_QWidget(parent, f); } -const QMetaObject* PythonQtShell_QToolButton::metaObject() const { +const QMetaObject* PythonQtShell_QWidget::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QToolButton::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWidget::staticMetaObject); } else { - return &QToolButton::staticMetaObject; + return &QWidget::staticMetaObject; } } -int PythonQtShell_QToolButton::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QToolButton::qt_metacall(call, id, args); +int PythonQtShell_QWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWidget::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -Qt::ArrowType PythonQtWrapper_QToolButton::arrowType(QToolButton* theWrappedObject) const +bool PythonQtWrapper_QWidget::acceptDrops(QWidget* theWrappedObject) const { - return ( theWrappedObject->arrowType()); + return ( theWrappedObject->acceptDrops()); } -bool PythonQtWrapper_QToolButton::autoRaise(QToolButton* theWrappedObject) const +void PythonQtWrapper_QWidget::actionEvent(QWidget* theWrappedObject, QActionEvent* event) { - return ( theWrappedObject->autoRaise()); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_actionEvent(event)); } -QAction* PythonQtWrapper_QToolButton::defaultAction(QToolButton* theWrappedObject) const +QList PythonQtWrapper_QWidget::actions(QWidget* theWrappedObject) const { - return ( theWrappedObject->defaultAction()); + return ( theWrappedObject->actions()); } -void PythonQtWrapper_QToolButton::initStyleOption(QToolButton* theWrappedObject, QStyleOptionToolButton* option) const +void PythonQtWrapper_QWidget::activateWindow(QWidget* theWrappedObject) { - ( ((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->promoted_initStyleOption(option)); + ( theWrappedObject->activateWindow()); } -QMenu* PythonQtWrapper_QToolButton::menu(QToolButton* theWrappedObject) const +void PythonQtWrapper_QWidget::addAction(QWidget* theWrappedObject, QAction* action) { - return ( theWrappedObject->menu()); + ( theWrappedObject->addAction(action)); } -QToolButton::ToolButtonPopupMode PythonQtWrapper_QToolButton::popupMode(QToolButton* theWrappedObject) const +void PythonQtWrapper_QWidget::addActions(QWidget* theWrappedObject, QList actions) { - return ( theWrappedObject->popupMode()); + ( theWrappedObject->addActions(actions)); } -void PythonQtWrapper_QToolButton::setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type) +void PythonQtWrapper_QWidget::adjustSize(QWidget* theWrappedObject) { - ( theWrappedObject->setArrowType(type)); + ( theWrappedObject->adjustSize()); } -void PythonQtWrapper_QToolButton::setAutoRaise(QToolButton* theWrappedObject, bool enable) +bool PythonQtWrapper_QWidget::autoFillBackground(QWidget* theWrappedObject) const { - ( theWrappedObject->setAutoRaise(enable)); + return ( theWrappedObject->autoFillBackground()); } -void PythonQtWrapper_QToolButton::setMenu(QToolButton* theWrappedObject, QMenu* menu) +QPalette::ColorRole PythonQtWrapper_QWidget::backgroundRole(QWidget* theWrappedObject) const { - ( theWrappedObject->setMenu(menu)); + return ( theWrappedObject->backgroundRole()); } -void PythonQtWrapper_QToolButton::setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode) +QBackingStore* PythonQtWrapper_QWidget::backingStore(QWidget* theWrappedObject) const { - ( theWrappedObject->setPopupMode(mode)); + return ( theWrappedObject->backingStore()); } -Qt::ToolButtonStyle PythonQtWrapper_QToolButton::toolButtonStyle(QToolButton* theWrappedObject) const +QSize PythonQtWrapper_QWidget::baseSize(QWidget* theWrappedObject) const { - return ( theWrappedObject->toolButtonStyle()); + return ( theWrappedObject->baseSize()); } +void PythonQtWrapper_QWidget::changeEvent(QWidget* theWrappedObject, QEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_changeEvent(arg__1)); +} +QWidget* PythonQtWrapper_QWidget::childAt(QWidget* theWrappedObject, const QPoint& p) const +{ + return ( theWrappedObject->childAt(p)); +} -QFont PythonQtWrapper_QToolTip::static_QToolTip_font() +QWidget* PythonQtWrapper_QWidget::childAt(QWidget* theWrappedObject, int x, int y) const { - return (QToolTip::font()); + return ( theWrappedObject->childAt(x, y)); } -void PythonQtWrapper_QToolTip::static_QToolTip_hideText() +QRect PythonQtWrapper_QWidget::childrenRect(QWidget* theWrappedObject) const { - (QToolTip::hideText()); + return ( theWrappedObject->childrenRect()); } -bool PythonQtWrapper_QToolTip::static_QToolTip_isVisible() +QRegion PythonQtWrapper_QWidget::childrenRegion(QWidget* theWrappedObject) const { - return (QToolTip::isVisible()); + return ( theWrappedObject->childrenRegion()); } -QPalette PythonQtWrapper_QToolTip::static_QToolTip_palette() +void PythonQtWrapper_QWidget::clearFocus(QWidget* theWrappedObject) { - return (QToolTip::palette()); + ( theWrappedObject->clearFocus()); } -void PythonQtWrapper_QToolTip::static_QToolTip_setFont(const QFont& arg__1) +void PythonQtWrapper_QWidget::clearMask(QWidget* theWrappedObject) { - (QToolTip::setFont(arg__1)); + ( theWrappedObject->clearMask()); } -void PythonQtWrapper_QToolTip::static_QToolTip_setPalette(const QPalette& arg__1) +void PythonQtWrapper_QWidget::closeEvent(QWidget* theWrappedObject, QCloseEvent* event) { - (QToolTip::setPalette(arg__1)); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_closeEvent(event)); } -void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w) +QMargins PythonQtWrapper_QWidget::contentsMargins(QWidget* theWrappedObject) const { - (QToolTip::showText(pos, text, w)); + return ( theWrappedObject->contentsMargins()); } -void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect) +QRect PythonQtWrapper_QWidget::contentsRect(QWidget* theWrappedObject) const { - (QToolTip::showText(pos, text, w, rect)); + return ( theWrappedObject->contentsRect()); } -void PythonQtWrapper_QToolTip::static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect, int msecShowTime) +void PythonQtWrapper_QWidget::contextMenuEvent(QWidget* theWrappedObject, QContextMenuEvent* event) { - (QToolTip::showText(pos, text, w, rect, msecShowTime)); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_contextMenuEvent(event)); } -QString PythonQtWrapper_QToolTip::static_QToolTip_text() +Qt::ContextMenuPolicy PythonQtWrapper_QWidget::contextMenuPolicy(QWidget* theWrappedObject) const { - return (QToolTip::text()); + return ( theWrappedObject->contextMenuPolicy()); } +void PythonQtWrapper_QWidget::createWinId(QWidget* theWrappedObject) +{ + ( theWrappedObject->createWinId()); +} +QWidget* PythonQtWrapper_QWidget::static_QWidget_createWindowContainer(QWindow* window, QWidget* parent, Qt::WindowFlags flags) +{ + return (QWidget::createWindowContainer(window, parent, flags)); +} -QTouchDevice* PythonQtWrapper_QTouchDevice::new_QTouchDevice() -{ -return new QTouchDevice(); } +QCursor PythonQtWrapper_QWidget::cursor(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->cursor()); +} -QTouchDevice::Capabilities PythonQtWrapper_QTouchDevice::capabilities(QTouchDevice* theWrappedObject) const +void PythonQtWrapper_QWidget::destroy(QWidget* theWrappedObject, bool destroyWindow, bool destroySubWindows) { - return ( theWrappedObject->capabilities()); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_destroy(destroyWindow, destroySubWindows)); } -QList PythonQtWrapper_QTouchDevice::static_QTouchDevice_devices() +void PythonQtWrapper_QWidget::dragEnterEvent(QWidget* theWrappedObject, QDragEnterEvent* event) { - return (QTouchDevice::devices()); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragEnterEvent(event)); } -int PythonQtWrapper_QTouchDevice::maximumTouchPoints(QTouchDevice* theWrappedObject) const +void PythonQtWrapper_QWidget::dragLeaveEvent(QWidget* theWrappedObject, QDragLeaveEvent* event) { - return ( theWrappedObject->maximumTouchPoints()); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragLeaveEvent(event)); } -QString PythonQtWrapper_QTouchDevice::name(QTouchDevice* theWrappedObject) const +void PythonQtWrapper_QWidget::dragMoveEvent(QWidget* theWrappedObject, QDragMoveEvent* event) { - return ( theWrappedObject->name()); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dragMoveEvent(event)); } -void PythonQtWrapper_QTouchDevice::setCapabilities(QTouchDevice* theWrappedObject, QTouchDevice::Capabilities caps) +void PythonQtWrapper_QWidget::dropEvent(QWidget* theWrappedObject, QDropEvent* event) { - ( theWrappedObject->setCapabilities(caps)); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_dropEvent(event)); } -void PythonQtWrapper_QTouchDevice::setMaximumTouchPoints(QTouchDevice* theWrappedObject, int max) +WId PythonQtWrapper_QWidget::effectiveWinId(QWidget* theWrappedObject) const { - ( theWrappedObject->setMaximumTouchPoints(max)); + return ( theWrappedObject->effectiveWinId()); } -void PythonQtWrapper_QTouchDevice::setName(QTouchDevice* theWrappedObject, const QString& name) +void PythonQtWrapper_QWidget::ensurePolished(QWidget* theWrappedObject) const { - ( theWrappedObject->setName(name)); + ( theWrappedObject->ensurePolished()); } -void PythonQtWrapper_QTouchDevice::setType(QTouchDevice* theWrappedObject, QTouchDevice::DeviceType devType) +void PythonQtWrapper_QWidget::enterEvent(QWidget* theWrappedObject, QEvent* event) { - ( theWrappedObject->setType(devType)); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_enterEvent(event)); } -QTouchDevice::DeviceType PythonQtWrapper_QTouchDevice::type(QTouchDevice* theWrappedObject) const +void PythonQtWrapper_QWidget::focusInEvent(QWidget* theWrappedObject, QFocusEvent* event) { - return ( theWrappedObject->type()); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusInEvent(event)); } -QString PythonQtWrapper_QTouchDevice::py_toString(QTouchDevice* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +bool PythonQtWrapper_QWidget::focusNextChild(QWidget* theWrappedObject) +{ + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusNextChild()); } +bool PythonQtWrapper_QWidget::focusNextPrevChild(QWidget* theWrappedObject, bool next) +{ + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusNextPrevChild(next)); +} +void PythonQtWrapper_QWidget::focusOutEvent(QWidget* theWrappedObject, QFocusEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusOutEvent(event)); +} -PythonQtShell_QTouchEvent::~PythonQtShell_QTouchEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +Qt::FocusPolicy PythonQtWrapper_QWidget::focusPolicy(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->focusPolicy()); } -QTouchEvent* PythonQtWrapper_QTouchEvent::new_QTouchEvent(QEvent::Type eventType, QTouchDevice* device, Qt::KeyboardModifiers modifiers, Qt::TouchPointStates touchPointStates, const QList& touchPoints) -{ -return new PythonQtShell_QTouchEvent(eventType, device, modifiers, touchPointStates, touchPoints); } -QTouchDevice* PythonQtWrapper_QTouchEvent::device(QTouchEvent* theWrappedObject) const +bool PythonQtWrapper_QWidget::focusPreviousChild(QWidget* theWrappedObject) { - return ( theWrappedObject->device()); + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_focusPreviousChild()); } -void PythonQtWrapper_QTouchEvent::setDevice(QTouchEvent* theWrappedObject, QTouchDevice* adevice) +QWidget* PythonQtWrapper_QWidget::focusProxy(QWidget* theWrappedObject) const { - ( theWrappedObject->setDevice(adevice)); + return ( theWrappedObject->focusProxy()); } -void PythonQtWrapper_QTouchEvent::setTarget(QTouchEvent* theWrappedObject, QObject* atarget) +QWidget* PythonQtWrapper_QWidget::focusWidget(QWidget* theWrappedObject) const { - ( theWrappedObject->setTarget(atarget)); + return ( theWrappedObject->focusWidget()); } -void PythonQtWrapper_QTouchEvent::setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates) +const QFont* PythonQtWrapper_QWidget::font(QWidget* theWrappedObject) const { - ( theWrappedObject->setTouchPointStates(aTouchPointStates)); + return &( theWrappedObject->font()); } -void PythonQtWrapper_QTouchEvent::setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints) +QFontInfo PythonQtWrapper_QWidget::fontInfo(QWidget* theWrappedObject) const { - ( theWrappedObject->setTouchPoints(atouchPoints)); + return ( theWrappedObject->fontInfo()); } -void PythonQtWrapper_QTouchEvent::setWindow(QTouchEvent* theWrappedObject, QWindow* awindow) +QFontMetrics PythonQtWrapper_QWidget::fontMetrics(QWidget* theWrappedObject) const { - ( theWrappedObject->setWindow(awindow)); + return ( theWrappedObject->fontMetrics()); } -QObject* PythonQtWrapper_QTouchEvent::target(QTouchEvent* theWrappedObject) const +QPalette::ColorRole PythonQtWrapper_QWidget::foregroundRole(QWidget* theWrappedObject) const { - return ( theWrappedObject->target()); + return ( theWrappedObject->foregroundRole()); } -Qt::TouchPointStates PythonQtWrapper_QTouchEvent::touchPointStates(QTouchEvent* theWrappedObject) const +QRect PythonQtWrapper_QWidget::frameGeometry(QWidget* theWrappedObject) const { - return ( theWrappedObject->touchPointStates()); + return ( theWrappedObject->frameGeometry()); } -const QList* PythonQtWrapper_QTouchEvent::touchPoints(QTouchEvent* theWrappedObject) const +QSize PythonQtWrapper_QWidget::frameSize(QWidget* theWrappedObject) const { - return &( theWrappedObject->touchPoints()); + return ( theWrappedObject->frameSize()); } -QWindow* PythonQtWrapper_QTouchEvent::window(QTouchEvent* theWrappedObject) const +const QRect* PythonQtWrapper_QWidget::geometry(QWidget* theWrappedObject) const { - return ( theWrappedObject->window()); + return &( theWrappedObject->geometry()); } +QPixmap PythonQtWrapper_QWidget::grab(QWidget* theWrappedObject, const QRect& rectangle) +{ + return ( theWrappedObject->grab(rectangle)); +} +void PythonQtWrapper_QWidget::grabGesture(QWidget* theWrappedObject, Qt::GestureType type, Qt::GestureFlags flags) +{ + ( theWrappedObject->grabGesture(type, flags)); +} -QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::new_QTouchEvent__TouchPoint(const QTouchEvent::TouchPoint& other) -{ -return new QTouchEvent::TouchPoint(other); } +void PythonQtWrapper_QWidget::grabKeyboard(QWidget* theWrappedObject) +{ + ( theWrappedObject->grabKeyboard()); +} -QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::new_QTouchEvent__TouchPoint(int id) -{ -return new QTouchEvent::TouchPoint(id); } +void PythonQtWrapper_QWidget::grabMouse(QWidget* theWrappedObject) +{ + ( theWrappedObject->grabMouse()); +} -QSizeF PythonQtWrapper_QTouchEvent__TouchPoint::ellipseDiameters(QTouchEvent::TouchPoint* theWrappedObject) const +void PythonQtWrapper_QWidget::grabMouse(QWidget* theWrappedObject, const QCursor& arg__1) { - return ( theWrappedObject->ellipseDiameters()); + ( theWrappedObject->grabMouse(arg__1)); +} + +int PythonQtWrapper_QWidget::grabShortcut(QWidget* theWrappedObject, const QKeySequence& key, Qt::ShortcutContext context) +{ + return ( theWrappedObject->grabShortcut(key, context)); +} + +QGraphicsEffect* PythonQtWrapper_QWidget::graphicsEffect(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->graphicsEffect()); +} + +QGraphicsProxyWidget* PythonQtWrapper_QWidget::graphicsProxyWidget(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->graphicsProxyWidget()); +} + +bool PythonQtWrapper_QWidget::hasFocus(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->hasFocus()); +} + +bool PythonQtWrapper_QWidget::hasHeightForWidth(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->hasHeightForWidth()); +} + +bool PythonQtWrapper_QWidget::hasMouseTracking(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->hasMouseTracking()); +} + +bool PythonQtWrapper_QWidget::hasTabletTracking(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->hasTabletTracking()); +} + +int PythonQtWrapper_QWidget::height(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +int PythonQtWrapper_QWidget::heightForWidth(QWidget* theWrappedObject, int arg__1) const +{ + return ( theWrappedObject->heightForWidth(arg__1)); +} + +void PythonQtWrapper_QWidget::hideEvent(QWidget* theWrappedObject, QHideEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_hideEvent(event)); +} + +void PythonQtWrapper_QWidget::inputMethodEvent(QWidget* theWrappedObject, QInputMethodEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_inputMethodEvent(arg__1)); +} + +Qt::InputMethodHints PythonQtWrapper_QWidget::inputMethodHints(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->inputMethodHints()); +} + +QVariant PythonQtWrapper_QWidget::inputMethodQuery(QWidget* theWrappedObject, Qt::InputMethodQuery arg__1) const +{ + return ( theWrappedObject->inputMethodQuery(arg__1)); +} + +void PythonQtWrapper_QWidget::insertAction(QWidget* theWrappedObject, QAction* before, QAction* action) +{ + ( theWrappedObject->insertAction(before, action)); +} + +void PythonQtWrapper_QWidget::insertActions(QWidget* theWrappedObject, QAction* before, QList actions) +{ + ( theWrappedObject->insertActions(before, actions)); +} + +bool PythonQtWrapper_QWidget::isActiveWindow(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isActiveWindow()); +} + +bool PythonQtWrapper_QWidget::isAncestorOf(QWidget* theWrappedObject, const QWidget* child) const +{ + return ( theWrappedObject->isAncestorOf(child)); +} + +bool PythonQtWrapper_QWidget::isEnabled(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +bool PythonQtWrapper_QWidget::isEnabledTo(QWidget* theWrappedObject, const QWidget* arg__1) const +{ + return ( theWrappedObject->isEnabledTo(arg__1)); +} + +bool PythonQtWrapper_QWidget::isFullScreen(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isFullScreen()); +} + +bool PythonQtWrapper_QWidget::isHidden(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isHidden()); +} + +bool PythonQtWrapper_QWidget::isLeftToRight(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isLeftToRight()); +} + +bool PythonQtWrapper_QWidget::isMaximized(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isMaximized()); +} + +bool PythonQtWrapper_QWidget::isMinimized(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isMinimized()); +} + +bool PythonQtWrapper_QWidget::isModal(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->isModal()); } -QTouchEvent::TouchPoint::InfoFlags PythonQtWrapper_QTouchEvent__TouchPoint::flags(QTouchEvent::TouchPoint* theWrappedObject) const +bool PythonQtWrapper_QWidget::isRightToLeft(QWidget* theWrappedObject) const { - return ( theWrappedObject->flags()); + return ( theWrappedObject->isRightToLeft()); } -int PythonQtWrapper_QTouchEvent__TouchPoint::id(QTouchEvent::TouchPoint* theWrappedObject) const +bool PythonQtWrapper_QWidget::isVisible(QWidget* theWrappedObject) const { - return ( theWrappedObject->id()); + return ( theWrappedObject->isVisible()); } -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +bool PythonQtWrapper_QWidget::isVisibleTo(QWidget* theWrappedObject, const QWidget* arg__1) const { - return ( theWrappedObject->lastNormalizedPos()); + return ( theWrappedObject->isVisibleTo(arg__1)); } -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastPos(QTouchEvent::TouchPoint* theWrappedObject) const +bool PythonQtWrapper_QWidget::isWindow(QWidget* theWrappedObject) const { - return ( theWrappedObject->lastPos()); + return ( theWrappedObject->isWindow()); } -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastScenePos(QTouchEvent::TouchPoint* theWrappedObject) const +bool PythonQtWrapper_QWidget::isWindowModified(QWidget* theWrappedObject) const { - return ( theWrappedObject->lastScenePos()); + return ( theWrappedObject->isWindowModified()); } -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::lastScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const +void PythonQtWrapper_QWidget::keyPressEvent(QWidget* theWrappedObject, QKeyEvent* event) { - return ( theWrappedObject->lastScreenPos()); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_keyPressEvent(event)); } -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::normalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +void PythonQtWrapper_QWidget::keyReleaseEvent(QWidget* theWrappedObject, QKeyEvent* event) { - return ( theWrappedObject->normalizedPos()); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_keyReleaseEvent(event)); } -QTouchEvent::TouchPoint* PythonQtWrapper_QTouchEvent__TouchPoint::operator_assign(QTouchEvent::TouchPoint* theWrappedObject, const QTouchEvent::TouchPoint& other) +QWidget* PythonQtWrapper_QWidget::static_QWidget_keyboardGrabber() { - return &( (*theWrappedObject)= other); + return (QWidget::keyboardGrabber()); } -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::pos(QTouchEvent::TouchPoint* theWrappedObject) const +QLayout* PythonQtWrapper_QWidget::layout(QWidget* theWrappedObject) const { - return ( theWrappedObject->pos()); + return ( theWrappedObject->layout()); } -qreal PythonQtWrapper_QTouchEvent__TouchPoint::pressure(QTouchEvent::TouchPoint* theWrappedObject) const +Qt::LayoutDirection PythonQtWrapper_QWidget::layoutDirection(QWidget* theWrappedObject) const { - return ( theWrappedObject->pressure()); + return ( theWrappedObject->layoutDirection()); } -QVector PythonQtWrapper_QTouchEvent__TouchPoint::rawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject) const +void PythonQtWrapper_QWidget::leaveEvent(QWidget* theWrappedObject, QEvent* event) { - return ( theWrappedObject->rawScreenPositions()); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_leaveEvent(event)); } -QRectF PythonQtWrapper_QTouchEvent__TouchPoint::rect(QTouchEvent::TouchPoint* theWrappedObject) const +QLocale PythonQtWrapper_QWidget::locale(QWidget* theWrappedObject) const { - return ( theWrappedObject->rect()); + return ( theWrappedObject->locale()); } -qreal PythonQtWrapper_QTouchEvent__TouchPoint::rotation(QTouchEvent::TouchPoint* theWrappedObject) const +QPoint PythonQtWrapper_QWidget::mapFrom(QWidget* theWrappedObject, const QWidget* arg__1, const QPoint& arg__2) const { - return ( theWrappedObject->rotation()); + return ( theWrappedObject->mapFrom(arg__1, arg__2)); } -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::scenePos(QTouchEvent::TouchPoint* theWrappedObject) const +QPoint PythonQtWrapper_QWidget::mapFromGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const { - return ( theWrappedObject->scenePos()); + return ( theWrappedObject->mapFromGlobal(arg__1)); } -QRectF PythonQtWrapper_QTouchEvent__TouchPoint::sceneRect(QTouchEvent::TouchPoint* theWrappedObject) const +QPoint PythonQtWrapper_QWidget::mapFromParent(QWidget* theWrappedObject, const QPoint& arg__1) const { - return ( theWrappedObject->sceneRect()); + return ( theWrappedObject->mapFromParent(arg__1)); } -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::screenPos(QTouchEvent::TouchPoint* theWrappedObject) const +QPoint PythonQtWrapper_QWidget::mapTo(QWidget* theWrappedObject, const QWidget* arg__1, const QPoint& arg__2) const { - return ( theWrappedObject->screenPos()); + return ( theWrappedObject->mapTo(arg__1, arg__2)); } -QRectF PythonQtWrapper_QTouchEvent__TouchPoint::screenRect(QTouchEvent::TouchPoint* theWrappedObject) const +QPoint PythonQtWrapper_QWidget::mapToGlobal(QWidget* theWrappedObject, const QPoint& arg__1) const { - return ( theWrappedObject->screenRect()); + return ( theWrappedObject->mapToGlobal(arg__1)); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setEllipseDiameters(QTouchEvent::TouchPoint* theWrappedObject, const QSizeF& dia) +QPoint PythonQtWrapper_QWidget::mapToParent(QWidget* theWrappedObject, const QPoint& arg__1) const { - ( theWrappedObject->setEllipseDiameters(dia)); + return ( theWrappedObject->mapToParent(arg__1)); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setFlags(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint::InfoFlags flags) +QRegion PythonQtWrapper_QWidget::mask(QWidget* theWrappedObject) const { - ( theWrappedObject->setFlags(flags)); + return ( theWrappedObject->mask()); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setId(QTouchEvent::TouchPoint* theWrappedObject, int id) +int PythonQtWrapper_QWidget::maximumHeight(QWidget* theWrappedObject) const { - ( theWrappedObject->setId(id)); + return ( theWrappedObject->maximumHeight()); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setLastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastNormalizedPos) +QSize PythonQtWrapper_QWidget::maximumSize(QWidget* theWrappedObject) const { - ( theWrappedObject->setLastNormalizedPos(lastNormalizedPos)); + return ( theWrappedObject->maximumSize()); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setLastPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastPos) +int PythonQtWrapper_QWidget::maximumWidth(QWidget* theWrappedObject) const { - ( theWrappedObject->setLastPos(lastPos)); + return ( theWrappedObject->maximumWidth()); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setLastScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScenePos) +int PythonQtWrapper_QWidget::minimumHeight(QWidget* theWrappedObject) const { - ( theWrappedObject->setLastScenePos(lastScenePos)); + return ( theWrappedObject->minimumHeight()); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setLastScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScreenPos) +QSize PythonQtWrapper_QWidget::minimumSize(QWidget* theWrappedObject) const { - ( theWrappedObject->setLastScreenPos(lastScreenPos)); + return ( theWrappedObject->minimumSize()); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& normalizedPos) +QSize PythonQtWrapper_QWidget::minimumSizeHint(QWidget* theWrappedObject) const { - ( theWrappedObject->setNormalizedPos(normalizedPos)); + return ( theWrappedObject->minimumSizeHint()); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& pos) +int PythonQtWrapper_QWidget::minimumWidth(QWidget* theWrappedObject) const { - ( theWrappedObject->setPos(pos)); + return ( theWrappedObject->minimumWidth()); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setPressure(QTouchEvent::TouchPoint* theWrappedObject, qreal pressure) +void PythonQtWrapper_QWidget::mouseDoubleClickEvent(QWidget* theWrappedObject, QMouseEvent* event) { - ( theWrappedObject->setPressure(pressure)); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseDoubleClickEvent(event)); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setRawScreenPositions(QTouchEvent::TouchPoint* theWrappedObject, const QVector& positions) +QWidget* PythonQtWrapper_QWidget::static_QWidget_mouseGrabber() { - ( theWrappedObject->setRawScreenPositions(positions)); + return (QWidget::mouseGrabber()); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect) +void PythonQtWrapper_QWidget::mouseMoveEvent(QWidget* theWrappedObject, QMouseEvent* event) { - ( theWrappedObject->setRect(rect)); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseMoveEvent(event)); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setRotation(QTouchEvent::TouchPoint* theWrappedObject, qreal angle) +void PythonQtWrapper_QWidget::mousePressEvent(QWidget* theWrappedObject, QMouseEvent* event) { - ( theWrappedObject->setRotation(angle)); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mousePressEvent(event)); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& scenePos) +void PythonQtWrapper_QWidget::mouseReleaseEvent(QWidget* theWrappedObject, QMouseEvent* event) { - ( theWrappedObject->setScenePos(scenePos)); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_mouseReleaseEvent(event)); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setSceneRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& sceneRect) +void PythonQtWrapper_QWidget::move(QWidget* theWrappedObject, const QPoint& arg__1) { - ( theWrappedObject->setSceneRect(sceneRect)); + ( theWrappedObject->move(arg__1)); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& screenPos) +void PythonQtWrapper_QWidget::move(QWidget* theWrappedObject, int x, int y) { - ( theWrappedObject->setScreenPos(screenPos)); + ( theWrappedObject->move(x, y)); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setScreenRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& screenRect) +void PythonQtWrapper_QWidget::moveEvent(QWidget* theWrappedObject, QMoveEvent* event) { - ( theWrappedObject->setScreenRect(screenRect)); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_moveEvent(event)); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setStartNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startNormalizedPos) +bool PythonQtWrapper_QWidget::nativeEvent(QWidget* theWrappedObject, const QByteArray& eventType, void* message, long* result) { - ( theWrappedObject->setStartNormalizedPos(startNormalizedPos)); + return ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_nativeEvent(eventType, message, result)); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setStartPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startPos) +QWidget* PythonQtWrapper_QWidget::nativeParentWidget(QWidget* theWrappedObject) const { - ( theWrappedObject->setStartPos(startPos)); + return ( theWrappedObject->nativeParentWidget()); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setStartScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScenePos) +QWidget* PythonQtWrapper_QWidget::nextInFocusChain(QWidget* theWrappedObject) const { - ( theWrappedObject->setStartScenePos(startScenePos)); + return ( theWrappedObject->nextInFocusChain()); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setStartScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScreenPos) +QRect PythonQtWrapper_QWidget::normalGeometry(QWidget* theWrappedObject) const { - ( theWrappedObject->setStartScreenPos(startScreenPos)); + return ( theWrappedObject->normalGeometry()); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setState(QTouchEvent::TouchPoint* theWrappedObject, Qt::TouchPointStates state) +void PythonQtWrapper_QWidget::overrideWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type) { - ( theWrappedObject->setState(state)); + ( theWrappedObject->overrideWindowFlags(type)); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setUniqueId(QTouchEvent::TouchPoint* theWrappedObject, qint64 uid) +void PythonQtWrapper_QWidget::overrideWindowState(QWidget* theWrappedObject, Qt::WindowStates state) { - ( theWrappedObject->setUniqueId(uid)); + ( theWrappedObject->overrideWindowState(state)); } -void PythonQtWrapper_QTouchEvent__TouchPoint::setVelocity(QTouchEvent::TouchPoint* theWrappedObject, const QVector2D& v) +void PythonQtWrapper_QWidget::paintEvent(QWidget* theWrappedObject, QPaintEvent* event) { - ( theWrappedObject->setVelocity(v)); + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_paintEvent(event)); } -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const +const QPalette* PythonQtWrapper_QWidget::palette(QWidget* theWrappedObject) const { - return ( theWrappedObject->startNormalizedPos()); + return &( theWrappedObject->palette()); } -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startPos(QTouchEvent::TouchPoint* theWrappedObject) const +QWidget* PythonQtWrapper_QWidget::parentWidget(QWidget* theWrappedObject) const { - return ( theWrappedObject->startPos()); + return ( theWrappedObject->parentWidget()); } -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startScenePos(QTouchEvent::TouchPoint* theWrappedObject) const +QPoint PythonQtWrapper_QWidget::pos(QWidget* theWrappedObject) const { - return ( theWrappedObject->startScenePos()); + return ( theWrappedObject->pos()); } -QPointF PythonQtWrapper_QTouchEvent__TouchPoint::startScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const +QWidget* PythonQtWrapper_QWidget::previousInFocusChain(QWidget* theWrappedObject) const { - return ( theWrappedObject->startScreenPos()); + return ( theWrappedObject->previousInFocusChain()); } -Qt::TouchPointState PythonQtWrapper_QTouchEvent__TouchPoint::state(QTouchEvent::TouchPoint* theWrappedObject) const +QRect PythonQtWrapper_QWidget::rect(QWidget* theWrappedObject) const { - return ( theWrappedObject->state()); + return ( theWrappedObject->rect()); } -void PythonQtWrapper_QTouchEvent__TouchPoint::swap(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint& other) +void PythonQtWrapper_QWidget::releaseKeyboard(QWidget* theWrappedObject) { - ( theWrappedObject->swap(other)); + ( theWrappedObject->releaseKeyboard()); } -QVector2D PythonQtWrapper_QTouchEvent__TouchPoint::velocity(QTouchEvent::TouchPoint* theWrappedObject) const +void PythonQtWrapper_QWidget::releaseMouse(QWidget* theWrappedObject) { - return ( theWrappedObject->velocity()); + ( theWrappedObject->releaseMouse()); } -QString PythonQtWrapper_QTouchEvent__TouchPoint::py_toString(QTouchEvent::TouchPoint* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +void PythonQtWrapper_QWidget::releaseShortcut(QWidget* theWrappedObject, int id) +{ + ( theWrappedObject->releaseShortcut(id)); } - - -PythonQtShell_QTreeView::~PythonQtShell_QTreeView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTreeView::actionEvent(QActionEvent* event0) +void PythonQtWrapper_QWidget::removeAction(QWidget* theWrappedObject, QAction* action) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeView::actionEvent(event0); + ( theWrappedObject->removeAction(action)); } -void PythonQtShell_QTreeView::changeEvent(QEvent* arg__1) + +void PythonQtWrapper_QWidget::render(QWidget* theWrappedObject, QPaintDevice* target, const QPoint& targetOffset, const QRegion& sourceRegion, QWidget::RenderFlags renderFlags) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeView::changeEvent(arg__1); + ( theWrappedObject->render(target, targetOffset, sourceRegion, renderFlags)); } -void PythonQtShell_QTreeView::childEvent(QChildEvent* event0) + +void PythonQtWrapper_QWidget::render(QWidget* theWrappedObject, QPainter* painter, const QPoint& targetOffset, const QRegion& sourceRegion, QWidget::RenderFlags renderFlags) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->render(painter, targetOffset, sourceRegion, renderFlags)); } - QTreeView::childEvent(event0); -} -void PythonQtShell_QTreeView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) + +void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, const QRect& arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeView::closeEditor(editor0, hint1); + ( theWrappedObject->repaint(arg__1)); } -void PythonQtShell_QTreeView::closeEvent(QCloseEvent* event0) + +void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, const QRegion& arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeView::closeEvent(event0); + ( theWrappedObject->repaint(arg__1)); } -void PythonQtShell_QTreeView::commitData(QWidget* editor0) + +void PythonQtWrapper_QWidget::repaint(QWidget* theWrappedObject, int x, int y, int w, int h) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeView::commitData(editor0); + ( theWrappedObject->repaint(x, y, w, h)); } -void PythonQtShell_QTreeView::contextMenuEvent(QContextMenuEvent* arg__1) + +void PythonQtWrapper_QWidget::resize(QWidget* theWrappedObject, const QSize& arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->resize(arg__1)); } - QTreeView::contextMenuEvent(arg__1); + +void PythonQtWrapper_QWidget::resize(QWidget* theWrappedObject, int w, int h) +{ + ( theWrappedObject->resize(w, h)); } -void PythonQtShell_QTreeView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) + +void PythonQtWrapper_QWidget::resizeEvent(QWidget* theWrappedObject, QResizeEvent* event) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_resizeEvent(event)); } - QTreeView::currentChanged(current0, previous1); + +bool PythonQtWrapper_QWidget::restoreGeometry(QWidget* theWrappedObject, const QByteArray& geometry) +{ + return ( theWrappedObject->restoreGeometry(geometry)); } -void PythonQtShell_QTreeView::customEvent(QEvent* event0) + +QByteArray PythonQtWrapper_QWidget::saveGeometry(QWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->saveGeometry()); } - QTreeView::customEvent(event0); + +void PythonQtWrapper_QWidget::scroll(QWidget* theWrappedObject, int dx, int dy) +{ + ( theWrappedObject->scroll(dx, dy)); } -void PythonQtShell_QTreeView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) + +void PythonQtWrapper_QWidget::scroll(QWidget* theWrappedObject, int dx, int dy, const QRect& arg__3) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dataChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->scroll(dx, dy, arg__3)); } - QTreeView::dataChanged(topLeft0, bottomRight1, roles2); + +void PythonQtWrapper_QWidget::setAcceptDrops(QWidget* theWrappedObject, bool on) +{ + ( theWrappedObject->setAcceptDrops(on)); } -int PythonQtShell_QTreeView::devType() const + +void PythonQtWrapper_QWidget::setAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1, bool on) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setAttribute(arg__1, on)); } - return QTreeView::devType(); + +void PythonQtWrapper_QWidget::setAutoFillBackground(QWidget* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setAutoFillBackground(enabled)); } -void PythonQtShell_QTreeView::doItemsLayout() + +void PythonQtWrapper_QWidget::setBackgroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setBackgroundRole(arg__1)); } - QTreeView::doItemsLayout(); + +void PythonQtWrapper_QWidget::setBaseSize(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setBaseSize(arg__1)); } -void PythonQtShell_QTreeView::dragEnterEvent(QDragEnterEvent* event0) + +void PythonQtWrapper_QWidget::setBaseSize(QWidget* theWrappedObject, int basew, int baseh) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setBaseSize(basew, baseh)); } - QTreeView::dragEnterEvent(event0); + +void PythonQtWrapper_QWidget::setContentsMargins(QWidget* theWrappedObject, const QMargins& margins) +{ + ( theWrappedObject->setContentsMargins(margins)); } -void PythonQtShell_QTreeView::dragLeaveEvent(QDragLeaveEvent* event0) + +void PythonQtWrapper_QWidget::setContentsMargins(QWidget* theWrappedObject, int left, int top, int right, int bottom) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setContentsMargins(left, top, right, bottom)); } - QTreeView::dragLeaveEvent(event0); + +void PythonQtWrapper_QWidget::setContextMenuPolicy(QWidget* theWrappedObject, Qt::ContextMenuPolicy policy) +{ + ( theWrappedObject->setContextMenuPolicy(policy)); } -void PythonQtShell_QTreeView::dragMoveEvent(QDragMoveEvent* event0) + +void PythonQtWrapper_QWidget::setCursor(QWidget* theWrappedObject, const QCursor& arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCursor(arg__1)); } - QTreeView::dragMoveEvent(event0); + +void PythonQtWrapper_QWidget::setFixedHeight(QWidget* theWrappedObject, int h) +{ + ( theWrappedObject->setFixedHeight(h)); } -void PythonQtShell_QTreeView::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const + +void PythonQtWrapper_QWidget::setFixedSize(QWidget* theWrappedObject, const QSize& arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawBranches"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFixedSize(arg__1)); } - QTreeView::drawBranches(painter0, rect1, index2); + +void PythonQtWrapper_QWidget::setFixedSize(QWidget* theWrappedObject, int w, int h) +{ + ( theWrappedObject->setFixedSize(w, h)); } -void PythonQtShell_QTreeView::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const + +void PythonQtWrapper_QWidget::setFixedWidth(QWidget* theWrappedObject, int w) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawRow"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&painter0, (void*)&options1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFixedWidth(w)); } - QTreeView::drawRow(painter0, options1, index2); + +void PythonQtWrapper_QWidget::setFocus(QWidget* theWrappedObject, Qt::FocusReason reason) +{ + ( theWrappedObject->setFocus(reason)); } -void PythonQtShell_QTreeView::dropEvent(QDropEvent* event0) + +void PythonQtWrapper_QWidget::setFocusPolicy(QWidget* theWrappedObject, Qt::FocusPolicy policy) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFocusPolicy(policy)); +} + +void PythonQtWrapper_QWidget::setFocusProxy(QWidget* theWrappedObject, QWidget* arg__1) +{ + ( theWrappedObject->setFocusProxy(arg__1)); } - QTreeView::dropEvent(event0); + +void PythonQtWrapper_QWidget::setFont(QWidget* theWrappedObject, const QFont& arg__1) +{ + ( theWrappedObject->setFont(arg__1)); } -bool PythonQtShell_QTreeView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) + +void PythonQtWrapper_QWidget::setForegroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setForegroundRole(arg__1)); } - return QTreeView::edit(index0, trigger1, event2); + +void PythonQtWrapper_QWidget::setGeometry(QWidget* theWrappedObject, const QRect& arg__1) +{ + ( theWrappedObject->setGeometry(arg__1)); } -void PythonQtShell_QTreeView::editorDestroyed(QObject* editor0) + +void PythonQtWrapper_QWidget::setGeometry(QWidget* theWrappedObject, int x, int y, int w, int h) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setGeometry(x, y, w, h)); } - QTreeView::editorDestroyed(editor0); + +void PythonQtWrapper_QWidget::setGraphicsEffect(QWidget* theWrappedObject, QGraphicsEffect* effect) +{ + ( theWrappedObject->setGraphicsEffect(effect)); } -void PythonQtShell_QTreeView::enterEvent(QEvent* event0) + +void PythonQtWrapper_QWidget::setInputMethodHints(QWidget* theWrappedObject, Qt::InputMethodHints hints) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setInputMethodHints(hints)); } - QTreeView::enterEvent(event0); + +void PythonQtWrapper_QWidget::setLayout(QWidget* theWrappedObject, PythonQtPassOwnershipToCPP arg__1) +{ + ( theWrappedObject->setLayout(arg__1)); } -bool PythonQtShell_QTreeView::event(QEvent* event0) + +void PythonQtWrapper_QWidget::setLayoutDirection(QWidget* theWrappedObject, Qt::LayoutDirection direction) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setLayoutDirection(direction)); } - return QTreeView::event(event0); + +void PythonQtWrapper_QWidget::setLocale(QWidget* theWrappedObject, const QLocale& locale) +{ + ( theWrappedObject->setLocale(locale)); } -bool PythonQtShell_QTreeView::eventFilter(QObject* arg__1, QEvent* arg__2) + +void PythonQtWrapper_QWidget::setMask(QWidget* theWrappedObject, const QBitmap& arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMask(arg__1)); } - return QTreeView::eventFilter(arg__1, arg__2); + +void PythonQtWrapper_QWidget::setMask(QWidget* theWrappedObject, const QRegion& arg__1) +{ + ( theWrappedObject->setMask(arg__1)); } -void PythonQtShell_QTreeView::focusInEvent(QFocusEvent* event0) + +void PythonQtWrapper_QWidget::setMaximumHeight(QWidget* theWrappedObject, int maxh) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMaximumHeight(maxh)); } - QTreeView::focusInEvent(event0); + +void PythonQtWrapper_QWidget::setMaximumSize(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setMaximumSize(arg__1)); } -bool PythonQtShell_QTreeView::focusNextPrevChild(bool next0) + +void PythonQtWrapper_QWidget::setMaximumSize(QWidget* theWrappedObject, int maxw, int maxh) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMaximumSize(maxw, maxh)); } - return QTreeView::focusNextPrevChild(next0); + +void PythonQtWrapper_QWidget::setMaximumWidth(QWidget* theWrappedObject, int maxw) +{ + ( theWrappedObject->setMaximumWidth(maxw)); } -void PythonQtShell_QTreeView::focusOutEvent(QFocusEvent* event0) + +void PythonQtWrapper_QWidget::setMinimumHeight(QWidget* theWrappedObject, int minh) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMinimumHeight(minh)); } - QTreeView::focusOutEvent(event0); + +void PythonQtWrapper_QWidget::setMinimumSize(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setMinimumSize(arg__1)); } -bool PythonQtShell_QTreeView::hasHeightForWidth() const + +void PythonQtWrapper_QWidget::setMinimumSize(QWidget* theWrappedObject, int minw, int minh) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMinimumSize(minw, minh)); +} + +void PythonQtWrapper_QWidget::setMinimumWidth(QWidget* theWrappedObject, int minw) +{ + ( theWrappedObject->setMinimumWidth(minw)); } - return QTreeView::hasHeightForWidth(); + +void PythonQtWrapper_QWidget::setMouseTracking(QWidget* theWrappedObject, bool enable) +{ + ( theWrappedObject->setMouseTracking(enable)); } -int PythonQtShell_QTreeView::heightForWidth(int arg__1) const + +void PythonQtWrapper_QWidget::setPalette(QWidget* theWrappedObject, const QPalette& arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPalette(arg__1)); } - return QTreeView::heightForWidth(arg__1); + +void PythonQtWrapper_QWidget::setParent(QWidget* theWrappedObject, PythonQtNewOwnerOfThis parent) +{ + ( theWrappedObject->setParent(parent)); } -void PythonQtShell_QTreeView::hideEvent(QHideEvent* event0) + +void PythonQtWrapper_QWidget::setParent(QWidget* theWrappedObject, PythonQtNewOwnerOfThis parent, Qt::WindowFlags f) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setParent(parent, f)); } - QTreeView::hideEvent(event0); + +void PythonQtWrapper_QWidget::setShortcutAutoRepeat(QWidget* theWrappedObject, int id, bool enable) +{ + ( theWrappedObject->setShortcutAutoRepeat(id, enable)); } -int PythonQtShell_QTreeView::horizontalOffset() const + +void PythonQtWrapper_QWidget::setShortcutEnabled(QWidget* theWrappedObject, int id, bool enable) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setShortcutEnabled(id, enable)); } - return QTreeView::horizontalOffset(); + +void PythonQtWrapper_QWidget::setSizeIncrement(QWidget* theWrappedObject, const QSize& arg__1) +{ + ( theWrappedObject->setSizeIncrement(arg__1)); } -void PythonQtShell_QTreeView::horizontalScrollbarAction(int action0) + +void PythonQtWrapper_QWidget::setSizeIncrement(QWidget* theWrappedObject, int w, int h) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSizeIncrement(w, h)); } - QTreeView::horizontalScrollbarAction(action0); + +void PythonQtWrapper_QWidget::setSizePolicy(QWidget* theWrappedObject, QSizePolicy arg__1) +{ + ( theWrappedObject->setSizePolicy(arg__1)); } -void PythonQtShell_QTreeView::horizontalScrollbarValueChanged(int value0) + +void PythonQtWrapper_QWidget::setSizePolicy(QWidget* theWrappedObject, QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSizePolicy(horizontal, vertical)); } - QTreeView::horizontalScrollbarValueChanged(value0); + +void PythonQtWrapper_QWidget::setStatusTip(QWidget* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setStatusTip(arg__1)); } -QModelIndex PythonQtShell_QTreeView::indexAt(const QPoint& p0) const + +void PythonQtWrapper_QWidget::setStyle(QWidget* theWrappedObject, QStyle* arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {nullptr, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setStyle(arg__1)); } - return QTreeView::indexAt(p0); + +void PythonQtWrapper_QWidget::static_QWidget_setTabOrder(QWidget* arg__1, QWidget* arg__2) +{ + (QWidget::setTabOrder(arg__1, arg__2)); } -void PythonQtShell_QTreeView::initPainter(QPainter* painter0) const + +void PythonQtWrapper_QWidget::setTabletTracking(QWidget* theWrappedObject, bool enable) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTabletTracking(enable)); } - QTreeView::initPainter(painter0); + +void PythonQtWrapper_QWidget::setToolTip(QWidget* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setToolTip(arg__1)); } -void PythonQtShell_QTreeView::inputMethodEvent(QInputMethodEvent* event0) + +void PythonQtWrapper_QWidget::setToolTipDuration(QWidget* theWrappedObject, int msec) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setToolTipDuration(msec)); } - QTreeView::inputMethodEvent(event0); + +void PythonQtWrapper_QWidget::setUpdatesEnabled(QWidget* theWrappedObject, bool enable) +{ + ( theWrappedObject->setUpdatesEnabled(enable)); } -QVariant PythonQtShell_QTreeView::inputMethodQuery(Qt::InputMethodQuery query0) const + +void PythonQtWrapper_QWidget::setWhatsThis(QWidget* theWrappedObject, const QString& arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWhatsThis(arg__1)); +} + +void PythonQtWrapper_QWidget::setWindowFilePath(QWidget* theWrappedObject, const QString& filePath) +{ + ( theWrappedObject->setWindowFilePath(filePath)); +} + +void PythonQtWrapper_QWidget::setWindowFlag(QWidget* theWrappedObject, Qt::WindowType arg__1, bool on) +{ + ( theWrappedObject->setWindowFlag(arg__1, on)); +} + +void PythonQtWrapper_QWidget::setWindowFlags(QWidget* theWrappedObject, Qt::WindowFlags type) +{ + ( theWrappedObject->setWindowFlags(type)); +} + +void PythonQtWrapper_QWidget::setWindowIcon(QWidget* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setWindowIcon(icon)); +} + +void PythonQtWrapper_QWidget::setWindowIconText(QWidget* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setWindowIconText(arg__1)); } - return QTreeView::inputMethodQuery(query0); + +void PythonQtWrapper_QWidget::setWindowModality(QWidget* theWrappedObject, Qt::WindowModality windowModality) +{ + ( theWrappedObject->setWindowModality(windowModality)); } -bool PythonQtShell_QTreeView::isIndexHidden(const QModelIndex& index0) const + +void PythonQtWrapper_QWidget::setWindowOpacity(QWidget* theWrappedObject, qreal level) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("isIndexHidden"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWindowOpacity(level)); } - return QTreeView::isIndexHidden(index0); + +void PythonQtWrapper_QWidget::setWindowRole(QWidget* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setWindowRole(arg__1)); } -void PythonQtShell_QTreeView::keyPressEvent(QKeyEvent* event0) + +void PythonQtWrapper_QWidget::setWindowState(QWidget* theWrappedObject, Qt::WindowStates state) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWindowState(state)); } - QTreeView::keyPressEvent(event0); + +void PythonQtWrapper_QWidget::showEvent(QWidget* theWrappedObject, QShowEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_showEvent(event)); } -void PythonQtShell_QTreeView::keyReleaseEvent(QKeyEvent* event0) + +QSize PythonQtWrapper_QWidget::size(QWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->size()); } - QTreeView::keyReleaseEvent(event0); + +QSize PythonQtWrapper_QWidget::sizeHint(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); } -void PythonQtShell_QTreeView::keyboardSearch(const QString& search0) + +QSize PythonQtWrapper_QWidget::sizeIncrement(QWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyboardSearch"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&search0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->sizeIncrement()); } - QTreeView::keyboardSearch(search0); + +QSizePolicy PythonQtWrapper_QWidget::sizePolicy(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->sizePolicy()); } -void PythonQtShell_QTreeView::leaveEvent(QEvent* event0) + +void PythonQtWrapper_QWidget::stackUnder(QWidget* theWrappedObject, QWidget* arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->stackUnder(arg__1)); } - QTreeView::leaveEvent(event0); + +QString PythonQtWrapper_QWidget::statusTip(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->statusTip()); } -int PythonQtShell_QTreeView::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +QStyle* PythonQtWrapper_QWidget::style(QWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->style()); } - return QTreeView::metric(arg__1); + +QString PythonQtWrapper_QWidget::styleSheet(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->styleSheet()); } -QSize PythonQtShell_QTreeView::minimumSizeHint() const + +void PythonQtWrapper_QWidget::tabletEvent(QWidget* theWrappedObject, QTabletEvent* event) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_tabletEvent(event)); } - return QTreeView::minimumSizeHint(); + +bool PythonQtWrapper_QWidget::testAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1) const +{ + return ( theWrappedObject->testAttribute(arg__1)); } -void PythonQtShell_QTreeView::mouseDoubleClickEvent(QMouseEvent* event0) + +QString PythonQtWrapper_QWidget::toolTip(QWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toolTip()); } - QTreeView::mouseDoubleClickEvent(event0); + +int PythonQtWrapper_QWidget::toolTipDuration(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->toolTipDuration()); } -void PythonQtShell_QTreeView::mouseMoveEvent(QMouseEvent* event0) + +bool PythonQtWrapper_QWidget::underMouse(QWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->underMouse()); } - QTreeView::mouseMoveEvent(event0); + +void PythonQtWrapper_QWidget::ungrabGesture(QWidget* theWrappedObject, Qt::GestureType type) +{ + ( theWrappedObject->ungrabGesture(type)); } -void PythonQtShell_QTreeView::mousePressEvent(QMouseEvent* event0) + +void PythonQtWrapper_QWidget::unsetCursor(QWidget* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->unsetCursor()); +} + +void PythonQtWrapper_QWidget::unsetLayoutDirection(QWidget* theWrappedObject) +{ + ( theWrappedObject->unsetLayoutDirection()); } - QTreeView::mousePressEvent(event0); + +void PythonQtWrapper_QWidget::unsetLocale(QWidget* theWrappedObject) +{ + ( theWrappedObject->unsetLocale()); } -void PythonQtShell_QTreeView::mouseReleaseEvent(QMouseEvent* event0) + +void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, const QRect& arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->update(arg__1)); } - QTreeView::mouseReleaseEvent(event0); + +void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, const QRegion& arg__1) +{ + ( theWrappedObject->update(arg__1)); } -QModelIndex PythonQtShell_QTreeView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) + +void PythonQtWrapper_QWidget::update(QWidget* theWrappedObject, int x, int y, int w, int h) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveCursor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue{}; - void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->update(x, y, w, h)); } - return QTreeView::moveCursor(cursorAction0, modifiers1); + +void PythonQtWrapper_QWidget::updateGeometry(QWidget* theWrappedObject) +{ + ( theWrappedObject->updateGeometry()); } -void PythonQtShell_QTreeView::moveEvent(QMoveEvent* event0) + +bool PythonQtWrapper_QWidget::updatesEnabled(QWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->updatesEnabled()); } - QTreeView::moveEvent(event0); + +QRegion PythonQtWrapper_QWidget::visibleRegion(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->visibleRegion()); } -bool PythonQtShell_QTreeView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +QString PythonQtWrapper_QWidget::whatsThis(QWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->whatsThis()); } - return QTreeView::nativeEvent(eventType0, message1, result2); + +void PythonQtWrapper_QWidget::wheelEvent(QWidget* theWrappedObject, QWheelEvent* event) +{ + ( ((PythonQtPublicPromoter_QWidget*)theWrappedObject)->promoted_wheelEvent(event)); } -QPaintEngine* PythonQtShell_QTreeView::paintEngine() const + +int PythonQtWrapper_QWidget::width(QWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->width()); } - return QTreeView::paintEngine(); + +WId PythonQtWrapper_QWidget::winId(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->winId()); } -void PythonQtShell_QTreeView::paintEvent(QPaintEvent* event0) + +QWidget* PythonQtWrapper_QWidget::window(QWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->window()); } - QTreeView::paintEvent(event0); + +QString PythonQtWrapper_QWidget::windowFilePath(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowFilePath()); } -QPaintDevice* PythonQtShell_QTreeView::redirected(QPoint* offset0) const + +Qt::WindowFlags PythonQtWrapper_QWidget::windowFlags(QWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->windowFlags()); } - return QTreeView::redirected(offset0); + +QWindow* PythonQtWrapper_QWidget::windowHandle(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowHandle()); } -void PythonQtShell_QTreeView::reset() + +QIcon PythonQtWrapper_QWidget::windowIcon(QWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->windowIcon()); } - QTreeView::reset(); + +QString PythonQtWrapper_QWidget::windowIconText(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowIconText()); } -void PythonQtShell_QTreeView::resizeEvent(QResizeEvent* event0) + +Qt::WindowModality PythonQtWrapper_QWidget::windowModality(QWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->windowModality()); +} + +qreal PythonQtWrapper_QWidget::windowOpacity(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowOpacity()); +} + +QString PythonQtWrapper_QWidget::windowRole(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowRole()); +} + +Qt::WindowStates PythonQtWrapper_QWidget::windowState(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowState()); +} + +QString PythonQtWrapper_QWidget::windowTitle(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowTitle()); } - QTreeView::resizeEvent(event0); + +Qt::WindowType PythonQtWrapper_QWidget::windowType(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->windowType()); } -void PythonQtShell_QTreeView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) + +int PythonQtWrapper_QWidget::x(QWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->x()); } - QTreeView::rowsAboutToBeRemoved(parent0, start1, end2); + +int PythonQtWrapper_QWidget::y(QWidget* theWrappedObject) const +{ + return ( theWrappedObject->y()); } -void PythonQtShell_QTreeView::rowsInserted(const QModelIndex& parent0, int start1, int end2) + +QString PythonQtWrapper_QWidget::py_toString(QWidget* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +PythonQtShell_QWidgetAction::~PythonQtShell_QWidgetAction() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QWidgetAction::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("rowsInserted"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8870,41 +15978,52 @@ if (_wrapper) { } } } - QTreeView::rowsInserted(parent0, start1, end2); + QWidgetAction::childEvent(event0); } -void PythonQtShell_QTreeView::scrollContentsBy(int dx0, int dy1) +QWidget* PythonQtShell_QWidgetAction::createWidget(QWidget* parent0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); + static PyObject* name = PyUnicode_FromString("createWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + static const char* argumentList[] ={"QWidget*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QWidget* returnValue{}; + void* args[2] = {nullptr, (void*)&parent0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createWidget", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::scrollContentsBy(dx0, dy1); + return QWidgetAction::createWidget(parent0); } -void PythonQtShell_QTreeView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QWidgetAction::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("scrollTo"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8914,19 +16033,19 @@ if (_wrapper) { } } } - QTreeView::scrollTo(index0, hint1); + QWidgetAction::customEvent(event0); } -void PythonQtShell_QTreeView::selectAll() +void PythonQtShell_QWidgetAction::deleteWidget(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectAll"); + static PyObject* name = PyUnicode_FromString("deleteWidget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8936,28 +16055,28 @@ if (_wrapper) { } } } - QTreeView::selectAll(); + QWidgetAction::deleteWidget(widget0); } -QList PythonQtShell_QTreeView::selectedIndexes() const +bool PythonQtShell_QWidgetAction::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectedIndexes"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QList*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -8969,50 +16088,28 @@ if (_wrapper) { } } } - return QTreeView::selectedIndexes(); -} -void PythonQtShell_QTreeView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectionChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeView::selectionChanged(selected0, deselected1); + return QWidgetAction::event(arg__1); } -QItemSelectionModel::SelectionFlags PythonQtShell_QTreeView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +bool PythonQtShell_QWidgetAction::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectionCommand"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue{}; - void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -9024,19 +16121,19 @@ if (_wrapper) { } } } - return QTreeView::selectionCommand(index0, event1); + return QWidgetAction::eventFilter(arg__1, arg__2); } -void PythonQtShell_QTreeView::setModel(QAbstractItemModel* model0) +void PythonQtShell_QWidgetAction::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setModel"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&model0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9046,138 +16143,86 @@ if (_wrapper) { } } } - QTreeView::setModel(model0); + QWidgetAction::timerEvent(event0); } -void PythonQtShell_QTreeView::setRootIndex(const QModelIndex& index0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setRootIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QWidgetAction* PythonQtWrapper_QWidgetAction::new_QWidgetAction(QObject* parent) +{ +return new PythonQtShell_QWidgetAction(parent); } + +const QMetaObject* PythonQtShell_QWidgetAction::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWidgetAction::staticMetaObject); + } else { + return &QWidgetAction::staticMetaObject; } } - QTreeView::setRootIndex(index0); +int PythonQtShell_QWidgetAction::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWidgetAction::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QTreeView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +QWidget* PythonQtWrapper_QWidgetAction::createWidget(QWidgetAction* theWrappedObject, QWidget* parent) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeView::setSelection(rect0, command1); + return ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_createWidget(parent)); } -void PythonQtShell_QTreeView::setSelectionModel(QItemSelectionModel* selectionModel0) + +QList PythonQtWrapper_QWidgetAction::createdWidgets(QWidgetAction* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setSelectionModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&selectionModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeView::setSelectionModel(selectionModel0); + return ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_createdWidgets()); } -void PythonQtShell_QTreeView::setVisible(bool visible0) + +QWidget* PythonQtWrapper_QWidgetAction::defaultWidget(QWidgetAction* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->defaultWidget()); } - QTreeView::setVisible(visible0); + +void PythonQtWrapper_QWidgetAction::deleteWidget(QWidgetAction* theWrappedObject, QWidget* widget) +{ + ( ((PythonQtPublicPromoter_QWidgetAction*)theWrappedObject)->promoted_deleteWidget(widget)); } -void PythonQtShell_QTreeView::setupViewport(QWidget* viewport0) + +void PythonQtWrapper_QWidgetAction::releaseWidget(QWidgetAction* theWrappedObject, QWidget* widget) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->releaseWidget(widget)); +} + +QWidget* PythonQtWrapper_QWidgetAction::requestWidget(QWidgetAction* theWrappedObject, QWidget* parent) +{ + return ( theWrappedObject->requestWidget(parent)); } - QTreeView::setupViewport(viewport0); + +void PythonQtWrapper_QWidgetAction::setDefaultWidget(QWidgetAction* theWrappedObject, QWidget* w) +{ + ( theWrappedObject->setDefaultWidget(w)); } -QPainter* PythonQtShell_QTreeView::sharedPainter() const + + + +PythonQtShell_QWidgetItem::~PythonQtShell_QWidgetItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QSizePolicy::ControlTypes PythonQtShell_QWidgetItem::controlTypes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("controlTypes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QSizePolicy::ControlTypes"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; + QSizePolicy::ControlTypes returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("controlTypes", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QSizePolicy::ControlTypes*)args[0]); } } } @@ -9189,50 +16234,61 @@ if (_wrapper) { } } } - return QTreeView::sharedPainter(); + return QWidgetItem::controlTypes(); } -void PythonQtShell_QTreeView::showEvent(QShowEvent* event0) +Qt::Orientations PythonQtShell_QWidgetItem::expandingDirections() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("expandingDirections"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"Qt::Orientations"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::Orientations returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("expandingDirections", methodInfo, result); + } else { + returnValue = *((Qt::Orientations*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::showEvent(event0); + return QWidgetItem::expandingDirections(); } -QSize PythonQtShell_QTreeView::sizeHint() const +QRect PythonQtShell_QWidgetItem::geometry() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); + static PyObject* name = PyUnicode_FromString("geometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QRect"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + QRect returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("geometry", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QRect*)args[0]); } } } @@ -9244,28 +16300,28 @@ if (_wrapper) { } } } - return QTreeView::sizeHint(); + return QWidgetItem::geometry(); } -int PythonQtShell_QTreeView::sizeHintForColumn(int column0) const +bool PythonQtShell_QWidgetItem::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&column0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -9277,26 +16333,26 @@ if (_wrapper) { } } } - return QTreeView::sizeHintForColumn(column0); + return QWidgetItem::hasHeightForWidth(); } -int PythonQtShell_QTreeView::sizeHintForRow(int row0) const +int PythonQtShell_QWidgetItem::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHintForRow"); + static PyObject* name = PyUnicode_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[2] = {nullptr, (void*)&row0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } @@ -9310,41 +16366,19 @@ if (_wrapper) { } } } - return QTreeView::sizeHintForRow(row0); -} -void PythonQtShell_QTreeView::startDrag(Qt::DropActions supportedActions0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("startDrag"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&supportedActions0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeView::startDrag(supportedActions0); + return QWidgetItem::heightForWidth(arg__1); } -void PythonQtShell_QTreeView::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QWidgetItem::invalidate() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("invalidate"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9354,116 +16388,160 @@ if (_wrapper) { } } } - QTreeView::tabletEvent(event0); + QWidgetItem::invalidate(); } -void PythonQtShell_QTreeView::timerEvent(QTimerEvent* event0) +bool PythonQtShell_QWidgetItem::isEmpty() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("isEmpty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isEmpty", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::timerEvent(event0); + return QWidgetItem::isEmpty(); } -void PythonQtShell_QTreeView::updateEditorData() +QLayout* PythonQtShell_QWidgetItem::layout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateEditorData"); + static PyObject* name = PyUnicode_FromString("layout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QLayout*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QLayout* returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layout", methodInfo, result); + } else { + returnValue = *((QLayout**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::updateEditorData(); + return QWidgetItem::layout(); } -void PythonQtShell_QTreeView::updateEditorGeometries() +QSize PythonQtShell_QWidgetItem::maximumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); + static PyObject* name = PyUnicode_FromString("maximumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("maximumSize", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::updateEditorGeometries(); + return QWidgetItem::maximumSize(); } -void PythonQtShell_QTreeView::updateGeometries() +int PythonQtShell_QWidgetItem::minimumHeightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateGeometries"); + static PyObject* name = PyUnicode_FromString("minimumHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumHeightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::updateGeometries(); + return QWidgetItem::minimumHeightForWidth(arg__1); } -int PythonQtShell_QTreeView::verticalOffset() const +QSize PythonQtShell_QWidgetItem::minimumSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalOffset"); + static PyObject* name = PyUnicode_FromString("minimumSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSize", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -9475,19 +16553,19 @@ if (_wrapper) { } } } - return QTreeView::verticalOffset(); + return QWidgetItem::minimumSize(); } -void PythonQtShell_QTreeView::verticalScrollbarAction(int action0) +void PythonQtShell_QWidgetItem::setGeometry(const QRect& arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); + static PyObject* name = PyUnicode_FromString("setGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "const QRect&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9497,50 +16575,61 @@ if (_wrapper) { } } } - QTreeView::verticalScrollbarAction(action0); + QWidgetItem::setGeometry(arg__1); } -void PythonQtShell_QTreeView::verticalScrollbarValueChanged(int value0) +QSize PythonQtShell_QWidgetItem::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeView::verticalScrollbarValueChanged(value0); + return QWidgetItem::sizeHint(); } -QStyleOptionViewItem PythonQtShell_QTreeView::viewOptions() const +QSpacerItem* PythonQtShell_QWidgetItem::spacerItem() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewOptions"); + static PyObject* name = PyUnicode_FromString("spacerItem"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const char* argumentList[] ={"QSpacerItem*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; + QSpacerItem* returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("spacerItem", methodInfo, result); } else { - returnValue = *((QStyleOptionViewItem*)args[0]); + returnValue = *((QSpacerItem**)args[0]); } } } @@ -9552,28 +16641,28 @@ if (_wrapper) { } } } - return QTreeView::viewOptions(); + return QWidgetItem::spacerItem(); } -bool PythonQtShell_QTreeView::viewportEvent(QEvent* event0) +QWidget* PythonQtShell_QWidgetItem::widget() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); + static PyObject* name = PyUnicode_FromString("widget"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QWidget* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("widget", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QWidget**)args[0]); } } } @@ -9585,94 +16674,82 @@ if (_wrapper) { } } } - return QTreeView::viewportEvent(event0); + return QWidgetItem::widget(); } -QSize PythonQtShell_QTreeView::viewportSizeHint() const +QWidgetItem* PythonQtWrapper_QWidgetItem::new_QWidgetItem(QWidget* w) +{ +return new PythonQtShell_QWidgetItem(w); } + + + +PythonQtShell_QWindow::~PythonQtShell_QWindow() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::viewportSizeHint(); + QWindow::childEvent(event0); } -QRect PythonQtShell_QTreeView::visualRect(const QModelIndex& index0) const +void PythonQtShell_QWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("visualRect"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeView::visualRect(index0); + QWindow::customEvent(event0); } -QRegion PythonQtShell_QTreeView::visualRegionForSelection(const QItemSelection& selection0) const +bool PythonQtShell_QWindow::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {nullptr, (void*)&selection0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QRegion*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -9684,299 +16761,206 @@ if (_wrapper) { } } } - return QTreeView::visualRegionForSelection(selection0); + return QWindow::event(arg__1); } -void PythonQtShell_QTreeView::wheelEvent(QWheelEvent* arg__1) +bool PythonQtShell_QWindow::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeView::wheelEvent(arg__1); -} -QTreeView* PythonQtWrapper_QTreeView::new_QTreeView(QWidget* parent) -{ -return new PythonQtShell_QTreeView(parent); } - -const QMetaObject* PythonQtShell_QTreeView::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTreeView::staticMetaObject); - } else { - return &QTreeView::staticMetaObject; - } -} -int PythonQtShell_QTreeView::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTreeView::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QTreeView::allColumnsShowFocus(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->allColumnsShowFocus()); -} - -int PythonQtWrapper_QTreeView::autoExpandDelay(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->autoExpandDelay()); -} - -int PythonQtWrapper_QTreeView::columnAt(QTreeView* theWrappedObject, int x) const -{ - return ( theWrappedObject->columnAt(x)); -} - -int PythonQtWrapper_QTreeView::columnViewportPosition(QTreeView* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnViewportPosition(column)); -} - -int PythonQtWrapper_QTreeView::columnWidth(QTreeView* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnWidth(column)); -} - -void PythonQtWrapper_QTreeView::drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawBranches(painter, rect, index)); -} - -void PythonQtWrapper_QTreeView::drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawRow(painter, options, index)); -} - -void PythonQtWrapper_QTreeView::drawTree(QTreeView* theWrappedObject, QPainter* painter, const QRegion& region) const -{ - ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_drawTree(painter, region)); -} - -bool PythonQtWrapper_QTreeView::expandsOnDoubleClick(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->expandsOnDoubleClick()); -} - -QHeaderView* PythonQtWrapper_QTreeView::header(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->header()); -} - -int PythonQtWrapper_QTreeView::indentation(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->indentation()); -} - -QModelIndex PythonQtWrapper_QTreeView::indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->indexAbove(index)); -} - -QModelIndex PythonQtWrapper_QTreeView::indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->indexBelow(index)); -} - -int PythonQtWrapper_QTreeView::indexRowSizeHint(QTreeView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_indexRowSizeHint(index)); -} - -bool PythonQtWrapper_QTreeView::isAnimated(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->isAnimated()); -} - -bool PythonQtWrapper_QTreeView::isColumnHidden(QTreeView* theWrappedObject, int column) const -{ - return ( theWrappedObject->isColumnHidden(column)); -} - -bool PythonQtWrapper_QTreeView::isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const -{ - return ( theWrappedObject->isExpanded(index)); -} - -bool PythonQtWrapper_QTreeView::isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const -{ - return ( theWrappedObject->isFirstColumnSpanned(row, parent)); -} - -bool PythonQtWrapper_QTreeView::isHeaderHidden(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->isHeaderHidden()); -} - -bool PythonQtWrapper_QTreeView::isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const -{ - return ( theWrappedObject->isRowHidden(row, parent)); -} - -bool PythonQtWrapper_QTreeView::isSortingEnabled(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->isSortingEnabled()); -} - -bool PythonQtWrapper_QTreeView::itemsExpandable(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->itemsExpandable()); -} - -void PythonQtWrapper_QTreeView::resetIndentation(QTreeView* theWrappedObject) -{ - ( theWrappedObject->resetIndentation()); -} - -bool PythonQtWrapper_QTreeView::rootIsDecorated(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->rootIsDecorated()); -} - -int PythonQtWrapper_QTreeView::rowHeight(QTreeView* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->promoted_rowHeight(index)); -} - -void PythonQtWrapper_QTreeView::setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setAllColumnsShowFocus(enable)); -} - -void PythonQtWrapper_QTreeView::setAnimated(QTreeView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setAnimated(enable)); -} - -void PythonQtWrapper_QTreeView::setAutoExpandDelay(QTreeView* theWrappedObject, int delay) -{ - ( theWrappedObject->setAutoExpandDelay(delay)); -} - -void PythonQtWrapper_QTreeView::setColumnHidden(QTreeView* theWrappedObject, int column, bool hide) -{ - ( theWrappedObject->setColumnHidden(column, hide)); -} - -void PythonQtWrapper_QTreeView::setColumnWidth(QTreeView* theWrappedObject, int column, int width) -{ - ( theWrappedObject->setColumnWidth(column, width)); -} - -void PythonQtWrapper_QTreeView::setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand) -{ - ( theWrappedObject->setExpanded(index, expand)); -} - -void PythonQtWrapper_QTreeView::setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setExpandsOnDoubleClick(enable)); -} - -void PythonQtWrapper_QTreeView::setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span) -{ - ( theWrappedObject->setFirstColumnSpanned(row, parent, span)); -} - -void PythonQtWrapper_QTreeView::setHeader(QTreeView* theWrappedObject, QHeaderView* header) -{ - ( theWrappedObject->setHeader(header)); -} - -void PythonQtWrapper_QTreeView::setHeaderHidden(QTreeView* theWrappedObject, bool hide) -{ - ( theWrappedObject->setHeaderHidden(hide)); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeView::setIndentation(QTreeView* theWrappedObject, int i) -{ - ( theWrappedObject->setIndentation(i)); + return QWindow::eventFilter(watched0, event1); } - -void PythonQtWrapper_QTreeView::setItemsExpandable(QTreeView* theWrappedObject, bool enable) +void PythonQtShell_QWindow::exposeEvent(QExposeEvent* arg__1) { - ( theWrappedObject->setItemsExpandable(enable)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("exposeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QExposeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeView::setRootIsDecorated(QTreeView* theWrappedObject, bool show) -{ - ( theWrappedObject->setRootIsDecorated(show)); + QWindow::exposeEvent(arg__1); } - -void PythonQtWrapper_QTreeView::setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide) +void PythonQtShell_QWindow::focusInEvent(QFocusEvent* arg__1) { - ( theWrappedObject->setRowHidden(row, parent, hide)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeView::setSortingEnabled(QTreeView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setSortingEnabled(enable)); + QWindow::focusInEvent(arg__1); } - -void PythonQtWrapper_QTreeView::setTreePosition(QTreeView* theWrappedObject, int logicalIndex) +QObject* PythonQtShell_QWindow::focusObject() const { - ( theWrappedObject->setTreePosition(logicalIndex)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusObject"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QObject* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeView::setUniformRowHeights(QTreeView* theWrappedObject, bool uniform) -{ - ( theWrappedObject->setUniformRowHeights(uniform)); + return QWindow::focusObject(); } - -void PythonQtWrapper_QTreeView::setWordWrap(QTreeView* theWrappedObject, bool on) +void PythonQtShell_QWindow::focusOutEvent(QFocusEvent* arg__1) { - ( theWrappedObject->setWordWrap(on)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeView::sortByColumn(QTreeView* theWrappedObject, int column, Qt::SortOrder order) -{ - ( theWrappedObject->sortByColumn(column, order)); + QWindow::focusOutEvent(arg__1); } - -int PythonQtWrapper_QTreeView::treePosition(QTreeView* theWrappedObject) const +QSurfaceFormat PythonQtShell_QWindow::format() const { - return ( theWrappedObject->treePosition()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("format"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTreeView::uniformRowHeights(QTreeView* theWrappedObject) const -{ - return ( theWrappedObject->uniformRowHeights()); + return QWindow::format(); } - -bool PythonQtWrapper_QTreeView::wordWrap(QTreeView* theWrappedObject) const +void PythonQtShell_QWindow::hideEvent(QHideEvent* arg__1) { - return ( theWrappedObject->wordWrap()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTreeWidget::~PythonQtShell_QTreeWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QWindow::hideEvent(arg__1); } -void PythonQtShell_QTreeWidget::actionEvent(QActionEvent* event0) +void PythonQtShell_QWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); + static PyObject* name = PyUnicode_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9986,17 +16970,17 @@ if (_wrapper) { } } } - QTreeWidget::actionEvent(event0); + QWindow::keyPressEvent(arg__1); } -void PythonQtShell_QTreeWidget::changeEvent(QEvent* arg__1) +void PythonQtShell_QWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -10008,19 +16992,19 @@ if (_wrapper) { } } } - QTreeWidget::changeEvent(arg__1); + QWindow::keyReleaseEvent(arg__1); } -void PythonQtShell_QTreeWidget::childEvent(QChildEvent* event0) +void PythonQtShell_QWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10030,19 +17014,19 @@ if (_wrapper) { } } } - QTreeWidget::childEvent(event0); + QWindow::mouseDoubleClickEvent(arg__1); } -void PythonQtShell_QTreeWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +void PythonQtShell_QWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEditor"); + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10052,19 +17036,19 @@ if (_wrapper) { } } } - QTreeWidget::closeEditor(editor0, hint1); + QWindow::mouseMoveEvent(arg__1); } -void PythonQtShell_QTreeWidget::closeEvent(QCloseEvent* event0) +void PythonQtShell_QWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); + static PyObject* name = PyUnicode_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10074,19 +17058,19 @@ if (_wrapper) { } } } - QTreeWidget::closeEvent(event0); + QWindow::mousePressEvent(arg__1); } -void PythonQtShell_QTreeWidget::commitData(QWidget* editor0) +void PythonQtShell_QWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("commitData"); + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10096,17 +17080,17 @@ if (_wrapper) { } } } - QTreeWidget::commitData(editor0); + QWindow::mouseReleaseEvent(arg__1); } -void PythonQtShell_QTreeWidget::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + static PyObject* name = PyUnicode_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -10118,41 +17102,52 @@ if (_wrapper) { } } } - QTreeWidget::contextMenuEvent(arg__1); + QWindow::moveEvent(arg__1); } -void PythonQtShell_QTreeWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) +bool PythonQtShell_QWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("currentChanged"); + static PyObject* name = PyUnicode_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::currentChanged(current0, previous1); + return QWindow::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QTreeWidget::customEvent(QEvent* event0) +void PythonQtShell_QWindow::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10162,19 +17157,19 @@ if (_wrapper) { } } } - QTreeWidget::customEvent(event0); + QWindow::resizeEvent(arg__1); } -void PythonQtShell_QTreeWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) +void PythonQtShell_QWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dataChanged"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10184,28 +17179,28 @@ if (_wrapper) { } } } - QTreeWidget::dataChanged(topLeft0, bottomRight1, roles2); + QWindow::showEvent(arg__1); } -int PythonQtShell_QTreeWidget::devType() const +QSize PythonQtShell_QWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); + static PyObject* name = PyUnicode_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -10217,41 +17212,52 @@ if (_wrapper) { } } } - return QTreeWidget::devType(); + return QWindow::size(); } -void PythonQtShell_QTreeWidget::doItemsLayout() +QSurface::SurfaceType PythonQtShell_QWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("doItemsLayout"); + static PyObject* name = PyUnicode_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QSurface::SurfaceType"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurface::SurfaceType returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::doItemsLayout(); + return QWindow::surfaceType(); } -void PythonQtShell_QTreeWidget::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + static PyObject* name = PyUnicode_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10261,17 +17267,17 @@ if (_wrapper) { } } } - QTreeWidget::dragEnterEvent(event0); + QWindow::tabletEvent(arg__1); } -void PythonQtShell_QTreeWidget::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QWindow::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -10283,19 +17289,19 @@ if (_wrapper) { } } } - QTreeWidget::dragLeaveEvent(event0); + QWindow::timerEvent(event0); } -void PythonQtShell_QTreeWidget::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + static PyObject* name = PyUnicode_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QTouchEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10305,19 +17311,19 @@ if (_wrapper) { } } } - QTreeWidget::dragMoveEvent(event0); + QWindow::touchEvent(arg__1); } -void PythonQtShell_QTreeWidget::drawBranches(QPainter* painter0, const QRect& rect1, const QModelIndex& index2) const +void PythonQtShell_QWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawBranches"); + static PyObject* name = PyUnicode_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&index2}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10327,514 +17333,544 @@ if (_wrapper) { } } } - QTreeWidget::drawBranches(painter0, rect1, index2); + QWindow::wheelEvent(arg__1); } -void PythonQtShell_QTreeWidget::drawRow(QPainter* painter0, const QStyleOptionViewItem& options1, const QModelIndex& index2) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawRow"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&painter0, (void*)&options1, (void*)&index2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QWindow* PythonQtWrapper_QWindow::new_QWindow(QScreen* screen) +{ +return new PythonQtShell_QWindow(screen); } + +QWindow* PythonQtWrapper_QWindow::new_QWindow(QWindow* parent) +{ +return new PythonQtShell_QWindow(parent); } + +const QMetaObject* PythonQtShell_QWindow::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWindow::staticMetaObject); + } else { + return &QWindow::staticMetaObject; } } - QTreeWidget::drawRow(painter0, options1, index2); +int PythonQtShell_QWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWindow::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSize PythonQtWrapper_QWindow::baseSize(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->baseSize()); +} + +Qt::ScreenOrientation PythonQtWrapper_QWindow::contentOrientation(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->contentOrientation()); +} + +void PythonQtWrapper_QWindow::create(QWindow* theWrappedObject) +{ + ( theWrappedObject->create()); +} + +QCursor PythonQtWrapper_QWindow::cursor(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->cursor()); +} + +void PythonQtWrapper_QWindow::destroy(QWindow* theWrappedObject) +{ + ( theWrappedObject->destroy()); +} + +qreal PythonQtWrapper_QWindow::devicePixelRatio(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatio()); +} + +void PythonQtWrapper_QWindow::exposeEvent(QWindow* theWrappedObject, QExposeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_exposeEvent(arg__1)); +} + +QString PythonQtWrapper_QWindow::filePath(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->filePath()); +} + +Qt::WindowFlags PythonQtWrapper_QWindow::flags(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +void PythonQtWrapper_QWindow::focusInEvent(QWindow* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_focusInEvent(arg__1)); +} + +QObject* PythonQtWrapper_QWindow::focusObject(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->focusObject()); +} + +void PythonQtWrapper_QWindow::focusOutEvent(QWindow* theWrappedObject, QFocusEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_focusOutEvent(arg__1)); +} + +QRect PythonQtWrapper_QWindow::frameGeometry(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->frameGeometry()); +} + +QMargins PythonQtWrapper_QWindow::frameMargins(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->frameMargins()); +} + +QPoint PythonQtWrapper_QWindow::framePosition(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->framePosition()); +} + +QWindow* PythonQtWrapper_QWindow::static_QWindow_fromWinId(WId id) +{ + return (QWindow::fromWinId(id)); +} + +QRect PythonQtWrapper_QWindow::geometry(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +int PythonQtWrapper_QWindow::height(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->height()); +} + +void PythonQtWrapper_QWindow::hideEvent(QWindow* theWrappedObject, QHideEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_hideEvent(arg__1)); +} + +QIcon PythonQtWrapper_QWindow::icon(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +bool PythonQtWrapper_QWindow::isActive(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->isActive()); +} + +bool PythonQtWrapper_QWindow::isAncestorOf(QWindow* theWrappedObject, const QWindow* child, QWindow::AncestorMode mode) const +{ + return ( theWrappedObject->isAncestorOf(child, mode)); +} + +bool PythonQtWrapper_QWindow::isExposed(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->isExposed()); +} + +bool PythonQtWrapper_QWindow::isModal(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->isModal()); +} + +bool PythonQtWrapper_QWindow::isTopLevel(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->isTopLevel()); +} + +bool PythonQtWrapper_QWindow::isVisible(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +void PythonQtWrapper_QWindow::keyPressEvent(QWindow* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_keyPressEvent(arg__1)); +} + +void PythonQtWrapper_QWindow::keyReleaseEvent(QWindow* theWrappedObject, QKeyEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_keyReleaseEvent(arg__1)); +} + +QPoint PythonQtWrapper_QWindow::mapFromGlobal(QWindow* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->mapFromGlobal(pos)); +} + +QPoint PythonQtWrapper_QWindow::mapToGlobal(QWindow* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->mapToGlobal(pos)); +} + +QRegion PythonQtWrapper_QWindow::mask(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->mask()); +} + +int PythonQtWrapper_QWindow::maximumHeight(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->maximumHeight()); +} + +QSize PythonQtWrapper_QWindow::maximumSize(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->maximumSize()); +} + +int PythonQtWrapper_QWindow::maximumWidth(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->maximumWidth()); +} + +int PythonQtWrapper_QWindow::minimumHeight(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->minimumHeight()); +} + +QSize PythonQtWrapper_QWindow::minimumSize(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->minimumSize()); +} + +int PythonQtWrapper_QWindow::minimumWidth(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->minimumWidth()); +} + +Qt::WindowModality PythonQtWrapper_QWindow::modality(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->modality()); +} + +void PythonQtWrapper_QWindow::mouseDoubleClickEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mouseDoubleClickEvent(arg__1)); +} + +void PythonQtWrapper_QWindow::mouseMoveEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mouseMoveEvent(arg__1)); +} + +void PythonQtWrapper_QWindow::mousePressEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mousePressEvent(arg__1)); +} + +void PythonQtWrapper_QWindow::mouseReleaseEvent(QWindow* theWrappedObject, QMouseEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_mouseReleaseEvent(arg__1)); +} + +void PythonQtWrapper_QWindow::moveEvent(QWindow* theWrappedObject, QMoveEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_moveEvent(arg__1)); +} + +bool PythonQtWrapper_QWindow::nativeEvent(QWindow* theWrappedObject, const QByteArray& eventType, void* message, long* result) +{ + return ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_nativeEvent(eventType, message, result)); +} + +qreal PythonQtWrapper_QWindow::opacity(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->opacity()); +} + +QWindow* PythonQtWrapper_QWindow::parent(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +QWindow* PythonQtWrapper_QWindow::parent(QWindow* theWrappedObject, QWindow::AncestorMode mode) const +{ + return ( theWrappedObject->parent(mode)); +} + +QPoint PythonQtWrapper_QWindow::position(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->position()); +} + +void PythonQtWrapper_QWindow::reportContentOrientationChange(QWindow* theWrappedObject, Qt::ScreenOrientation orientation) +{ + ( theWrappedObject->reportContentOrientationChange(orientation)); +} + +QSurfaceFormat PythonQtWrapper_QWindow::requestedFormat(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->requestedFormat()); +} + +void PythonQtWrapper_QWindow::resize(QWindow* theWrappedObject, const QSize& newSize) +{ + ( theWrappedObject->resize(newSize)); +} + +void PythonQtWrapper_QWindow::resize(QWindow* theWrappedObject, int w, int h) +{ + ( theWrappedObject->resize(w, h)); +} + +void PythonQtWrapper_QWindow::resizeEvent(QWindow* theWrappedObject, QResizeEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_resizeEvent(arg__1)); +} + +QScreen* PythonQtWrapper_QWindow::screen(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->screen()); } -void PythonQtShell_QTreeWidget::dropEvent(QDropEvent* event0) + +void PythonQtWrapper_QWindow::setBaseSize(QWindow* theWrappedObject, const QSize& size) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setBaseSize(size)); } - QTreeWidget::dropEvent(event0); + +void PythonQtWrapper_QWindow::setCursor(QWindow* theWrappedObject, const QCursor& arg__1) +{ + ( theWrappedObject->setCursor(arg__1)); } -bool PythonQtShell_QTreeWidget::dropMimeData(QTreeWidgetItem* parent0, int index1, const QMimeData* data2, Qt::DropAction action3) + +void PythonQtWrapper_QWindow::setFilePath(QWindow* theWrappedObject, const QString& filePath) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QTreeWidgetItem*" , "int" , "const QMimeData*" , "Qt::DropAction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue{}; - void* args[5] = {nullptr, (void*)&parent0, (void*)&index1, (void*)&data2, (void*)&action3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFilePath(filePath)); } - return QTreeWidget::dropMimeData(parent0, index1, data2, action3); + +void PythonQtWrapper_QWindow::setFlag(QWindow* theWrappedObject, Qt::WindowType arg__1, bool on) +{ + ( theWrappedObject->setFlag(arg__1, on)); } -bool PythonQtShell_QTreeWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) + +void PythonQtWrapper_QWindow::setFlags(QWindow* theWrappedObject, Qt::WindowFlags flags) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFlags(flags)); } - return QTreeWidget::edit(index0, trigger1, event2); + +void PythonQtWrapper_QWindow::setFormat(QWindow* theWrappedObject, const QSurfaceFormat& format) +{ + ( theWrappedObject->setFormat(format)); } -void PythonQtShell_QTreeWidget::editorDestroyed(QObject* editor0) + +void PythonQtWrapper_QWindow::setFramePosition(QWindow* theWrappedObject, const QPoint& point) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFramePosition(point)); } - QTreeWidget::editorDestroyed(editor0); + +void PythonQtWrapper_QWindow::setIcon(QWindow* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); } -void PythonQtShell_QTreeWidget::enterEvent(QEvent* event0) + +bool PythonQtWrapper_QWindow::setKeyboardGrabEnabled(QWindow* theWrappedObject, bool grab) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->setKeyboardGrabEnabled(grab)); } - QTreeWidget::enterEvent(event0); + +void PythonQtWrapper_QWindow::setMask(QWindow* theWrappedObject, const QRegion& region) +{ + ( theWrappedObject->setMask(region)); } -bool PythonQtShell_QTreeWidget::event(QEvent* e0) + +void PythonQtWrapper_QWindow::setMaximumSize(QWindow* theWrappedObject, const QSize& size) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMaximumSize(size)); } - return QTreeWidget::event(e0); + +void PythonQtWrapper_QWindow::setMinimumSize(QWindow* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setMinimumSize(size)); } -bool PythonQtShell_QTreeWidget::eventFilter(QObject* arg__1, QEvent* arg__2) + +void PythonQtWrapper_QWindow::setModality(QWindow* theWrappedObject, Qt::WindowModality modality) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setModality(modality)); } - return QTreeWidget::eventFilter(arg__1, arg__2); + +bool PythonQtWrapper_QWindow::setMouseGrabEnabled(QWindow* theWrappedObject, bool grab) +{ + return ( theWrappedObject->setMouseGrabEnabled(grab)); } -void PythonQtShell_QTreeWidget::focusInEvent(QFocusEvent* event0) + +void PythonQtWrapper_QWindow::setOpacity(QWindow* theWrappedObject, qreal level) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setOpacity(level)); } - QTreeWidget::focusInEvent(event0); + +void PythonQtWrapper_QWindow::setParent(QWindow* theWrappedObject, QWindow* parent) +{ + ( theWrappedObject->setParent(parent)); } -bool PythonQtShell_QTreeWidget::focusNextPrevChild(bool next0) + +void PythonQtWrapper_QWindow::setPosition(QWindow* theWrappedObject, const QPoint& pt) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPosition(pt)); +} + +void PythonQtWrapper_QWindow::setPosition(QWindow* theWrappedObject, int posx, int posy) +{ + ( theWrappedObject->setPosition(posx, posy)); } - return QTreeWidget::focusNextPrevChild(next0); + +void PythonQtWrapper_QWindow::setScreen(QWindow* theWrappedObject, QScreen* screen) +{ + ( theWrappedObject->setScreen(screen)); } -void PythonQtShell_QTreeWidget::focusOutEvent(QFocusEvent* event0) + +void PythonQtWrapper_QWindow::setSizeIncrement(QWindow* theWrappedObject, const QSize& size) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSizeIncrement(size)); } - QTreeWidget::focusOutEvent(event0); + +void PythonQtWrapper_QWindow::setSurfaceType(QWindow* theWrappedObject, QSurface::SurfaceType surfaceType) +{ + ( theWrappedObject->setSurfaceType(surfaceType)); } -bool PythonQtShell_QTreeWidget::hasHeightForWidth() const + +void PythonQtWrapper_QWindow::setTransientParent(QWindow* theWrappedObject, QWindow* parent) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTransientParent(parent)); } - return QTreeWidget::hasHeightForWidth(); + +void PythonQtWrapper_QWindow::setVisibility(QWindow* theWrappedObject, QWindow::Visibility v) +{ + ( theWrappedObject->setVisibility(v)); } -int PythonQtShell_QTreeWidget::heightForWidth(int arg__1) const + +void PythonQtWrapper_QWindow::setWindowState(QWindow* theWrappedObject, Qt::WindowState state) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWindowState(state)); } - return QTreeWidget::heightForWidth(arg__1); + +void PythonQtWrapper_QWindow::setWindowStates(QWindow* theWrappedObject, Qt::WindowStates states) +{ + ( theWrappedObject->setWindowStates(states)); } -void PythonQtShell_QTreeWidget::hideEvent(QHideEvent* event0) + +void PythonQtWrapper_QWindow::showEvent(QWindow* theWrappedObject, QShowEvent* arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_showEvent(arg__1)); } - QTreeWidget::hideEvent(event0); + +QSize PythonQtWrapper_QWindow::sizeIncrement(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->sizeIncrement()); } -int PythonQtShell_QTreeWidget::horizontalOffset() const + +void PythonQtWrapper_QWindow::tabletEvent(QWindow* theWrappedObject, QTabletEvent* arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_tabletEvent(arg__1)); } - return QTreeWidget::horizontalOffset(); + +QString PythonQtWrapper_QWindow::title(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->title()); } -void PythonQtShell_QTreeWidget::horizontalScrollbarAction(int action0) + +void PythonQtWrapper_QWindow::touchEvent(QWindow* theWrappedObject, QTouchEvent* arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_touchEvent(arg__1)); } - QTreeWidget::horizontalScrollbarAction(action0); + +QWindow* PythonQtWrapper_QWindow::transientParent(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->transientParent()); } -void PythonQtShell_QTreeWidget::horizontalScrollbarValueChanged(int value0) + +Qt::WindowType PythonQtWrapper_QWindow::type(QWindow* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->type()); } - QTreeWidget::horizontalScrollbarValueChanged(value0); + +void PythonQtWrapper_QWindow::unsetCursor(QWindow* theWrappedObject) +{ + ( theWrappedObject->unsetCursor()); } -QModelIndex PythonQtShell_QTreeWidget::indexAt(const QPoint& p0) const + +QWindow::Visibility PythonQtWrapper_QWindow::visibility(QWindow* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {nullptr, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->visibility()); +} + +void PythonQtWrapper_QWindow::wheelEvent(QWindow* theWrappedObject, QWheelEvent* arg__1) +{ + ( ((PythonQtPublicPromoter_QWindow*)theWrappedObject)->promoted_wheelEvent(arg__1)); +} + +int PythonQtWrapper_QWindow::width(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->width()); +} + +WId PythonQtWrapper_QWindow::winId(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->winId()); +} + +Qt::WindowState PythonQtWrapper_QWindow::windowState(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->windowState()); +} + +Qt::WindowStates PythonQtWrapper_QWindow::windowStates(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->windowStates()); +} + +int PythonQtWrapper_QWindow::x(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->x()); +} + +int PythonQtWrapper_QWindow::y(QWindow* theWrappedObject) const +{ + return ( theWrappedObject->y()); +} + +QString PythonQtWrapper_QWindow::py_toString(QWindow* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QWindowStateChangeEvent* PythonQtWrapper_QWindowStateChangeEvent::new_QWindowStateChangeEvent(Qt::WindowStates aOldState, bool isOverride) +{ +return new QWindowStateChangeEvent(aOldState, isOverride); } + +bool PythonQtWrapper_QWindowStateChangeEvent::isOverride(QWindowStateChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->isOverride()); } - return QTreeWidget::indexAt(p0); + +Qt::WindowStates PythonQtWrapper_QWindowStateChangeEvent::oldState(QWindowStateChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->oldState()); } -void PythonQtShell_QTreeWidget::initPainter(QPainter* painter0) const + + + +PythonQtShell_QWizard::~PythonQtShell_QWizard() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QWizard::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); + static PyObject* name = PyUnicode_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10844,17 +17880,17 @@ if (_wrapper) { } } } - QTreeWidget::initPainter(painter0); + QWizard::accept(); } -void PythonQtShell_QTreeWidget::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QWizard::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + static PyObject* name = PyUnicode_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -10866,85 +17902,63 @@ if (_wrapper) { } } } - QTreeWidget::inputMethodEvent(event0); + QWizard::actionEvent(event0); } -QVariant PythonQtShell_QTreeWidget::inputMethodQuery(Qt::InputMethodQuery query0) const +void PythonQtShell_QWizard::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + static PyObject* name = PyUnicode_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&query0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::inputMethodQuery(query0); + QWizard::changeEvent(arg__1); } -bool PythonQtShell_QTreeWidget::isIndexHidden(const QModelIndex& index0) const +void PythonQtShell_QWizard::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("isIndexHidden"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::isIndexHidden(index0); + QWizard::childEvent(event0); } -void PythonQtShell_QTreeWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QWizard::cleanupPage(int id0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("cleanupPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&id0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10954,19 +17968,19 @@ if (_wrapper) { } } } - QTreeWidget::keyPressEvent(event0); + QWizard::cleanupPage(id0); } -void PythonQtShell_QTreeWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QWizard::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10976,19 +17990,19 @@ if (_wrapper) { } } } - QTreeWidget::keyReleaseEvent(event0); + QWizard::closeEvent(arg__1); } -void PythonQtShell_QTreeWidget::keyboardSearch(const QString& search0) +void PythonQtShell_QWizard::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyboardSearch"); + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&search0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10998,14 +18012,14 @@ if (_wrapper) { } } } - QTreeWidget::keyboardSearch(search0); + QWizard::contextMenuEvent(arg__1); } -void PythonQtShell_QTreeWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QWizard::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; @@ -11020,26 +18034,26 @@ if (_wrapper) { } } } - QTreeWidget::leaveEvent(event0); + QWizard::customEvent(event0); } -int PythonQtShell_QTreeWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QWizard::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { returnValue = *((int*)args[0]); } @@ -11053,116 +18067,61 @@ if (_wrapper) { } } } - return QTreeWidget::metric(arg__1); + return QWizard::devType(); } -QMimeData* PythonQtShell_QTreeWidget::mimeData(const QList items0) const +void PythonQtShell_QWizard::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mimeData"); + static PyObject* name = PyUnicode_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue{}; - void* args[2] = {nullptr, (void*)&items0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTreeWidget::mimeData(items0); -} -QStringList PythonQtShell_QTreeWidget::mimeTypes() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mimeTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue{}; - void* args[1] = {nullptr}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::mimeTypes(); + QWizard::done(result0); } -QSize PythonQtShell_QTreeWidget::minimumSizeHint() const +void PythonQtShell_QWizard::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::minimumSizeHint(); + QWizard::dragEnterEvent(event0); } -void PythonQtShell_QTreeWidget::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QWizard::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -11174,17 +18133,17 @@ if (_wrapper) { } } } - QTreeWidget::mouseDoubleClickEvent(event0); + QWizard::dragLeaveEvent(event0); } -void PythonQtShell_QTreeWidget::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QWizard::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -11196,17 +18155,17 @@ if (_wrapper) { } } } - QTreeWidget::mouseMoveEvent(event0); + QWizard::dragMoveEvent(event0); } -void PythonQtShell_QTreeWidget::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QWizard::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -11218,17 +18177,17 @@ if (_wrapper) { } } } - QTreeWidget::mousePressEvent(event0); + QWizard::dropEvent(event0); } -void PythonQtShell_QTreeWidget::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QWizard::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -11240,28 +18199,28 @@ if (_wrapper) { } } } - QTreeWidget::mouseReleaseEvent(event0); + QWizard::enterEvent(event0); } -QModelIndex PythonQtShell_QTreeWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +bool PythonQtShell_QWizard::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveCursor"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue{}; - void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QModelIndex*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -11273,48 +18232,26 @@ if (_wrapper) { } } } - return QTreeWidget::moveCursor(cursorAction0, modifiers1); -} -void PythonQtShell_QTreeWidget::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeWidget::moveEvent(event0); + return QWizard::event(event0); } -bool PythonQtShell_QTreeWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QWizard::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -11328,28 +18265,28 @@ if (_wrapper) { } } } - return QTreeWidget::nativeEvent(eventType0, message1, result2); + return QWizard::eventFilter(arg__1, arg__2); } -QPaintEngine* PythonQtShell_QTreeWidget::paintEngine() const +int PythonQtShell_QWizard::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((int*)args[0]); } } } @@ -11361,17 +18298,17 @@ if (_wrapper) { } } } - return QTreeWidget::paintEngine(); + return QWizard::exec(); } -void PythonQtShell_QTreeWidget::paintEvent(QPaintEvent* event0) +void PythonQtShell_QWizard::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -11383,28 +18320,28 @@ if (_wrapper) { } } } - QTreeWidget::paintEvent(event0); + QWizard::focusInEvent(event0); } -QPaintDevice* PythonQtShell_QTreeWidget::redirected(QPoint* offset0) const +bool PythonQtShell_QWizard::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -11416,39 +18353,17 @@ if (_wrapper) { } } } - return QTreeWidget::redirected(offset0); -} -void PythonQtShell_QTreeWidget::reset() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeWidget::reset(); + return QWizard::focusNextPrevChild(next0); } -void PythonQtShell_QTreeWidget::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QWizard::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); + static PyObject* name = PyUnicode_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -11460,63 +18375,85 @@ if (_wrapper) { } } } - QTreeWidget::resizeEvent(event0); + QWizard::focusOutEvent(event0); } -void PythonQtShell_QTreeWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) +bool PythonQtShell_QWizard::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::rowsAboutToBeRemoved(parent0, start1, end2); + return QWizard::hasHeightForWidth(); } -void PythonQtShell_QTreeWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) +int PythonQtShell_QWizard::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("rowsInserted"); + static PyObject* name = PyUnicode_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::rowsInserted(parent0, start1, end2); + return QWizard::heightForWidth(arg__1); } -void PythonQtShell_QTreeWidget::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QWizard::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); + static PyObject* name = PyUnicode_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11526,19 +18463,19 @@ if (_wrapper) { } } } - QTreeWidget::scrollContentsBy(dx0, dy1); + QWizard::hideEvent(event0); } -void PythonQtShell_QTreeWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QWizard::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("scrollTo"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11548,19 +18485,19 @@ if (_wrapper) { } } } - QTreeWidget::scrollTo(index0, hint1); + QWizard::initPainter(painter0); } -void PythonQtShell_QTreeWidget::selectAll() +void PythonQtShell_QWizard::initializePage(int id0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectAll"); + static PyObject* name = PyUnicode_FromString("initializePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&id0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11570,52 +18507,19 @@ if (_wrapper) { } } } - QTreeWidget::selectAll(); -} -QList PythonQtShell_QTreeWidget::selectedIndexes() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectedIndexes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTreeWidget::selectedIndexes(); + QWizard::initializePage(id0); } -void PythonQtShell_QTreeWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QWizard::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectionChanged"); + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11625,28 +18529,28 @@ if (_wrapper) { } } } - QTreeWidget::selectionChanged(selected0, deselected1); + QWizard::inputMethodEvent(arg__1); } -QItemSelectionModel::SelectionFlags PythonQtShell_QTreeWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +QVariant PythonQtShell_QWizard::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectionCommand"); + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue{}; - void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + returnValue = *((QVariant*)args[0]); } } } @@ -11658,41 +18562,19 @@ if (_wrapper) { } } } - return QTreeWidget::selectionCommand(index0, event1); + return QWizard::inputMethodQuery(arg__1); } -void PythonQtShell_QTreeWidget::setRootIndex(const QModelIndex& index0) +void PythonQtShell_QWizard::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setRootIndex"); + static PyObject* name = PyUnicode_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTreeWidget::setRootIndex(index0); -} -void PythonQtShell_QTreeWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11702,19 +18584,19 @@ if (_wrapper) { } } } - QTreeWidget::setSelection(rect0, command1); + QWizard::keyPressEvent(arg__1); } -void PythonQtShell_QTreeWidget::setSelectionModel(QItemSelectionModel* selectionModel0) +void PythonQtShell_QWizard::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setSelectionModel"); + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11724,19 +18606,19 @@ if (_wrapper) { } } } - QTreeWidget::setSelectionModel(selectionModel0); + QWizard::keyReleaseEvent(event0); } -void PythonQtShell_QTreeWidget::setVisible(bool visible0) +void PythonQtShell_QWizard::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); + static PyObject* name = PyUnicode_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11746,50 +18628,61 @@ if (_wrapper) { } } } - QTreeWidget::setVisible(visible0); + QWizard::leaveEvent(event0); } -void PythonQtShell_QTreeWidget::setupViewport(QWidget* viewport0) +int PythonQtShell_QWizard::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setupViewport"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::setupViewport(viewport0); + return QWizard::metric(arg__1); } -QPainter* PythonQtShell_QTreeWidget::sharedPainter() const +QSize PythonQtShell_QWizard::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -11801,17 +18694,17 @@ if (_wrapper) { } } } - return QTreeWidget::sharedPainter(); + return QWizard::minimumSizeHint(); } -void PythonQtShell_QTreeWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QWizard::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -11823,118 +18716,85 @@ if (_wrapper) { } } } - QTreeWidget::showEvent(event0); + QWizard::mouseDoubleClickEvent(event0); } -QSize PythonQtShell_QTreeWidget::sizeHint() const +void PythonQtShell_QWizard::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::sizeHint(); + QWizard::mouseMoveEvent(event0); } -int PythonQtShell_QTreeWidget::sizeHintForColumn(int column0) const +void PythonQtShell_QWizard::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); + static PyObject* name = PyUnicode_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&column0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::sizeHintForColumn(column0); + QWizard::mousePressEvent(event0); } -int PythonQtShell_QTreeWidget::sizeHintForRow(int row0) const +void PythonQtShell_QWizard::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHintForRow"); + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&row0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::sizeHintForRow(row0); + QWizard::mouseReleaseEvent(event0); } -void PythonQtShell_QTreeWidget::startDrag(Qt::DropActions supportedActions0) +void PythonQtShell_QWizard::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("startDrag"); + static PyObject* name = PyUnicode_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11944,28 +18804,28 @@ if (_wrapper) { } } } - QTreeWidget::startDrag(supportedActions0); + QWizard::moveEvent(event0); } -Qt::DropActions PythonQtShell_QTreeWidget::supportedDropActions() const +bool PythonQtShell_QWizard::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("supportedDropActions"); + static PyObject* name = PyUnicode_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -11977,41 +18837,52 @@ if (_wrapper) { } } } - return QTreeWidget::supportedDropActions(); + return QWizard::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QTreeWidget::tabletEvent(QTabletEvent* event0) +int PythonQtShell_QWizard::nextId() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("nextId"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::tabletEvent(event0); + return QWizard::nextId(); } -void PythonQtShell_QTreeWidget::timerEvent(QTimerEvent* event0) +void PythonQtShell_QWizard::open() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("open"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12021,41 +18892,52 @@ if (_wrapper) { } } } - QTreeWidget::timerEvent(event0); + QWizard::open(); } -void PythonQtShell_QTreeWidget::updateEditorData() +QPaintEngine* PythonQtShell_QWizard::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateEditorData"); + static PyObject* name = PyUnicode_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::updateEditorData(); + return QWizard::paintEngine(); } -void PythonQtShell_QTreeWidget::updateEditorGeometries() +void PythonQtShell_QWizard::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); + static PyObject* name = PyUnicode_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12065,74 +18947,74 @@ if (_wrapper) { } } } - QTreeWidget::updateEditorGeometries(); + QWizard::paintEvent(event0); } -void PythonQtShell_QTreeWidget::updateGeometries() +QPaintDevice* PythonQtShell_QWizard::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateGeometries"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTreeWidget::updateGeometries(); + return QWizard::redirected(offset0); } -int PythonQtShell_QTreeWidget::verticalOffset() const +void PythonQtShell_QWizard::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalOffset"); + static PyObject* name = PyUnicode_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::verticalOffset(); + QWizard::reject(); } -void PythonQtShell_QTreeWidget::verticalScrollbarAction(int action0) +void PythonQtShell_QWizard::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); + static PyObject* name = PyUnicode_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12142,19 +19024,19 @@ if (_wrapper) { } } } - QTreeWidget::verticalScrollbarAction(action0); + QWizard::resizeEvent(event0); } -void PythonQtShell_QTreeWidget::verticalScrollbarValueChanged(int value0) +void PythonQtShell_QWizard::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyUnicode_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12164,28 +19046,28 @@ if (_wrapper) { } } } - QTreeWidget::verticalScrollbarValueChanged(value0); + QWizard::setVisible(visible0); } -QStyleOptionViewItem PythonQtShell_QTreeWidget::viewOptions() const +QPainter* PythonQtShell_QWizard::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewOptions"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; + QPainter* returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QStyleOptionViewItem*)args[0]); + returnValue = *((QPainter**)args[0]); } } } @@ -12197,47 +19079,36 @@ if (_wrapper) { } } } - return QTreeWidget::viewOptions(); + return QWizard::sharedPainter(); } -bool PythonQtShell_QTreeWidget::viewportEvent(QEvent* event0) +void PythonQtShell_QWizard::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::viewportEvent(event0); + QWizard::showEvent(arg__1); } -QSize PythonQtShell_QTreeWidget::viewportSizeHint() const +QSize PythonQtShell_QWizard::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -12249,7 +19120,7 @@ if (_wrapper) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } @@ -12263,61 +19134,72 @@ if (_wrapper) { } } } - return QTreeWidget::viewportSizeHint(); + return QWizard::sizeHint(); } -QRect PythonQtShell_QTreeWidget::visualRect(const QModelIndex& index0) const +void PythonQtShell_QWizard::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("visualRect"); + static PyObject* name = PyUnicode_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidget::visualRect(index0); + QWizard::tabletEvent(event0); } -QRegion PythonQtShell_QTreeWidget::visualRegionForSelection(const QItemSelection& selection0) const +void PythonQtShell_QWizard::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {nullptr, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWizard::timerEvent(event0); +} +bool PythonQtShell_QWizard::validateCurrentPage() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("validateCurrentPage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("validateCurrentPage", methodInfo, result); } else { - returnValue = *((QRegion*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -12329,9 +19211,9 @@ if (_wrapper) { } } } - return QTreeWidget::visualRegionForSelection(selection0); + return QWizard::validateCurrentPage(); } -void PythonQtShell_QTreeWidget::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QWizard::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12341,7 +19223,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12351,309 +19233,385 @@ if (_wrapper) { } } } - QTreeWidget::wheelEvent(arg__1); + QWizard::wheelEvent(event0); } -QTreeWidget* PythonQtWrapper_QTreeWidget::new_QTreeWidget(QWidget* parent) +QWizard* PythonQtWrapper_QWizard::new_QWizard(QWidget* parent, Qt::WindowFlags flags) { -return new PythonQtShell_QTreeWidget(parent); } +return new PythonQtShell_QWizard(parent, flags); } -const QMetaObject* PythonQtShell_QTreeWidget::metaObject() const { +const QMetaObject* PythonQtShell_QWizard::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTreeWidget::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWizard::staticMetaObject); } else { - return &QTreeWidget::staticMetaObject; + return &QWizard::staticMetaObject; } } -int PythonQtShell_QTreeWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTreeWidget::qt_metacall(call, id, args); +int PythonQtShell_QWizard::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWizard::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QTreeWidget::addTopLevelItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +int PythonQtWrapper_QWizard::addPage(QWizard* theWrappedObject, PythonQtPassOwnershipToCPP page) { - ( theWrappedObject->addTopLevelItem(item)); + return ( theWrappedObject->addPage(page)); } -void PythonQtWrapper_QTreeWidget::addTopLevelItems(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP > items) +QAbstractButton* PythonQtWrapper_QWizard::button(QWizard* theWrappedObject, QWizard::WizardButton which) const { - ( theWrappedObject->addTopLevelItems(items)); + return ( theWrappedObject->button(which)); } -void PythonQtWrapper_QTreeWidget::closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +QString PythonQtWrapper_QWizard::buttonText(QWizard* theWrappedObject, QWizard::WizardButton which) const { - ( theWrappedObject->closePersistentEditor(item, column)); + return ( theWrappedObject->buttonText(which)); } -int PythonQtWrapper_QTreeWidget::columnCount(QTreeWidget* theWrappedObject) const +void PythonQtWrapper_QWizard::cleanupPage(QWizard* theWrappedObject, int id) { - return ( theWrappedObject->columnCount()); + ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_cleanupPage(id)); } -int PythonQtWrapper_QTreeWidget::currentColumn(QTreeWidget* theWrappedObject) const +int PythonQtWrapper_QWizard::currentId(QWizard* theWrappedObject) const { - return ( theWrappedObject->currentColumn()); + return ( theWrappedObject->currentId()); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::currentItem(QTreeWidget* theWrappedObject) const +QWizardPage* PythonQtWrapper_QWizard::currentPage(QWizard* theWrappedObject) const { - return ( theWrappedObject->currentItem()); + return ( theWrappedObject->currentPage()); } -bool PythonQtWrapper_QTreeWidget::dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) +QVariant PythonQtWrapper_QWizard::field(QWizard* theWrappedObject, const QString& name) const { - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_dropMimeData(parent, index, data, action)); + return ( theWrappedObject->field(name)); } -void PythonQtWrapper_QTreeWidget::editItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +bool PythonQtWrapper_QWizard::hasVisitedPage(QWizard* theWrappedObject, int id) const { - ( theWrappedObject->editItem(item, column)); + return ( theWrappedObject->hasVisitedPage(id)); } -QList PythonQtWrapper_QTreeWidget::findItems(QTreeWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column) const +void PythonQtWrapper_QWizard::initializePage(QWizard* theWrappedObject, int id) { - return ( theWrappedObject->findItems(text, flags, column)); + ( ((PythonQtPublicPromoter_QWizard*)theWrappedObject)->promoted_initializePage(id)); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::headerItem(QTreeWidget* theWrappedObject) const +int PythonQtWrapper_QWizard::nextId(QWizard* theWrappedObject) const { - return ( theWrappedObject->headerItem()); + return ( theWrappedObject->nextId()); } -QModelIndex PythonQtWrapper_QTreeWidget::indexFromItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const +QWizard::WizardOptions PythonQtWrapper_QWizard::options(QWizard* theWrappedObject) const { - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_indexFromItem(item, column)); + return ( theWrappedObject->options()); } -QModelIndex PythonQtWrapper_QTreeWidget::indexFromItem(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, int column) const +QWizardPage* PythonQtWrapper_QWizard::page(QWizard* theWrappedObject, int id) const { - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_indexFromItem(item, column)); + return ( theWrappedObject->page(id)); } -int PythonQtWrapper_QTreeWidget::indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const +QList PythonQtWrapper_QWizard::pageIds(QWizard* theWrappedObject) const { - return ( theWrappedObject->indexOfTopLevelItem(item)); + return ( theWrappedObject->pageIds()); } -void PythonQtWrapper_QTreeWidget::insertTopLevelItem(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP item) +QPixmap PythonQtWrapper_QWizard::pixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which) const { - ( theWrappedObject->insertTopLevelItem(index, item)); + return ( theWrappedObject->pixmap(which)); } -void PythonQtWrapper_QTreeWidget::insertTopLevelItems(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP > items) +void PythonQtWrapper_QWizard::removePage(QWizard* theWrappedObject, int id) { - ( theWrappedObject->insertTopLevelItems(index, items)); + ( theWrappedObject->removePage(id)); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::invisibleRootItem(QTreeWidget* theWrappedObject) const +void PythonQtWrapper_QWizard::setButton(QWizard* theWrappedObject, QWizard::WizardButton which, PythonQtPassOwnershipToCPP button) { - return ( theWrappedObject->invisibleRootItem()); + ( theWrappedObject->setButton(which, button)); } -bool PythonQtWrapper_QTreeWidget::isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +void PythonQtWrapper_QWizard::setButtonLayout(QWizard* theWrappedObject, const QList& layout) { - return ( theWrappedObject->isFirstItemColumnSpanned(item)); + ( theWrappedObject->setButtonLayout(layout)); } -bool PythonQtWrapper_QTreeWidget::isPersistentEditorOpen(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const +void PythonQtWrapper_QWizard::setButtonText(QWizard* theWrappedObject, QWizard::WizardButton which, const QString& text) { - return ( theWrappedObject->isPersistentEditorOpen(item, column)); + ( theWrappedObject->setButtonText(which, text)); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +void PythonQtWrapper_QWizard::setField(QWizard* theWrappedObject, const QString& name, const QVariant& value) { - return ( theWrappedObject->itemAbove(item)); + ( theWrappedObject->setField(name, value)); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const +void PythonQtWrapper_QWizard::setOption(QWizard* theWrappedObject, QWizard::WizardOption option, bool on) { - return ( theWrappedObject->itemAt(p)); + ( theWrappedObject->setOption(option, on)); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemAt(QTreeWidget* theWrappedObject, int x, int y) const +void PythonQtWrapper_QWizard::setOptions(QWizard* theWrappedObject, QWizard::WizardOptions options) { - return ( theWrappedObject->itemAt(x, y)); + ( theWrappedObject->setOptions(options)); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +void PythonQtWrapper_QWizard::setPage(QWizard* theWrappedObject, int id, QWizardPage* page) { - return ( theWrappedObject->itemBelow(item)); + ( theWrappedObject->setPage(id, page)); } -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::itemFromIndex(QTreeWidget* theWrappedObject, const QModelIndex& index) const +void PythonQtWrapper_QWizard::setPixmap(QWizard* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap) { - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_itemFromIndex(index)); + ( theWrappedObject->setPixmap(which, pixmap)); } -QWidget* PythonQtWrapper_QTreeWidget::itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const +void PythonQtWrapper_QWizard::setSideWidget(QWizard* theWrappedObject, QWidget* widget) { - return ( theWrappedObject->itemWidget(item, column)); + ( theWrappedObject->setSideWidget(widget)); } -PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::mimeData(QTreeWidget* theWrappedObject, const QList items) const +void PythonQtWrapper_QWizard::setStartId(QWizard* theWrappedObject, int id) { - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeData(items)); + ( theWrappedObject->setStartId(id)); } -QStringList PythonQtWrapper_QTreeWidget::mimeTypes(QTreeWidget* theWrappedObject) const +void PythonQtWrapper_QWizard::setSubTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format) { - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_mimeTypes()); + ( theWrappedObject->setSubTitleFormat(format)); } -void PythonQtWrapper_QTreeWidget::openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +void PythonQtWrapper_QWizard::setTitleFormat(QWizard* theWrappedObject, Qt::TextFormat format) { - ( theWrappedObject->openPersistentEditor(item, column)); + ( theWrappedObject->setTitleFormat(format)); } -void PythonQtWrapper_QTreeWidget::removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +void PythonQtWrapper_QWizard::setWizardStyle(QWizard* theWrappedObject, QWizard::WizardStyle style) { - ( theWrappedObject->removeItemWidget(item, column)); + ( theWrappedObject->setWizardStyle(style)); } -QList PythonQtWrapper_QTreeWidget::selectedItems(QTreeWidget* theWrappedObject) const +QWidget* PythonQtWrapper_QWizard::sideWidget(QWizard* theWrappedObject) const { - return ( theWrappedObject->selectedItems()); + return ( theWrappedObject->sideWidget()); } -void PythonQtWrapper_QTreeWidget::setColumnCount(QTreeWidget* theWrappedObject, int columns) +int PythonQtWrapper_QWizard::startId(QWizard* theWrappedObject) const { - ( theWrappedObject->setColumnCount(columns)); + return ( theWrappedObject->startId()); } -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) +Qt::TextFormat PythonQtWrapper_QWizard::subTitleFormat(QWizard* theWrappedObject) const { - ( theWrappedObject->setCurrentItem(item)); + return ( theWrappedObject->subTitleFormat()); } -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) +bool PythonQtWrapper_QWizard::testOption(QWizard* theWrappedObject, QWizard::WizardOption option) const { - ( theWrappedObject->setCurrentItem(item, column)); + return ( theWrappedObject->testOption(option)); } -void PythonQtWrapper_QTreeWidget::setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command) +Qt::TextFormat PythonQtWrapper_QWizard::titleFormat(QWizard* theWrappedObject) const { - ( theWrappedObject->setCurrentItem(item, column, command)); + return ( theWrappedObject->titleFormat()); } -void PythonQtWrapper_QTreeWidget::setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span) +bool PythonQtWrapper_QWizard::validateCurrentPage(QWizard* theWrappedObject) { - ( theWrappedObject->setFirstItemColumnSpanned(item, span)); + return ( theWrappedObject->validateCurrentPage()); } -void PythonQtWrapper_QTreeWidget::setHeaderItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) +QList PythonQtWrapper_QWizard::visitedPages(QWizard* theWrappedObject) const { - ( theWrappedObject->setHeaderItem(item)); + return ( theWrappedObject->visitedPages()); } -void PythonQtWrapper_QTreeWidget::setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label) +QWizard::WizardStyle PythonQtWrapper_QWizard::wizardStyle(QWizard* theWrappedObject) const { - ( theWrappedObject->setHeaderLabel(label)); + return ( theWrappedObject->wizardStyle()); } -void PythonQtWrapper_QTreeWidget::setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels) -{ - ( theWrappedObject->setHeaderLabels(labels)); -} -void PythonQtWrapper_QTreeWidget::setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget) -{ - ( theWrappedObject->setItemWidget(item, column, widget)); -} -int PythonQtWrapper_QTreeWidget::sortColumn(QTreeWidget* theWrappedObject) const +PythonQtShell_QWizardPage::~PythonQtShell_QWizardPage() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QWizardPage::actionEvent(QActionEvent* event0) { - return ( theWrappedObject->sortColumn()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidget::sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order) + QWizardPage::actionEvent(event0); +} +void PythonQtShell_QWizardPage::changeEvent(QEvent* arg__1) { - ( theWrappedObject->sortItems(column, order)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::DropActions PythonQtWrapper_QTreeWidget::supportedDropActions(QTreeWidget* theWrappedObject) const + QWizardPage::changeEvent(arg__1); +} +void PythonQtShell_QWizardPage::childEvent(QChildEvent* event0) { - return ( ((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->promoted_supportedDropActions()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidget::takeTopLevelItem(QTreeWidget* theWrappedObject, int index) + QWizardPage::childEvent(event0); +} +void PythonQtShell_QWizardPage::cleanupPage() { - return ( theWrappedObject->takeTopLevelItem(index)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("cleanupPage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidget::topLevelItem(QTreeWidget* theWrappedObject, int index) const + QWizardPage::cleanupPage(); +} +void PythonQtShell_QWizardPage::closeEvent(QCloseEvent* event0) { - return ( theWrappedObject->topLevelItem(index)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTreeWidget::topLevelItemCount(QTreeWidget* theWrappedObject) const -{ - return ( theWrappedObject->topLevelItemCount()); + QWizardPage::closeEvent(event0); } - -QRect PythonQtWrapper_QTreeWidget::visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const +void PythonQtShell_QWizardPage::contextMenuEvent(QContextMenuEvent* event0) { - return ( theWrappedObject->visualItemRect(item)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTreeWidgetItem::~PythonQtShell_QTreeWidgetItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QWizardPage::contextMenuEvent(event0); } -QTreeWidgetItem* PythonQtShell_QTreeWidgetItem::clone() const +void PythonQtShell_QWizardPage::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("clone"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QTreeWidgetItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QTreeWidgetItem* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); - } else { - returnValue = *((QTreeWidgetItem**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTreeWidgetItem::clone(); + QWizardPage::customEvent(event0); } -QVariant PythonQtShell_QTreeWidgetItem::data(int column0, int role1) const +int PythonQtShell_QWizardPage::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("data"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {nullptr, (void*)&column0, (void*)&role1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -12665,19 +19623,19 @@ if (_wrapper) { } } } - return QTreeWidgetItem::data(column0, role1); + return QWizardPage::devType(); } -void PythonQtShell_QTreeWidgetItem::read(QDataStream& in0) +void PythonQtShell_QWizardPage::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("read"); + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&in0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12687,19 +19645,19 @@ if (_wrapper) { } } } - QTreeWidgetItem::read(in0); + QWizardPage::dragEnterEvent(event0); } -void PythonQtShell_QTreeWidgetItem::setData(int column0, int role1, const QVariant& value2) +void PythonQtShell_QWizardPage::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setData"); + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&column0, (void*)&role1, (void*)&value2}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12709,381 +19667,521 @@ if (_wrapper) { } } } - QTreeWidgetItem::setData(column0, role1, value2); + QWizardPage::dragLeaveEvent(event0); } -void PythonQtShell_QTreeWidgetItem::write(QDataStream& out0) const +void PythonQtShell_QWizardPage::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("write"); + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&out0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { PyErr_Clear(); - } - } -} - QTreeWidgetItem::write(out0); -} -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, QTreeWidgetItem* after, int type) -{ -return new PythonQtShell_QTreeWidgetItem(view, after, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, const QStringList& strings, int type) -{ -return new PythonQtShell_QTreeWidgetItem(view, strings, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, int type) -{ -return new PythonQtShell_QTreeWidgetItem(view, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, QTreeWidgetItem* after, int type) -{ -return new PythonQtShell_QTreeWidgetItem(parent, after, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, const QStringList& strings, int type) -{ -return new PythonQtShell_QTreeWidgetItem(parent, strings, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, int type) -{ -return new PythonQtShell_QTreeWidgetItem(parent, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(const QStringList& strings, int type) -{ -return new PythonQtShell_QTreeWidgetItem(strings, type); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::new_QTreeWidgetItem(int type) -{ -return new PythonQtShell_QTreeWidgetItem(type); } - -void PythonQtWrapper_QTreeWidgetItem::addChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP child) -{ - ( theWrappedObject->addChild(child)); -} - -void PythonQtWrapper_QTreeWidgetItem::addChildren(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP > children) -{ - ( theWrappedObject->addChildren(children)); -} - -QBrush PythonQtWrapper_QTreeWidgetItem::background(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->background(column)); -} - -Qt::CheckState PythonQtWrapper_QTreeWidgetItem::checkState(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->checkState(column)); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::child(QTreeWidgetItem* theWrappedObject, int index) const -{ - return ( theWrappedObject->child(index)); -} - -int PythonQtWrapper_QTreeWidgetItem::childCount(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->childCount()); -} - -QTreeWidgetItem::ChildIndicatorPolicy PythonQtWrapper_QTreeWidgetItem::childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->childIndicatorPolicy()); -} - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::clone(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->clone()); -} - -int PythonQtWrapper_QTreeWidgetItem::columnCount(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->columnCount()); -} - -QVariant PythonQtWrapper_QTreeWidgetItem::data(QTreeWidgetItem* theWrappedObject, int column, int role) const -{ - return ( theWrappedObject->data(column, role)); -} - -void PythonQtWrapper_QTreeWidgetItem::emitDataChanged(QTreeWidgetItem* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->promoted_emitDataChanged()); -} - -Qt::ItemFlags PythonQtWrapper_QTreeWidgetItem::flags(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -QFont PythonQtWrapper_QTreeWidgetItem::font(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->font(column)); -} - -QBrush PythonQtWrapper_QTreeWidgetItem::foreground(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->foreground(column)); -} - -QIcon PythonQtWrapper_QTreeWidgetItem::icon(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->icon(column)); -} - -int PythonQtWrapper_QTreeWidgetItem::indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const -{ - return ( theWrappedObject->indexOfChild(child)); -} - -void PythonQtWrapper_QTreeWidgetItem::insertChild(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP child) -{ - ( theWrappedObject->insertChild(index, child)); -} - -void PythonQtWrapper_QTreeWidgetItem::insertChildren(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP > children) -{ - ( theWrappedObject->insertChildren(index, children)); -} - -bool PythonQtWrapper_QTreeWidgetItem::isDisabled(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isDisabled()); -} - -bool PythonQtWrapper_QTreeWidgetItem::isExpanded(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isExpanded()); -} - -bool PythonQtWrapper_QTreeWidgetItem::isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isFirstColumnSpanned()); -} - -bool PythonQtWrapper_QTreeWidgetItem::isHidden(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isHidden()); -} - -bool PythonQtWrapper_QTreeWidgetItem::isSelected(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isSelected()); -} - -void PythonQtWrapper_QTreeWidgetItem::writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out) -{ - out << (*theWrappedObject); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in) -{ - in >> (*theWrappedObject); + QWizardPage::dragMoveEvent(event0); } - -QTreeWidgetItem* PythonQtWrapper_QTreeWidgetItem::parent(QTreeWidgetItem* theWrappedObject) const +void PythonQtShell_QWizardPage::dropEvent(QDropEvent* event0) { - return ( theWrappedObject->parent()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::read(QTreeWidgetItem* theWrappedObject, QDataStream& in) -{ - ( theWrappedObject->read(in)); + QWizardPage::dropEvent(event0); } - -void PythonQtWrapper_QTreeWidgetItem::removeChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToPython child) +void PythonQtShell_QWizardPage::enterEvent(QEvent* event0) { - ( theWrappedObject->removeChild(child)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) -{ - ( theWrappedObject->setBackground(column, brush)); + QWizardPage::enterEvent(event0); } - -void PythonQtWrapper_QTreeWidgetItem::setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state) +bool PythonQtShell_QWizardPage::event(QEvent* event0) { - ( theWrappedObject->setCheckState(column, state)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy) -{ - ( theWrappedObject->setChildIndicatorPolicy(policy)); + return QWizardPage::event(event0); } - -void PythonQtWrapper_QTreeWidgetItem::setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value) +bool PythonQtShell_QWizardPage::eventFilter(QObject* watched0, QEvent* event1) { - ( theWrappedObject->setData(column, role, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled) -{ - ( theWrappedObject->setDisabled(disabled)); + return QWizardPage::eventFilter(watched0, event1); } - -void PythonQtWrapper_QTreeWidgetItem::setExpanded(QTreeWidgetItem* theWrappedObject, bool expand) +void PythonQtShell_QWizardPage::focusInEvent(QFocusEvent* event0) { - ( theWrappedObject->setExpanded(expand)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span) -{ - ( theWrappedObject->setFirstColumnSpanned(span)); + QWizardPage::focusInEvent(event0); } - -void PythonQtWrapper_QTreeWidgetItem::setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags) +bool PythonQtShell_QWizardPage::focusNextPrevChild(bool next0) { - ( theWrappedObject->setFlags(flags)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font) -{ - ( theWrappedObject->setFont(column, font)); + return QWizardPage::focusNextPrevChild(next0); } - -void PythonQtWrapper_QTreeWidgetItem::setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush) +void PythonQtShell_QWizardPage::focusOutEvent(QFocusEvent* event0) { - ( theWrappedObject->setForeground(column, brush)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setHidden(QTreeWidgetItem* theWrappedObject, bool hide) -{ - ( theWrappedObject->setHidden(hide)); + QWizardPage::focusOutEvent(event0); } - -void PythonQtWrapper_QTreeWidgetItem::setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon) +bool PythonQtShell_QWizardPage::hasHeightForWidth() const { - ( theWrappedObject->setIcon(column, icon)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setSelected(QTreeWidgetItem* theWrappedObject, bool select) + return QWizardPage::hasHeightForWidth(); +} +int PythonQtShell_QWizardPage::heightForWidth(int arg__1) const { - ( theWrappedObject->setSelected(select)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size) -{ - ( theWrappedObject->setSizeHint(column, size)); + return QWizardPage::heightForWidth(arg__1); } - -void PythonQtWrapper_QTreeWidgetItem::setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip) +void PythonQtShell_QWizardPage::hideEvent(QHideEvent* event0) { - ( theWrappedObject->setStatusTip(column, statusTip)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text) -{ - ( theWrappedObject->setText(column, text)); + QWizardPage::hideEvent(event0); } - -void PythonQtWrapper_QTreeWidgetItem::setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment) +void PythonQtShell_QWizardPage::initPainter(QPainter* painter0) const { - ( theWrappedObject->setTextAlignment(column, alignment)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTreeWidgetItem::setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip) -{ - ( theWrappedObject->setToolTip(column, toolTip)); + QWizardPage::initPainter(painter0); } - -void PythonQtWrapper_QTreeWidgetItem::setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis) +void PythonQtShell_QWizardPage::initializePage() { - ( theWrappedObject->setWhatsThis(column, whatsThis)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("initializePage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QSize PythonQtWrapper_QTreeWidgetItem::sizeHint(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->sizeHint(column)); + QWizardPage::initializePage(); } - -void PythonQtWrapper_QTreeWidgetItem::sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order) +void PythonQtShell_QWizardPage::inputMethodEvent(QInputMethodEvent* arg__1) { - ( theWrappedObject->sortChildren(column, order)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QTreeWidgetItem::statusTip(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->statusTip(column)); + QWizardPage::inputMethodEvent(arg__1); } - -PythonQtPassOwnershipToPython PythonQtWrapper_QTreeWidgetItem::takeChild(QTreeWidgetItem* theWrappedObject, int index) +QVariant PythonQtShell_QWizardPage::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - return ( theWrappedObject->takeChild(index)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -PythonQtPassOwnershipToCPP > PythonQtWrapper_QTreeWidgetItem::takeChildren(QTreeWidgetItem* theWrappedObject) -{ - return ( theWrappedObject->takeChildren()); + return QWizardPage::inputMethodQuery(arg__1); } - -QString PythonQtWrapper_QTreeWidgetItem::text(QTreeWidgetItem* theWrappedObject, int column) const +bool PythonQtShell_QWizardPage::isComplete() const { - return ( theWrappedObject->text(column)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("isComplete"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isComplete", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTreeWidgetItem::textAlignment(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->textAlignment(column)); + return QWizardPage::isComplete(); } - -QString PythonQtWrapper_QTreeWidgetItem::toolTip(QTreeWidgetItem* theWrappedObject, int column) const +void PythonQtShell_QWizardPage::keyPressEvent(QKeyEvent* event0) { - return ( theWrappedObject->toolTip(column)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTreeWidget* PythonQtWrapper_QTreeWidgetItem::treeWidget(QTreeWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->treeWidget()); + QWizardPage::keyPressEvent(event0); } - -int PythonQtWrapper_QTreeWidgetItem::type(QTreeWidgetItem* theWrappedObject) const +void PythonQtShell_QWizardPage::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->type()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QTreeWidgetItem::whatsThis(QTreeWidgetItem* theWrappedObject, int column) const -{ - return ( theWrappedObject->whatsThis(column)); + QWizardPage::keyReleaseEvent(event0); } - -void PythonQtWrapper_QTreeWidgetItem::write(QTreeWidgetItem* theWrappedObject, QDataStream& out) const +void PythonQtShell_QWizardPage::leaveEvent(QEvent* event0) { - ( theWrappedObject->write(out)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QUndoCommand::~PythonQtShell_QUndoCommand() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QWizardPage::leaveEvent(event0); } -int PythonQtShell_QUndoCommand::id() const +int PythonQtShell_QWizardPage::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("id"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; - void* args[1] = {nullptr}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("id", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } @@ -13097,28 +20195,28 @@ if (_wrapper) { } } } - return QUndoCommand::id(); + return QWizardPage::metric(arg__1); } -bool PythonQtShell_QUndoCommand::mergeWith(const QUndoCommand* other0) +QSize PythonQtShell_QWizardPage::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mergeWith"); + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QUndoCommand*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&other0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("mergeWith", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -13130,19 +20228,19 @@ if (_wrapper) { } } } - return QUndoCommand::mergeWith(other0); + return QWizardPage::minimumSizeHint(); } -void PythonQtShell_QUndoCommand::redo() +void PythonQtShell_QWizardPage::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redo"); + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -13152,19 +20250,19 @@ if (_wrapper) { } } } - QUndoCommand::redo(); + QWizardPage::mouseDoubleClickEvent(event0); } -void PythonQtShell_QUndoCommand::undo() +void PythonQtShell_QWizardPage::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("undo"); + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -13174,108 +20272,237 @@ if (_wrapper) { } } } - QUndoCommand::undo(); + QWizardPage::mouseMoveEvent(event0); } -QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(QUndoCommand* parent) -{ -return new PythonQtShell_QUndoCommand(parent); } - -QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(const QString& text, QUndoCommand* parent) -{ -return new PythonQtShell_QUndoCommand(text, parent); } - -QString PythonQtWrapper_QUndoCommand::actionText(QUndoCommand* theWrappedObject) const +void PythonQtShell_QWizardPage::mousePressEvent(QMouseEvent* event0) { - return ( theWrappedObject->actionText()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -const QUndoCommand* PythonQtWrapper_QUndoCommand::child(QUndoCommand* theWrappedObject, int index) const -{ - return ( theWrappedObject->child(index)); + QWizardPage::mousePressEvent(event0); } - -int PythonQtWrapper_QUndoCommand::childCount(QUndoCommand* theWrappedObject) const +void PythonQtShell_QWizardPage::mouseReleaseEvent(QMouseEvent* event0) { - return ( theWrappedObject->childCount()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QUndoCommand::id(QUndoCommand* theWrappedObject) const -{ - return ( theWrappedObject->id()); + QWizardPage::mouseReleaseEvent(event0); } - -bool PythonQtWrapper_QUndoCommand::isObsolete(QUndoCommand* theWrappedObject) const +void PythonQtShell_QWizardPage::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->isObsolete()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QUndoCommand::mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other) -{ - return ( theWrappedObject->mergeWith(other)); + QWizardPage::moveEvent(event0); } - -void PythonQtWrapper_QUndoCommand::redo(QUndoCommand* theWrappedObject) +bool PythonQtShell_QWizardPage::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - ( theWrappedObject->redo()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QUndoCommand::setObsolete(QUndoCommand* theWrappedObject, bool obsolete) -{ - ( theWrappedObject->setObsolete(obsolete)); + return QWizardPage::nativeEvent(eventType0, message1, result2); } - -void PythonQtWrapper_QUndoCommand::setText(QUndoCommand* theWrappedObject, const QString& text) +int PythonQtShell_QWizardPage::nextId() const { - ( theWrappedObject->setText(text)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nextId"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextId", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QUndoCommand::text(QUndoCommand* theWrappedObject) const -{ - return ( theWrappedObject->text()); + return QWizardPage::nextId(); } - -void PythonQtWrapper_QUndoCommand::undo(QUndoCommand* theWrappedObject) +QPaintEngine* PythonQtShell_QWizardPage::paintEngine() const { - ( theWrappedObject->undo()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QUndoGroup::~PythonQtShell_QUndoGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QWizardPage::paintEngine(); } -void PythonQtShell_QUndoGroup::childEvent(QChildEvent* event0) +void PythonQtShell_QWizardPage::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return; + } else { + PyErr_Clear(); + } + } +} + QWizardPage::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QWizardPage::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; } else { PyErr_Clear(); } } } - QUndoGroup::childEvent(event0); + return QWizardPage::redirected(offset0); } -void PythonQtShell_QUndoGroup::customEvent(QEvent* event0) +void PythonQtShell_QWizardPage::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -13287,61 +20514,50 @@ if (_wrapper) { } } } - QUndoGroup::customEvent(event0); + QWizardPage::resizeEvent(event0); } -bool PythonQtShell_QUndoGroup::event(QEvent* event0) +void PythonQtShell_QWizardPage::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoGroup::event(event0); + QWizardPage::setVisible(visible0); } -bool PythonQtShell_QUndoGroup::eventFilter(QObject* watched0, QEvent* event1) +QPainter* PythonQtShell_QWizardPage::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } @@ -13353,17 +20569,17 @@ if (_wrapper) { } } } - return QUndoGroup::eventFilter(watched0, event1); + return QWizardPage::sharedPainter(); } -void PythonQtShell_QUndoGroup::timerEvent(QTimerEvent* event0) +void PythonQtShell_QWizardPage::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -13375,117 +20591,50 @@ if (_wrapper) { } } } - QUndoGroup::timerEvent(event0); -} -QUndoGroup* PythonQtWrapper_QUndoGroup::new_QUndoGroup(QObject* parent) -{ -return new PythonQtShell_QUndoGroup(parent); } - -const QMetaObject* PythonQtShell_QUndoGroup::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoGroup::staticMetaObject); - } else { - return &QUndoGroup::staticMetaObject; - } -} -int PythonQtShell_QUndoGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QUndoGroup::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QUndoStack* PythonQtWrapper_QUndoGroup::activeStack(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->activeStack()); -} - -void PythonQtWrapper_QUndoGroup::addStack(QUndoGroup* theWrappedObject, QUndoStack* stack) -{ - ( theWrappedObject->addStack(stack)); -} - -bool PythonQtWrapper_QUndoGroup::canRedo(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->canRedo()); -} - -bool PythonQtWrapper_QUndoGroup::canUndo(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->canUndo()); -} - -QAction* PythonQtWrapper_QUndoGroup::createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix) const -{ - return ( theWrappedObject->createRedoAction(parent, prefix)); -} - -QAction* PythonQtWrapper_QUndoGroup::createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix) const -{ - return ( theWrappedObject->createUndoAction(parent, prefix)); -} - -bool PythonQtWrapper_QUndoGroup::isClean(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->isClean()); -} - -QString PythonQtWrapper_QUndoGroup::redoText(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->redoText()); -} - -void PythonQtWrapper_QUndoGroup::removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack) -{ - ( theWrappedObject->removeStack(stack)); -} - -QList PythonQtWrapper_QUndoGroup::stacks(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->stacks()); -} - -QString PythonQtWrapper_QUndoGroup::undoText(QUndoGroup* theWrappedObject) const -{ - return ( theWrappedObject->undoText()); -} - - - -PythonQtShell_QUndoStack::~PythonQtShell_QUndoStack() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QWizardPage::showEvent(event0); } -void PythonQtShell_QUndoStack::childEvent(QChildEvent* event0) +QSize PythonQtShell_QWizardPage::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QUndoStack::childEvent(event0); + return QWizardPage::sizeHint(); } -void PythonQtShell_QUndoStack::customEvent(QEvent* event0) +void PythonQtShell_QWizardPage::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -13497,59 +20646,48 @@ if (_wrapper) { } } } - QUndoStack::customEvent(event0); + QWizardPage::tabletEvent(event0); } -bool PythonQtShell_QUndoStack::event(QEvent* event0) +void PythonQtShell_QWizardPage::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QUndoStack::event(event0); + QWizardPage::timerEvent(event0); } -bool PythonQtShell_QUndoStack::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QWizardPage::validatePage() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("validatePage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("validatePage", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -13563,17 +20701,17 @@ if (_wrapper) { } } } - return QUndoStack::eventFilter(watched0, event1); + return QWizardPage::validatePage(); } -void PythonQtShell_QUndoStack::timerEvent(QTimerEvent* event0) +void PythonQtShell_QWizardPage::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -13585,118 +20723,128 @@ if (_wrapper) { } } } - QUndoStack::timerEvent(event0); + QWizardPage::wheelEvent(event0); } -QUndoStack* PythonQtWrapper_QUndoStack::new_QUndoStack(QObject* parent) +QWizardPage* PythonQtWrapper_QWizardPage::new_QWizardPage(QWidget* parent) { -return new PythonQtShell_QUndoStack(parent); } +return new PythonQtShell_QWizardPage(parent); } -const QMetaObject* PythonQtShell_QUndoStack::metaObject() const { +const QMetaObject* PythonQtShell_QWizardPage::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QUndoStack::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWizardPage::staticMetaObject); } else { - return &QUndoStack::staticMetaObject; + return &QWizardPage::staticMetaObject; } } -int PythonQtShell_QUndoStack::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QUndoStack::qt_metacall(call, id, args); +int PythonQtShell_QWizardPage::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWizardPage::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QUndoStack::beginMacro(QUndoStack* theWrappedObject, const QString& text) +QString PythonQtWrapper_QWizardPage::buttonText(QWizardPage* theWrappedObject, QWizard::WizardButton which) const { - ( theWrappedObject->beginMacro(text)); + return ( theWrappedObject->buttonText(which)); } -bool PythonQtWrapper_QUndoStack::canRedo(QUndoStack* theWrappedObject) const +void PythonQtWrapper_QWizardPage::cleanupPage(QWizardPage* theWrappedObject) { - return ( theWrappedObject->canRedo()); + ( theWrappedObject->cleanupPage()); } -bool PythonQtWrapper_QUndoStack::canUndo(QUndoStack* theWrappedObject) const +QVariant PythonQtWrapper_QWizardPage::field(QWizardPage* theWrappedObject, const QString& name) const { - return ( theWrappedObject->canUndo()); + return ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_field(name)); } -int PythonQtWrapper_QUndoStack::cleanIndex(QUndoStack* theWrappedObject) const +void PythonQtWrapper_QWizardPage::initializePage(QWizardPage* theWrappedObject) { - return ( theWrappedObject->cleanIndex()); + ( theWrappedObject->initializePage()); } -void PythonQtWrapper_QUndoStack::clear(QUndoStack* theWrappedObject) +bool PythonQtWrapper_QWizardPage::isCommitPage(QWizardPage* theWrappedObject) const { - ( theWrappedObject->clear()); + return ( theWrappedObject->isCommitPage()); } -const QUndoCommand* PythonQtWrapper_QUndoStack::command(QUndoStack* theWrappedObject, int index) const +bool PythonQtWrapper_QWizardPage::isComplete(QWizardPage* theWrappedObject) const { - return ( theWrappedObject->command(index)); + return ( theWrappedObject->isComplete()); } -int PythonQtWrapper_QUndoStack::count(QUndoStack* theWrappedObject) const +bool PythonQtWrapper_QWizardPage::isFinalPage(QWizardPage* theWrappedObject) const { - return ( theWrappedObject->count()); + return ( theWrappedObject->isFinalPage()); } -QAction* PythonQtWrapper_QUndoStack::createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const +int PythonQtWrapper_QWizardPage::nextId(QWizardPage* theWrappedObject) const { - return ( theWrappedObject->createRedoAction(parent, prefix)); + return ( theWrappedObject->nextId()); } -QAction* PythonQtWrapper_QUndoStack::createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const +QPixmap PythonQtWrapper_QWizardPage::pixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which) const { - return ( theWrappedObject->createUndoAction(parent, prefix)); + return ( theWrappedObject->pixmap(which)); } -void PythonQtWrapper_QUndoStack::endMacro(QUndoStack* theWrappedObject) +void PythonQtWrapper_QWizardPage::registerField(QWizardPage* theWrappedObject, const QString& name, QWidget* widget, const char* property, const char* changedSignal) { - ( theWrappedObject->endMacro()); + ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_registerField(name, widget, property, changedSignal)); } -int PythonQtWrapper_QUndoStack::index(QUndoStack* theWrappedObject) const +void PythonQtWrapper_QWizardPage::setButtonText(QWizardPage* theWrappedObject, QWizard::WizardButton which, const QString& text) { - return ( theWrappedObject->index()); + ( theWrappedObject->setButtonText(which, text)); } -bool PythonQtWrapper_QUndoStack::isActive(QUndoStack* theWrappedObject) const +void PythonQtWrapper_QWizardPage::setCommitPage(QWizardPage* theWrappedObject, bool commitPage) { - return ( theWrappedObject->isActive()); + ( theWrappedObject->setCommitPage(commitPage)); } -bool PythonQtWrapper_QUndoStack::isClean(QUndoStack* theWrappedObject) const +void PythonQtWrapper_QWizardPage::setField(QWizardPage* theWrappedObject, const QString& name, const QVariant& value) { - return ( theWrappedObject->isClean()); + ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_setField(name, value)); } -void PythonQtWrapper_QUndoStack::push(QUndoStack* theWrappedObject, QUndoCommand* cmd) +void PythonQtWrapper_QWizardPage::setFinalPage(QWizardPage* theWrappedObject, bool finalPage) { - ( theWrappedObject->push(cmd)); + ( theWrappedObject->setFinalPage(finalPage)); } -QString PythonQtWrapper_QUndoStack::redoText(QUndoStack* theWrappedObject) const +void PythonQtWrapper_QWizardPage::setPixmap(QWizardPage* theWrappedObject, QWizard::WizardPixmap which, const QPixmap& pixmap) { - return ( theWrappedObject->redoText()); + ( theWrappedObject->setPixmap(which, pixmap)); } -void PythonQtWrapper_QUndoStack::setUndoLimit(QUndoStack* theWrappedObject, int limit) +void PythonQtWrapper_QWizardPage::setSubTitle(QWizardPage* theWrappedObject, const QString& subTitle) { - ( theWrappedObject->setUndoLimit(limit)); + ( theWrappedObject->setSubTitle(subTitle)); } -QString PythonQtWrapper_QUndoStack::text(QUndoStack* theWrappedObject, int idx) const +void PythonQtWrapper_QWizardPage::setTitle(QWizardPage* theWrappedObject, const QString& title) { - return ( theWrappedObject->text(idx)); + ( theWrappedObject->setTitle(title)); } -int PythonQtWrapper_QUndoStack::undoLimit(QUndoStack* theWrappedObject) const +QString PythonQtWrapper_QWizardPage::subTitle(QWizardPage* theWrappedObject) const { - return ( theWrappedObject->undoLimit()); + return ( theWrappedObject->subTitle()); } -QString PythonQtWrapper_QUndoStack::undoText(QUndoStack* theWrappedObject) const +QString PythonQtWrapper_QWizardPage::title(QWizardPage* theWrappedObject) const { - return ( theWrappedObject->undoText()); + return ( theWrappedObject->title()); +} + +bool PythonQtWrapper_QWizardPage::validatePage(QWizardPage* theWrappedObject) +{ + return ( theWrappedObject->validatePage()); +} + +QWizard* PythonQtWrapper_QWizardPage::wizard(QWizardPage* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QWizardPage*)theWrappedObject)->promoted_wizard()); } diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui12.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui11.h similarity index 56% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui12.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui11.h index 9aa30e13b..f79c57163 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui12.h +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui11.h @@ -8,9 +8,11 @@ #include #include #include +#include #include #include #include +#include #include #include #include @@ -18,6 +20,11 @@ #include #include #include +#include +#include +#include +#include +#include #include #include #include @@ -28,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -44,6 +52,7 @@ #include #include #include +#include #include #include #include @@ -55,8 +64,10 @@ #include #include #include +#include #include #include +#include #include #include #include @@ -66,6 +77,1122 @@ +class PythonQtShell_QToolBox : public QToolBox +{ +public: + PythonQtShell_QToolBox(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()):QToolBox(parent, f),_wrapper(nullptr) {}; + + ~PythonQtShell_QToolBox() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void itemInserted(int index) override; +void itemRemoved(int index) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* e) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QToolBox : public QToolBox +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_itemInserted(int index) { this->itemInserted(index); } +inline void promoted_itemRemoved(int index) { this->itemRemoved(index); } +inline void promoted_showEvent(QShowEvent* e) { this->showEvent(e); } +inline void py_q_changeEvent(QEvent* arg__1) { QToolBox::changeEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QToolBox::event(e); } +inline void py_q_itemInserted(int index) { QToolBox::itemInserted(index); } +inline void py_q_itemRemoved(int index) { QToolBox::itemRemoved(index); } +inline void py_q_showEvent(QShowEvent* e) { QToolBox::showEvent(e); } +}; + +class PythonQtWrapper_QToolBox : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QToolBox* new_QToolBox(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); +void delete_QToolBox(QToolBox* obj) { delete obj; } + int addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text); + int addItem(QToolBox* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& text); + void py_q_changeEvent(QToolBox* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_changeEvent(arg__1));} + int count(QToolBox* theWrappedObject) const; + int currentIndex(QToolBox* theWrappedObject) const; + QWidget* currentWidget(QToolBox* theWrappedObject) const; + bool py_q_event(QToolBox* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_event(e));} + int indexOf(QToolBox* theWrappedObject, QWidget* widget) const; + int insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& text); + int insertItem(QToolBox* theWrappedObject, int index, PythonQtPassOwnershipToCPP 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 py_q_itemInserted(QToolBox* theWrappedObject, int index){ (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_itemInserted(index));} + void itemRemoved(QToolBox* theWrappedObject, int index); + void py_q_itemRemoved(QToolBox* theWrappedObject, int index){ (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_itemRemoved(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 py_q_showEvent(QToolBox* theWrappedObject, QShowEvent* e){ (((PythonQtPublicPromoter_QToolBox*)theWrappedObject)->py_q_showEvent(e));} + QWidget* widget(QToolBox* theWrappedObject, int index) const; +}; + + + + + +class PythonQtShell_QToolButton : public QToolButton +{ +public: + PythonQtShell_QToolButton(QWidget* parent = nullptr):QToolButton(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QToolButton() override; + +void actionEvent(QActionEvent* arg__1) override; +void changeEvent(QEvent* arg__1) override; +void checkStateSet() override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* arg__1) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* e) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* e) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& pos) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; +void leaveEvent(QEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QToolButton : public QToolButton +{ public: +inline void promoted_actionEvent(QActionEvent* arg__1) { this->actionEvent(arg__1); } +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline void promoted_enterEvent(QEvent* arg__1) { this->enterEvent(arg__1); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool promoted_hitButton(const QPoint& pos) const { return this->hitButton(pos); } +inline void promoted_initStyleOption(QStyleOptionToolButton* option) const { this->initStyleOption(option); } +inline void promoted_leaveEvent(QEvent* arg__1) { this->leaveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_nextCheckState() { this->nextCheckState(); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void py_q_actionEvent(QActionEvent* arg__1) { QToolButton::actionEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QToolButton::changeEvent(arg__1); } +inline void py_q_enterEvent(QEvent* arg__1) { QToolButton::enterEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QToolButton::event(e); } +inline bool py_q_hitButton(const QPoint& pos) const { return QToolButton::hitButton(pos); } +inline void py_q_leaveEvent(QEvent* arg__1) { QToolButton::leaveEvent(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QToolButton::minimumSizeHint(); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QToolButton::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QToolButton::mouseReleaseEvent(arg__1); } +inline void py_q_nextCheckState() { QToolButton::nextCheckState(); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QToolButton::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QToolButton::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QToolButton::timerEvent(arg__1); } +}; + +class PythonQtWrapper_QToolButton : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QToolButton* new_QToolButton(QWidget* parent = nullptr); +void delete_QToolButton(QToolButton* obj) { delete obj; } + void py_q_actionEvent(QToolButton* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_actionEvent(arg__1));} + Qt::ArrowType arrowType(QToolButton* theWrappedObject) const; + bool autoRaise(QToolButton* theWrappedObject) const; + void py_q_changeEvent(QToolButton* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_changeEvent(arg__1));} + QAction* defaultAction(QToolButton* theWrappedObject) const; + void py_q_enterEvent(QToolButton* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_enterEvent(arg__1));} + bool py_q_event(QToolButton* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_event(e));} + bool py_q_hitButton(QToolButton* theWrappedObject, const QPoint& pos) const{ return (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_hitButton(pos));} + void initStyleOption(QToolButton* theWrappedObject, QStyleOptionToolButton* option) const; + void py_q_leaveEvent(QToolButton* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_leaveEvent(arg__1));} + QMenu* menu(QToolButton* theWrappedObject) const; + QSize py_q_minimumSizeHint(QToolButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mousePressEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_nextCheckState(QToolButton* theWrappedObject){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_nextCheckState());} + void py_q_paintEvent(QToolButton* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_paintEvent(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 py_q_sizeHint(QToolButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_sizeHint());} + void py_q_timerEvent(QToolButton* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QToolButton*)theWrappedObject)->py_q_timerEvent(arg__1));} + Qt::ToolButtonStyle toolButtonStyle(QToolButton* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QToolTip : public QObject +{ Q_OBJECT +public: +public Q_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 = nullptr); + void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect); + void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect, int msecShowTime); + QString static_QToolTip_text(); +}; + + + + + +class PythonQtWrapper_QTouchDevice : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CapabilityFlag DeviceType ) +Q_FLAGS(Capabilities ) +enum CapabilityFlag{ + Position = QTouchDevice::Position, Area = QTouchDevice::Area, Pressure = QTouchDevice::Pressure, Velocity = QTouchDevice::Velocity, RawPositions = QTouchDevice::RawPositions, NormalizedPosition = QTouchDevice::NormalizedPosition, MouseEmulation = QTouchDevice::MouseEmulation}; +enum DeviceType{ + TouchScreen = QTouchDevice::TouchScreen, TouchPad = QTouchDevice::TouchPad}; +Q_DECLARE_FLAGS(Capabilities, CapabilityFlag) +public Q_SLOTS: +QTouchDevice* new_QTouchDevice(); +void delete_QTouchDevice(QTouchDevice* obj) { delete obj; } + QTouchDevice::Capabilities capabilities(QTouchDevice* theWrappedObject) const; + QList static_QTouchDevice_devices(); + int maximumTouchPoints(QTouchDevice* theWrappedObject) const; + QString name(QTouchDevice* theWrappedObject) const; + void setCapabilities(QTouchDevice* theWrappedObject, QTouchDevice::Capabilities caps); + void setMaximumTouchPoints(QTouchDevice* theWrappedObject, int max); + void setName(QTouchDevice* theWrappedObject, const QString& name); + void setType(QTouchDevice* theWrappedObject, QTouchDevice::DeviceType devType); + QTouchDevice::DeviceType type(QTouchDevice* theWrappedObject) const; + QString py_toString(QTouchDevice*); +}; + + + + + +class PythonQtShell_QTouchEvent : public QTouchEvent +{ +public: + PythonQtShell_QTouchEvent(QEvent::Type eventType, QTouchDevice* device = nullptr, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = Qt::TouchPointStates(), const QList& touchPoints = QList()):QTouchEvent(eventType, device, modifiers, touchPointStates, touchPoints),_wrapper(nullptr) {}; + + ~PythonQtShell_QTouchEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QTouchEvent : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QTouchEvent* new_QTouchEvent(QEvent::Type eventType, QTouchDevice* device = nullptr, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = Qt::TouchPointStates(), const QList& touchPoints = QList()); +void delete_QTouchEvent(QTouchEvent* obj) { delete obj; } + QTouchDevice* device(QTouchEvent* theWrappedObject) const; + void setDevice(QTouchEvent* theWrappedObject, QTouchDevice* adevice); + void setTarget(QTouchEvent* theWrappedObject, QObject* atarget); + void setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates); + void setTouchPoints(QTouchEvent* theWrappedObject, const QList& atouchPoints); + void setWindow(QTouchEvent* theWrappedObject, QWindow* awindow); + QObject* target(QTouchEvent* theWrappedObject) const; + Qt::TouchPointStates touchPointStates(QTouchEvent* theWrappedObject) const; + const QList* touchPoints(QTouchEvent* theWrappedObject) const; + QWindow* window(QTouchEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QTouchEvent__TouchPoint : public QObject +{ Q_OBJECT +public: +Q_ENUMS(InfoFlag ) +Q_FLAGS(InfoFlags ) +enum InfoFlag{ + Pen = QTouchEvent::TouchPoint::Pen, Token = QTouchEvent::TouchPoint::Token}; +Q_DECLARE_FLAGS(InfoFlags, InfoFlag) +public Q_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; } + QSizeF ellipseDiameters(QTouchEvent::TouchPoint* theWrappedObject) const; + QTouchEvent::TouchPoint::InfoFlags flags(QTouchEvent::TouchPoint* theWrappedObject) const; + 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; + qreal rotation(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 setEllipseDiameters(QTouchEvent::TouchPoint* theWrappedObject, const QSizeF& dia); + void setFlags(QTouchEvent::TouchPoint* theWrappedObject, QTouchEvent::TouchPoint::InfoFlags flags); + 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 setRotation(QTouchEvent::TouchPoint* theWrappedObject, qreal angle); + 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 setUniqueId(QTouchEvent::TouchPoint* theWrappedObject, qint64 uid); + 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; + QString py_toString(QTouchEvent::TouchPoint*); +}; + + + + + +class PythonQtShell_QTreeView : public QTreeView +{ +public: + PythonQtShell_QTreeView(QWidget* parent = nullptr):QTreeView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTreeView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const override; +void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const override; +void dropEvent(QDropEvent* event) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setModel(QAbstractItemModel* model) override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTreeView : public QTreeView +{ public: +inline void promoted_columnCountChanged(int oldCount, int newCount) { this->columnCountChanged(oldCount, newCount); } +inline void promoted_columnMoved() { this->columnMoved(); } +inline void promoted_columnResized(int column, int oldSize, int newSize) { this->columnResized(column, oldSize, newSize); } +inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { this->currentChanged(current, previous); } +inline void promoted_dragMoveEvent(QDragMoveEvent* event) { this->dragMoveEvent(event); } +inline void promoted_drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const { this->drawBranches(painter, rect, index); } +inline void promoted_drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const { this->drawRow(painter, options, index); } +inline void promoted_drawTree(QPainter* painter, const QRegion& region) const { this->drawTree(painter, region); } +inline int promoted_horizontalOffset() const { return this->horizontalOffset(); } +inline void promoted_horizontalScrollbarAction(int action) { this->horizontalScrollbarAction(action); } +inline int promoted_indexRowSizeHint(const QModelIndex& index) const { return this->indexRowSizeHint(index); } +inline bool promoted_isIndexHidden(const QModelIndex& index) const { return this->isIndexHidden(index); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { this->mouseDoubleClickEvent(event); } +inline void promoted_mouseMoveEvent(QMouseEvent* event) { this->mouseMoveEvent(event); } +inline void promoted_mousePressEvent(QMouseEvent* event) { this->mousePressEvent(event); } +inline void promoted_mouseReleaseEvent(QMouseEvent* event) { this->mouseReleaseEvent(event); } +inline QModelIndex promoted_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return this->moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline void promoted_reexpand() { this->reexpand(); } +inline int promoted_rowHeight(const QModelIndex& index) const { return this->rowHeight(index); } +inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { this->rowsAboutToBeRemoved(parent, start, end); } +inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { this->rowsInserted(parent, start, end); } +inline void promoted_rowsRemoved(const QModelIndex& parent, int first, int last) { this->rowsRemoved(parent, first, last); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline QList promoted_selectedIndexes() const { return this->selectedIndexes(); } +inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { this->selectionChanged(selected, deselected); } +inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { this->setSelection(rect, command); } +inline int promoted_sizeHintForColumn(int column) const { return this->sizeHintForColumn(column); } +inline void promoted_timerEvent(QTimerEvent* event) { this->timerEvent(event); } +inline void promoted_updateGeometries() { this->updateGeometries(); } +inline int promoted_verticalOffset() const { return this->verticalOffset(); } +inline bool promoted_viewportEvent(QEvent* event) { return this->viewportEvent(event); } +inline QSize promoted_viewportSizeHint() const { return this->viewportSizeHint(); } +inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return this->visualRegionForSelection(selection); } +inline void py_q_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTreeView::currentChanged(current, previous); } +inline void py_q_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) { QTreeView::dataChanged(topLeft, bottomRight, roles); } +inline void py_q_doItemsLayout() { QTreeView::doItemsLayout(); } +inline void py_q_dragMoveEvent(QDragMoveEvent* event) { QTreeView::dragMoveEvent(event); } +inline void py_q_drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const { QTreeView::drawBranches(painter, rect, index); } +inline void py_q_drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const { QTreeView::drawRow(painter, options, index); } +inline int py_q_horizontalOffset() const { return QTreeView::horizontalOffset(); } +inline void py_q_horizontalScrollbarAction(int action) { QTreeView::horizontalScrollbarAction(action); } +inline QModelIndex py_q_indexAt(const QPoint& p) const { return QTreeView::indexAt(p); } +inline bool py_q_isIndexHidden(const QModelIndex& index) const { return QTreeView::isIndexHidden(index); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QTreeView::keyPressEvent(event); } +inline void py_q_keyboardSearch(const QString& search) { QTreeView::keyboardSearch(search); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* event) { QTreeView::mouseDoubleClickEvent(event); } +inline void py_q_mouseMoveEvent(QMouseEvent* event) { QTreeView::mouseMoveEvent(event); } +inline void py_q_mousePressEvent(QMouseEvent* event) { QTreeView::mousePressEvent(event); } +inline void py_q_mouseReleaseEvent(QMouseEvent* event) { QTreeView::mouseReleaseEvent(event); } +inline QModelIndex py_q_moveCursor(int cursorAction, Qt::KeyboardModifiers modifiers) { return QTreeView::moveCursor((QAbstractItemView::CursorAction)cursorAction, modifiers); } +inline void py_q_paintEvent(QPaintEvent* event) { QTreeView::paintEvent(event); } +inline void py_q_reset() { QTreeView::reset(); } +inline void py_q_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QTreeView::rowsAboutToBeRemoved(parent, start, end); } +inline void py_q_rowsInserted(const QModelIndex& parent, int start, int end) { QTreeView::rowsInserted(parent, start, end); } +inline void py_q_scrollContentsBy(int dx, int dy) { QTreeView::scrollContentsBy(dx, dy); } +inline void py_q_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QTreeView::scrollTo(index, hint); } +inline void py_q_selectAll() { QTreeView::selectAll(); } +inline QList py_q_selectedIndexes() const { return QTreeView::selectedIndexes(); } +inline void py_q_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QTreeView::selectionChanged(selected, deselected); } +inline void py_q_setModel(QAbstractItemModel* model) { QTreeView::setModel(model); } +inline void py_q_setRootIndex(const QModelIndex& index) { QTreeView::setRootIndex(index); } +inline void py_q_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QTreeView::setSelection(rect, command); } +inline void py_q_setSelectionModel(QItemSelectionModel* selectionModel) { QTreeView::setSelectionModel(selectionModel); } +inline int py_q_sizeHintForColumn(int column) const { return QTreeView::sizeHintForColumn(column); } +inline void py_q_timerEvent(QTimerEvent* event) { QTreeView::timerEvent(event); } +inline void py_q_updateGeometries() { QTreeView::updateGeometries(); } +inline int py_q_verticalOffset() const { return QTreeView::verticalOffset(); } +inline bool py_q_viewportEvent(QEvent* event) { return QTreeView::viewportEvent(event); } +inline QSize py_q_viewportSizeHint() const { return QTreeView::viewportSizeHint(); } +inline QRect py_q_visualRect(const QModelIndex& index) const { return QTreeView::visualRect(index); } +inline QRegion py_q_visualRegionForSelection(const QItemSelection& selection) const { return QTreeView::visualRegionForSelection(selection); } +}; + +class PythonQtWrapper_QTreeView : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QTreeView* new_QTreeView(QWidget* parent = nullptr); +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 py_q_currentChanged(QTreeView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_currentChanged(current, previous));} + void py_q_dataChanged(QTreeView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_dataChanged(topLeft, bottomRight, roles));} + void py_q_doItemsLayout(QTreeView* theWrappedObject){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_doItemsLayout());} + void py_q_dragMoveEvent(QTreeView* theWrappedObject, QDragMoveEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_dragMoveEvent(event));} + void drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const; + void py_q_drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_drawBranches(painter, rect, index));} + void drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; + void py_q_drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_drawRow(painter, options, index));} + void drawTree(QTreeView* theWrappedObject, QPainter* painter, const QRegion& region) const; + bool expandsOnDoubleClick(QTreeView* theWrappedObject) const; + QHeaderView* header(QTreeView* theWrappedObject) const; + int py_q_horizontalOffset(QTreeView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_horizontalOffset());} + void py_q_horizontalScrollbarAction(QTreeView* theWrappedObject, int action){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_horizontalScrollbarAction(action));} + int indentation(QTreeView* theWrappedObject) const; + QModelIndex indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const; + QModelIndex py_q_indexAt(QTreeView* theWrappedObject, const QPoint& p) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_indexAt(p));} + QModelIndex indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const; + int indexRowSizeHint(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 py_q_isIndexHidden(QTreeView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_isIndexHidden(index));} + bool isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const; + bool isSortingEnabled(QTreeView* theWrappedObject) const; + bool itemsExpandable(QTreeView* theWrappedObject) const; + void py_q_keyPressEvent(QTreeView* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_keyPressEvent(event));} + void py_q_keyboardSearch(QTreeView* theWrappedObject, const QString& search){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_keyboardSearch(search));} + void py_q_mouseDoubleClickEvent(QTreeView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_mouseDoubleClickEvent(event));} + void py_q_mouseMoveEvent(QTreeView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_mouseMoveEvent(event));} + void py_q_mousePressEvent(QTreeView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_mousePressEvent(event));} + void py_q_mouseReleaseEvent(QTreeView* theWrappedObject, QMouseEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_mouseReleaseEvent(event));} + QModelIndex py_q_moveCursor(QTreeView* theWrappedObject, int cursorAction, Qt::KeyboardModifiers modifiers){ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_moveCursor(cursorAction, modifiers));} + void py_q_paintEvent(QTreeView* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_paintEvent(event));} + void py_q_reset(QTreeView* theWrappedObject){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_reset());} + void resetIndentation(QTreeView* theWrappedObject); + bool rootIsDecorated(QTreeView* theWrappedObject) const; + int rowHeight(QTreeView* theWrappedObject, const QModelIndex& index) const; + void py_q_rowsAboutToBeRemoved(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_rowsAboutToBeRemoved(parent, start, end));} + void py_q_rowsInserted(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_rowsInserted(parent, start, end));} + void py_q_scrollContentsBy(QTreeView* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void py_q_scrollTo(QTreeView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_scrollTo(index, hint));} + void py_q_selectAll(QTreeView* theWrappedObject){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_selectAll());} + QList py_q_selectedIndexes(QTreeView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_selectedIndexes());} + void py_q_selectionChanged(QTreeView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_selectionChanged(selected, 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 py_q_setModel(QTreeView* theWrappedObject, QAbstractItemModel* model){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_setModel(model));} + void py_q_setRootIndex(QTreeView* theWrappedObject, const QModelIndex& index){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_setRootIndex(index));} + void setRootIsDecorated(QTreeView* theWrappedObject, bool show); + void setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide); + void py_q_setSelection(QTreeView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_setSelection(rect, command));} + void py_q_setSelectionModel(QTreeView* theWrappedObject, QItemSelectionModel* selectionModel){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_setSelectionModel(selectionModel));} + void setSortingEnabled(QTreeView* theWrappedObject, bool enable); + void setTreePosition(QTreeView* theWrappedObject, int logicalIndex); + void setUniformRowHeights(QTreeView* theWrappedObject, bool uniform); + void setWordWrap(QTreeView* theWrappedObject, bool on); + int py_q_sizeHintForColumn(QTreeView* theWrappedObject, int column) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_sizeHintForColumn(column));} + void sortByColumn(QTreeView* theWrappedObject, int column, Qt::SortOrder order); + void py_q_timerEvent(QTreeView* theWrappedObject, QTimerEvent* event){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_timerEvent(event));} + int treePosition(QTreeView* theWrappedObject) const; + bool uniformRowHeights(QTreeView* theWrappedObject) const; + void py_q_updateGeometries(QTreeView* theWrappedObject){ (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_updateGeometries());} + int py_q_verticalOffset(QTreeView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_verticalOffset());} + bool py_q_viewportEvent(QTreeView* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_viewportEvent(event));} + QSize py_q_viewportSizeHint(QTreeView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_viewportSizeHint());} + QRect py_q_visualRect(QTreeView* theWrappedObject, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_visualRect(index));} + QRegion py_q_visualRegionForSelection(QTreeView* theWrappedObject, const QItemSelection& selection) const{ return (((PythonQtPublicPromoter_QTreeView*)theWrappedObject)->py_q_visualRegionForSelection(selection));} + bool wordWrap(QTreeView* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QTreeWidget : public QTreeWidget +{ +public: + PythonQtShell_QTreeWidget(QWidget* parent = nullptr):QTreeWidget(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QTreeWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override; +void closeEvent(QCloseEvent* event) override; +void commitData(QWidget* editor) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void currentChanged(const QModelIndex& current, const QModelIndex& previous) override; +void customEvent(QEvent* event) override; +void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector& roles = QVector()) override; +int devType() const override; +void doItemsLayout() override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const override; +void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const override; +void dropEvent(QDropEvent* event) override; +bool dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) override; +bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override; +void editorDestroyed(QObject* editor) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +int horizontalOffset() const override; +void horizontalScrollbarAction(int action) override; +void horizontalScrollbarValueChanged(int value) override; +QModelIndex indexAt(const QPoint& p) const override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isIndexHidden(const QModelIndex& index) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void keyboardSearch(const QString& search) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QMimeData* mimeData(const QList items) const override; +QStringList mimeTypes() const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reset() override; +void resizeEvent(QResizeEvent* event) override; +void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override; +void rowsInserted(const QModelIndex& parent, int start, int end) override; +void scrollContentsBy(int dx, int dy) override; +void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) override; +void selectAll() override; +QList selectedIndexes() const override; +void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override; +QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override; +void setRootIndex(const QModelIndex& index) override; +void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) override; +void setSelectionModel(QItemSelectionModel* selectionModel) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +int sizeHintForColumn(int column) const override; +int sizeHintForRow(int row) const override; +void startDrag(Qt::DropActions supportedActions) override; +Qt::DropActions supportedDropActions() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void updateEditorData() override; +void updateEditorGeometries() override; +void updateGeometries() override; +int verticalOffset() const override; +void verticalScrollbarAction(int action) override; +void verticalScrollbarValueChanged(int value) override; +QStyleOptionViewItem viewOptions() const override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +QRect visualRect(const QModelIndex& index) const override; +QRegion visualRegionForSelection(const QItemSelection& selection) const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTreeWidget : public QTreeWidget +{ public: +inline void promoted_dropEvent(QDropEvent* event) { this->dropEvent(event); } +inline bool promoted_dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) { return this->dropMimeData(parent, index, data, action); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline QModelIndex promoted_indexFromItem(QTreeWidgetItem* item, int column = 0) const { return this->indexFromItem(item, column); } +inline QModelIndex promoted_indexFromItem(const QTreeWidgetItem* item, int column = 0) const { return this->indexFromItem(item, column); } +inline QTreeWidgetItem* promoted_itemFromIndex(const QModelIndex& index) const { return this->itemFromIndex(index); } +inline QMimeData* promoted_mimeData(const QList items) const { return this->mimeData(items); } +inline QStringList promoted_mimeTypes() const { return this->mimeTypes(); } +inline Qt::DropActions promoted_supportedDropActions() const { return this->supportedDropActions(); } +inline void py_q_dropEvent(QDropEvent* event) { QTreeWidget::dropEvent(event); } +inline bool py_q_dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) { return QTreeWidget::dropMimeData(parent, index, data, action); } +inline bool py_q_event(QEvent* e) { return QTreeWidget::event(e); } +inline QMimeData* py_q_mimeData(const QList items) const { return QTreeWidget::mimeData(items); } +inline QStringList py_q_mimeTypes() const { return QTreeWidget::mimeTypes(); } +inline void py_q_setSelectionModel(QItemSelectionModel* selectionModel) { QTreeWidget::setSelectionModel(selectionModel); } +inline Qt::DropActions py_q_supportedDropActions() const { return QTreeWidget::supportedDropActions(); } +}; + +class PythonQtWrapper_QTreeWidget : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QTreeWidget* new_QTreeWidget(QWidget* parent = nullptr); +void delete_QTreeWidget(QTreeWidget* obj) { delete obj; } + void addTopLevelItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item); + void addTopLevelItems(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP > items); + void closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); + int columnCount(QTreeWidget* theWrappedObject) const; + int currentColumn(QTreeWidget* theWrappedObject) const; + QTreeWidgetItem* currentItem(QTreeWidget* theWrappedObject) const; + void py_q_dropEvent(QTreeWidget* theWrappedObject, QDropEvent* event){ (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_dropEvent(event));} + bool dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action); + bool py_q_dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action){ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_dropMimeData(parent, index, data, action));} + void editItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); + bool py_q_event(QTreeWidget* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_event(e));} + QList findItems(QTreeWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column = 0) const; + QTreeWidgetItem* headerItem(QTreeWidget* theWrappedObject) const; + QModelIndex indexFromItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0) const; + QModelIndex indexFromItem(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, int column = 0) const; + int indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const; + void insertTopLevelItem(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP item); + void insertTopLevelItems(QTreeWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP > items); + QTreeWidgetItem* invisibleRootItem(QTreeWidget* theWrappedObject) const; + bool isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; + bool isPersistentEditorOpen(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0) const; + QTreeWidgetItem* itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; + QTreeWidgetItem* itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const; + QTreeWidgetItem* itemAt(QTreeWidget* theWrappedObject, int x, int y) const; + QTreeWidgetItem* itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; + QTreeWidgetItem* itemFromIndex(QTreeWidget* theWrappedObject, const QModelIndex& index) const; + QWidget* itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const; + PythonQtPassOwnershipToPython mimeData(QTreeWidget* theWrappedObject, const QList items) const; + PythonQtPassOwnershipToPython py_q_mimeData(QTreeWidget* theWrappedObject, const QList items) const{ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_mimeData(items));} + QStringList mimeTypes(QTreeWidget* theWrappedObject) const; + QStringList py_q_mimeTypes(QTreeWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_mimeTypes());} + void openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); + void removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column); + QList selectedItems(QTreeWidget* theWrappedObject) const; + void setColumnCount(QTreeWidget* theWrappedObject, int columns); + void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item); + void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column); + void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command); + void setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span); + void setHeaderItem(QTreeWidget* theWrappedObject, PythonQtPassOwnershipToCPP item); + void setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label); + void setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels); + void setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget); + void py_q_setSelectionModel(QTreeWidget* theWrappedObject, QItemSelectionModel* selectionModel){ (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_setSelectionModel(selectionModel));} + int sortColumn(QTreeWidget* theWrappedObject) const; + void sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order); + Qt::DropActions supportedDropActions(QTreeWidget* theWrappedObject) const; + Qt::DropActions py_q_supportedDropActions(QTreeWidget* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeWidget*)theWrappedObject)->py_q_supportedDropActions());} + PythonQtPassOwnershipToPython takeTopLevelItem(QTreeWidget* theWrappedObject, int index); + QTreeWidgetItem* topLevelItem(QTreeWidget* theWrappedObject, int index) const; + int topLevelItemCount(QTreeWidget* theWrappedObject) const; + QRect visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; +}; + + + + + +class PythonQtShell_QTreeWidgetItem : public QTreeWidgetItem +{ +public: + PythonQtShell_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(view, after, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type = Type):QTreeWidgetItem(view, strings, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidget* view, int type = Type):QTreeWidgetItem(view, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(parent, after, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type):QTreeWidgetItem(parent, strings, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type):QTreeWidgetItem(parent, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(const QStringList& strings, int type = Type):QTreeWidgetItem(strings, type),_wrapper(nullptr) {}; + PythonQtShell_QTreeWidgetItem(int type = Type):QTreeWidgetItem(type),_wrapper(nullptr) {}; + + ~PythonQtShell_QTreeWidgetItem() override; + +QTreeWidgetItem* clone() const override; +QVariant data(int column, int role) const override; +void read(QDataStream& in) override; +void setData(int column, int role, const QVariant& value) override; +void write(QDataStream& out) const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QTreeWidgetItem : public QTreeWidgetItem +{ public: +inline void promoted_emitDataChanged() { this->emitDataChanged(); } +inline QTreeWidgetItem* py_q_clone() const { return QTreeWidgetItem::clone(); } +inline QVariant py_q_data(int column, int role) const { return QTreeWidgetItem::data(column, role); } +inline void py_q_read(QDataStream& in) { QTreeWidgetItem::read(in); } +inline void py_q_setData(int column, int role, const QVariant& value) { QTreeWidgetItem::setData(column, role, value); } +inline void py_q_write(QDataStream& out) const { QTreeWidgetItem::write(out); } +}; + +class PythonQtWrapper_QTreeWidgetItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ChildIndicatorPolicy ItemType ) +enum ChildIndicatorPolicy{ + ShowIndicator = QTreeWidgetItem::ShowIndicator, DontShowIndicator = QTreeWidgetItem::DontShowIndicator, DontShowIndicatorWhenChildless = QTreeWidgetItem::DontShowIndicatorWhenChildless}; +enum ItemType{ + Type = QTreeWidgetItem::Type, UserType = QTreeWidgetItem::UserType}; +public Q_SLOTS: +QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, QTreeWidgetItem* after, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, const QStringList& strings, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis view, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, QTreeWidgetItem* after, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, const QStringList& strings, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(PythonQtNewOwnerOfThis parent, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(const QStringList& strings, int type = Type); +QTreeWidgetItem* new_QTreeWidgetItem(int type = Type); +void delete_QTreeWidgetItem(QTreeWidgetItem* obj) { delete obj; } + void addChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP child); + void addChildren(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToCPP > children); + QBrush background(QTreeWidgetItem* theWrappedObject, int column) const; + Qt::CheckState checkState(QTreeWidgetItem* theWrappedObject, int column) const; + QTreeWidgetItem* child(QTreeWidgetItem* theWrappedObject, int index) const; + int childCount(QTreeWidgetItem* theWrappedObject) const; + QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const; + QTreeWidgetItem* clone(QTreeWidgetItem* theWrappedObject) const; + QTreeWidgetItem* py_q_clone(QTreeWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_clone());} + int columnCount(QTreeWidgetItem* theWrappedObject) const; + QVariant data(QTreeWidgetItem* theWrappedObject, int column, int role) const; + QVariant py_q_data(QTreeWidgetItem* theWrappedObject, int column, int role) const{ return (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_data(column, role));} + void emitDataChanged(QTreeWidgetItem* theWrappedObject); + Qt::ItemFlags flags(QTreeWidgetItem* theWrappedObject) const; + QFont font(QTreeWidgetItem* theWrappedObject, int column) const; + QBrush foreground(QTreeWidgetItem* theWrappedObject, int column) const; + QIcon icon(QTreeWidgetItem* theWrappedObject, int column) const; + int indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const; + void insertChild(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP child); + void insertChildren(QTreeWidgetItem* theWrappedObject, int index, PythonQtPassOwnershipToCPP > children); + bool isDisabled(QTreeWidgetItem* theWrappedObject) const; + bool isExpanded(QTreeWidgetItem* theWrappedObject) const; + bool isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const; + bool isHidden(QTreeWidgetItem* theWrappedObject) const; + bool isSelected(QTreeWidgetItem* theWrappedObject) const; + void writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out); + void readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in); + QTreeWidgetItem* parent(QTreeWidgetItem* theWrappedObject) const; + void read(QTreeWidgetItem* theWrappedObject, QDataStream& in); + void py_q_read(QTreeWidgetItem* theWrappedObject, QDataStream& in){ (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_read(in));} + void removeChild(QTreeWidgetItem* theWrappedObject, PythonQtPassOwnershipToPython child); + void setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush); + void setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state); + void setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy); + void setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value); + void py_q_setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value){ (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_setData(column, role, value));} + void setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled); + void setExpanded(QTreeWidgetItem* theWrappedObject, bool expand); + void setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span); + void setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags); + void setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font); + void setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush); + void setHidden(QTreeWidgetItem* theWrappedObject, bool hide); + void setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon); + void setSelected(QTreeWidgetItem* theWrappedObject, bool select); + void setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size); + void setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip); + void setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text); + void setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment); + void setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip); + void setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis); + QSize sizeHint(QTreeWidgetItem* theWrappedObject, int column) const; + void sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order); + QString statusTip(QTreeWidgetItem* theWrappedObject, int column) const; + PythonQtPassOwnershipToPython takeChild(QTreeWidgetItem* theWrappedObject, int index); + PythonQtPassOwnershipToCPP > takeChildren(QTreeWidgetItem* theWrappedObject); + QString text(QTreeWidgetItem* theWrappedObject, int column) const; + int textAlignment(QTreeWidgetItem* theWrappedObject, int column) const; + QString toolTip(QTreeWidgetItem* theWrappedObject, int column) const; + QTreeWidget* treeWidget(QTreeWidgetItem* theWrappedObject) const; + int type(QTreeWidgetItem* theWrappedObject) const; + QString whatsThis(QTreeWidgetItem* theWrappedObject, int column) const; + void write(QTreeWidgetItem* theWrappedObject, QDataStream& out) const; + void py_q_write(QTreeWidgetItem* theWrappedObject, QDataStream& out) const{ (((PythonQtPublicPromoter_QTreeWidgetItem*)theWrappedObject)->py_q_write(out));} +}; + + + + + +class PythonQtShell_QUndoCommand : public QUndoCommand +{ +public: + PythonQtShell_QUndoCommand(QUndoCommand* parent = nullptr):QUndoCommand(parent),_wrapper(nullptr) {}; + PythonQtShell_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr):QUndoCommand(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUndoCommand() override; + +int id() const override; +bool mergeWith(const QUndoCommand* other) override; +void redo() override; +void undo() override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QUndoCommand : public QUndoCommand +{ public: +inline int py_q_id() const { return QUndoCommand::id(); } +inline bool py_q_mergeWith(const QUndoCommand* other) { return QUndoCommand::mergeWith(other); } +inline void py_q_redo() { QUndoCommand::redo(); } +inline void py_q_undo() { QUndoCommand::undo(); } +}; + +class PythonQtWrapper_QUndoCommand : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QUndoCommand* new_QUndoCommand(QUndoCommand* parent = nullptr); +QUndoCommand* new_QUndoCommand(const QString& text, QUndoCommand* parent = nullptr); +void delete_QUndoCommand(QUndoCommand* obj) { delete obj; } + QString actionText(QUndoCommand* theWrappedObject) const; + const QUndoCommand* child(QUndoCommand* theWrappedObject, int index) const; + int childCount(QUndoCommand* theWrappedObject) const; + int id(QUndoCommand* theWrappedObject) const; + int py_q_id(QUndoCommand* theWrappedObject) const{ return (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_id());} + bool isObsolete(QUndoCommand* theWrappedObject) const; + bool mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other); + bool py_q_mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other){ return (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_mergeWith(other));} + void redo(QUndoCommand* theWrappedObject); + void py_q_redo(QUndoCommand* theWrappedObject){ (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_redo());} + void setObsolete(QUndoCommand* theWrappedObject, bool obsolete); + void setText(QUndoCommand* theWrappedObject, const QString& text); + QString text(QUndoCommand* theWrappedObject) const; + void undo(QUndoCommand* theWrappedObject); + void py_q_undo(QUndoCommand* theWrappedObject){ (((PythonQtPublicPromoter_QUndoCommand*)theWrappedObject)->py_q_undo());} +}; + + + + + +class PythonQtShell_QUndoGroup : public QUndoGroup +{ +public: + PythonQtShell_QUndoGroup(QObject* parent = nullptr):QUndoGroup(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUndoGroup() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QUndoGroup : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QUndoGroup* new_QUndoGroup(QObject* parent = nullptr); +void delete_QUndoGroup(QUndoGroup* obj) { delete obj; } + QUndoStack* activeStack(QUndoGroup* theWrappedObject) const; + void addStack(QUndoGroup* theWrappedObject, QUndoStack* stack); + bool canRedo(QUndoGroup* theWrappedObject) const; + bool canUndo(QUndoGroup* theWrappedObject) const; + QAction* createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; + QAction* createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; + bool isClean(QUndoGroup* theWrappedObject) const; + QString redoText(QUndoGroup* theWrappedObject) const; + void removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack); + QList stacks(QUndoGroup* theWrappedObject) const; + QString undoText(QUndoGroup* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QUndoStack : public QUndoStack +{ +public: + PythonQtShell_QUndoStack(QObject* parent = nullptr):QUndoStack(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QUndoStack() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QUndoStack : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QUndoStack* new_QUndoStack(QObject* parent = nullptr); +void delete_QUndoStack(QUndoStack* obj) { delete obj; } + void beginMacro(QUndoStack* theWrappedObject, const QString& text); + bool canRedo(QUndoStack* theWrappedObject) const; + bool canUndo(QUndoStack* theWrappedObject) const; + int cleanIndex(QUndoStack* theWrappedObject) const; + void clear(QUndoStack* theWrappedObject); + const QUndoCommand* command(QUndoStack* theWrappedObject, int index) const; + int count(QUndoStack* theWrappedObject) const; + QAction* createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; + QAction* createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; + void endMacro(QUndoStack* theWrappedObject); + int index(QUndoStack* theWrappedObject) const; + bool isActive(QUndoStack* theWrappedObject) const; + bool isClean(QUndoStack* theWrappedObject) const; + void push(QUndoStack* theWrappedObject, QUndoCommand* cmd); + QString redoText(QUndoStack* theWrappedObject) const; + void setUndoLimit(QUndoStack* theWrappedObject, int limit); + QString text(QUndoStack* theWrappedObject, int idx) const; + int undoLimit(QUndoStack* theWrappedObject) const; + QString undoText(QUndoStack* theWrappedObject) const; +}; + + + + + class PythonQtShell_QUndoView : public QUndoView { public: @@ -708,8 +1835,6 @@ public Q_SLOTS: QWidget* new_QWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); void delete_QWidget(QWidget* obj) { delete obj; } bool acceptDrops(QWidget* theWrappedObject) const; - QString accessibleDescription(QWidget* theWrappedObject) const; - QString accessibleName(QWidget* theWrappedObject) const; void actionEvent(QWidget* theWrappedObject, QActionEvent* event); void py_q_actionEvent(QWidget* theWrappedObject, QActionEvent* event){ (((PythonQtPublicPromoter_QWidget*)theWrappedObject)->py_q_actionEvent(event));} QList actions(QWidget* theWrappedObject) const; @@ -886,8 +2011,6 @@ void delete_QWidget(QWidget* obj) { delete obj; } void scroll(QWidget* theWrappedObject, int dx, int dy); void scroll(QWidget* theWrappedObject, int dx, int dy, const QRect& arg__3); void setAcceptDrops(QWidget* theWrappedObject, bool on); - void setAccessibleDescription(QWidget* theWrappedObject, const QString& description); - void setAccessibleName(QWidget* theWrappedObject, const QString& name); void setAttribute(QWidget* theWrappedObject, Qt::WidgetAttribute arg__1, bool on = true); void setAutoFillBackground(QWidget* theWrappedObject, bool enabled); void setBackgroundRole(QWidget* theWrappedObject, QPalette::ColorRole arg__1); diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp similarity index 93% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp index 10f12646c..db8e739fd 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui2.cpp @@ -3,7 +3,6 @@ #include #include #include -#include #include #include #include @@ -65,159 +64,12 @@ #include #include #include -#include #include #include #include #include #include -QFontDatabase* PythonQtWrapper_QFontDatabase::new_QFontDatabase() -{ -return new QFontDatabase(); } - -int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFont(const QString& fileName) -{ - return (QFontDatabase::addApplicationFont(fileName)); -} - -int PythonQtWrapper_QFontDatabase::static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData) -{ - return (QFontDatabase::addApplicationFontFromData(fontData)); -} - -QStringList PythonQtWrapper_QFontDatabase::static_QFontDatabase_applicationFontFamilies(int id) -{ - return (QFontDatabase::applicationFontFamilies(id)); -} - -bool PythonQtWrapper_QFontDatabase::bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->bold(family, style)); -} - -QStringList PythonQtWrapper_QFontDatabase::families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem) const -{ - return ( theWrappedObject->families(writingSystem)); -} - -QFont PythonQtWrapper_QFontDatabase::font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const -{ - return ( theWrappedObject->font(family, style, pointSize)); -} - -bool PythonQtWrapper_QFontDatabase::hasFamily(QFontDatabase* theWrappedObject, const QString& family) const -{ - return ( theWrappedObject->hasFamily(family)); -} - -bool PythonQtWrapper_QFontDatabase::isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->isBitmapScalable(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->isFixedPitch(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::isPrivateFamily(QFontDatabase* theWrappedObject, const QString& family) const -{ - return ( theWrappedObject->isPrivateFamily(family)); -} - -bool PythonQtWrapper_QFontDatabase::isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->isScalable(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->isSmoothlyScalable(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->italic(family, style)); -} - -QList PythonQtWrapper_QFontDatabase::pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) -{ - return ( theWrappedObject->pointSizes(family, style)); -} - -bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeAllApplicationFonts() -{ - return (QFontDatabase::removeAllApplicationFonts()); -} - -bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_removeApplicationFont(int id) -{ - return (QFontDatabase::removeApplicationFont(id)); -} - -QList PythonQtWrapper_QFontDatabase::smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style) -{ - return ( theWrappedObject->smoothSizes(family, style)); -} - -QList PythonQtWrapper_QFontDatabase::static_QFontDatabase_standardSizes() -{ - return (QFontDatabase::standardSizes()); -} - -QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFont& font) -{ - return ( theWrappedObject->styleString(font)); -} - -QString PythonQtWrapper_QFontDatabase::styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo) -{ - return ( theWrappedObject->styleString(fontInfo)); -} - -QStringList PythonQtWrapper_QFontDatabase::styles(QFontDatabase* theWrappedObject, const QString& family) const -{ - return ( theWrappedObject->styles(family)); -} - -bool PythonQtWrapper_QFontDatabase::static_QFontDatabase_supportsThreadedFontRendering() -{ - return (QFontDatabase::supportsThreadedFontRendering()); -} - -QFont PythonQtWrapper_QFontDatabase::static_QFontDatabase_systemFont(QFontDatabase::SystemFont type) -{ - return (QFontDatabase::systemFont(type)); -} - -int PythonQtWrapper_QFontDatabase::weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const -{ - return ( theWrappedObject->weight(family, style)); -} - -QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem) -{ - return (QFontDatabase::writingSystemName(writingSystem)); -} - -QString PythonQtWrapper_QFontDatabase::static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem) -{ - return (QFontDatabase::writingSystemSample(writingSystem)); -} - -QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject) const -{ - return ( theWrappedObject->writingSystems()); -} - -QList PythonQtWrapper_QFontDatabase::writingSystems(QFontDatabase* theWrappedObject, const QString& family) const -{ - return ( theWrappedObject->writingSystems(family)); -} - - - PythonQtShell_QFontDialog::~PythonQtShell_QFontDialog() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -14042,3 +13894,954 @@ QBrush PythonQtWrapper_QGraphicsOpacityEffect::opacityMask(QGraphicsOpacityEffe } + +PythonQtShell_QGraphicsPathItem::~PythonQtShell_QGraphicsPathItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsPathItem::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::advance(phase0); +} +QRectF PythonQtShell_QGraphicsPathItem::boundingRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::boundingRect(); +} +bool PythonQtShell_QGraphicsPathItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsPathItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsPathItem::contains(const QPointF& point0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::contains(point0); +} +void PythonQtShell_QGraphicsPathItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::contextMenuEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::dragEnterEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::dragLeaveEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::dragMoveEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::dropEvent(QGraphicsSceneDragDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::dropEvent(event0); +} +QVariant PythonQtShell_QGraphicsPathItem::extension(const QVariant& variant0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::extension(variant0); +} +void PythonQtShell_QGraphicsPathItem::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::focusInEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::focusOutEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::hoverLeaveEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::hoverMoveEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::inputMethodEvent(QInputMethodEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::inputMethodEvent(event0); +} +QVariant PythonQtShell_QGraphicsPathItem::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("isObscuredBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::isObscuredBy(item0); +} +QVariant PythonQtShell_QGraphicsPathItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("itemChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsPathItem::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::keyPressEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::keyReleaseEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::mouseMoveEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::mousePressEvent(event0); +} +void PythonQtShell_QGraphicsPathItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::mouseReleaseEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("opaqueArea"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::opaqueArea(); +} +void PythonQtShell_QGraphicsPathItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::paint(painter0, option1, widget2); +} +bool PythonQtShell_QGraphicsPathItem::sceneEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::sceneEvent(event0); +} +bool PythonQtShell_QGraphicsPathItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsPathItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::setExtension(extension0, variant1); +} +QPainterPath PythonQtShell_QGraphicsPathItem::shape() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::shape(); +} +bool PythonQtShell_QGraphicsPathItem::supportsExtension(QGraphicsItem::Extension extension0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::supportsExtension(extension0); +} +int PythonQtShell_QGraphicsPathItem::type() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsPathItem::type(); +} +void PythonQtShell_QGraphicsPathItem::wheelEvent(QGraphicsSceneWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsPathItem::wheelEvent(event0); +} +QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsPathItem(parent); } + +QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsPathItem(path, parent); } + +QPainterPath PythonQtWrapper_QGraphicsPathItem::path(QGraphicsPathItem* theWrappedObject) const +{ + return ( theWrappedObject->path()); +} + +void PythonQtWrapper_QGraphicsPathItem::setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path) +{ + ( theWrappedObject->setPath(path)); +} + + diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui2.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui2.h similarity index 95% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui2.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui2.h index 058bdeed7..74beed698 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui2.h +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui2.h @@ -1,7 +1,6 @@ #include #include #include -#include #include #include #include @@ -37,7 +36,6 @@ #include #include #include -#include #include #include #include @@ -64,7 +62,6 @@ #include #include #include -#include #include #include #include @@ -73,55 +70,6 @@ -class PythonQtWrapper_QFontDatabase : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SystemFont WritingSystem ) -enum SystemFont{ - GeneralFont = QFontDatabase::GeneralFont, FixedFont = QFontDatabase::FixedFont, TitleFont = QFontDatabase::TitleFont, SmallestReadableFont = QFontDatabase::SmallestReadableFont}; -enum WritingSystem{ - Any = QFontDatabase::Any, Latin = QFontDatabase::Latin, Greek = QFontDatabase::Greek, Cyrillic = QFontDatabase::Cyrillic, Armenian = QFontDatabase::Armenian, Hebrew = QFontDatabase::Hebrew, Arabic = QFontDatabase::Arabic, Syriac = QFontDatabase::Syriac, Thaana = QFontDatabase::Thaana, Devanagari = QFontDatabase::Devanagari, Bengali = QFontDatabase::Bengali, Gurmukhi = QFontDatabase::Gurmukhi, Gujarati = QFontDatabase::Gujarati, Oriya = QFontDatabase::Oriya, Tamil = QFontDatabase::Tamil, Telugu = QFontDatabase::Telugu, Kannada = QFontDatabase::Kannada, Malayalam = QFontDatabase::Malayalam, Sinhala = QFontDatabase::Sinhala, Thai = QFontDatabase::Thai, Lao = QFontDatabase::Lao, Tibetan = QFontDatabase::Tibetan, Myanmar = QFontDatabase::Myanmar, Georgian = QFontDatabase::Georgian, Khmer = QFontDatabase::Khmer, SimplifiedChinese = QFontDatabase::SimplifiedChinese, TraditionalChinese = QFontDatabase::TraditionalChinese, Japanese = QFontDatabase::Japanese, Korean = QFontDatabase::Korean, Vietnamese = QFontDatabase::Vietnamese, Symbol = QFontDatabase::Symbol, Other = QFontDatabase::Other, Ogham = QFontDatabase::Ogham, Runic = QFontDatabase::Runic, Nko = QFontDatabase::Nko, WritingSystemsCount = QFontDatabase::WritingSystemsCount}; -public Q_SLOTS: -QFontDatabase* new_QFontDatabase(); -QFontDatabase* new_QFontDatabase(const QFontDatabase& other) { -QFontDatabase* a = new QFontDatabase(); -*((QFontDatabase*)a) = other; -return a; } -void delete_QFontDatabase(QFontDatabase* obj) { delete obj; } - int static_QFontDatabase_addApplicationFont(const QString& fileName); - int static_QFontDatabase_addApplicationFontFromData(const QByteArray& fontData); - QStringList static_QFontDatabase_applicationFontFamilies(int id); - bool bold(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; - QStringList families(QFontDatabase* theWrappedObject, QFontDatabase::WritingSystem writingSystem = QFontDatabase::Any) const; - QFont font(QFontDatabase* theWrappedObject, const QString& family, const QString& style, int pointSize) const; - bool hasFamily(QFontDatabase* theWrappedObject, const QString& family) const; - bool isBitmapScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; - bool isFixedPitch(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; - bool isPrivateFamily(QFontDatabase* theWrappedObject, const QString& family) const; - bool isScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; - bool isSmoothlyScalable(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()) const; - bool italic(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; - QList pointSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style = QString()); - bool static_QFontDatabase_removeAllApplicationFonts(); - bool static_QFontDatabase_removeApplicationFont(int id); - QList smoothSizes(QFontDatabase* theWrappedObject, const QString& family, const QString& style); - QList static_QFontDatabase_standardSizes(); - QString styleString(QFontDatabase* theWrappedObject, const QFont& font); - QString styleString(QFontDatabase* theWrappedObject, const QFontInfo& fontInfo); - QStringList styles(QFontDatabase* theWrappedObject, const QString& family) const; - bool static_QFontDatabase_supportsThreadedFontRendering(); - QFont static_QFontDatabase_systemFont(QFontDatabase::SystemFont type); - int weight(QFontDatabase* theWrappedObject, const QString& family, const QString& style) const; - QString static_QFontDatabase_writingSystemName(QFontDatabase::WritingSystem writingSystem); - QString static_QFontDatabase_writingSystemSample(QFontDatabase::WritingSystem writingSystem); - QList writingSystems(QFontDatabase* theWrappedObject) const; - QList writingSystems(QFontDatabase* theWrappedObject, const QString& family) const; -}; - - - - - class PythonQtShell_QFontDialog : public QFontDialog { public: @@ -2215,3 +2163,95 @@ void delete_QGraphicsOpacityEffect(QGraphicsOpacityEffect* obj) { delete obj; } }; + + + +class PythonQtShell_QGraphicsPathItem : public QGraphicsPathItem +{ +public: + PythonQtShell_QGraphicsPathItem(QGraphicsItem* parent = nullptr):QGraphicsPathItem(parent),_wrapper(nullptr) {}; + PythonQtShell_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = nullptr):QGraphicsPathItem(path, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsPathItem() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; +void dropEvent(QGraphicsSceneDragDropEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; +void inputMethodEvent(QInputMethodEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; +void mousePressEvent(QGraphicsSceneMouseEvent* event) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +bool sceneEvent(QEvent* event) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +QPainterPath shape() const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +int type() const override; +void wheelEvent(QGraphicsSceneWheelEvent* event) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsPathItem : public QGraphicsPathItem +{ public: +inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } +inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } +inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } +inline QRectF py_q_boundingRect() const { return QGraphicsPathItem::boundingRect(); } +inline bool py_q_contains(const QPointF& point) const { return QGraphicsPathItem::contains(point); } +inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsPathItem::extension(variant); } +inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPathItem::isObscuredBy(item); } +inline QPainterPath py_q_opaqueArea() const { return QGraphicsPathItem::opaqueArea(); } +inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsPathItem::paint(painter, option, widget); } +inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsPathItem::setExtension((QGraphicsItem::Extension)extension, variant); } +inline QPainterPath py_q_shape() const { return QGraphicsPathItem::shape(); } +inline bool py_q_supportsExtension(int extension) const { return QGraphicsPathItem::supportsExtension((QGraphicsItem::Extension)extension); } +inline int py_q_type() const { return QGraphicsPathItem::type(); } +}; + +class PythonQtWrapper_QGraphicsPathItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(enum_1 ) +enum enum_1{ + Type = QGraphicsPathItem::Type}; +public Q_SLOTS: +QGraphicsPathItem* new_QGraphicsPathItem(QGraphicsItem* parent = nullptr); +QGraphicsPathItem* new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = nullptr); +void delete_QGraphicsPathItem(QGraphicsPathItem* obj) { delete obj; } + QRectF py_q_boundingRect(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_boundingRect());} + bool py_q_contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_contains(point));} + QVariant py_q_extension(QGraphicsPathItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_extension(variant));} + bool py_q_isObscuredBy(QGraphicsPathItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_isObscuredBy(item));} + QPainterPath py_q_opaqueArea(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_opaqueArea());} + void py_q_paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_paint(painter, option, widget));} + QPainterPath path(QGraphicsPathItem* theWrappedObject) const; + void py_q_setExtension(QGraphicsPathItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_setExtension(extension, variant));} + void setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path); + QPainterPath py_q_shape(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_shape());} + bool py_q_supportsExtension(QGraphicsPathItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_supportsExtension(extension));} + int py_q_type(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_type());} +}; + + diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp similarity index 94% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp index dc0e4308c..ba7967388 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui3.cpp @@ -70,7 +70,6 @@ #include #include #include -#include #include #include #include @@ -83,957 +82,6 @@ #include #include -PythonQtShell_QGraphicsPathItem::~PythonQtShell_QGraphicsPathItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QGraphicsPathItem::advance(int phase0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("advance"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&phase0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::advance(phase0); -} -QRectF PythonQtShell_QGraphicsPathItem::boundingRect() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("boundingRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRectF"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QRectF returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); - } else { - returnValue = *((QRectF*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPathItem::boundingRect(); -} -bool PythonQtShell_QGraphicsPathItem::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("collidesWithItem"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPathItem::collidesWithItem(other0, mode1); -} -bool PythonQtShell_QGraphicsPathItem::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("collidesWithPath"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPathItem::collidesWithPath(path0, mode1); -} -bool PythonQtShell_QGraphicsPathItem::contains(const QPointF& point0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contains"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QPointF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&point0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPathItem::contains(point0); -} -void PythonQtShell_QGraphicsPathItem::contextMenuEvent(QGraphicsSceneContextMenuEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::contextMenuEvent(event0); -} -void PythonQtShell_QGraphicsPathItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::dragEnterEvent(event0); -} -void PythonQtShell_QGraphicsPathItem::dragLeaveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::dragLeaveEvent(event0); -} -void PythonQtShell_QGraphicsPathItem::dragMoveEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::dragMoveEvent(event0); -} -void PythonQtShell_QGraphicsPathItem::dropEvent(QGraphicsSceneDragDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::dropEvent(event0); -} -QVariant PythonQtShell_QGraphicsPathItem::extension(const QVariant& variant0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("extension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&variant0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPathItem::extension(variant0); -} -void PythonQtShell_QGraphicsPathItem::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::focusInEvent(event0); -} -void PythonQtShell_QGraphicsPathItem::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::focusOutEvent(event0); -} -void PythonQtShell_QGraphicsPathItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hoverEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::hoverEnterEvent(event0); -} -void PythonQtShell_QGraphicsPathItem::hoverLeaveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hoverLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::hoverLeaveEvent(event0); -} -void PythonQtShell_QGraphicsPathItem::hoverMoveEvent(QGraphicsSceneHoverEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hoverMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::hoverMoveEvent(event0); -} -void PythonQtShell_QGraphicsPathItem::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::inputMethodEvent(event0); -} -QVariant PythonQtShell_QGraphicsPathItem::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPathItem::inputMethodQuery(query0); -} -bool PythonQtShell_QGraphicsPathItem::isObscuredBy(const QGraphicsItem* item0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("isObscuredBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&item0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPathItem::isObscuredBy(item0); -} -QVariant PythonQtShell_QGraphicsPathItem::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("itemChange"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { - returnValue = value1; - } - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPathItem::itemChange(change0, value1); -} -void PythonQtShell_QGraphicsPathItem::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::keyPressEvent(event0); -} -void PythonQtShell_QGraphicsPathItem::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::keyReleaseEvent(event0); -} -void PythonQtShell_QGraphicsPathItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QGraphicsPathItem::mouseMoveEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::mouseMoveEvent(event0); -} -void PythonQtShell_QGraphicsPathItem::mousePressEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::mousePressEvent(event0); -} -void PythonQtShell_QGraphicsPathItem::mouseReleaseEvent(QGraphicsSceneMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::mouseReleaseEvent(event0); -} -QPainterPath PythonQtShell_QGraphicsPathItem::opaqueArea() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("opaqueArea"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPathItem::opaqueArea(); -} -void PythonQtShell_QGraphicsPathItem::paint(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::paint(painter0, option1, widget2); -} -bool PythonQtShell_QGraphicsPathItem::sceneEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sceneEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPathItem::sceneEvent(event0); -} -bool PythonQtShell_QGraphicsPathItem::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sceneEventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPathItem::sceneEventFilter(watched0, event1); -} -void PythonQtShell_QGraphicsPathItem::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::setExtension(extension0, variant1); -} -QPainterPath PythonQtShell_QGraphicsPathItem::shape() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("shape"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainterPath"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainterPath returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); - } else { - returnValue = *((QPainterPath*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPathItem::shape(); -} -bool PythonQtShell_QGraphicsPathItem::supportsExtension(QGraphicsItem::Extension extension0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("supportsExtension"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&extension0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPathItem::supportsExtension(extension0); -} -int PythonQtShell_QGraphicsPathItem::type() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("type"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QGraphicsPathItem::type(); -} -void PythonQtShell_QGraphicsPathItem::wheelEvent(QGraphicsSceneWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QGraphicsPathItem::wheelEvent(event0); -} -QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPathItem(parent); } - -QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent) -{ -return new PythonQtShell_QGraphicsPathItem(path, parent); } - -QPainterPath PythonQtWrapper_QGraphicsPathItem::path(QGraphicsPathItem* theWrappedObject) const -{ - return ( theWrappedObject->path()); -} - -void PythonQtWrapper_QGraphicsPathItem::setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path) -{ - ( theWrappedObject->setPath(path)); -} - - - PythonQtShell_QGraphicsPixmapItem::~PythonQtShell_QGraphicsPixmapItem() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -15804,11 +14852,6 @@ QInputMethod* PythonQtWrapper_QGuiApplication::static_QGuiApplication_inputMeth return (QGuiApplication::inputMethod()); } -bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isFallbackSessionManagementEnabled() -{ - return (QGuiApplication::isFallbackSessionManagementEnabled()); -} - bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isLeftToRight() { return (QGuiApplication::isLeftToRight()); @@ -15819,16 +14862,6 @@ bool PythonQtWrapper_QGuiApplication::static_QGuiApplication_isRightToLeft() return (QGuiApplication::isRightToLeft()); } -bool PythonQtWrapper_QGuiApplication::isSavingSession(QGuiApplication* theWrappedObject) const -{ - return ( theWrappedObject->isSavingSession()); -} - -bool PythonQtWrapper_QGuiApplication::isSessionRestored(QGuiApplication* theWrappedObject) const -{ - return ( theWrappedObject->isSessionRestored()); -} - Qt::KeyboardModifiers PythonQtWrapper_QGuiApplication::static_QGuiApplication_keyboardModifiers() { return (QGuiApplication::keyboardModifiers()); @@ -15894,16 +14927,6 @@ QList PythonQtWrapper_QGuiApplication::static_QGuiApplication_screen return (QGuiApplication::screens()); } -QString PythonQtWrapper_QGuiApplication::sessionId(QGuiApplication* theWrappedObject) const -{ - return ( theWrappedObject->sessionId()); -} - -QString PythonQtWrapper_QGuiApplication::sessionKey(QGuiApplication* theWrappedObject) const -{ - return ( theWrappedObject->sessionKey()); -} - void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setApplicationDisplayName(const QString& name) { (QGuiApplication::setApplicationDisplayName(name)); @@ -15919,11 +14942,6 @@ void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setDesktopSettingsA (QGuiApplication::setDesktopSettingsAware(on)); } -void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setFallbackSessionManagementEnabled(bool arg__1) -{ - (QGuiApplication::setFallbackSessionManagementEnabled(arg__1)); -} - void PythonQtWrapper_QGuiApplication::static_QGuiApplication_setFont(const QFont& arg__1) { (QGuiApplication::setFont(arg__1)); @@ -19464,3 +18482,9 @@ const QPointF* PythonQtWrapper_QHoverEvent::posF(QHoverEvent* theWrappedObject) } + +QIconDragEvent* PythonQtWrapper_QIconDragEvent::new_QIconDragEvent() +{ +return new QIconDragEvent(); } + + diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui3.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui3.h similarity index 96% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui3.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui3.h index 32c25f31d..bc9861362 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui3.h +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui3.h @@ -68,7 +68,6 @@ #include #include #include -#include #include #include #include @@ -83,98 +82,6 @@ -class PythonQtShell_QGraphicsPathItem : public QGraphicsPathItem -{ -public: - PythonQtShell_QGraphicsPathItem(QGraphicsItem* parent = nullptr):QGraphicsPathItem(parent),_wrapper(nullptr) {}; - PythonQtShell_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = nullptr):QGraphicsPathItem(path, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QGraphicsPathItem() override; - -void advance(int phase) override; -QRectF boundingRect() const override; -bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; -bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; -bool contains(const QPointF& point) const override; -void contextMenuEvent(QGraphicsSceneContextMenuEvent* event) override; -void dragEnterEvent(QGraphicsSceneDragDropEvent* event) override; -void dragLeaveEvent(QGraphicsSceneDragDropEvent* event) override; -void dragMoveEvent(QGraphicsSceneDragDropEvent* event) override; -void dropEvent(QGraphicsSceneDragDropEvent* event) override; -QVariant extension(const QVariant& variant) const override; -void focusInEvent(QFocusEvent* event) override; -void focusOutEvent(QFocusEvent* event) override; -void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; -void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; -void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; -void inputMethodEvent(QInputMethodEvent* event) override; -QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; -bool isObscuredBy(const QGraphicsItem* item) const override; -QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; -void keyPressEvent(QKeyEvent* event) override; -void keyReleaseEvent(QKeyEvent* event) override; -void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event) override; -void mouseMoveEvent(QGraphicsSceneMouseEvent* event) override; -void mousePressEvent(QGraphicsSceneMouseEvent* event) override; -void mouseReleaseEvent(QGraphicsSceneMouseEvent* event) override; -QPainterPath opaqueArea() const override; -void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; -bool sceneEvent(QEvent* event) override; -bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; -void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; -QPainterPath shape() const override; -bool supportsExtension(QGraphicsItem::Extension extension) const override; -int type() const override; -void wheelEvent(QGraphicsSceneWheelEvent* event) override; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QGraphicsPathItem : public QGraphicsPathItem -{ public: -inline QVariant promoted_extension(const QVariant& variant) const { return this->extension(variant); } -inline void promoted_setExtension(int extension, const QVariant& variant) { this->setExtension((QGraphicsItem::Extension)extension, variant); } -inline bool promoted_supportsExtension(int extension) const { return this->supportsExtension((QGraphicsItem::Extension)extension); } -inline QRectF py_q_boundingRect() const { return QGraphicsPathItem::boundingRect(); } -inline bool py_q_contains(const QPointF& point) const { return QGraphicsPathItem::contains(point); } -inline QVariant py_q_extension(const QVariant& variant) const { return QGraphicsPathItem::extension(variant); } -inline bool py_q_isObscuredBy(const QGraphicsItem* item) const { return QGraphicsPathItem::isObscuredBy(item); } -inline QPainterPath py_q_opaqueArea() const { return QGraphicsPathItem::opaqueArea(); } -inline void py_q_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) { QGraphicsPathItem::paint(painter, option, widget); } -inline void py_q_setExtension(int extension, const QVariant& variant) { QGraphicsPathItem::setExtension((QGraphicsItem::Extension)extension, variant); } -inline QPainterPath py_q_shape() const { return QGraphicsPathItem::shape(); } -inline bool py_q_supportsExtension(int extension) const { return QGraphicsPathItem::supportsExtension((QGraphicsItem::Extension)extension); } -inline int py_q_type() const { return QGraphicsPathItem::type(); } -}; - -class PythonQtWrapper_QGraphicsPathItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(enum_1 ) -enum enum_1{ - Type = QGraphicsPathItem::Type}; -public Q_SLOTS: -QGraphicsPathItem* new_QGraphicsPathItem(QGraphicsItem* parent = nullptr); -QGraphicsPathItem* new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent = nullptr); -void delete_QGraphicsPathItem(QGraphicsPathItem* obj) { delete obj; } - QRectF py_q_boundingRect(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_boundingRect());} - bool py_q_contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_contains(point));} - QVariant py_q_extension(QGraphicsPathItem* theWrappedObject, const QVariant& variant) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_extension(variant));} - bool py_q_isObscuredBy(QGraphicsPathItem* theWrappedObject, const QGraphicsItem* item) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_isObscuredBy(item));} - QPainterPath py_q_opaqueArea(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_opaqueArea());} - void py_q_paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_paint(painter, option, widget));} - QPainterPath path(QGraphicsPathItem* theWrappedObject) const; - void py_q_setExtension(QGraphicsPathItem* theWrappedObject, int extension, const QVariant& variant){ (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_setExtension(extension, variant));} - void setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path); - QPainterPath py_q_shape(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_shape());} - bool py_q_supportsExtension(QGraphicsPathItem* theWrappedObject, int extension) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_supportsExtension(extension));} - int py_q_type(QGraphicsPathItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QGraphicsPathItem*)theWrappedObject)->py_q_type());} -}; - - - - - class PythonQtShell_QGraphicsPixmapItem : public QGraphicsPixmapItem { public: @@ -2235,11 +2142,8 @@ void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } QWindow* static_QGuiApplication_focusWindow(); QFont static_QGuiApplication_font(); QInputMethod* static_QGuiApplication_inputMethod(); - bool static_QGuiApplication_isFallbackSessionManagementEnabled(); bool static_QGuiApplication_isLeftToRight(); bool static_QGuiApplication_isRightToLeft(); - bool isSavingSession(QGuiApplication* theWrappedObject) const; - bool isSessionRestored(QGuiApplication* theWrappedObject) const; Qt::KeyboardModifiers static_QGuiApplication_keyboardModifiers(); Qt::LayoutDirection static_QGuiApplication_layoutDirection(); QWindow* static_QGuiApplication_modalWindow(); @@ -2254,12 +2158,9 @@ void delete_QGuiApplication(QGuiApplication* obj) { delete obj; } void static_QGuiApplication_restoreOverrideCursor(); QScreen* static_QGuiApplication_screenAt(const QPoint& point); QList static_QGuiApplication_screens(); - QString sessionId(QGuiApplication* theWrappedObject) const; - QString sessionKey(QGuiApplication* theWrappedObject) const; void static_QGuiApplication_setApplicationDisplayName(const QString& name); void static_QGuiApplication_setDesktopFileName(const QString& name); void static_QGuiApplication_setDesktopSettingsAware(bool on); - void static_QGuiApplication_setFallbackSessionManagementEnabled(bool arg__1); void static_QGuiApplication_setFont(const QFont& arg__1); void static_QGuiApplication_setLayoutDirection(Qt::LayoutDirection direction); void static_QGuiApplication_setOverrideCursor(const QCursor& arg__1); @@ -2652,3 +2553,15 @@ void delete_QHoverEvent(QHoverEvent* obj) { delete obj; } }; + + + +class PythonQtWrapper_QIconDragEvent : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QIconDragEvent* new_QIconDragEvent(); +void delete_QIconDragEvent(QIconDragEvent* obj) { delete obj; } +}; + + diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp similarity index 98% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp index c8a7ff74c..704ca3f76 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui4.cpp @@ -83,12 +83,6 @@ #include #include -QIconDragEvent* PythonQtWrapper_QIconDragEvent::new_QIconDragEvent() -{ -return new QIconDragEvent(); } - - - PythonQtShell_QIconEngine::~PythonQtShell_QIconEngine() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -17180,3 +17174,338 @@ QRect PythonQtWrapper_QListWidget::visualItemRect(QListWidget* theWrappedObject } + +PythonQtShell_QListWidgetItem::~PythonQtShell_QListWidgetItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("clone"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QListWidgetItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QListWidgetItem* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + } else { + returnValue = *((QListWidgetItem**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidgetItem::clone(); +} +QVariant PythonQtShell_QListWidgetItem::data(int role0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("data"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&role0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QListWidgetItem::data(role0); +} +void PythonQtShell_QListWidgetItem::read(QDataStream& in0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("read"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&in0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidgetItem::read(in0); +} +void PythonQtShell_QListWidgetItem::setData(int role0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&role0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidgetItem::setData(role0, value1); +} +void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("write"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDataStream&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&out0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QListWidgetItem::write(out0); +} +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(PythonQtNewOwnerOfThis view, int type) +{ +return new PythonQtShell_QListWidgetItem(view, type); } + +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis view, int type) +{ +return new PythonQtShell_QListWidgetItem(icon, text, view, type); } + +QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis view, int type) +{ +return new PythonQtShell_QListWidgetItem(text, view, type); } + +QBrush PythonQtWrapper_QListWidgetItem::background(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->background()); +} + +Qt::CheckState PythonQtWrapper_QListWidgetItem::checkState(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->checkState()); +} + +QListWidgetItem* PythonQtWrapper_QListWidgetItem::clone(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->clone()); +} + +QVariant PythonQtWrapper_QListWidgetItem::data(QListWidgetItem* theWrappedObject, int role) const +{ + return ( theWrappedObject->data(role)); +} + +Qt::ItemFlags PythonQtWrapper_QListWidgetItem::flags(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QFont PythonQtWrapper_QListWidgetItem::font(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QBrush PythonQtWrapper_QListWidgetItem::foreground(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->foreground()); +} + +QIcon PythonQtWrapper_QListWidgetItem::icon(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +bool PythonQtWrapper_QListWidgetItem::isHidden(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isHidden()); +} + +bool PythonQtWrapper_QListWidgetItem::isSelected(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isSelected()); +} + +QListWidget* PythonQtWrapper_QListWidgetItem::listWidget(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->listWidget()); +} + +void PythonQtWrapper_QListWidgetItem::writeTo(QListWidgetItem* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +void PythonQtWrapper_QListWidgetItem::readFrom(QListWidgetItem* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +void PythonQtWrapper_QListWidgetItem::read(QListWidgetItem* theWrappedObject, QDataStream& in) +{ + ( theWrappedObject->read(in)); +} + +void PythonQtWrapper_QListWidgetItem::setBackground(QListWidgetItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBackground(brush)); +} + +void PythonQtWrapper_QListWidgetItem::setCheckState(QListWidgetItem* theWrappedObject, Qt::CheckState state) +{ + ( theWrappedObject->setCheckState(state)); +} + +void PythonQtWrapper_QListWidgetItem::setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value) +{ + ( theWrappedObject->setData(role, value)); +} + +void PythonQtWrapper_QListWidgetItem::setFlags(QListWidgetItem* theWrappedObject, Qt::ItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QListWidgetItem::setFont(QListWidgetItem* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QListWidgetItem::setForeground(QListWidgetItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setForeground(brush)); +} + +void PythonQtWrapper_QListWidgetItem::setHidden(QListWidgetItem* theWrappedObject, bool hide) +{ + ( theWrappedObject->setHidden(hide)); +} + +void PythonQtWrapper_QListWidgetItem::setIcon(QListWidgetItem* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QListWidgetItem::setSelected(QListWidgetItem* theWrappedObject, bool select) +{ + ( theWrappedObject->setSelected(select)); +} + +void PythonQtWrapper_QListWidgetItem::setSizeHint(QListWidgetItem* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setSizeHint(size)); +} + +void PythonQtWrapper_QListWidgetItem::setStatusTip(QListWidgetItem* theWrappedObject, const QString& statusTip) +{ + ( theWrappedObject->setStatusTip(statusTip)); +} + +void PythonQtWrapper_QListWidgetItem::setText(QListWidgetItem* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QListWidgetItem::setTextAlignment(QListWidgetItem* theWrappedObject, int alignment) +{ + ( theWrappedObject->setTextAlignment(alignment)); +} + +void PythonQtWrapper_QListWidgetItem::setToolTip(QListWidgetItem* theWrappedObject, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(toolTip)); +} + +void PythonQtWrapper_QListWidgetItem::setWhatsThis(QListWidgetItem* theWrappedObject, const QString& whatsThis) +{ + ( theWrappedObject->setWhatsThis(whatsThis)); +} + +QSize PythonQtWrapper_QListWidgetItem::sizeHint(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); +} + +QString PythonQtWrapper_QListWidgetItem::statusTip(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->statusTip()); +} + +QString PythonQtWrapper_QListWidgetItem::text(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +int PythonQtWrapper_QListWidgetItem::textAlignment(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->textAlignment()); +} + +QString PythonQtWrapper_QListWidgetItem::toolTip(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + +int PythonQtWrapper_QListWidgetItem::type(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); +} + +QString PythonQtWrapper_QListWidgetItem::whatsThis(QListWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->whatsThis()); +} + +void PythonQtWrapper_QListWidgetItem::write(QListWidgetItem* theWrappedObject, QDataStream& out) const +{ + ( theWrappedObject->write(out)); +} + + diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui4.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui4.h similarity index 96% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui4.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui4.h index 746a4359b..e17f6f24c 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui4.h +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui4.h @@ -84,18 +84,6 @@ -class PythonQtWrapper_QIconDragEvent : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QIconDragEvent* new_QIconDragEvent(); -void delete_QIconDragEvent(QIconDragEvent* obj) { delete obj; } -}; - - - - - class PythonQtShell_QIconEngine : public QIconEngine { public: @@ -2354,3 +2342,89 @@ void delete_QListWidget(QListWidget* obj) { delete obj; } }; + + + +class PythonQtShell_QListWidgetItem : public QListWidgetItem +{ +public: + PythonQtShell_QListWidgetItem(QListWidget* view = nullptr, int type = Type):QListWidgetItem(view, type),_wrapper(nullptr) {}; + PythonQtShell_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view = nullptr, int type = Type):QListWidgetItem(icon, text, view, type),_wrapper(nullptr) {}; + PythonQtShell_QListWidgetItem(const QString& text, QListWidget* view = nullptr, int type = Type):QListWidgetItem(text, view, type),_wrapper(nullptr) {}; + + ~PythonQtShell_QListWidgetItem() override; + +QListWidgetItem* clone() const override; +QVariant data(int role) const override; +void read(QDataStream& in) override; +void setData(int role, const QVariant& value) override; +void write(QDataStream& out) const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QListWidgetItem : public QListWidgetItem +{ public: +inline QListWidgetItem* py_q_clone() const { return QListWidgetItem::clone(); } +inline QVariant py_q_data(int role) const { return QListWidgetItem::data(role); } +inline void py_q_read(QDataStream& in) { QListWidgetItem::read(in); } +inline void py_q_setData(int role, const QVariant& value) { QListWidgetItem::setData(role, value); } +inline void py_q_write(QDataStream& out) const { QListWidgetItem::write(out); } +}; + +class PythonQtWrapper_QListWidgetItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ItemType ) +enum ItemType{ + Type = QListWidgetItem::Type, UserType = QListWidgetItem::UserType}; +public Q_SLOTS: +QListWidgetItem* new_QListWidgetItem(PythonQtNewOwnerOfThis view = nullptr, int type = Type); +QListWidgetItem* new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis view = nullptr, int type = Type); +QListWidgetItem* new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis view = nullptr, int type = Type); +void delete_QListWidgetItem(QListWidgetItem* obj) { delete obj; } + QBrush background(QListWidgetItem* theWrappedObject) const; + Qt::CheckState checkState(QListWidgetItem* theWrappedObject) const; + QListWidgetItem* clone(QListWidgetItem* theWrappedObject) const; + QListWidgetItem* py_q_clone(QListWidgetItem* theWrappedObject) const{ return (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_clone());} + QVariant data(QListWidgetItem* theWrappedObject, int role) const; + QVariant py_q_data(QListWidgetItem* theWrappedObject, int role) const{ return (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_data(role));} + Qt::ItemFlags flags(QListWidgetItem* theWrappedObject) const; + QFont font(QListWidgetItem* theWrappedObject) const; + QBrush foreground(QListWidgetItem* theWrappedObject) const; + QIcon icon(QListWidgetItem* theWrappedObject) const; + bool isHidden(QListWidgetItem* theWrappedObject) const; + bool isSelected(QListWidgetItem* theWrappedObject) const; + QListWidget* listWidget(QListWidgetItem* theWrappedObject) const; + void writeTo(QListWidgetItem* theWrappedObject, QDataStream& out); + void readFrom(QListWidgetItem* theWrappedObject, QDataStream& in); + void read(QListWidgetItem* theWrappedObject, QDataStream& in); + void py_q_read(QListWidgetItem* theWrappedObject, QDataStream& in){ (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_read(in));} + void setBackground(QListWidgetItem* theWrappedObject, const QBrush& brush); + void setCheckState(QListWidgetItem* theWrappedObject, Qt::CheckState state); + void setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value); + void py_q_setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value){ (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_setData(role, value));} + void setFlags(QListWidgetItem* theWrappedObject, Qt::ItemFlags flags); + void setFont(QListWidgetItem* theWrappedObject, const QFont& font); + void setForeground(QListWidgetItem* theWrappedObject, const QBrush& brush); + void setHidden(QListWidgetItem* theWrappedObject, bool hide); + void setIcon(QListWidgetItem* theWrappedObject, const QIcon& icon); + void setSelected(QListWidgetItem* theWrappedObject, bool select); + void setSizeHint(QListWidgetItem* theWrappedObject, const QSize& size); + void setStatusTip(QListWidgetItem* theWrappedObject, const QString& statusTip); + void setText(QListWidgetItem* theWrappedObject, const QString& text); + void setTextAlignment(QListWidgetItem* theWrappedObject, int alignment); + void setToolTip(QListWidgetItem* theWrappedObject, const QString& toolTip); + void setWhatsThis(QListWidgetItem* theWrappedObject, const QString& whatsThis); + QSize sizeHint(QListWidgetItem* theWrappedObject) const; + QString statusTip(QListWidgetItem* theWrappedObject) const; + QString text(QListWidgetItem* theWrappedObject) const; + int textAlignment(QListWidgetItem* theWrappedObject) const; + QString toolTip(QListWidgetItem* theWrappedObject) const; + int type(QListWidgetItem* theWrappedObject) const; + QString whatsThis(QListWidgetItem* theWrappedObject) const; + void write(QListWidgetItem* theWrappedObject, QDataStream& out) const; + void py_q_write(QListWidgetItem* theWrappedObject, QDataStream& out) const{ (((PythonQtPublicPromoter_QListWidgetItem*)theWrappedObject)->py_q_write(out));} +}; + + diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp similarity index 76% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp index 8ec4aa688..e461207ed 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui5.cpp @@ -4,18 +4,22 @@ #include #include #include +#include #include #include #include +#include #include +#include +#include #include #include #include +#include #include #include #include #include -#include #include #include #include @@ -23,7 +27,6 @@ #include #include #include -#include #include #include #include @@ -46,387 +49,50 @@ #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 -PythonQtShell_QListWidgetItem::~PythonQtShell_QListWidgetItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QListWidgetItem* PythonQtShell_QListWidgetItem::clone() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("clone"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QListWidgetItem*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QListWidgetItem* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); - } else { - returnValue = *((QListWidgetItem**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QListWidgetItem::clone(); -} -QVariant PythonQtShell_QListWidgetItem::data(int role0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("data"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&role0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QListWidgetItem::data(role0); -} -void PythonQtShell_QListWidgetItem::read(QDataStream& in0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("read"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&in0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QListWidgetItem::read(in0); -} -void PythonQtShell_QListWidgetItem::setData(int role0, const QVariant& value1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&role0, (void*)&value1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QListWidgetItem::setData(role0, value1); -} -void PythonQtShell_QListWidgetItem::write(QDataStream& out0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("write"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&out0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QListWidgetItem::write(out0); -} -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(PythonQtNewOwnerOfThis view, int type) -{ -return new PythonQtShell_QListWidgetItem(view, type); } - -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QIcon& icon, const QString& text, PythonQtNewOwnerOfThis view, int type) -{ -return new PythonQtShell_QListWidgetItem(icon, text, view, type); } - -QListWidgetItem* PythonQtWrapper_QListWidgetItem::new_QListWidgetItem(const QString& text, PythonQtNewOwnerOfThis view, int type) -{ -return new PythonQtShell_QListWidgetItem(text, view, type); } - -QBrush PythonQtWrapper_QListWidgetItem::background(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->background()); -} - -Qt::CheckState PythonQtWrapper_QListWidgetItem::checkState(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->checkState()); -} - -QListWidgetItem* PythonQtWrapper_QListWidgetItem::clone(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->clone()); -} - -QVariant PythonQtWrapper_QListWidgetItem::data(QListWidgetItem* theWrappedObject, int role) const -{ - return ( theWrappedObject->data(role)); -} - -Qt::ItemFlags PythonQtWrapper_QListWidgetItem::flags(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->flags()); -} - -QFont PythonQtWrapper_QListWidgetItem::font(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -QBrush PythonQtWrapper_QListWidgetItem::foreground(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->foreground()); -} - -QIcon PythonQtWrapper_QListWidgetItem::icon(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->icon()); -} - -bool PythonQtWrapper_QListWidgetItem::isHidden(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isHidden()); -} - -bool PythonQtWrapper_QListWidgetItem::isSelected(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->isSelected()); -} - -QListWidget* PythonQtWrapper_QListWidgetItem::listWidget(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->listWidget()); -} - -void PythonQtWrapper_QListWidgetItem::writeTo(QListWidgetItem* theWrappedObject, QDataStream& out) -{ - out << (*theWrappedObject); -} - -void PythonQtWrapper_QListWidgetItem::readFrom(QListWidgetItem* theWrappedObject, QDataStream& in) -{ - in >> (*theWrappedObject); -} - -void PythonQtWrapper_QListWidgetItem::read(QListWidgetItem* theWrappedObject, QDataStream& in) -{ - ( theWrappedObject->read(in)); -} - -void PythonQtWrapper_QListWidgetItem::setBackground(QListWidgetItem* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBackground(brush)); -} - -void PythonQtWrapper_QListWidgetItem::setCheckState(QListWidgetItem* theWrappedObject, Qt::CheckState state) -{ - ( theWrappedObject->setCheckState(state)); -} - -void PythonQtWrapper_QListWidgetItem::setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value) -{ - ( theWrappedObject->setData(role, value)); -} - -void PythonQtWrapper_QListWidgetItem::setFlags(QListWidgetItem* theWrappedObject, Qt::ItemFlags flags) -{ - ( theWrappedObject->setFlags(flags)); -} - -void PythonQtWrapper_QListWidgetItem::setFont(QListWidgetItem* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -void PythonQtWrapper_QListWidgetItem::setForeground(QListWidgetItem* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setForeground(brush)); -} - -void PythonQtWrapper_QListWidgetItem::setHidden(QListWidgetItem* theWrappedObject, bool hide) -{ - ( theWrappedObject->setHidden(hide)); -} - -void PythonQtWrapper_QListWidgetItem::setIcon(QListWidgetItem* theWrappedObject, const QIcon& icon) -{ - ( theWrappedObject->setIcon(icon)); -} - -void PythonQtWrapper_QListWidgetItem::setSelected(QListWidgetItem* theWrappedObject, bool select) -{ - ( theWrappedObject->setSelected(select)); -} - -void PythonQtWrapper_QListWidgetItem::setSizeHint(QListWidgetItem* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setSizeHint(size)); -} - -void PythonQtWrapper_QListWidgetItem::setStatusTip(QListWidgetItem* theWrappedObject, const QString& statusTip) -{ - ( theWrappedObject->setStatusTip(statusTip)); -} - -void PythonQtWrapper_QListWidgetItem::setText(QListWidgetItem* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setText(text)); -} - -void PythonQtWrapper_QListWidgetItem::setTextAlignment(QListWidgetItem* theWrappedObject, int alignment) -{ - ( theWrappedObject->setTextAlignment(alignment)); -} - -void PythonQtWrapper_QListWidgetItem::setToolTip(QListWidgetItem* theWrappedObject, const QString& toolTip) -{ - ( theWrappedObject->setToolTip(toolTip)); -} - -void PythonQtWrapper_QListWidgetItem::setWhatsThis(QListWidgetItem* theWrappedObject, const QString& whatsThis) -{ - ( theWrappedObject->setWhatsThis(whatsThis)); -} - -QSize PythonQtWrapper_QListWidgetItem::sizeHint(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->sizeHint()); -} - -QString PythonQtWrapper_QListWidgetItem::statusTip(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->statusTip()); -} - -QString PythonQtWrapper_QListWidgetItem::text(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -int PythonQtWrapper_QListWidgetItem::textAlignment(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->textAlignment()); -} - -QString PythonQtWrapper_QListWidgetItem::toolTip(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->toolTip()); -} - -int PythonQtWrapper_QListWidgetItem::type(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->type()); -} - -QString PythonQtWrapper_QListWidgetItem::whatsThis(QListWidgetItem* theWrappedObject) const -{ - return ( theWrappedObject->whatsThis()); -} - -void PythonQtWrapper_QListWidgetItem::write(QListWidgetItem* theWrappedObject, QDataStream& out) const -{ - ( theWrappedObject->write(out)); -} - - - PythonQtShell_QMainWindow::~PythonQtShell_QMainWindow() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -9827,123 +9493,232 @@ void PythonQtWrapper_QOffscreenSurface::setScreen(QOffscreenSurface* theWrappedO -QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::new_QOpenGLBuffer() +QPageLayout* PythonQtWrapper_QPageLayout::new_QPageLayout() { -return new QOpenGLBuffer(); } +return new QPageLayout(); } -QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::new_QOpenGLBuffer(QOpenGLBuffer::Type type) +QPageLayout* PythonQtWrapper_QPageLayout::new_QPageLayout(const QPageLayout& other) { -return new QOpenGLBuffer(type); } +return new QPageLayout(other); } -QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::new_QOpenGLBuffer(const QOpenGLBuffer& other) +QPageLayout* PythonQtWrapper_QPageLayout::new_QPageLayout(const QPageSize& pageSize, QPageLayout::Orientation orientation, const QMarginsF& margins, QPageLayout::Unit units, const QMarginsF& minMargins) { -return new QOpenGLBuffer(other); } +return new QPageLayout(pageSize, orientation, margins, units, minMargins); } -void PythonQtWrapper_QOpenGLBuffer::allocate(QOpenGLBuffer* theWrappedObject, const void* data, int count) +QRectF PythonQtWrapper_QPageLayout::fullRect(QPageLayout* theWrappedObject) const { - ( theWrappedObject->allocate(data, count)); + return ( theWrappedObject->fullRect()); } -void PythonQtWrapper_QOpenGLBuffer::allocate(QOpenGLBuffer* theWrappedObject, int count) +QRectF PythonQtWrapper_QPageLayout::fullRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const { - ( theWrappedObject->allocate(count)); + return ( theWrappedObject->fullRect(units)); } -bool PythonQtWrapper_QOpenGLBuffer::bind(QOpenGLBuffer* theWrappedObject) +QRect PythonQtWrapper_QPageLayout::fullRectPixels(QPageLayout* theWrappedObject, int resolution) const { - return ( theWrappedObject->bind()); + return ( theWrappedObject->fullRectPixels(resolution)); } -GLuint PythonQtWrapper_QOpenGLBuffer::bufferId(QOpenGLBuffer* theWrappedObject) const +QRect PythonQtWrapper_QPageLayout::fullRectPoints(QPageLayout* theWrappedObject) const { - return ( theWrappedObject->bufferId()); + return ( theWrappedObject->fullRectPoints()); } -bool PythonQtWrapper_QOpenGLBuffer::create(QOpenGLBuffer* theWrappedObject) +bool PythonQtWrapper_QPageLayout::isEquivalentTo(QPageLayout* theWrappedObject, const QPageLayout& other) const { - return ( theWrappedObject->create()); + return ( theWrappedObject->isEquivalentTo(other)); } -void PythonQtWrapper_QOpenGLBuffer::destroy(QOpenGLBuffer* theWrappedObject) +bool PythonQtWrapper_QPageLayout::isValid(QPageLayout* theWrappedObject) const { - ( theWrappedObject->destroy()); + return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QOpenGLBuffer::isCreated(QOpenGLBuffer* theWrappedObject) const +QMarginsF PythonQtWrapper_QPageLayout::margins(QPageLayout* theWrappedObject) const { - return ( theWrappedObject->isCreated()); + return ( theWrappedObject->margins()); } -void* PythonQtWrapper_QOpenGLBuffer::map(QOpenGLBuffer* theWrappedObject, QOpenGLBuffer::Access access) +QMarginsF PythonQtWrapper_QPageLayout::margins(QPageLayout* theWrappedObject, QPageLayout::Unit units) const { - return ( theWrappedObject->map(access)); + return ( theWrappedObject->margins(units)); } -QOpenGLBuffer* PythonQtWrapper_QOpenGLBuffer::operator_assign(QOpenGLBuffer* theWrappedObject, const QOpenGLBuffer& other) +QMargins PythonQtWrapper_QPageLayout::marginsPixels(QPageLayout* theWrappedObject, int resolution) const { - return &( (*theWrappedObject)= other); + return ( theWrappedObject->marginsPixels(resolution)); } -bool PythonQtWrapper_QOpenGLBuffer::read(QOpenGLBuffer* theWrappedObject, int offset, void* data, int count) +QMargins PythonQtWrapper_QPageLayout::marginsPoints(QPageLayout* theWrappedObject) const { - return ( theWrappedObject->read(offset, data, count)); + return ( theWrappedObject->marginsPoints()); } -void PythonQtWrapper_QOpenGLBuffer::release(QOpenGLBuffer* theWrappedObject) +QMarginsF PythonQtWrapper_QPageLayout::maximumMargins(QPageLayout* theWrappedObject) const { - ( theWrappedObject->release()); + return ( theWrappedObject->maximumMargins()); } -void PythonQtWrapper_QOpenGLBuffer::static_QOpenGLBuffer_release(QOpenGLBuffer::Type type) +QMarginsF PythonQtWrapper_QPageLayout::minimumMargins(QPageLayout* theWrappedObject) const { - (QOpenGLBuffer::release(type)); + return ( theWrappedObject->minimumMargins()); } -void PythonQtWrapper_QOpenGLBuffer::setUsagePattern(QOpenGLBuffer* theWrappedObject, QOpenGLBuffer::UsagePattern value) +QPageLayout::Mode PythonQtWrapper_QPageLayout::mode(QPageLayout* theWrappedObject) const { - ( theWrappedObject->setUsagePattern(value)); + return ( theWrappedObject->mode()); } -int PythonQtWrapper_QOpenGLBuffer::size(QOpenGLBuffer* theWrappedObject) const +bool PythonQtWrapper_QPageLayout::__ne__(QPageLayout* theWrappedObject, const QPageLayout& rhs) { - return ( theWrappedObject->size()); + return ( (*theWrappedObject)!= rhs); } -QOpenGLBuffer::Type PythonQtWrapper_QOpenGLBuffer::type(QOpenGLBuffer* theWrappedObject) const +QPageLayout* PythonQtWrapper_QPageLayout::operator_assign(QPageLayout* theWrappedObject, const QPageLayout& other) { - return ( theWrappedObject->type()); + return &( (*theWrappedObject)= other); } -bool PythonQtWrapper_QOpenGLBuffer::unmap(QOpenGLBuffer* theWrappedObject) +bool PythonQtWrapper_QPageLayout::__eq__(QPageLayout* theWrappedObject, const QPageLayout& rhs) { - return ( theWrappedObject->unmap()); + return ( (*theWrappedObject)== rhs); } -QOpenGLBuffer::UsagePattern PythonQtWrapper_QOpenGLBuffer::usagePattern(QOpenGLBuffer* theWrappedObject) const +QPageLayout::Orientation PythonQtWrapper_QPageLayout::orientation(QPageLayout* theWrappedObject) const { - return ( theWrappedObject->usagePattern()); + return ( theWrappedObject->orientation()); } -void PythonQtWrapper_QOpenGLBuffer::write(QOpenGLBuffer* theWrappedObject, int offset, const void* data, int count) +QPageSize PythonQtWrapper_QPageLayout::pageSize(QPageLayout* theWrappedObject) const { - ( theWrappedObject->write(offset, data, count)); + return ( theWrappedObject->pageSize()); } +QRectF PythonQtWrapper_QPageLayout::paintRect(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->paintRect()); +} +QRectF PythonQtWrapper_QPageLayout::paintRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const +{ + return ( theWrappedObject->paintRect(units)); +} -PythonQtShell_QOpenGLContext::~PythonQtShell_QOpenGLContext() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QRect PythonQtWrapper_QPageLayout::paintRectPixels(QPageLayout* theWrappedObject, int resolution) const +{ + return ( theWrappedObject->paintRectPixels(resolution)); } -void PythonQtShell_QOpenGLContext::childEvent(QChildEvent* event0) + +QRect PythonQtWrapper_QPageLayout::paintRectPoints(QPageLayout* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + return ( theWrappedObject->paintRectPoints()); +} + +bool PythonQtWrapper_QPageLayout::setBottomMargin(QPageLayout* theWrappedObject, qreal bottomMargin) +{ + return ( theWrappedObject->setBottomMargin(bottomMargin)); +} + +bool PythonQtWrapper_QPageLayout::setLeftMargin(QPageLayout* theWrappedObject, qreal leftMargin) +{ + return ( theWrappedObject->setLeftMargin(leftMargin)); +} + +bool PythonQtWrapper_QPageLayout::setMargins(QPageLayout* theWrappedObject, const QMarginsF& margins) +{ + return ( theWrappedObject->setMargins(margins)); +} + +void PythonQtWrapper_QPageLayout::setMinimumMargins(QPageLayout* theWrappedObject, const QMarginsF& minMargins) +{ + ( theWrappedObject->setMinimumMargins(minMargins)); +} + +void PythonQtWrapper_QPageLayout::setMode(QPageLayout* theWrappedObject, QPageLayout::Mode mode) +{ + ( theWrappedObject->setMode(mode)); +} + +void PythonQtWrapper_QPageLayout::setOrientation(QPageLayout* theWrappedObject, QPageLayout::Orientation orientation) +{ + ( theWrappedObject->setOrientation(orientation)); +} + +void PythonQtWrapper_QPageLayout::setPageSize(QPageLayout* theWrappedObject, const QPageSize& pageSize, const QMarginsF& minMargins) +{ + ( theWrappedObject->setPageSize(pageSize, minMargins)); +} + +bool PythonQtWrapper_QPageLayout::setRightMargin(QPageLayout* theWrappedObject, qreal rightMargin) +{ + return ( theWrappedObject->setRightMargin(rightMargin)); +} + +bool PythonQtWrapper_QPageLayout::setTopMargin(QPageLayout* theWrappedObject, qreal topMargin) +{ + return ( theWrappedObject->setTopMargin(topMargin)); +} + +void PythonQtWrapper_QPageLayout::setUnits(QPageLayout* theWrappedObject, QPageLayout::Unit units) +{ + ( theWrappedObject->setUnits(units)); +} + +void PythonQtWrapper_QPageLayout::swap(QPageLayout* theWrappedObject, QPageLayout& other) +{ + ( theWrappedObject->swap(other)); +} + +QPageLayout::Unit PythonQtWrapper_QPageLayout::units(QPageLayout* theWrappedObject) const +{ + return ( theWrappedObject->units()); +} + +QString PythonQtWrapper_QPageLayout::py_toString(QPageLayout* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QPageSetupDialog::~PythonQtShell_QPageSetupDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPageSetupDialog::accept() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("accept"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::accept(); +} +void PythonQtShell_QPageSetupDialog::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -9955,18 +9730,40 @@ if (_wrapper) { } } } - QOpenGLContext::childEvent(event0); + QPageSetupDialog::actionEvent(event0); } -void PythonQtShell_QOpenGLContext::customEvent(QEvent* event0) +void PythonQtShell_QPageSetupDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::changeEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } @@ -9977,61 +9774,94 @@ if (_wrapper) { } } } - QOpenGLContext::customEvent(event0); + QPageSetupDialog::childEvent(event0); } -bool PythonQtShell_QOpenGLContext::event(QEvent* event0) +void PythonQtShell_QPageSetupDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::closeEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::contextMenuEvent(arg__1); +} +void PythonQtShell_QPageSetupDialog::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QOpenGLContext::event(event0); + QPageSetupDialog::customEvent(event0); } -bool PythonQtShell_QOpenGLContext::eventFilter(QObject* watched0, QEvent* event1) +int PythonQtShell_QPageSetupDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -10043,19 +9873,19 @@ if (_wrapper) { } } } - return QOpenGLContext::eventFilter(watched0, event1); + return QPageSetupDialog::devType(); } -void PythonQtShell_QOpenGLContext::timerEvent(QTimerEvent* event0) +void PythonQtShell_QPageSetupDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10065,452 +9895,809 @@ if (_wrapper) { } } } - QOpenGLContext::timerEvent(event0); + QPageSetupDialog::done(result0); } -QOpenGLContext* PythonQtWrapper_QOpenGLContext::new_QOpenGLContext(QObject* parent) -{ -return new PythonQtShell_QOpenGLContext(parent); } - -const QMetaObject* PythonQtShell_QOpenGLContext::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLContext::staticMetaObject); - } else { - return &QOpenGLContext::staticMetaObject; +void PythonQtShell_QPageSetupDialog::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } } } -int PythonQtShell_QOpenGLContext::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOpenGLContext::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + QPageSetupDialog::dragEnterEvent(event0); } -bool PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_areSharing(QOpenGLContext* first, QOpenGLContext* second) +void PythonQtShell_QPageSetupDialog::dragLeaveEvent(QDragLeaveEvent* event0) { - return (QOpenGLContext::areSharing(first, second)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QOpenGLContext::create(QOpenGLContext* theWrappedObject) -{ - return ( theWrappedObject->create()); + QPageSetupDialog::dragLeaveEvent(event0); } - -QOpenGLContext* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_currentContext() +void PythonQtShell_QPageSetupDialog::dragMoveEvent(QDragMoveEvent* event0) { - return (QOpenGLContext::currentContext()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -GLuint PythonQtWrapper_QOpenGLContext::defaultFramebufferObject(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->defaultFramebufferObject()); + QPageSetupDialog::dragMoveEvent(event0); } - -void PythonQtWrapper_QOpenGLContext::doneCurrent(QOpenGLContext* theWrappedObject) +void PythonQtShell_QPageSetupDialog::dropEvent(QDropEvent* event0) { - ( theWrappedObject->doneCurrent()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QSet PythonQtWrapper_QOpenGLContext::extensions(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->extensions()); -} - -QSurfaceFormat PythonQtWrapper_QOpenGLContext::format(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -QOpenGLFunctions* PythonQtWrapper_QOpenGLContext::functions(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->functions()); -} - -QOpenGLContext* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_globalShareContext() -{ - return (QOpenGLContext::globalShareContext()); -} - -bool PythonQtWrapper_QOpenGLContext::hasExtension(QOpenGLContext* theWrappedObject, const QByteArray& extension) const -{ - return ( theWrappedObject->hasExtension(extension)); -} - -bool PythonQtWrapper_QOpenGLContext::isOpenGLES(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->isOpenGLES()); -} - -bool PythonQtWrapper_QOpenGLContext::isValid(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QOpenGLContext::makeCurrent(QOpenGLContext* theWrappedObject, QSurface* surface) -{ - return ( theWrappedObject->makeCurrent(surface)); -} - -QVariant PythonQtWrapper_QOpenGLContext::nativeHandle(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->nativeHandle()); + QPageSetupDialog::dropEvent(event0); } - -void* PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_openGLModuleHandle() -{ - return (QOpenGLContext::openGLModuleHandle()); -} - -QOpenGLContext::OpenGLModuleType PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_openGLModuleType() -{ - return (QOpenGLContext::openGLModuleType()); -} - -QScreen* PythonQtWrapper_QOpenGLContext::screen(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->screen()); -} - -void PythonQtWrapper_QOpenGLContext::setFormat(QOpenGLContext* theWrappedObject, const QSurfaceFormat& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QOpenGLContext::setNativeHandle(QOpenGLContext* theWrappedObject, const QVariant& handle) +void PythonQtShell_QPageSetupDialog::enterEvent(QEvent* event0) { - ( theWrappedObject->setNativeHandle(handle)); -} - -void PythonQtWrapper_QOpenGLContext::setScreen(QOpenGLContext* theWrappedObject, QScreen* screen) -{ - ( theWrappedObject->setScreen(screen)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLContext::setShareContext(QOpenGLContext* theWrappedObject, QOpenGLContext* shareContext) -{ - ( theWrappedObject->setShareContext(shareContext)); + QPageSetupDialog::enterEvent(event0); } - -QOpenGLContext* PythonQtWrapper_QOpenGLContext::shareContext(QOpenGLContext* theWrappedObject) const +bool PythonQtShell_QPageSetupDialog::event(QEvent* event0) { - return ( theWrappedObject->shareContext()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QOpenGLContextGroup* PythonQtWrapper_QOpenGLContext::shareGroup(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->shareGroup()); + return QPageSetupDialog::event(event0); } - -bool PythonQtWrapper_QOpenGLContext::static_QOpenGLContext_supportsThreadedOpenGL() +bool PythonQtShell_QPageSetupDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { - return (QOpenGLContext::supportsThreadedOpenGL()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QSurface* PythonQtWrapper_QOpenGLContext::surface(QOpenGLContext* theWrappedObject) const -{ - return ( theWrappedObject->surface()); + return QPageSetupDialog::eventFilter(arg__1, arg__2); } - -void PythonQtWrapper_QOpenGLContext::swapBuffers(QOpenGLContext* theWrappedObject, QSurface* surface) +int PythonQtShell_QPageSetupDialog::exec() { - ( theWrappedObject->swapBuffers(surface)); -} - -QString PythonQtWrapper_QOpenGLContext::py_toString(QOpenGLContext* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("exec"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -QOpenGLContextGroup* PythonQtWrapper_QOpenGLContextGroup::static_QOpenGLContextGroup_currentContextGroup() -{ - return (QOpenGLContextGroup::currentContextGroup()); + return QPageSetupDialog::exec(); } - -QList PythonQtWrapper_QOpenGLContextGroup::shares(QOpenGLContextGroup* theWrappedObject) const +void PythonQtShell_QPageSetupDialog::focusInEvent(QFocusEvent* event0) { - return ( theWrappedObject->shares()); -} - -QString PythonQtWrapper_QOpenGLContextGroup::py_toString(QOpenGLContextGroup* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QOpenGLFramebufferObject::~PythonQtShell_QOpenGLFramebufferObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QPageSetupDialog::focusInEvent(event0); } -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(const QSize& size, GLenum target) -{ -return new PythonQtShell_QOpenGLFramebufferObject(size, target); } - -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(const QSize& size, QOpenGLFramebufferObject::Attachment attachment, GLenum target, GLenum internalFormat) -{ -return new PythonQtShell_QOpenGLFramebufferObject(size, attachment, target, internalFormat); } - -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(const QSize& size, const QOpenGLFramebufferObjectFormat& format) -{ -return new PythonQtShell_QOpenGLFramebufferObject(size, format); } - -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, GLenum target) -{ -return new PythonQtShell_QOpenGLFramebufferObject(width, height, target); } - -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, QOpenGLFramebufferObject::Attachment attachment, GLenum target, GLenum internalFormat) -{ -return new PythonQtShell_QOpenGLFramebufferObject(width, height, attachment, target, internalFormat); } - -QOpenGLFramebufferObject* PythonQtWrapper_QOpenGLFramebufferObject::new_QOpenGLFramebufferObject(int width, int height, const QOpenGLFramebufferObjectFormat& format) -{ -return new PythonQtShell_QOpenGLFramebufferObject(width, height, format); } - -void PythonQtWrapper_QOpenGLFramebufferObject::addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, const QSize& size, GLenum internalFormat) +bool PythonQtShell_QPageSetupDialog::focusNextPrevChild(bool next0) { - ( theWrappedObject->addColorAttachment(size, internalFormat)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLFramebufferObject::addColorAttachment(QOpenGLFramebufferObject* theWrappedObject, int width, int height, GLenum internalFormat) -{ - ( theWrappedObject->addColorAttachment(width, height, internalFormat)); + return QPageSetupDialog::focusNextPrevChild(next0); } - -QOpenGLFramebufferObject::Attachment PythonQtWrapper_QOpenGLFramebufferObject::attachment(QOpenGLFramebufferObject* theWrappedObject) const +void PythonQtShell_QPageSetupDialog::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->attachment()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QOpenGLFramebufferObject::bind(QOpenGLFramebufferObject* theWrappedObject) -{ - return ( theWrappedObject->bind()); + QPageSetupDialog::focusOutEvent(event0); } - -bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_bindDefault() +bool PythonQtShell_QPageSetupDialog::hasHeightForWidth() const { - return (QOpenGLFramebufferObject::bindDefault()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, QOpenGLFramebufferObject* source, GLbitfield buffers, GLenum filter) -{ - (QOpenGLFramebufferObject::blitFramebuffer(target, source, buffers, filter)); + return QPageSetupDialog::hasHeightForWidth(); } - -void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter) +int PythonQtShell_QPageSetupDialog::heightForWidth(int arg__1) const { - (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex) -{ - (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter, readColorAttachmentIndex, drawColorAttachmentIndex)); + return QPageSetupDialog::heightForWidth(arg__1); } - -void PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_blitFramebuffer(QOpenGLFramebufferObject* target, const QRect& targetRect, QOpenGLFramebufferObject* source, const QRect& sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex, QOpenGLFramebufferObject::FramebufferRestorePolicy restorePolicy) +void PythonQtShell_QPageSetupDialog::hideEvent(QHideEvent* event0) { - (QOpenGLFramebufferObject::blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter, readColorAttachmentIndex, drawColorAttachmentIndex, restorePolicy)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QOpenGLFramebufferObjectFormat PythonQtWrapper_QOpenGLFramebufferObject::format(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->format()); + QPageSetupDialog::hideEvent(event0); } - -GLuint PythonQtWrapper_QOpenGLFramebufferObject::handle(QOpenGLFramebufferObject* theWrappedObject) const +void PythonQtShell_QPageSetupDialog::initPainter(QPainter* painter0) const { - return ( theWrappedObject->handle()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_hasOpenGLFramebufferBlit() -{ - return (QOpenGLFramebufferObject::hasOpenGLFramebufferBlit()); + QPageSetupDialog::initPainter(painter0); } - -bool PythonQtWrapper_QOpenGLFramebufferObject::static_QOpenGLFramebufferObject_hasOpenGLFramebufferObjects() +void PythonQtShell_QPageSetupDialog::inputMethodEvent(QInputMethodEvent* arg__1) { - return (QOpenGLFramebufferObject::hasOpenGLFramebufferObjects()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QOpenGLFramebufferObject::height(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->height()); + QPageSetupDialog::inputMethodEvent(arg__1); } - -bool PythonQtWrapper_QOpenGLFramebufferObject::isBound(QOpenGLFramebufferObject* theWrappedObject) const +QVariant PythonQtShell_QPageSetupDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { - return ( theWrappedObject->isBound()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QOpenGLFramebufferObject::isValid(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); + return QPageSetupDialog::inputMethodQuery(arg__1); } - -bool PythonQtWrapper_QOpenGLFramebufferObject::release(QOpenGLFramebufferObject* theWrappedObject) +void PythonQtShell_QPageSetupDialog::keyPressEvent(QKeyEvent* arg__1) { - return ( theWrappedObject->release()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLFramebufferObject::setAttachment(QOpenGLFramebufferObject* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment) -{ - ( theWrappedObject->setAttachment(attachment)); + QPageSetupDialog::keyPressEvent(arg__1); } - -QSize PythonQtWrapper_QOpenGLFramebufferObject::size(QOpenGLFramebufferObject* theWrappedObject) const +void PythonQtShell_QPageSetupDialog::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->size()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QVector PythonQtWrapper_QOpenGLFramebufferObject::sizes(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->sizes()); + QPageSetupDialog::keyReleaseEvent(event0); } - -GLuint PythonQtWrapper_QOpenGLFramebufferObject::takeTexture(QOpenGLFramebufferObject* theWrappedObject) +void PythonQtShell_QPageSetupDialog::leaveEvent(QEvent* event0) { - return ( theWrappedObject->takeTexture()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -GLuint PythonQtWrapper_QOpenGLFramebufferObject::takeTexture(QOpenGLFramebufferObject* theWrappedObject, int colorAttachmentIndex) -{ - return ( theWrappedObject->takeTexture(colorAttachmentIndex)); + QPageSetupDialog::leaveEvent(event0); } - -GLuint PythonQtWrapper_QOpenGLFramebufferObject::texture(QOpenGLFramebufferObject* theWrappedObject) const +int PythonQtShell_QPageSetupDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - return ( theWrappedObject->texture()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QVector PythonQtWrapper_QOpenGLFramebufferObject::textures(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->textures()); + return QPageSetupDialog::metric(arg__1); } - -QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject) const +QSize PythonQtShell_QPageSetupDialog::minimumSizeHint() const { - return ( theWrappedObject->toImage()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped) const -{ - return ( theWrappedObject->toImage(flipped)); + return QPageSetupDialog::minimumSizeHint(); } - -QImage PythonQtWrapper_QOpenGLFramebufferObject::toImage(QOpenGLFramebufferObject* theWrappedObject, bool flipped, int colorAttachmentIndex) const +void PythonQtShell_QPageSetupDialog::mouseDoubleClickEvent(QMouseEvent* event0) { - return ( theWrappedObject->toImage(flipped, colorAttachmentIndex)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QOpenGLFramebufferObject::width(QOpenGLFramebufferObject* theWrappedObject) const -{ - return ( theWrappedObject->width()); + QPageSetupDialog::mouseDoubleClickEvent(event0); } - - - -QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::new_QOpenGLFramebufferObjectFormat() -{ -return new QOpenGLFramebufferObjectFormat(); } - -QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::new_QOpenGLFramebufferObjectFormat(const QOpenGLFramebufferObjectFormat& other) -{ -return new QOpenGLFramebufferObjectFormat(other); } - -QOpenGLFramebufferObject::Attachment PythonQtWrapper_QOpenGLFramebufferObjectFormat::attachment(QOpenGLFramebufferObjectFormat* theWrappedObject) const +void PythonQtShell_QPageSetupDialog::mouseMoveEvent(QMouseEvent* event0) { - return ( theWrappedObject->attachment()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -GLenum PythonQtWrapper_QOpenGLFramebufferObjectFormat::internalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject) const -{ - return ( theWrappedObject->internalTextureFormat()); + QPageSetupDialog::mouseMoveEvent(event0); } - -bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::mipmap(QOpenGLFramebufferObjectFormat* theWrappedObject) const +void PythonQtShell_QPageSetupDialog::mousePressEvent(QMouseEvent* event0) { - return ( theWrappedObject->mipmap()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::__ne__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const -{ - return ( (*theWrappedObject)!= other); + QPageSetupDialog::mousePressEvent(event0); } - -QOpenGLFramebufferObjectFormat* PythonQtWrapper_QOpenGLFramebufferObjectFormat::operator_assign(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) +void PythonQtShell_QPageSetupDialog::mouseReleaseEvent(QMouseEvent* event0) { - return &( (*theWrappedObject)= other); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QOpenGLFramebufferObjectFormat::__eq__(QOpenGLFramebufferObjectFormat* theWrappedObject, const QOpenGLFramebufferObjectFormat& other) const -{ - return ( (*theWrappedObject)== other); + QPageSetupDialog::mouseReleaseEvent(event0); } - -int PythonQtWrapper_QOpenGLFramebufferObjectFormat::samples(QOpenGLFramebufferObjectFormat* theWrappedObject) const +void PythonQtShell_QPageSetupDialog::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->samples()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setAttachment(QOpenGLFramebufferObjectFormat* theWrappedObject, QOpenGLFramebufferObject::Attachment attachment) -{ - ( theWrappedObject->setAttachment(attachment)); + QPageSetupDialog::moveEvent(event0); } - -void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setInternalTextureFormat(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum internalTextureFormat) +bool PythonQtShell_QPageSetupDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - ( theWrappedObject->setInternalTextureFormat(internalTextureFormat)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setMipmap(QOpenGLFramebufferObjectFormat* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setMipmap(enabled)); + return QPageSetupDialog::nativeEvent(eventType0, message1, result2); } - -void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setSamples(QOpenGLFramebufferObjectFormat* theWrappedObject, int samples) +QPaintEngine* PythonQtShell_QPageSetupDialog::paintEngine() const { - ( theWrappedObject->setSamples(samples)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLFramebufferObjectFormat::setTextureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject, GLenum target) -{ - ( theWrappedObject->setTextureTarget(target)); + return QPageSetupDialog::paintEngine(); } - -GLenum PythonQtWrapper_QOpenGLFramebufferObjectFormat::textureTarget(QOpenGLFramebufferObjectFormat* theWrappedObject) const +void PythonQtShell_QPageSetupDialog::paintEvent(QPaintEvent* event0) { - return ( theWrappedObject->textureTarget()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QOpenGLPaintDevice::~PythonQtShell_QOpenGLPaintDevice() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QPageSetupDialog::paintEvent(event0); } -int PythonQtShell_QOpenGLPaintDevice::devType() const +QPaintDevice* PythonQtShell_QPageSetupDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } @@ -10522,14 +10709,14 @@ if (_wrapper) { } } } - return QOpenGLPaintDevice::devType(); + return QPageSetupDialog::redirected(offset0); } -void PythonQtShell_QOpenGLPaintDevice::ensureActiveTarget() +void PythonQtShell_QPageSetupDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("ensureActiveTarget"); + static PyObject* name = PyUnicode_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={""}; @@ -10544,19 +10731,19 @@ if (_wrapper) { } } } - QOpenGLPaintDevice::ensureActiveTarget(); + QPageSetupDialog::reject(); } -void PythonQtShell_QOpenGLPaintDevice::initPainter(QPainter* painter0) const +void PythonQtShell_QPageSetupDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); + static PyObject* name = PyUnicode_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10566,61 +10753,50 @@ if (_wrapper) { } } } - QOpenGLPaintDevice::initPainter(painter0); + QPageSetupDialog::resizeEvent(arg__1); } -int PythonQtShell_QOpenGLPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const +void PythonQtShell_QPageSetupDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&metric0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QOpenGLPaintDevice::metric(metric0); + QPageSetupDialog::setVisible(visible0); } -QPaintEngine* PythonQtShell_QOpenGLPaintDevice::paintEngine() const +QPainter* PythonQtShell_QPageSetupDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; + QPainter* returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QPainter**)args[0]); } } } @@ -10632,61 +10808,50 @@ if (_wrapper) { } } } - return QOpenGLPaintDevice::paintEngine(); + return QPageSetupDialog::sharedPainter(); } -QPaintDevice* PythonQtShell_QOpenGLPaintDevice::redirected(QPoint* offset0) const +void PythonQtShell_QPageSetupDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QOpenGLPaintDevice::redirected(offset0); + QPageSetupDialog::showEvent(arg__1); } -QPainter* PythonQtShell_QOpenGLPaintDevice::sharedPainter() const +QSize PythonQtShell_QPageSetupDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -10698,319 +10863,411 @@ if (_wrapper) { } } } - return QOpenGLPaintDevice::sharedPainter(); + return QPageSetupDialog::sizeHint(); +} +void PythonQtShell_QPageSetupDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::tabletEvent(event0); +} +void PythonQtShell_QPageSetupDialog::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::timerEvent(event0); +} +void PythonQtShell_QPageSetupDialog::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPageSetupDialog::wheelEvent(event0); +} +QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QPrinter* printer, QWidget* parent) +{ +return new PythonQtShell_QPageSetupDialog(printer, parent); } + +QPageSetupDialog* PythonQtWrapper_QPageSetupDialog::new_QPageSetupDialog(QWidget* parent) +{ +return new PythonQtShell_QPageSetupDialog(parent); } + +const QMetaObject* PythonQtShell_QPageSetupDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPageSetupDialog::staticMetaObject); + } else { + return &QPageSetupDialog::staticMetaObject; + } +} +int PythonQtShell_QPageSetupDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPageSetupDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QPageSetupDialog::open(QPageSetupDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QPrinter* PythonQtWrapper_QPageSetupDialog::printer(QPageSetupDialog* theWrappedObject) +{ + return ( theWrappedObject->printer()); } -QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice() + + + +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize() +{ +return new QPageSize(); } + +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(QPageSize::PageSizeId pageSizeId) +{ +return new QPageSize(pageSizeId); } + +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(const QPageSize& other) { -return new PythonQtShell_QOpenGLPaintDevice(); } +return new QPageSize(other); } -QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice(const QSize& size) +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(const QSize& pointSize, const QString& name, QPageSize::SizeMatchPolicy matchPolicy) { -return new PythonQtShell_QOpenGLPaintDevice(size); } +return new QPageSize(pointSize, name, matchPolicy); } -QOpenGLPaintDevice* PythonQtWrapper_QOpenGLPaintDevice::new_QOpenGLPaintDevice(int width, int height) +QPageSize* PythonQtWrapper_QPageSize::new_QPageSize(const QSizeF& size, QPageSize::Unit units, const QString& name, QPageSize::SizeMatchPolicy matchPolicy) { -return new PythonQtShell_QOpenGLPaintDevice(width, height); } +return new QPageSize(size, units, name, matchPolicy); } -QOpenGLContext* PythonQtWrapper_QOpenGLPaintDevice::context(QOpenGLPaintDevice* theWrappedObject) const +QSizeF PythonQtWrapper_QPageSize::definitionSize(QPageSize* theWrappedObject) const { - return ( theWrappedObject->context()); + return ( theWrappedObject->definitionSize()); } -qreal PythonQtWrapper_QOpenGLPaintDevice::dotsPerMeterX(QOpenGLPaintDevice* theWrappedObject) const +QSizeF PythonQtWrapper_QPageSize::static_QPageSize_definitionSize(QPageSize::PageSizeId pageSizeId) { - return ( theWrappedObject->dotsPerMeterX()); + return (QPageSize::definitionSize(pageSizeId)); } -qreal PythonQtWrapper_QOpenGLPaintDevice::dotsPerMeterY(QOpenGLPaintDevice* theWrappedObject) const +QPageSize::Unit PythonQtWrapper_QPageSize::definitionUnits(QPageSize* theWrappedObject) const { - return ( theWrappedObject->dotsPerMeterY()); + return ( theWrappedObject->definitionUnits()); } -void PythonQtWrapper_QOpenGLPaintDevice::ensureActiveTarget(QOpenGLPaintDevice* theWrappedObject) +QPageSize::Unit PythonQtWrapper_QPageSize::static_QPageSize_definitionUnits(QPageSize::PageSizeId pageSizeId) { - ( theWrappedObject->ensureActiveTarget()); + return (QPageSize::definitionUnits(pageSizeId)); } -bool PythonQtWrapper_QOpenGLPaintDevice::paintFlipped(QOpenGLPaintDevice* theWrappedObject) const +QPageSize::PageSizeId PythonQtWrapper_QPageSize::id(QPageSize* theWrappedObject) const { - return ( theWrappedObject->paintFlipped()); + return ( theWrappedObject->id()); } -void PythonQtWrapper_QOpenGLPaintDevice::setDevicePixelRatio(QOpenGLPaintDevice* theWrappedObject, qreal devicePixelRatio) +QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(const QSize& pointSize, QPageSize::SizeMatchPolicy matchPolicy) { - ( theWrappedObject->setDevicePixelRatio(devicePixelRatio)); + return (QPageSize::id(pointSize, matchPolicy)); } -void PythonQtWrapper_QOpenGLPaintDevice::setDotsPerMeterX(QOpenGLPaintDevice* theWrappedObject, qreal arg__1) +QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(const QSizeF& size, QPageSize::Unit units, QPageSize::SizeMatchPolicy matchPolicy) { - ( theWrappedObject->setDotsPerMeterX(arg__1)); + return (QPageSize::id(size, units, matchPolicy)); } -void PythonQtWrapper_QOpenGLPaintDevice::setDotsPerMeterY(QOpenGLPaintDevice* theWrappedObject, qreal arg__1) +QPageSize::PageSizeId PythonQtWrapper_QPageSize::static_QPageSize_id(int windowsId) { - ( theWrappedObject->setDotsPerMeterY(arg__1)); + return (QPageSize::id(windowsId)); } -void PythonQtWrapper_QOpenGLPaintDevice::setPaintFlipped(QOpenGLPaintDevice* theWrappedObject, bool flipped) +bool PythonQtWrapper_QPageSize::isEquivalentTo(QPageSize* theWrappedObject, const QPageSize& other) const { - ( theWrappedObject->setPaintFlipped(flipped)); + return ( theWrappedObject->isEquivalentTo(other)); } -void PythonQtWrapper_QOpenGLPaintDevice::setSize(QOpenGLPaintDevice* theWrappedObject, const QSize& size) +bool PythonQtWrapper_QPageSize::isValid(QPageSize* theWrappedObject) const { - ( theWrappedObject->setSize(size)); + return ( theWrappedObject->isValid()); } -QSize PythonQtWrapper_QOpenGLPaintDevice::size(QOpenGLPaintDevice* theWrappedObject) const +QString PythonQtWrapper_QPageSize::key(QPageSize* theWrappedObject) const { - return ( theWrappedObject->size()); + return ( theWrappedObject->key()); } +QString PythonQtWrapper_QPageSize::static_QPageSize_key(QPageSize::PageSizeId pageSizeId) +{ + return (QPageSize::key(pageSizeId)); +} +QString PythonQtWrapper_QPageSize::name(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} -PythonQtShell_QOpenGLShader::~PythonQtShell_QOpenGLShader() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QString PythonQtWrapper_QPageSize::static_QPageSize_name(QPageSize::PageSizeId pageSizeId) +{ + return (QPageSize::name(pageSizeId)); } -void PythonQtShell_QOpenGLShader::childEvent(QChildEvent* event0) + +bool PythonQtWrapper_QPageSize::__ne__(QPageSize* theWrappedObject, const QPageSize& rhs) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)!= rhs); } - QOpenGLShader::childEvent(event0); + +QPageSize* PythonQtWrapper_QPageSize::operator_assign(QPageSize* theWrappedObject, const QPageSize& other) +{ + return &( (*theWrappedObject)= other); } -void PythonQtShell_QOpenGLShader::customEvent(QEvent* event0) + +bool PythonQtWrapper_QPageSize::__eq__(QPageSize* theWrappedObject, const QPageSize& rhs) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)== rhs); +} + +QRectF PythonQtWrapper_QPageSize::rect(QPageSize* theWrappedObject, QPageSize::Unit units) const +{ + return ( theWrappedObject->rect(units)); +} + +QRect PythonQtWrapper_QPageSize::rectPixels(QPageSize* theWrappedObject, int resolution) const +{ + return ( theWrappedObject->rectPixels(resolution)); +} + +QRect PythonQtWrapper_QPageSize::rectPoints(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->rectPoints()); +} + +QSizeF PythonQtWrapper_QPageSize::static_QPageSize_size(QPageSize::PageSizeId pageSizeId, QPageSize::Unit units) +{ + return (QPageSize::size(pageSizeId, units)); +} + +QSizeF PythonQtWrapper_QPageSize::size(QPageSize* theWrappedObject, QPageSize::Unit units) const +{ + return ( theWrappedObject->size(units)); +} + +QSize PythonQtWrapper_QPageSize::static_QPageSize_sizePixels(QPageSize::PageSizeId pageSizeId, int resolution) +{ + return (QPageSize::sizePixels(pageSizeId, resolution)); } - QOpenGLShader::customEvent(event0); + +QSize PythonQtWrapper_QPageSize::sizePixels(QPageSize* theWrappedObject, int resolution) const +{ + return ( theWrappedObject->sizePixels(resolution)); +} + +QSize PythonQtWrapper_QPageSize::sizePoints(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->sizePoints()); +} + +QSize PythonQtWrapper_QPageSize::static_QPageSize_sizePoints(QPageSize::PageSizeId pageSizeId) +{ + return (QPageSize::sizePoints(pageSizeId)); } -bool PythonQtShell_QOpenGLShader::event(QEvent* event0) + +void PythonQtWrapper_QPageSize::swap(QPageSize* theWrappedObject, QPageSize& other) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->swap(other)); } - return QOpenGLShader::event(event0); + +int PythonQtWrapper_QPageSize::windowsId(QPageSize* theWrappedObject) const +{ + return ( theWrappedObject->windowsId()); } -bool PythonQtShell_QOpenGLShader::eventFilter(QObject* watched0, QEvent* event1) + +int PythonQtWrapper_QPageSize::static_QPageSize_windowsId(QPageSize::PageSizeId pageSizeId) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QPageSize::windowsId(pageSizeId)); } - return QOpenGLShader::eventFilter(watched0, event1); + +QString PythonQtWrapper_QPageSize::py_toString(QPageSize* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -void PythonQtShell_QOpenGLShader::timerEvent(QTimerEvent* event0) + + + +QPageLayout* PythonQtWrapper_QPagedPaintDevice::devicePageLayout(QPagedPaintDevice* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return &( ((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->promoted_devicePageLayout()); } - QOpenGLShader::timerEvent(event0); + +QPagedPaintDevice::Margins PythonQtWrapper_QPagedPaintDevice::margins(QPagedPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->margins()); } -QOpenGLShader* PythonQtWrapper_QOpenGLShader::new_QOpenGLShader(QOpenGLShader::ShaderType type, QObject* parent) -{ -return new PythonQtShell_QOpenGLShader(type, parent); } -const QMetaObject* PythonQtShell_QOpenGLShader::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLShader::staticMetaObject); - } else { - return &QOpenGLShader::staticMetaObject; - } +bool PythonQtWrapper_QPagedPaintDevice::newPage(QPagedPaintDevice* theWrappedObject) +{ + return ( theWrappedObject->newPage()); } -int PythonQtShell_QOpenGLShader::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOpenGLShader::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +QPageLayout PythonQtWrapper_QPagedPaintDevice::pageLayout(QPagedPaintDevice* theWrappedObject) const +{ + return ( theWrappedObject->pageLayout()); } -bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const QByteArray& source) + +QPagedPaintDevice::PageSize PythonQtWrapper_QPagedPaintDevice::pageSize(QPagedPaintDevice* theWrappedObject) const { - return ( theWrappedObject->compileSourceCode(source)); + return ( theWrappedObject->pageSize()); } -bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const QString& source) +QSizeF PythonQtWrapper_QPagedPaintDevice::pageSizeMM(QPagedPaintDevice* theWrappedObject) const { - return ( theWrappedObject->compileSourceCode(source)); + return ( theWrappedObject->pageSizeMM()); } -bool PythonQtWrapper_QOpenGLShader::compileSourceCode(QOpenGLShader* theWrappedObject, const char* source) +void PythonQtWrapper_QPagedPaintDevice::setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins) { - return ( theWrappedObject->compileSourceCode(source)); + ( theWrappedObject->setMargins(margins)); } -bool PythonQtWrapper_QOpenGLShader::compileSourceFile(QOpenGLShader* theWrappedObject, const QString& fileName) +bool PythonQtWrapper_QPagedPaintDevice::setPageLayout(QPagedPaintDevice* theWrappedObject, const QPageLayout& pageLayout) { - return ( theWrappedObject->compileSourceFile(fileName)); + return ( theWrappedObject->setPageLayout(pageLayout)); } -bool PythonQtWrapper_QOpenGLShader::static_QOpenGLShader_hasOpenGLShaders(QOpenGLShader::ShaderType type, QOpenGLContext* context) +bool PythonQtWrapper_QPagedPaintDevice::setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins) { - return (QOpenGLShader::hasOpenGLShaders(type, context)); + return ( theWrappedObject->setPageMargins(margins)); } -bool PythonQtWrapper_QOpenGLShader::isCompiled(QOpenGLShader* theWrappedObject) const +bool PythonQtWrapper_QPagedPaintDevice::setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins, QPageLayout::Unit units) { - return ( theWrappedObject->isCompiled()); + return ( theWrappedObject->setPageMargins(margins, units)); } -QString PythonQtWrapper_QOpenGLShader::log(QOpenGLShader* theWrappedObject) const +bool PythonQtWrapper_QPagedPaintDevice::setPageOrientation(QPagedPaintDevice* theWrappedObject, QPageLayout::Orientation orientation) { - return ( theWrappedObject->log()); + return ( theWrappedObject->setPageOrientation(orientation)); } -GLuint PythonQtWrapper_QOpenGLShader::shaderId(QOpenGLShader* theWrappedObject) const +void PythonQtWrapper_QPagedPaintDevice::setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size) { - return ( theWrappedObject->shaderId()); + ( theWrappedObject->setPageSize(size)); } -QOpenGLShader::ShaderType PythonQtWrapper_QOpenGLShader::shaderType(QOpenGLShader* theWrappedObject) const +bool PythonQtWrapper_QPagedPaintDevice::setPageSize(QPagedPaintDevice* theWrappedObject, const QPageSize& pageSize) { - return ( theWrappedObject->shaderType()); + return ( theWrappedObject->setPageSize(pageSize)); } -QByteArray PythonQtWrapper_QOpenGLShader::sourceCode(QOpenGLShader* theWrappedObject) const +void PythonQtWrapper_QPagedPaintDevice::setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size) { - return ( theWrappedObject->sourceCode()); + ( theWrappedObject->setPageSizeMM(size)); +} + + + +PythonQtShell_QPagedPaintDevice__Margins::~PythonQtShell_QPagedPaintDevice__Margins() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QPagedPaintDevice::Margins* PythonQtWrapper_QPagedPaintDevice__Margins::new_QPagedPaintDevice__Margins() +{ +return new PythonQtShell_QPagedPaintDevice__Margins(); } -PythonQtShell_QOpenGLShaderProgram::~PythonQtShell_QOpenGLShaderProgram() { +PythonQtShell_QPaintDevice::~PythonQtShell_QPaintDevice() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QOpenGLShaderProgram::childEvent(QChildEvent* event0) +int PythonQtShell_QPaintDevice::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QOpenGLShaderProgram::childEvent(event0); + return QPaintDevice::devType(); } -void PythonQtShell_QOpenGLShaderProgram::customEvent(QEvent* event0) +void PythonQtShell_QPaintDevice::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11020,28 +11277,28 @@ if (_wrapper) { } } } - QOpenGLShaderProgram::customEvent(event0); + QPaintDevice::initPainter(painter0); } -bool PythonQtShell_QOpenGLShaderProgram::event(QEvent* event0) +int PythonQtShell_QPaintDevice::metric(QPaintDevice::PaintDeviceMetric metric0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -11053,28 +11310,28 @@ if (_wrapper) { } } } - return QOpenGLShaderProgram::event(event0); + return QPaintDevice::metric(metric0); } -bool PythonQtShell_QOpenGLShaderProgram::eventFilter(QObject* watched0, QEvent* event1) +QPaintEngine* PythonQtShell_QPaintDevice::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } @@ -11086,28 +11343,28 @@ if (_wrapper) { } } } - return QOpenGLShaderProgram::eventFilter(watched0, event1); + return nullptr; } -bool PythonQtShell_QOpenGLShaderProgram::link() +QPaintDevice* PythonQtShell_QPaintDevice::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("link"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("link", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } @@ -11119,3568 +11376,2483 @@ if (_wrapper) { } } } - return QOpenGLShaderProgram::link(); + return QPaintDevice::redirected(offset0); } -void PythonQtShell_QOpenGLShaderProgram::timerEvent(QTimerEvent* event0) +QPainter* PythonQtShell_QPaintDevice::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLShaderProgram::timerEvent(event0); -} -QOpenGLShaderProgram* PythonQtWrapper_QOpenGLShaderProgram::new_QOpenGLShaderProgram(QObject* parent) -{ -return new PythonQtShell_QOpenGLShaderProgram(parent); } - -const QMetaObject* PythonQtShell_QOpenGLShaderProgram::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLShaderProgram::staticMetaObject); - } else { - return &QOpenGLShaderProgram::staticMetaObject; - } -} -int PythonQtShell_QOpenGLShaderProgram::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOpenGLShaderProgram::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source) -{ - return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source) -{ - return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source) -{ - return ( theWrappedObject->addCacheableShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addCacheableShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName) -{ - return ( theWrappedObject->addCacheableShaderFromSourceFile(type, fileName)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader) -{ - return ( theWrappedObject->addShader(shader)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QByteArray& source) -{ - return ( theWrappedObject->addShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& source) -{ - return ( theWrappedObject->addShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceCode(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const char* source) -{ - return ( theWrappedObject->addShaderFromSourceCode(type, source)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::addShaderFromSourceFile(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader::ShaderType type, const QString& fileName) -{ - return ( theWrappedObject->addShaderFromSourceFile(type, fileName)); -} - -int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const -{ - return ( theWrappedObject->attributeLocation(name)); -} - -int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const -{ - return ( theWrappedObject->attributeLocation(name)); -} - -int PythonQtWrapper_QOpenGLShaderProgram::attributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const -{ - return ( theWrappedObject->attributeLocation(name)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::bind(QOpenGLShaderProgram* theWrappedObject) -{ - return ( theWrappedObject->bind()); -} - -void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name, int location) -{ - ( theWrappedObject->bindAttributeLocation(name, location)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name, int location) -{ - ( theWrappedObject->bindAttributeLocation(name, location)); -} - -void PythonQtWrapper_QOpenGLShaderProgram::bindAttributeLocation(QOpenGLShaderProgram* theWrappedObject, const char* name, int location) -{ - ( theWrappedObject->bindAttributeLocation(name, location)); -} - -bool PythonQtWrapper_QOpenGLShaderProgram::create(QOpenGLShaderProgram* theWrappedObject) -{ - return ( theWrappedObject->create()); -} - -QVector PythonQtWrapper_QOpenGLShaderProgram::defaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->defaultInnerTessellationLevels()); -} - -QVector PythonQtWrapper_QOpenGLShaderProgram::defaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject) const -{ - return ( theWrappedObject->defaultOuterTessellationLevels()); -} - -void PythonQtWrapper_QOpenGLShaderProgram::disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name) -{ - ( theWrappedObject->disableAttributeArray(name)); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::disableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location) -{ - ( theWrappedObject->disableAttributeArray(location)); + return QPaintDevice::sharedPainter(); } +QPaintDevice* PythonQtWrapper_QPaintDevice::new_QPaintDevice() +{ +return new PythonQtShell_QPaintDevice(); } -void PythonQtWrapper_QOpenGLShaderProgram::enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name) +int PythonQtWrapper_QPaintDevice::colorCount(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->enableAttributeArray(name)); + return ( theWrappedObject->colorCount()); } -void PythonQtWrapper_QOpenGLShaderProgram::enableAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location) +int PythonQtWrapper_QPaintDevice::depth(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->enableAttributeArray(location)); + return ( theWrappedObject->depth()); } -bool PythonQtWrapper_QOpenGLShaderProgram::static_QOpenGLShaderProgram_hasOpenGLShaderPrograms(QOpenGLContext* context) +int PythonQtWrapper_QPaintDevice::devType(QPaintDevice* theWrappedObject) const { - return (QOpenGLShaderProgram::hasOpenGLShaderPrograms(context)); + return ( theWrappedObject->devType()); } -bool PythonQtWrapper_QOpenGLShaderProgram::isLinked(QOpenGLShaderProgram* theWrappedObject) const +int PythonQtWrapper_QPaintDevice::devicePixelRatio(QPaintDevice* theWrappedObject) const { - return ( theWrappedObject->isLinked()); + return ( theWrappedObject->devicePixelRatio()); } -bool PythonQtWrapper_QOpenGLShaderProgram::link(QOpenGLShaderProgram* theWrappedObject) +qreal PythonQtWrapper_QPaintDevice::devicePixelRatioF(QPaintDevice* theWrappedObject) const { - return ( theWrappedObject->link()); + return ( theWrappedObject->devicePixelRatioF()); } -QString PythonQtWrapper_QOpenGLShaderProgram::log(QOpenGLShaderProgram* theWrappedObject) const +qreal PythonQtWrapper_QPaintDevice::static_QPaintDevice_devicePixelRatioFScale() { - return ( theWrappedObject->log()); + return (QPaintDevice::devicePixelRatioFScale()); } -int PythonQtWrapper_QOpenGLShaderProgram::maxGeometryOutputVertices(QOpenGLShaderProgram* theWrappedObject) const +int PythonQtWrapper_QPaintDevice::height(QPaintDevice* theWrappedObject) const { - return ( theWrappedObject->maxGeometryOutputVertices()); + return ( theWrappedObject->height()); } -int PythonQtWrapper_QOpenGLShaderProgram::patchVertexCount(QOpenGLShaderProgram* theWrappedObject) const +int PythonQtWrapper_QPaintDevice::heightMM(QPaintDevice* theWrappedObject) const { - return ( theWrappedObject->patchVertexCount()); + return ( theWrappedObject->heightMM()); } -GLuint PythonQtWrapper_QOpenGLShaderProgram::programId(QOpenGLShaderProgram* theWrappedObject) const +void PythonQtWrapper_QPaintDevice::initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const { - return ( theWrappedObject->programId()); + ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_initPainter(painter)); } -void PythonQtWrapper_QOpenGLShaderProgram::release(QOpenGLShaderProgram* theWrappedObject) +int PythonQtWrapper_QPaintDevice::logicalDpiX(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->release()); + return ( theWrappedObject->logicalDpiX()); } -void PythonQtWrapper_QOpenGLShaderProgram::removeAllShaders(QOpenGLShaderProgram* theWrappedObject) +int PythonQtWrapper_QPaintDevice::logicalDpiY(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->removeAllShaders()); + return ( theWrappedObject->logicalDpiY()); } -void PythonQtWrapper_QOpenGLShaderProgram::removeShader(QOpenGLShaderProgram* theWrappedObject, QOpenGLShader* shader) +int PythonQtWrapper_QPaintDevice::metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const { - ( theWrappedObject->removeShader(shader)); + return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_metric(metric)); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, const void* values, int tupleSize, int stride) +QPaintEngine* PythonQtWrapper_QPaintDevice::paintEngine(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->setAttributeArray(name, type, values, tupleSize, stride)); + return ( theWrappedObject->paintEngine()); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int tupleSize, int stride) +bool PythonQtWrapper_QPaintDevice::paintingActive(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->setAttributeArray(name, values, tupleSize, stride)); + return ( theWrappedObject->paintingActive()); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int stride) +int PythonQtWrapper_QPaintDevice::physicalDpiX(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->setAttributeArray(name, values, stride)); + return ( theWrappedObject->physicalDpiX()); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int stride) +int PythonQtWrapper_QPaintDevice::physicalDpiY(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->setAttributeArray(name, values, stride)); + return ( theWrappedObject->physicalDpiY()); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int stride) +QPaintDevice* PythonQtWrapper_QPaintDevice::redirected(QPaintDevice* theWrappedObject, QPoint* offset) const { - ( theWrappedObject->setAttributeArray(name, values, stride)); + return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_redirected(offset)); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, const void* values, int tupleSize, int stride) +QPainter* PythonQtWrapper_QPaintDevice::sharedPainter(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->setAttributeArray(location, type, values, tupleSize, stride)); + return ( ((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->promoted_sharedPainter()); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int tupleSize, int stride) +int PythonQtWrapper_QPaintDevice::width(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->setAttributeArray(location, values, tupleSize, stride)); + return ( theWrappedObject->width()); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int stride) +int PythonQtWrapper_QPaintDevice::widthMM(QPaintDevice* theWrappedObject) const { - ( theWrappedObject->setAttributeArray(location, values, stride)); + return ( theWrappedObject->widthMM()); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(location, values, stride)); -} -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int stride) -{ - ( theWrappedObject->setAttributeArray(location, values, stride)); -} -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, const char* name, GLenum type, int offset, int tupleSize, int stride) +void PythonQtWrapper_QPaintDeviceWindow::paintEvent(QPaintDeviceWindow* theWrappedObject, QPaintEvent* event) { - ( theWrappedObject->setAttributeBuffer(name, type, offset, tupleSize, stride)); + ( ((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->promoted_paintEvent(event)); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeBuffer(QOpenGLShaderProgram* theWrappedObject, int location, GLenum type, int offset, int tupleSize, int stride) +void PythonQtWrapper_QPaintDeviceWindow::update(QPaintDeviceWindow* theWrappedObject, const QRect& rect) { - ( theWrappedObject->setAttributeBuffer(location, type, offset, tupleSize, stride)); + ( theWrappedObject->update(rect)); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value) +void PythonQtWrapper_QPaintDeviceWindow::update(QPaintDeviceWindow* theWrappedObject, const QRegion& region) { - ( theWrappedObject->setAttributeValue(name, value)); + ( theWrappedObject->update(region)); } -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) -{ - ( theWrappedObject->setAttributeValue(name, x, y)); -} -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->setAttributeValue(name, x, y, z)); -} -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) -{ - ( theWrappedObject->setAttributeValue(name, x, y, z, w)); +PythonQtShell_QPaintEngine::~PythonQtShell_QPaintEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int columns, int rows) +bool PythonQtShell_QPaintEngine::begin(QPaintDevice* pdev0) { - ( theWrappedObject->setAttributeValue(name, values, columns, rows)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("begin"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QPaintDevice*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pdev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("begin", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& value) -{ - ( theWrappedObject->setAttributeValue(name, value)); + return bool(); } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) +QPoint PythonQtShell_QPaintEngine::coordinateOffset() const { - ( theWrappedObject->setAttributeValue(name, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("coordinateOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPoint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPoint returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("coordinateOffset", methodInfo, result); + } else { + returnValue = *((QPoint*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) -{ - ( theWrappedObject->setAttributeValue(name, value)); + return QPaintEngine::coordinateOffset(); } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) +void PythonQtShell_QPaintEngine::drawEllipse(const QRect& r0) { - ( theWrappedObject->setAttributeValue(name, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawEllipse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&r0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value) -{ - ( theWrappedObject->setAttributeValue(location, value)); + QPaintEngine::drawEllipse(r0); } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) +void PythonQtShell_QPaintEngine::drawEllipse(const QRectF& r0) { - ( theWrappedObject->setAttributeValue(location, x, y)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawEllipse"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&r0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->setAttributeValue(location, x, y, z)); + QPaintEngine::drawEllipse(r0); } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +void PythonQtShell_QPaintEngine::drawImage(const QRectF& r0, const QImage& pm1, const QRectF& sr2, Qt::ImageConversionFlags flags3) { - ( theWrappedObject->setAttributeValue(location, x, y, z, w)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawImage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QImage&" , "const QRectF&" , "Qt::ImageConversionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&r0, (void*)&pm1, (void*)&sr2, (void*)&flags3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int columns, int rows) -{ - ( theWrappedObject->setAttributeValue(location, values, columns, rows)); + QPaintEngine::drawImage(r0, pm1, sr2, flags3); } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& value) +void PythonQtShell_QPaintEngine::drawLines(const QLine* lines0, int lineCount1) { - ( theWrappedObject->setAttributeValue(location, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawLines"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QLine*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&lines0, (void*)&lineCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value) -{ - ( theWrappedObject->setAttributeValue(location, value)); + QPaintEngine::drawLines(lines0, lineCount1); } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value) +void PythonQtShell_QPaintEngine::drawLines(const QLineF* lines0, int lineCount1) { - ( theWrappedObject->setAttributeValue(location, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawLines"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QLineF*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&lines0, (void*)&lineCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setAttributeValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value) -{ - ( theWrappedObject->setAttributeValue(location, value)); + QPaintEngine::drawLines(lines0, lineCount1); } - -void PythonQtWrapper_QOpenGLShaderProgram::setDefaultInnerTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels) +void PythonQtShell_QPaintEngine::drawPath(const QPainterPath& path0) { - ( theWrappedObject->setDefaultInnerTessellationLevels(levels)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPainterPath&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&path0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setDefaultOuterTessellationLevels(QOpenGLShaderProgram* theWrappedObject, const QVector& levels) -{ - ( theWrappedObject->setDefaultOuterTessellationLevels(levels)); + QPaintEngine::drawPath(path0); } - -void PythonQtWrapper_QOpenGLShaderProgram::setPatchVertexCount(QOpenGLShaderProgram* theWrappedObject, int count) +void PythonQtShell_QPaintEngine::drawPixmap(const QRectF& r0, const QPixmap& pm1, const QRectF& sr2) { - ( theWrappedObject->setPatchVertexCount(count)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&r0, (void*)&pm1, (void*)&sr2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat value) -{ - ( theWrappedObject->setUniformValue(name, value)); + } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y) +void PythonQtShell_QPaintEngine::drawPoints(const QPoint* points0, int pointCount1) { - ( theWrappedObject->setUniformValue(name, x, y)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawPoints"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPoint*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&points0, (void*)&pointCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->setUniformValue(name, x, y, z)); + QPaintEngine::drawPoints(points0, pointCount1); } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +void PythonQtShell_QPaintEngine::drawPoints(const QPointF* points0, int pointCount1) { - ( theWrappedObject->setUniformValue(name, x, y, z, w)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawPoints"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPointF*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&points0, (void*)&pointCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLint value) -{ - ( theWrappedObject->setUniformValue(name, value)); + QPaintEngine::drawPoints(points0, pointCount1); } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, GLuint value) +void PythonQtShell_QPaintEngine::drawPolygon(const QPoint* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) { - ( theWrappedObject->setUniformValue(name, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawPolygon"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPoint*" , "int" , "QPaintEngine::PolygonDrawMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&points0, (void*)&pointCount1, (void*)&mode2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QColor& color) -{ - ( theWrappedObject->setUniformValue(name, color)); + QPaintEngine::drawPolygon(points0, pointCount1, mode2); } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4& value) +void PythonQtShell_QPaintEngine::drawPolygon(const QPointF* points0, int pointCount1, QPaintEngine::PolygonDrawMode mode2) { - ( theWrappedObject->setUniformValue(name, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawPolygon"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPointF*" , "int" , "QPaintEngine::PolygonDrawMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&points0, (void*)&pointCount1, (void*)&mode2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPoint& point) -{ - ( theWrappedObject->setUniformValue(name, point)); + QPaintEngine::drawPolygon(points0, pointCount1, mode2); } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QPointF& point) +void PythonQtShell_QPaintEngine::drawRects(const QRect* rects0, int rectCount1) { - ( theWrappedObject->setUniformValue(name, point)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawRects"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rects0, (void*)&rectCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSize& size) -{ - ( theWrappedObject->setUniformValue(name, size)); + QPaintEngine::drawRects(rects0, rectCount1); } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QSizeF& size) +void PythonQtShell_QPaintEngine::drawRects(const QRectF* rects0, int rectCount1) { - ( theWrappedObject->setUniformValue(name, size)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawRects"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF*" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rects0, (void*)&rectCount1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QTransform& value) -{ - ( theWrappedObject->setUniformValue(name, value)); + QPaintEngine::drawRects(rects0, rectCount1); } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D& value) +void PythonQtShell_QPaintEngine::drawTextItem(const QPointF& p0, const QTextItem& textItem1) { - ( theWrappedObject->setUniformValue(name, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawTextItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPointF&" , "const QTextItem&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&p0, (void*)&textItem1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D& value) -{ - ( theWrappedObject->setUniformValue(name, value)); + QPaintEngine::drawTextItem(p0, textItem1); } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D& value) +void PythonQtShell_QPaintEngine::drawTiledPixmap(const QRectF& r0, const QPixmap& pixmap1, const QPointF& s2) { - ( theWrappedObject->setUniformValue(name, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawTiledPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&" , "const QPixmap&" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&r0, (void*)&pixmap1, (void*)&s2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat value) -{ - ( theWrappedObject->setUniformValue(location, value)); + QPaintEngine::drawTiledPixmap(r0, pixmap1, s2); } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y) +bool PythonQtShell_QPaintEngine::end() { - ( theWrappedObject->setUniformValue(location, x, y)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("end"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("end", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z) -{ - ( theWrappedObject->setUniformValue(location, x, y, z)); + return bool(); } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) +QPaintEngine::Type PythonQtShell_QPaintEngine::type() const { - ( theWrappedObject->setUniformValue(location, x, y, z, w)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine::Type"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine::Type returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((QPaintEngine::Type*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLint value) -{ - ( theWrappedObject->setUniformValue(location, value)); + return QPaintEngine::Type(); } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, GLuint value) +void PythonQtShell_QPaintEngine::updateState(const QPaintEngineState& state0) { - ( theWrappedObject->setUniformValue(location, value)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("updateState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QPaintEngineState&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&state0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QColor& color) -{ - ( theWrappedObject->setUniformValue(location, color)); + } +QPaintEngine* PythonQtWrapper_QPaintEngine::new_QPaintEngine(QPaintEngine::PaintEngineFeatures features) +{ +return new PythonQtShell_QPaintEngine(features); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4& value) +bool PythonQtWrapper_QPaintEngine::begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev) { - ( theWrappedObject->setUniformValue(location, value)); + return ( theWrappedObject->begin(pdev)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPoint& point) +void PythonQtWrapper_QPaintEngine::clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) { - ( theWrappedObject->setUniformValue(location, point)); + ( theWrappedObject->clearDirty(df)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QPointF& point) +QPoint PythonQtWrapper_QPaintEngine::coordinateOffset(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->setUniformValue(location, point)); + return ( theWrappedObject->coordinateOffset()); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSize& size) +void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRect& r) { - ( theWrappedObject->setUniformValue(location, size)); + ( theWrappedObject->drawEllipse(r)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QSizeF& size) +void PythonQtWrapper_QPaintEngine::drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r) { - ( theWrappedObject->setUniformValue(location, size)); + ( theWrappedObject->drawEllipse(r)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QTransform& value) +void PythonQtWrapper_QPaintEngine::drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags) { - ( theWrappedObject->setUniformValue(location, value)); + ( theWrappedObject->drawImage(r, pm, sr, flags)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D& value) +void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount) { - ( theWrappedObject->setUniformValue(location, value)); + ( theWrappedObject->drawLines(lines, lineCount)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D& value) +void PythonQtWrapper_QPaintEngine::drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount) { - ( theWrappedObject->setUniformValue(location, value)); + ( theWrappedObject->drawLines(lines, lineCount)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValue(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D& value) +void PythonQtWrapper_QPaintEngine::drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path) { - ( theWrappedObject->setUniformValue(location, value)); + ( theWrappedObject->drawPath(path)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLfloat* values, int count, int tupleSize) +void PythonQtWrapper_QPaintEngine::drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr) { - ( theWrappedObject->setUniformValueArray(name, values, count, tupleSize)); + ( theWrappedObject->drawPixmap(r, pm, sr)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLint* values, int count) +void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount) { - ( theWrappedObject->setUniformValueArray(name, values, count)); + ( theWrappedObject->drawPoints(points, pointCount)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const GLuint* values, int count) +void PythonQtWrapper_QPaintEngine::drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount) { - ( theWrappedObject->setUniformValueArray(name, values, count)); + ( theWrappedObject->drawPoints(points, pointCount)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QMatrix4x4* values, int count) +void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { - ( theWrappedObject->setUniformValueArray(name, values, count)); + ( theWrappedObject->drawPolygon(points, pointCount, mode)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector2D* values, int count) +void PythonQtWrapper_QPaintEngine::drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { - ( theWrappedObject->setUniformValueArray(name, values, count)); + ( theWrappedObject->drawPolygon(points, pointCount, mode)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector3D* values, int count) +void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount) { - ( theWrappedObject->setUniformValueArray(name, values, count)); + ( theWrappedObject->drawRects(rects, rectCount)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, const char* name, const QVector4D* values, int count) +void PythonQtWrapper_QPaintEngine::drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount) { - ( theWrappedObject->setUniformValueArray(name, values, count)); + ( theWrappedObject->drawRects(rects, rectCount)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLfloat* values, int count, int tupleSize) +void PythonQtWrapper_QPaintEngine::drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem) { - ( theWrappedObject->setUniformValueArray(location, values, count, tupleSize)); + ( theWrappedObject->drawTextItem(p, textItem)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLint* values, int count) +void PythonQtWrapper_QPaintEngine::drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s) { - ( theWrappedObject->setUniformValueArray(location, values, count)); + ( theWrappedObject->drawTiledPixmap(r, pixmap, s)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const GLuint* values, int count) +bool PythonQtWrapper_QPaintEngine::end(QPaintEngine* theWrappedObject) { - ( theWrappedObject->setUniformValueArray(location, values, count)); + return ( theWrappedObject->end()); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QMatrix4x4* values, int count) +bool PythonQtWrapper_QPaintEngine::hasFeature(QPaintEngine* theWrappedObject, QPaintEngine::PaintEngineFeatures feature) const { - ( theWrappedObject->setUniformValueArray(location, values, count)); + return ( theWrappedObject->hasFeature(feature)); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector2D* values, int count) +bool PythonQtWrapper_QPaintEngine::isActive(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->setUniformValueArray(location, values, count)); + return ( theWrappedObject->isActive()); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector3D* values, int count) +bool PythonQtWrapper_QPaintEngine::isExtended(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->setUniformValueArray(location, values, count)); + return ( theWrappedObject->isExtended()); } -void PythonQtWrapper_QOpenGLShaderProgram::setUniformValueArray(QOpenGLShaderProgram* theWrappedObject, int location, const QVector4D* values, int count) +QPaintDevice* PythonQtWrapper_QPaintEngine::paintDevice(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->setUniformValueArray(location, values, count)); + return ( theWrappedObject->paintDevice()); } -QList PythonQtWrapper_QOpenGLShaderProgram::shaders(QOpenGLShaderProgram* theWrappedObject) const +QPainter* PythonQtWrapper_QPaintEngine::painter(QPaintEngine* theWrappedObject) const { - return ( theWrappedObject->shaders()); + return ( theWrappedObject->painter()); } -int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QByteArray& name) const +void PythonQtWrapper_QPaintEngine::setActive(QPaintEngine* theWrappedObject, bool newState) { - return ( theWrappedObject->uniformLocation(name)); + ( theWrappedObject->setActive(newState)); } -int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const QString& name) const +void PythonQtWrapper_QPaintEngine::setDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) { - return ( theWrappedObject->uniformLocation(name)); + ( theWrappedObject->setDirty(df)); } -int PythonQtWrapper_QOpenGLShaderProgram::uniformLocation(QOpenGLShaderProgram* theWrappedObject, const char* name) const +void PythonQtWrapper_QPaintEngine::setSystemClip(QPaintEngine* theWrappedObject, const QRegion& baseClip) { - return ( theWrappedObject->uniformLocation(name)); + ( theWrappedObject->setSystemClip(baseClip)); } - - -QOpenGLTexture* PythonQtWrapper_QOpenGLTexture::new_QOpenGLTexture(QOpenGLTexture::Target target) -{ -return new QOpenGLTexture(target); } - -QOpenGLTexture* PythonQtWrapper_QOpenGLTexture::new_QOpenGLTexture(const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps) -{ -return new QOpenGLTexture(image, genMipMaps); } - -void PythonQtWrapper_QOpenGLTexture::allocateStorage(QOpenGLTexture* theWrappedObject) +void PythonQtWrapper_QPaintEngine::setSystemRect(QPaintEngine* theWrappedObject, const QRect& rect) { - ( theWrappedObject->allocateStorage()); + ( theWrappedObject->setSystemRect(rect)); } -void PythonQtWrapper_QOpenGLTexture::allocateStorage(QOpenGLTexture* theWrappedObject, QOpenGLTexture::PixelFormat pixelFormat, QOpenGLTexture::PixelType pixelType) +void PythonQtWrapper_QPaintEngine::syncState(QPaintEngine* theWrappedObject) { - ( theWrappedObject->allocateStorage(pixelFormat, pixelType)); + ( theWrappedObject->syncState()); } -void PythonQtWrapper_QOpenGLTexture::bind(QOpenGLTexture* theWrappedObject) +QRegion PythonQtWrapper_QPaintEngine::systemClip(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->bind()); + return ( theWrappedObject->systemClip()); } -void PythonQtWrapper_QOpenGLTexture::bind(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset) +QRect PythonQtWrapper_QPaintEngine::systemRect(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->bind(unit, reset)); + return ( theWrappedObject->systemRect()); } -QColor PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject) const +bool PythonQtWrapper_QPaintEngine::testDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df) { - return ( theWrappedObject->borderColor()); + return ( theWrappedObject->testDirty(df)); } -void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, float* border) const +QPaintEngine::Type PythonQtWrapper_QPaintEngine::type(QPaintEngine* theWrappedObject) const { - ( theWrappedObject->borderColor(border)); + return ( theWrappedObject->type()); } -void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, int* border) const +void PythonQtWrapper_QPaintEngine::updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state) { - ( theWrappedObject->borderColor(border)); + ( theWrappedObject->updateState(state)); } -void PythonQtWrapper_QOpenGLTexture::borderColor(QOpenGLTexture* theWrappedObject, unsigned int* border) const -{ - ( theWrappedObject->borderColor(border)); -} -GLuint PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_boundTextureId(QOpenGLTexture::BindingTarget target) -{ - return (QOpenGLTexture::boundTextureId(target)); -} -GLuint PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_boundTextureId(uint unit, QOpenGLTexture::BindingTarget target) -{ - return (QOpenGLTexture::boundTextureId(unit, target)); +PythonQtShell_QPaintEngineState::~PythonQtShell_QPaintEngineState() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QPaintEngineState* PythonQtWrapper_QPaintEngineState::new_QPaintEngineState() +{ +return new PythonQtShell_QPaintEngineState(); } -QOpenGLTexture::ComparisonFunction PythonQtWrapper_QOpenGLTexture::comparisonFunction(QOpenGLTexture* theWrappedObject) const +QBrush PythonQtWrapper_QPaintEngineState::backgroundBrush(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->comparisonFunction()); + return ( theWrappedObject->backgroundBrush()); } -QOpenGLTexture::ComparisonMode PythonQtWrapper_QOpenGLTexture::comparisonMode(QOpenGLTexture* theWrappedObject) const +Qt::BGMode PythonQtWrapper_QPaintEngineState::backgroundMode(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->comparisonMode()); + return ( theWrappedObject->backgroundMode()); } -bool PythonQtWrapper_QOpenGLTexture::create(QOpenGLTexture* theWrappedObject) +QBrush PythonQtWrapper_QPaintEngineState::brush(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->create()); + return ( theWrappedObject->brush()); } -QOpenGLTexture* PythonQtWrapper_QOpenGLTexture::createTextureView(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Target target, QOpenGLTexture::TextureFormat viewFormat, int minimumMipmapLevel, int maximumMipmapLevel, int minimumLayer, int maximumLayer) const +bool PythonQtWrapper_QPaintEngineState::brushNeedsResolving(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->createTextureView(target, viewFormat, minimumMipmapLevel, maximumMipmapLevel, minimumLayer, maximumLayer)); + return ( theWrappedObject->brushNeedsResolving()); } -int PythonQtWrapper_QOpenGLTexture::depth(QOpenGLTexture* theWrappedObject) const +QPointF PythonQtWrapper_QPaintEngineState::brushOrigin(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->depth()); + return ( theWrappedObject->brushOrigin()); } -QOpenGLTexture::DepthStencilMode PythonQtWrapper_QOpenGLTexture::depthStencilMode(QOpenGLTexture* theWrappedObject) const +Qt::ClipOperation PythonQtWrapper_QPaintEngineState::clipOperation(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->depthStencilMode()); + return ( theWrappedObject->clipOperation()); } -void PythonQtWrapper_QOpenGLTexture::destroy(QOpenGLTexture* theWrappedObject) +QPainterPath PythonQtWrapper_QPaintEngineState::clipPath(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->destroy()); + return ( theWrappedObject->clipPath()); } -int PythonQtWrapper_QOpenGLTexture::faces(QOpenGLTexture* theWrappedObject) const +QRegion PythonQtWrapper_QPaintEngineState::clipRegion(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->faces()); + return ( theWrappedObject->clipRegion()); } -QOpenGLTexture::TextureFormat PythonQtWrapper_QOpenGLTexture::format(QOpenGLTexture* theWrappedObject) const +QPainter::CompositionMode PythonQtWrapper_QPaintEngineState::compositionMode(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->format()); + return ( theWrappedObject->compositionMode()); } -void PythonQtWrapper_QOpenGLTexture::generateMipMaps(QOpenGLTexture* theWrappedObject) +QFont PythonQtWrapper_QPaintEngineState::font(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->generateMipMaps()); + return ( theWrappedObject->font()); } -void PythonQtWrapper_QOpenGLTexture::generateMipMaps(QOpenGLTexture* theWrappedObject, int baseLevel, bool resetBaseLevel) +bool PythonQtWrapper_QPaintEngineState::isClipEnabled(QPaintEngineState* theWrappedObject) const { - ( theWrappedObject->generateMipMaps(baseLevel, resetBaseLevel)); + return ( theWrappedObject->isClipEnabled()); } -bool PythonQtWrapper_QOpenGLTexture::static_QOpenGLTexture_hasFeature(QOpenGLTexture::Feature feature) +QMatrix PythonQtWrapper_QPaintEngineState::matrix(QPaintEngineState* theWrappedObject) const { - return (QOpenGLTexture::hasFeature(feature)); + return ( theWrappedObject->matrix()); } -int PythonQtWrapper_QOpenGLTexture::height(QOpenGLTexture* theWrappedObject) const +qreal PythonQtWrapper_QPaintEngineState::opacity(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->height()); + return ( theWrappedObject->opacity()); } -bool PythonQtWrapper_QOpenGLTexture::isAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject) const +QPainter* PythonQtWrapper_QPaintEngineState::painter(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->isAutoMipMapGenerationEnabled()); + return ( theWrappedObject->painter()); } -bool PythonQtWrapper_QOpenGLTexture::isBound(QOpenGLTexture* theWrappedObject) const +QPen PythonQtWrapper_QPaintEngineState::pen(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->isBound()); + return ( theWrappedObject->pen()); } -bool PythonQtWrapper_QOpenGLTexture::isBound(QOpenGLTexture* theWrappedObject, uint unit) +bool PythonQtWrapper_QPaintEngineState::penNeedsResolving(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->isBound(unit)); + return ( theWrappedObject->penNeedsResolving()); } -bool PythonQtWrapper_QOpenGLTexture::isCreated(QOpenGLTexture* theWrappedObject) const +QPainter::RenderHints PythonQtWrapper_QPaintEngineState::renderHints(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->isCreated()); + return ( theWrappedObject->renderHints()); } -bool PythonQtWrapper_QOpenGLTexture::isFixedSamplePositions(QOpenGLTexture* theWrappedObject) const +QPaintEngine::DirtyFlags PythonQtWrapper_QPaintEngineState::state(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->isFixedSamplePositions()); + return ( theWrappedObject->state()); } -bool PythonQtWrapper_QOpenGLTexture::isStorageAllocated(QOpenGLTexture* theWrappedObject) const +QTransform PythonQtWrapper_QPaintEngineState::transform(QPaintEngineState* theWrappedObject) const { - return ( theWrappedObject->isStorageAllocated()); + return ( theWrappedObject->transform()); } -bool PythonQtWrapper_QOpenGLTexture::isTextureView(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->isTextureView()); -} -int PythonQtWrapper_QOpenGLTexture::layers(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->layers()); -} -QPair PythonQtWrapper_QOpenGLTexture::levelOfDetailRange(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->levelOfDetailRange()); +PythonQtShell_QPaintEvent::~PythonQtShell_QPaintEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QPaintEvent* PythonQtWrapper_QPaintEvent::new_QPaintEvent(const QRect& paintRect) +{ +return new PythonQtShell_QPaintEvent(paintRect); } -float PythonQtWrapper_QOpenGLTexture::levelofDetailBias(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->levelofDetailBias()); -} +QPaintEvent* PythonQtWrapper_QPaintEvent::new_QPaintEvent(const QRegion& paintRegion) +{ +return new PythonQtShell_QPaintEvent(paintRegion); } -QOpenGLTexture::Filter PythonQtWrapper_QOpenGLTexture::magnificationFilter(QOpenGLTexture* theWrappedObject) const +const QRect* PythonQtWrapper_QPaintEvent::rect(QPaintEvent* theWrappedObject) const { - return ( theWrappedObject->magnificationFilter()); + return &( theWrappedObject->rect()); } -float PythonQtWrapper_QOpenGLTexture::maximumAnisotropy(QOpenGLTexture* theWrappedObject) const +const QRegion* PythonQtWrapper_QPaintEvent::region(QPaintEvent* theWrappedObject) const { - return ( theWrappedObject->maximumAnisotropy()); + return &( theWrappedObject->region()); } -float PythonQtWrapper_QOpenGLTexture::maximumLevelOfDetail(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->maximumLevelOfDetail()); -} -int PythonQtWrapper_QOpenGLTexture::maximumMipLevels(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->maximumMipLevels()); -} -QPair PythonQtWrapper_QOpenGLTexture::minMagFilters(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->minMagFilters()); -} +QPainter* PythonQtWrapper_QPainter::new_QPainter() +{ +return new QPainter(); } -QOpenGLTexture::Filter PythonQtWrapper_QOpenGLTexture::minificationFilter(QOpenGLTexture* theWrappedObject) const -{ - return ( theWrappedObject->minificationFilter()); -} +QPainter* PythonQtWrapper_QPainter::new_QPainter(QPaintDevice* arg__1) +{ +return new QPainter(arg__1); } -float PythonQtWrapper_QOpenGLTexture::minimumLevelOfDetail(QOpenGLTexture* theWrappedObject) const +const QBrush* PythonQtWrapper_QPainter::background(QPainter* theWrappedObject) const { - return ( theWrappedObject->minimumLevelOfDetail()); + return &( theWrappedObject->background()); } -int PythonQtWrapper_QOpenGLTexture::mipBaseLevel(QOpenGLTexture* theWrappedObject) const +Qt::BGMode PythonQtWrapper_QPainter::backgroundMode(QPainter* theWrappedObject) const { - return ( theWrappedObject->mipBaseLevel()); + return ( theWrappedObject->backgroundMode()); } -QPair PythonQtWrapper_QOpenGLTexture::mipLevelRange(QOpenGLTexture* theWrappedObject) const +bool PythonQtWrapper_QPainter::begin(QPainter* theWrappedObject, QPaintDevice* arg__1) { - return ( theWrappedObject->mipLevelRange()); + return ( theWrappedObject->begin(arg__1)); } -int PythonQtWrapper_QOpenGLTexture::mipLevels(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QPainter::beginNativePainting(QPainter* theWrappedObject) { - return ( theWrappedObject->mipLevels()); + ( theWrappedObject->beginNativePainting()); } -int PythonQtWrapper_QOpenGLTexture::mipMaxLevel(QOpenGLTexture* theWrappedObject) const +QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text) { - return ( theWrappedObject->mipMaxLevel()); + return ( theWrappedObject->boundingRect(rect, flags, text)); } -void PythonQtWrapper_QOpenGLTexture::release(QOpenGLTexture* theWrappedObject) +QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o) { - ( theWrappedObject->release()); + return ( theWrappedObject->boundingRect(rect, text, o)); } -void PythonQtWrapper_QOpenGLTexture::release(QOpenGLTexture* theWrappedObject, uint unit, QOpenGLTexture::TextureUnitReset reset) +QRectF PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text) { - ( theWrappedObject->release(unit, reset)); + return ( theWrappedObject->boundingRect(rect, flags, text)); } -int PythonQtWrapper_QOpenGLTexture::samples(QOpenGLTexture* theWrappedObject) const +QRect PythonQtWrapper_QPainter::boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text) { - return ( theWrappedObject->samples()); + return ( theWrappedObject->boundingRect(x, y, w, h, flags, text)); } -void PythonQtWrapper_QOpenGLTexture::setAutoMipMapGenerationEnabled(QOpenGLTexture* theWrappedObject, bool enabled) +const QBrush* PythonQtWrapper_QPainter::brush(QPainter* theWrappedObject) const { - ( theWrappedObject->setAutoMipMapGenerationEnabled(enabled)); + return &( theWrappedObject->brush()); } -void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, QColor color) +QPoint PythonQtWrapper_QPainter::brushOrigin(QPainter* theWrappedObject) const { - ( theWrappedObject->setBorderColor(color)); + return ( theWrappedObject->brushOrigin()); } -void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, float r, float g, float b, float a) +QRectF PythonQtWrapper_QPainter::clipBoundingRect(QPainter* theWrappedObject) const { - ( theWrappedObject->setBorderColor(r, g, b, a)); + return ( theWrappedObject->clipBoundingRect()); } -void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, int r, int g, int b, int a) +QPainterPath PythonQtWrapper_QPainter::clipPath(QPainter* theWrappedObject) const { - ( theWrappedObject->setBorderColor(r, g, b, a)); + return ( theWrappedObject->clipPath()); } -void PythonQtWrapper_QOpenGLTexture::setBorderColor(QOpenGLTexture* theWrappedObject, uint r, uint g, uint b, uint a) +QRegion PythonQtWrapper_QPainter::clipRegion(QPainter* theWrappedObject) const { - ( theWrappedObject->setBorderColor(r, g, b, a)); + return ( theWrappedObject->clipRegion()); } -void PythonQtWrapper_QOpenGLTexture::setComparisonFunction(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonFunction function) +QMatrix PythonQtWrapper_QPainter::combinedMatrix(QPainter* theWrappedObject) const { - ( theWrappedObject->setComparisonFunction(function)); + return ( theWrappedObject->combinedMatrix()); } -void PythonQtWrapper_QOpenGLTexture::setComparisonMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::ComparisonMode mode) +QTransform PythonQtWrapper_QPainter::combinedTransform(QPainter* theWrappedObject) const { - ( theWrappedObject->setComparisonMode(mode)); + return ( theWrappedObject->combinedTransform()); } -void PythonQtWrapper_QOpenGLTexture::setData(QOpenGLTexture* theWrappedObject, const QImage& image, QOpenGLTexture::MipMapGeneration genMipMaps) +QPainter::CompositionMode PythonQtWrapper_QPainter::compositionMode(QPainter* theWrappedObject) const { - ( theWrappedObject->setData(image, genMipMaps)); + return ( theWrappedObject->compositionMode()); } -void PythonQtWrapper_QOpenGLTexture::setDepthStencilMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::DepthStencilMode mode) +QPaintDevice* PythonQtWrapper_QPainter::device(QPainter* theWrappedObject) const { - ( theWrappedObject->setDepthStencilMode(mode)); + return ( theWrappedObject->device()); } -void PythonQtWrapper_QOpenGLTexture::setFixedSamplePositions(QOpenGLTexture* theWrappedObject, bool fixed) +const QMatrix* PythonQtWrapper_QPainter::deviceMatrix(QPainter* theWrappedObject) const { - ( theWrappedObject->setFixedSamplePositions(fixed)); + return &( theWrappedObject->deviceMatrix()); } -void PythonQtWrapper_QOpenGLTexture::setFormat(QOpenGLTexture* theWrappedObject, QOpenGLTexture::TextureFormat format) +const QTransform* PythonQtWrapper_QPainter::deviceTransform(QPainter* theWrappedObject) const { - ( theWrappedObject->setFormat(format)); + return &( theWrappedObject->deviceTransform()); } -void PythonQtWrapper_QOpenGLTexture::setLayers(QOpenGLTexture* theWrappedObject, int layers) +void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) { - ( theWrappedObject->setLayers(layers)); + ( theWrappedObject->drawArc(arg__1, a, alen)); } -void PythonQtWrapper_QOpenGLTexture::setLevelOfDetailRange(QOpenGLTexture* theWrappedObject, float min, float max) +void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) { - ( theWrappedObject->setLevelOfDetailRange(min, max)); + ( theWrappedObject->drawArc(rect, a, alen)); } -void PythonQtWrapper_QOpenGLTexture::setLevelofDetailBias(QOpenGLTexture* theWrappedObject, float bias) +void PythonQtWrapper_QPainter::drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) { - ( theWrappedObject->setLevelofDetailBias(bias)); + ( theWrappedObject->drawArc(x, y, w, h, a, alen)); } -void PythonQtWrapper_QOpenGLTexture::setMagnificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter) +void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) { - ( theWrappedObject->setMagnificationFilter(filter)); + ( theWrappedObject->drawChord(arg__1, a, alen)); } -void PythonQtWrapper_QOpenGLTexture::setMaximumAnisotropy(QOpenGLTexture* theWrappedObject, float anisotropy) +void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) { - ( theWrappedObject->setMaximumAnisotropy(anisotropy)); + ( theWrappedObject->drawChord(rect, a, alen)); } -void PythonQtWrapper_QOpenGLTexture::setMaximumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value) +void PythonQtWrapper_QPainter::drawChord(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) { - ( theWrappedObject->setMaximumLevelOfDetail(value)); + ( theWrappedObject->drawChord(x, y, w, h, a, alen)); } -void PythonQtWrapper_QOpenGLTexture::setMinMagFilters(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter minificationFilter, QOpenGLTexture::Filter magnificationFilter) +void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon) { - ( theWrappedObject->setMinMagFilters(minificationFilter, magnificationFilter)); + ( theWrappedObject->drawConvexPolygon(polygon)); } -void PythonQtWrapper_QOpenGLTexture::setMinificationFilter(QOpenGLTexture* theWrappedObject, QOpenGLTexture::Filter filter) +void PythonQtWrapper_QPainter::drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon) { - ( theWrappedObject->setMinificationFilter(filter)); + ( theWrappedObject->drawConvexPolygon(polygon)); } -void PythonQtWrapper_QOpenGLTexture::setMinimumLevelOfDetail(QOpenGLTexture* theWrappedObject, float value) +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry) { - ( theWrappedObject->setMinimumLevelOfDetail(value)); + ( theWrappedObject->drawEllipse(center, rx, ry)); } -void PythonQtWrapper_QOpenGLTexture::setMipBaseLevel(QOpenGLTexture* theWrappedObject, int baseLevel) +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry) { - ( theWrappedObject->setMipBaseLevel(baseLevel)); + ( theWrappedObject->drawEllipse(center, rx, ry)); } -void PythonQtWrapper_QOpenGLTexture::setMipLevelRange(QOpenGLTexture* theWrappedObject, int baseLevel, int maxLevel) +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRect& r) { - ( theWrappedObject->setMipLevelRange(baseLevel, maxLevel)); + ( theWrappedObject->drawEllipse(r)); } -void PythonQtWrapper_QOpenGLTexture::setMipLevels(QOpenGLTexture* theWrappedObject, int levels) +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, const QRectF& r) { - ( theWrappedObject->setMipLevels(levels)); + ( theWrappedObject->drawEllipse(r)); } -void PythonQtWrapper_QOpenGLTexture::setMipMaxLevel(QOpenGLTexture* theWrappedObject, int maxLevel) +void PythonQtWrapper_QPainter::drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h) { - ( theWrappedObject->setMipMaxLevel(maxLevel)); + ( theWrappedObject->drawEllipse(x, y, w, h)); } -void PythonQtWrapper_QOpenGLTexture::setSamples(QOpenGLTexture* theWrappedObject, int samples) +void PythonQtWrapper_QPainter::drawGlyphRun(QPainter* theWrappedObject, const QPointF& position, const QGlyphRun& glyphRun) { - ( theWrappedObject->setSamples(samples)); + ( theWrappedObject->drawGlyphRun(position, glyphRun)); } -void PythonQtWrapper_QOpenGLTexture::setSize(QOpenGLTexture* theWrappedObject, int width, int height, int depth) +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image) { - ( theWrappedObject->setSize(width, height, depth)); + ( theWrappedObject->drawImage(p, image)); } -void PythonQtWrapper_QOpenGLTexture::setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component, QOpenGLTexture::SwizzleValue value) +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags) { - ( theWrappedObject->setSwizzleMask(component, value)); + ( theWrappedObject->drawImage(p, image, sr, flags)); } -void PythonQtWrapper_QOpenGLTexture::setSwizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleValue r, QOpenGLTexture::SwizzleValue g, QOpenGLTexture::SwizzleValue b, QOpenGLTexture::SwizzleValue a) +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image) { - ( theWrappedObject->setSwizzleMask(r, g, b, a)); + ( theWrappedObject->drawImage(p, image)); } -void PythonQtWrapper_QOpenGLTexture::setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction, QOpenGLTexture::WrapMode mode) +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags) { - ( theWrappedObject->setWrapMode(direction, mode)); + ( theWrappedObject->drawImage(p, image, sr, flags)); } -void PythonQtWrapper_QOpenGLTexture::setWrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::WrapMode mode) +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image) { - ( theWrappedObject->setWrapMode(mode)); + ( theWrappedObject->drawImage(r, image)); } -QOpenGLTexture::SwizzleValue PythonQtWrapper_QOpenGLTexture::swizzleMask(QOpenGLTexture* theWrappedObject, QOpenGLTexture::SwizzleComponent component) const +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags) { - return ( theWrappedObject->swizzleMask(component)); + ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); } -QOpenGLTexture::Target PythonQtWrapper_QOpenGLTexture::target(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image) { - return ( theWrappedObject->target()); + ( theWrappedObject->drawImage(r, image)); } -GLuint PythonQtWrapper_QOpenGLTexture::textureId(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, Qt::ImageConversionFlags flags) { - return ( theWrappedObject->textureId()); + ( theWrappedObject->drawImage(targetRect, image, sourceRect, flags)); } -int PythonQtWrapper_QOpenGLTexture::width(QOpenGLTexture* theWrappedObject) const +void PythonQtWrapper_QPainter::drawImage(QPainter* theWrappedObject, int x, int y, const QImage& image, int sx, int sy, int sw, int sh, Qt::ImageConversionFlags flags) { - return ( theWrappedObject->width()); + ( theWrappedObject->drawImage(x, y, image, sx, sy, sw, sh, flags)); } -QOpenGLTexture::WrapMode PythonQtWrapper_QOpenGLTexture::wrapMode(QOpenGLTexture* theWrappedObject, QOpenGLTexture::CoordinateDirection direction) const +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLine& line) { - return ( theWrappedObject->wrapMode(direction)); -} - -QString PythonQtWrapper_QOpenGLTexture::py_toString(QOpenGLTexture* obj) { - QString result; - QDebug d(&result); - d << obj; - return result; + ( theWrappedObject->drawLine(line)); } - - -QOpenGLTextureBlitter* PythonQtWrapper_QOpenGLTextureBlitter::new_QOpenGLTextureBlitter() -{ -return new QOpenGLTextureBlitter(); } - -void PythonQtWrapper_QOpenGLTextureBlitter::bind(QOpenGLTextureBlitter* theWrappedObject, GLenum target) +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QLineF& line) { - ( theWrappedObject->bind(target)); + ( theWrappedObject->drawLine(line)); } -void PythonQtWrapper_QOpenGLTextureBlitter::blit(QOpenGLTextureBlitter* theWrappedObject, GLuint texture, const QMatrix4x4& targetTransform, QOpenGLTextureBlitter::Origin sourceOrigin) +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2) { - ( theWrappedObject->blit(texture, targetTransform, sourceOrigin)); + ( theWrappedObject->drawLine(p1, p2)); } -bool PythonQtWrapper_QOpenGLTextureBlitter::create(QOpenGLTextureBlitter* theWrappedObject) +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2) { - return ( theWrappedObject->create()); + ( theWrappedObject->drawLine(p1, p2)); } -void PythonQtWrapper_QOpenGLTextureBlitter::destroy(QOpenGLTextureBlitter* theWrappedObject) +void PythonQtWrapper_QPainter::drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2) { - ( theWrappedObject->destroy()); + ( theWrappedObject->drawLine(x1, y1, x2, y2)); } -bool PythonQtWrapper_QOpenGLTextureBlitter::isCreated(QOpenGLTextureBlitter* theWrappedObject) const +void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) { - return ( theWrappedObject->isCreated()); + ( theWrappedObject->drawLines(lines)); } -void PythonQtWrapper_QOpenGLTextureBlitter::release(QOpenGLTextureBlitter* theWrappedObject) +void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& lines) { - ( theWrappedObject->release()); + ( theWrappedObject->drawLines(lines)); } -void PythonQtWrapper_QOpenGLTextureBlitter::setOpacity(QOpenGLTextureBlitter* theWrappedObject, float opacity) +void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) { - ( theWrappedObject->setOpacity(opacity)); + ( theWrappedObject->drawLines(pointPairs)); } -void PythonQtWrapper_QOpenGLTextureBlitter::setRedBlueSwizzle(QOpenGLTextureBlitter* theWrappedObject, bool swizzle) +void PythonQtWrapper_QPainter::drawLines(QPainter* theWrappedObject, const QVector& pointPairs) { - ( theWrappedObject->setRedBlueSwizzle(swizzle)); + ( theWrappedObject->drawLines(pointPairs)); } -bool PythonQtWrapper_QOpenGLTextureBlitter::supportsExternalOESTarget(QOpenGLTextureBlitter* theWrappedObject) const +void PythonQtWrapper_QPainter::drawPath(QPainter* theWrappedObject, const QPainterPath& path) { - return ( theWrappedObject->supportsExternalOESTarget()); + ( theWrappedObject->drawPath(path)); } -QMatrix4x4 PythonQtWrapper_QOpenGLTextureBlitter::static_QOpenGLTextureBlitter_targetTransform(const QRectF& target, const QRect& viewport) +void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture) { - return (QOpenGLTextureBlitter::targetTransform(target, viewport)); + ( theWrappedObject->drawPicture(p, picture)); } - - -PythonQtShell_QOpenGLTimeMonitor::~PythonQtShell_QOpenGLTimeMonitor() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QOpenGLTimeMonitor::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLTimeMonitor::childEvent(event0); -} -void PythonQtShell_QOpenGLTimeMonitor::customEvent(QEvent* event0) +void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->drawPicture(p, picture)); } - QOpenGLTimeMonitor::customEvent(event0); + +void PythonQtWrapper_QPainter::drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture) +{ + ( theWrappedObject->drawPicture(x, y, picture)); } -bool PythonQtShell_QOpenGLTimeMonitor::event(QEvent* event0) + +void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->drawPie(arg__1, a, alen)); } - return QOpenGLTimeMonitor::event(event0); + +void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen) +{ + ( theWrappedObject->drawPie(rect, a, alen)); } -bool PythonQtShell_QOpenGLTimeMonitor::eventFilter(QObject* watched0, QEvent* event1) + +void PythonQtWrapper_QPainter::drawPie(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->drawPie(x, y, w, h, a, alen)); } - return QOpenGLTimeMonitor::eventFilter(watched0, event1); + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm) +{ + ( theWrappedObject->drawPixmap(p, pm)); } -void PythonQtShell_QOpenGLTimeMonitor::timerEvent(QTimerEvent* event0) + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->drawPixmap(p, pm, sr)); } - QOpenGLTimeMonitor::timerEvent(event0); + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm) +{ + ( theWrappedObject->drawPixmap(p, pm)); } -QOpenGLTimeMonitor* PythonQtWrapper_QOpenGLTimeMonitor::new_QOpenGLTimeMonitor(QObject* parent) -{ -return new PythonQtShell_QOpenGLTimeMonitor(parent); } -const QMetaObject* PythonQtShell_QOpenGLTimeMonitor::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLTimeMonitor::staticMetaObject); - } else { - return &QOpenGLTimeMonitor::staticMetaObject; - } +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr) +{ + ( theWrappedObject->drawPixmap(p, pm, sr)); } -int PythonQtShell_QOpenGLTimeMonitor::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOpenGLTimeMonitor::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm) +{ + ( theWrappedObject->drawPixmap(r, pm)); } -bool PythonQtWrapper_QOpenGLTimeMonitor::create(QOpenGLTimeMonitor* theWrappedObject) + +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect) { - return ( theWrappedObject->create()); + ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); } -void PythonQtWrapper_QOpenGLTimeMonitor::destroy(QOpenGLTimeMonitor* theWrappedObject) +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect) { - ( theWrappedObject->destroy()); + ( theWrappedObject->drawPixmap(targetRect, pixmap, sourceRect)); } -bool PythonQtWrapper_QOpenGLTimeMonitor::isCreated(QOpenGLTimeMonitor* theWrappedObject) const +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm) { - return ( theWrappedObject->isCreated()); + ( theWrappedObject->drawPixmap(x, y, pm)); } -bool PythonQtWrapper_QOpenGLTimeMonitor::isResultAvailable(QOpenGLTimeMonitor* theWrappedObject) const +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm, int sx, int sy, int sw, int sh) { - return ( theWrappedObject->isResultAvailable()); + ( theWrappedObject->drawPixmap(x, y, pm, sx, sy, sw, sh)); } -QVector PythonQtWrapper_QOpenGLTimeMonitor::objectIds(QOpenGLTimeMonitor* theWrappedObject) const +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm) { - return ( theWrappedObject->objectIds()); + ( theWrappedObject->drawPixmap(x, y, w, h, pm)); } -int PythonQtWrapper_QOpenGLTimeMonitor::recordSample(QOpenGLTimeMonitor* theWrappedObject) +void PythonQtWrapper_QPainter::drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm, int sx, int sy, int sw, int sh) { - return ( theWrappedObject->recordSample()); + ( theWrappedObject->drawPixmap(x, y, w, h, pm, sx, sy, sw, sh)); } -void PythonQtWrapper_QOpenGLTimeMonitor::reset(QOpenGLTimeMonitor* theWrappedObject) +void PythonQtWrapper_QPainter::drawPixmapFragments(QPainter* theWrappedObject, const QPainter::PixmapFragment* fragments, int fragmentCount, const QPixmap& pixmap, QPainter::PixmapFragmentHints hints) { - ( theWrappedObject->reset()); + ( theWrappedObject->drawPixmapFragments(fragments, fragmentCount, pixmap, hints)); } -int PythonQtWrapper_QOpenGLTimeMonitor::sampleCount(QOpenGLTimeMonitor* theWrappedObject) const +void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPoint& p) { - return ( theWrappedObject->sampleCount()); + ( theWrappedObject->drawPoint(p)); } -void PythonQtWrapper_QOpenGLTimeMonitor::setSampleCount(QOpenGLTimeMonitor* theWrappedObject, int sampleCount) +void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, const QPointF& pt) { - ( theWrappedObject->setSampleCount(sampleCount)); + ( theWrappedObject->drawPoint(pt)); } -QVector PythonQtWrapper_QOpenGLTimeMonitor::waitForIntervals(QOpenGLTimeMonitor* theWrappedObject) const +void PythonQtWrapper_QPainter::drawPoint(QPainter* theWrappedObject, int x, int y) { - return ( theWrappedObject->waitForIntervals()); + ( theWrappedObject->drawPoint(x, y)); } -QVector PythonQtWrapper_QOpenGLTimeMonitor::waitForSamples(QOpenGLTimeMonitor* theWrappedObject) const +void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygon& points) { - return ( theWrappedObject->waitForSamples()); + ( theWrappedObject->drawPoints(points)); } +void PythonQtWrapper_QPainter::drawPoints(QPainter* theWrappedObject, const QPolygonF& points) +{ + ( theWrappedObject->drawPoints(points)); +} +void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule) +{ + ( theWrappedObject->drawPolygon(polygon, fillRule)); +} -PythonQtShell_QOpenGLTimerQuery::~PythonQtShell_QOpenGLTimerQuery() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QPainter::drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule) +{ + ( theWrappedObject->drawPolygon(polygon, fillRule)); } -void PythonQtShell_QOpenGLTimerQuery::childEvent(QChildEvent* event0) + +void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->drawPolyline(polygon)); } - QOpenGLTimerQuery::childEvent(event0); + +void PythonQtWrapper_QPainter::drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline) +{ + ( theWrappedObject->drawPolyline(polyline)); } -void PythonQtShell_QOpenGLTimerQuery::customEvent(QEvent* event0) + +void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRect& rect) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->drawRect(rect)); } - QOpenGLTimerQuery::customEvent(event0); + +void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->drawRect(rect)); } -bool PythonQtShell_QOpenGLTimerQuery::event(QEvent* event0) + +void PythonQtWrapper_QPainter::drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->drawRect(x1, y1, w, h)); } - return QOpenGLTimerQuery::event(event0); + +void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) +{ + ( theWrappedObject->drawRects(rectangles)); } -bool PythonQtShell_QOpenGLTimerQuery::eventFilter(QObject* watched0, QEvent* event1) + +void PythonQtWrapper_QPainter::drawRects(QPainter* theWrappedObject, const QVector& rectangles) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->drawRects(rectangles)); } - return QOpenGLTimerQuery::eventFilter(watched0, event1); + +void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround, int yround) +{ + ( theWrappedObject->drawRoundRect(r, xround, yround)); } -void PythonQtShell_QOpenGLTimerQuery::timerEvent(QTimerEvent* event0) + +void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround, int yround) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->drawRoundRect(r, xround, yround)); +} + +void PythonQtWrapper_QPainter::drawRoundRect(QPainter* theWrappedObject, int x, int y, int w, int h, int arg__5, int arg__6) +{ + ( theWrappedObject->drawRoundRect(x, y, w, h, arg__5, arg__6)); } - QOpenGLTimerQuery::timerEvent(event0); + +void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +{ + ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); } -QOpenGLTimerQuery* PythonQtWrapper_QOpenGLTimerQuery::new_QOpenGLTimerQuery(QObject* parent) -{ -return new PythonQtShell_QOpenGLTimerQuery(parent); } -const QMetaObject* PythonQtShell_QOpenGLTimerQuery::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLTimerQuery::staticMetaObject); - } else { - return &QOpenGLTimerQuery::staticMetaObject; - } +void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +{ + ( theWrappedObject->drawRoundedRect(rect, xRadius, yRadius, mode)); } -int PythonQtShell_QOpenGLTimerQuery::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOpenGLTimerQuery::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +void PythonQtWrapper_QPainter::drawRoundedRect(QPainter* theWrappedObject, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +{ + ( theWrappedObject->drawRoundedRect(x, y, w, h, xRadius, yRadius, mode)); } -void PythonQtWrapper_QOpenGLTimerQuery::begin(QOpenGLTimerQuery* theWrappedObject) + +void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPoint& topLeftPosition, const QStaticText& staticText) { - ( theWrappedObject->begin()); + ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); } -bool PythonQtWrapper_QOpenGLTimerQuery::create(QOpenGLTimerQuery* theWrappedObject) +void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, const QPointF& topLeftPosition, const QStaticText& staticText) { - return ( theWrappedObject->create()); + ( theWrappedObject->drawStaticText(topLeftPosition, staticText)); } -void PythonQtWrapper_QOpenGLTimerQuery::destroy(QOpenGLTimerQuery* theWrappedObject) +void PythonQtWrapper_QPainter::drawStaticText(QPainter* theWrappedObject, int left, int top, const QStaticText& staticText) { - ( theWrappedObject->destroy()); + ( theWrappedObject->drawStaticText(left, top, staticText)); } -void PythonQtWrapper_QOpenGLTimerQuery::end(QOpenGLTimerQuery* theWrappedObject) +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s) { - ( theWrappedObject->end()); + ( theWrappedObject->drawText(p, s)); } -bool PythonQtWrapper_QOpenGLTimerQuery::isCreated(QOpenGLTimerQuery* theWrappedObject) const +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s) { - return ( theWrappedObject->isCreated()); + ( theWrappedObject->drawText(p, s)); } -bool PythonQtWrapper_QOpenGLTimerQuery::isResultAvailable(QOpenGLTimerQuery* theWrappedObject) const +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br) { - return ( theWrappedObject->isResultAvailable()); + ( theWrappedObject->drawText(r, flags, text, br)); } -GLuint PythonQtWrapper_QOpenGLTimerQuery::objectId(QOpenGLTimerQuery* theWrappedObject) const +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o) { - return ( theWrappedObject->objectId()); + ( theWrappedObject->drawText(r, text, o)); } -void PythonQtWrapper_QOpenGLTimerQuery::recordTimestamp(QOpenGLTimerQuery* theWrappedObject) +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br) { - ( theWrappedObject->recordTimestamp()); + ( theWrappedObject->drawText(r, flags, text, br)); } -GLuint64 PythonQtWrapper_QOpenGLTimerQuery::waitForResult(QOpenGLTimerQuery* theWrappedObject) const +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, const QString& s) { - return ( theWrappedObject->waitForResult()); + ( theWrappedObject->drawText(x, y, s)); } -GLuint64 PythonQtWrapper_QOpenGLTimerQuery::waitForTimestamp(QOpenGLTimerQuery* theWrappedObject) const +void PythonQtWrapper_QPainter::drawText(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, QRect* br) { - return ( theWrappedObject->waitForTimestamp()); + ( theWrappedObject->drawText(x, y, w, h, flags, text, br)); } +void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti) +{ + ( theWrappedObject->drawTextItem(p, ti)); +} +void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti) +{ + ( theWrappedObject->drawTextItem(p, ti)); +} -QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile() -{ -return new QOpenGLVersionProfile(); } +void PythonQtWrapper_QPainter::drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti) +{ + ( theWrappedObject->drawTextItem(x, y, ti)); +} -QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile(const QOpenGLVersionProfile& other) -{ -return new QOpenGLVersionProfile(other); } +void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRect& arg__1, const QPixmap& arg__2, const QPoint& arg__3) +{ + ( theWrappedObject->drawTiledPixmap(arg__1, arg__2, arg__3)); +} -QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::new_QOpenGLVersionProfile(const QSurfaceFormat& format) -{ -return new QOpenGLVersionProfile(format); } +void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset) +{ + ( theWrappedObject->drawTiledPixmap(rect, pm, offset)); +} + +void PythonQtWrapper_QPainter::drawTiledPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& arg__5, int sx, int sy) +{ + ( theWrappedObject->drawTiledPixmap(x, y, w, h, arg__5, sx, sy)); +} -bool PythonQtWrapper_QOpenGLVersionProfile::hasProfiles(QOpenGLVersionProfile* theWrappedObject) const +bool PythonQtWrapper_QPainter::end(QPainter* theWrappedObject) { - return ( theWrappedObject->hasProfiles()); + return ( theWrappedObject->end()); } -bool PythonQtWrapper_QOpenGLVersionProfile::isLegacyVersion(QOpenGLVersionProfile* theWrappedObject) const +void PythonQtWrapper_QPainter::endNativePainting(QPainter* theWrappedObject) { - return ( theWrappedObject->isLegacyVersion()); + ( theWrappedObject->endNativePainting()); } -bool PythonQtWrapper_QOpenGLVersionProfile::isValid(QOpenGLVersionProfile* theWrappedObject) const +void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRect& arg__1) { - return ( theWrappedObject->isValid()); + ( theWrappedObject->eraseRect(arg__1)); } -bool PythonQtWrapper_QOpenGLVersionProfile::__ne__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) +void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, const QRectF& arg__1) { - return ( (*theWrappedObject)!= rhs); + ( theWrappedObject->eraseRect(arg__1)); } -QOpenGLVersionProfile* PythonQtWrapper_QOpenGLVersionProfile::operator_assign(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) +void PythonQtWrapper_QPainter::eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h) { - return &( (*theWrappedObject)= rhs); + ( theWrappedObject->eraseRect(x, y, w, h)); } -bool PythonQtWrapper_QOpenGLVersionProfile::__eq__(QOpenGLVersionProfile* theWrappedObject, const QOpenGLVersionProfile& rhs) +void PythonQtWrapper_QPainter::fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush) { - return ( (*theWrappedObject)== rhs); + ( theWrappedObject->fillPath(path, brush)); } -QSurfaceFormat::OpenGLContextProfile PythonQtWrapper_QOpenGLVersionProfile::profile(QOpenGLVersionProfile* theWrappedObject) const +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2) { - return ( theWrappedObject->profile()); + ( theWrappedObject->fillRect(arg__1, arg__2)); } -void PythonQtWrapper_QOpenGLVersionProfile::setProfile(QOpenGLVersionProfile* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile) +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QColor& color) { - ( theWrappedObject->setProfile(profile)); + ( theWrappedObject->fillRect(arg__1, color)); } -void PythonQtWrapper_QOpenGLVersionProfile::setVersion(QOpenGLVersionProfile* theWrappedObject, int majorVersion, int minorVersion) +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::BrushStyle style) { - ( theWrappedObject->setVersion(majorVersion, minorVersion)); + ( theWrappedObject->fillRect(r, style)); } -QPair PythonQtWrapper_QOpenGLVersionProfile::version(QOpenGLVersionProfile* theWrappedObject) const +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRect& r, Qt::GlobalColor c) { - return ( theWrappedObject->version()); + ( theWrappedObject->fillRect(r, c)); } -QString PythonQtWrapper_QOpenGLVersionProfile::py_toString(QOpenGLVersionProfile* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2) +{ + ( theWrappedObject->fillRect(arg__1, arg__2)); } - - -PythonQtShell_QOpenGLVertexArrayObject::~PythonQtShell_QOpenGLVertexArrayObject() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QOpenGLVertexArrayObject::childEvent(QChildEvent* event0) +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QColor& color) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->fillRect(arg__1, color)); } - QOpenGLVertexArrayObject::childEvent(event0); -} -void PythonQtShell_QOpenGLVertexArrayObject::customEvent(QEvent* event0) + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::BrushStyle style) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLVertexArrayObject::customEvent(event0); + ( theWrappedObject->fillRect(r, style)); } -bool PythonQtShell_QOpenGLVertexArrayObject::event(QEvent* event0) + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::GlobalColor c) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLVertexArrayObject::event(event0); + ( theWrappedObject->fillRect(r, c)); } -bool PythonQtShell_QOpenGLVertexArrayObject::eventFilter(QObject* watched0, QEvent* event1) + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::BrushStyle style) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QOpenGLVertexArrayObject::eventFilter(watched0, event1); + ( theWrappedObject->fillRect(x, y, w, h, style)); } -void PythonQtShell_QOpenGLVertexArrayObject::timerEvent(QTimerEvent* event0) + +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::GlobalColor c) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->fillRect(x, y, w, h, c)); } - QOpenGLVertexArrayObject::timerEvent(event0); -} -QOpenGLVertexArrayObject* PythonQtWrapper_QOpenGLVertexArrayObject::new_QOpenGLVertexArrayObject(QObject* parent) -{ -return new PythonQtShell_QOpenGLVertexArrayObject(parent); } -const QMetaObject* PythonQtShell_QOpenGLVertexArrayObject::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLVertexArrayObject::staticMetaObject); - } else { - return &QOpenGLVertexArrayObject::staticMetaObject; - } -} -int PythonQtShell_QOpenGLVertexArrayObject::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOpenGLVertexArrayObject::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QOpenGLVertexArrayObject::bind(QOpenGLVertexArrayObject* theWrappedObject) +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5) { - ( theWrappedObject->bind()); + ( theWrappedObject->fillRect(x, y, w, h, arg__5)); } -bool PythonQtWrapper_QOpenGLVertexArrayObject::create(QOpenGLVertexArrayObject* theWrappedObject) +void PythonQtWrapper_QPainter::fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QColor& color) { - return ( theWrappedObject->create()); + ( theWrappedObject->fillRect(x, y, w, h, color)); } -void PythonQtWrapper_QOpenGLVertexArrayObject::destroy(QOpenGLVertexArrayObject* theWrappedObject) +const QFont* PythonQtWrapper_QPainter::font(QPainter* theWrappedObject) const { - ( theWrappedObject->destroy()); + return &( theWrappedObject->font()); } -bool PythonQtWrapper_QOpenGLVertexArrayObject::isCreated(QOpenGLVertexArrayObject* theWrappedObject) const +QFontInfo PythonQtWrapper_QPainter::fontInfo(QPainter* theWrappedObject) const { - return ( theWrappedObject->isCreated()); + return ( theWrappedObject->fontInfo()); } -GLuint PythonQtWrapper_QOpenGLVertexArrayObject::objectId(QOpenGLVertexArrayObject* theWrappedObject) const +QFontMetrics PythonQtWrapper_QPainter::fontMetrics(QPainter* theWrappedObject) const { - return ( theWrappedObject->objectId()); + return ( theWrappedObject->fontMetrics()); } -void PythonQtWrapper_QOpenGLVertexArrayObject::release(QOpenGLVertexArrayObject* theWrappedObject) +bool PythonQtWrapper_QPainter::hasClipping(QPainter* theWrappedObject) const { - ( theWrappedObject->release()); + return ( theWrappedObject->hasClipping()); } - - -PythonQtShell_QOpenGLWidget::~PythonQtShell_QOpenGLWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QOpenGLWidget::actionEvent(QActionEvent* event0) +void PythonQtWrapper_QPainter::initFrom(QPainter* theWrappedObject, const QPaintDevice* device) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::actionEvent(event0); + ( theWrappedObject->initFrom(device)); } -void PythonQtShell_QOpenGLWidget::changeEvent(QEvent* arg__1) + +bool PythonQtWrapper_QPainter::isActive(QPainter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isActive()); } - QOpenGLWidget::changeEvent(arg__1); -} -void PythonQtShell_QOpenGLWidget::childEvent(QChildEvent* event0) + +Qt::LayoutDirection PythonQtWrapper_QPainter::layoutDirection(QPainter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::childEvent(event0); + return ( theWrappedObject->layoutDirection()); } -void PythonQtShell_QOpenGLWidget::closeEvent(QCloseEvent* event0) + +qreal PythonQtWrapper_QPainter::opacity(QPainter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->opacity()); } - QOpenGLWidget::closeEvent(event0); -} -void PythonQtShell_QOpenGLWidget::contextMenuEvent(QContextMenuEvent* event0) + +QPaintEngine* PythonQtWrapper_QPainter::paintEngine(QPainter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QOpenGLWidget::contextMenuEvent(event0); + return ( theWrappedObject->paintEngine()); } -void PythonQtShell_QOpenGLWidget::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + +const QPen* PythonQtWrapper_QPainter::pen(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->pen()); } - QOpenGLWidget::customEvent(event0); + +QPaintDevice* PythonQtWrapper_QPainter::static_QPainter_redirected(const QPaintDevice* device, QPoint* offset) +{ + return (QPainter::redirected(device, offset)); } -int PythonQtShell_QOpenGLWidget::devType() const + +QPainter::RenderHints PythonQtWrapper_QPainter::renderHints(QPainter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->renderHints()); } - return QOpenGLWidget::devType(); + +void PythonQtWrapper_QPainter::resetMatrix(QPainter* theWrappedObject) +{ + ( theWrappedObject->resetMatrix()); } -void PythonQtShell_QOpenGLWidget::dragEnterEvent(QDragEnterEvent* event0) + +void PythonQtWrapper_QPainter::resetTransform(QPainter* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->resetTransform()); } - QOpenGLWidget::dragEnterEvent(event0); + +void PythonQtWrapper_QPainter::restore(QPainter* theWrappedObject) +{ + ( theWrappedObject->restore()); } -void PythonQtShell_QOpenGLWidget::dragLeaveEvent(QDragLeaveEvent* event0) + +void PythonQtWrapper_QPainter::static_QPainter_restoreRedirected(const QPaintDevice* device) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + (QPainter::restoreRedirected(device)); } - QOpenGLWidget::dragLeaveEvent(event0); + +void PythonQtWrapper_QPainter::rotate(QPainter* theWrappedObject, qreal a) +{ + ( theWrappedObject->rotate(a)); } -void PythonQtShell_QOpenGLWidget::dragMoveEvent(QDragMoveEvent* event0) + +void PythonQtWrapper_QPainter::save(QPainter* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->save()); } - QOpenGLWidget::dragMoveEvent(event0); + +void PythonQtWrapper_QPainter::scale(QPainter* theWrappedObject, qreal sx, qreal sy) +{ + ( theWrappedObject->scale(sx, sy)); } -void PythonQtShell_QOpenGLWidget::dropEvent(QDropEvent* event0) + +void PythonQtWrapper_QPainter::setBackground(QPainter* theWrappedObject, const QBrush& bg) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setBackground(bg)); } - QOpenGLWidget::dropEvent(event0); + +void PythonQtWrapper_QPainter::setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode) +{ + ( theWrappedObject->setBackgroundMode(mode)); } -void PythonQtShell_QOpenGLWidget::enterEvent(QEvent* event0) + +void PythonQtWrapper_QPainter::setBrush(QPainter* theWrappedObject, const QBrush& brush) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setBrush(brush)); } - QOpenGLWidget::enterEvent(event0); + +void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1) +{ + ( theWrappedObject->setBrushOrigin(arg__1)); } -bool PythonQtShell_QOpenGLWidget::event(QEvent* e0) + +void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setBrushOrigin(arg__1)); } - return QOpenGLWidget::event(e0); + +void PythonQtWrapper_QPainter::setBrushOrigin(QPainter* theWrappedObject, int x, int y) +{ + ( theWrappedObject->setBrushOrigin(x, y)); } -bool PythonQtShell_QOpenGLWidget::eventFilter(QObject* watched0, QEvent* event1) + +void PythonQtWrapper_QPainter::setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setClipPath(path, op)); } - return QOpenGLWidget::eventFilter(watched0, event1); + +void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op) +{ + ( theWrappedObject->setClipRect(arg__1, op)); } -void PythonQtShell_QOpenGLWidget::focusInEvent(QFocusEvent* event0) + +void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setClipRect(arg__1, op)); } - QOpenGLWidget::focusInEvent(event0); + +void PythonQtWrapper_QPainter::setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op) +{ + ( theWrappedObject->setClipRect(x, y, w, h, op)); } -bool PythonQtShell_QOpenGLWidget::focusNextPrevChild(bool next0) + +void PythonQtWrapper_QPainter::setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setClipRegion(arg__1, op)); +} + +void PythonQtWrapper_QPainter::setClipping(QPainter* theWrappedObject, bool enable) +{ + ( theWrappedObject->setClipping(enable)); +} + +void PythonQtWrapper_QPainter::setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode) +{ + ( theWrappedObject->setCompositionMode(mode)); +} + +void PythonQtWrapper_QPainter::setFont(QPainter* theWrappedObject, const QFont& f) +{ + ( theWrappedObject->setFont(f)); +} + +void PythonQtWrapper_QPainter::setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction) +{ + ( theWrappedObject->setLayoutDirection(direction)); } - return QOpenGLWidget::focusNextPrevChild(next0); + +void PythonQtWrapper_QPainter::setOpacity(QPainter* theWrappedObject, qreal opacity) +{ + ( theWrappedObject->setOpacity(opacity)); } -void PythonQtShell_QOpenGLWidget::focusOutEvent(QFocusEvent* event0) + +void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, Qt::PenStyle style) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPen(style)); } - QOpenGLWidget::focusOutEvent(event0); + +void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QColor& color) +{ + ( theWrappedObject->setPen(color)); } -bool PythonQtShell_QOpenGLWidget::hasHeightForWidth() const + +void PythonQtWrapper_QPainter::setPen(QPainter* theWrappedObject, const QPen& pen) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setPen(pen)); } - return QOpenGLWidget::hasHeightForWidth(); + +void PythonQtWrapper_QPainter::static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset) +{ + (QPainter::setRedirected(device, replacement, offset)); } -int PythonQtShell_QOpenGLWidget::heightForWidth(int arg__1) const + +void PythonQtWrapper_QPainter::setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setRenderHint(hint, on)); } - return QOpenGLWidget::heightForWidth(arg__1); + +void PythonQtWrapper_QPainter::setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on) +{ + ( theWrappedObject->setRenderHints(hints, on)); } -void PythonQtShell_QOpenGLWidget::hideEvent(QHideEvent* event0) + +void PythonQtWrapper_QPainter::setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTransform(transform, combine)); } - QOpenGLWidget::hideEvent(event0); + +void PythonQtWrapper_QPainter::setViewTransformEnabled(QPainter* theWrappedObject, bool enable) +{ + ( theWrappedObject->setViewTransformEnabled(enable)); } -void PythonQtShell_QOpenGLWidget::initPainter(QPainter* painter0) const + +void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, const QRect& viewport) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setViewport(viewport)); +} + +void PythonQtWrapper_QPainter::setViewport(QPainter* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->setViewport(x, y, w, h)); } - QOpenGLWidget::initPainter(painter0); + +void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, const QRect& window) +{ + ( theWrappedObject->setWindow(window)); } -void PythonQtShell_QOpenGLWidget::initializeGL() + +void PythonQtWrapper_QPainter::setWindow(QPainter* theWrappedObject, int x, int y, int w, int h) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initializeGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWindow(x, y, w, h)); } - QOpenGLWidget::initializeGL(); + +void PythonQtWrapper_QPainter::setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine) +{ + ( theWrappedObject->setWorldMatrix(matrix, combine)); } -void PythonQtShell_QOpenGLWidget::inputMethodEvent(QInputMethodEvent* arg__1) + +void PythonQtWrapper_QPainter::setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWorldMatrixEnabled(enabled)); } - QOpenGLWidget::inputMethodEvent(arg__1); + +void PythonQtWrapper_QPainter::setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine) +{ + ( theWrappedObject->setWorldTransform(matrix, combine)); } -QVariant PythonQtShell_QOpenGLWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const + +void PythonQtWrapper_QPainter::shear(QPainter* theWrappedObject, qreal sh, qreal sv) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->shear(sh, sv)); } - return QOpenGLWidget::inputMethodQuery(arg__1); + +void PythonQtWrapper_QPainter::strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen) +{ + ( theWrappedObject->strokePath(path, pen)); } -void PythonQtShell_QOpenGLWidget::keyPressEvent(QKeyEvent* event0) + +bool PythonQtWrapper_QPainter::testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->testRenderHint(hint)); } - QOpenGLWidget::keyPressEvent(event0); + +const QTransform* PythonQtWrapper_QPainter::transform(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->transform()); } -void PythonQtShell_QOpenGLWidget::keyReleaseEvent(QKeyEvent* event0) + +void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPoint& offset) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->translate(offset)); +} + +void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, const QPointF& offset) +{ + ( theWrappedObject->translate(offset)); +} + +void PythonQtWrapper_QPainter::translate(QPainter* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); +} + +bool PythonQtWrapper_QPainter::viewTransformEnabled(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->viewTransformEnabled()); +} + +QRect PythonQtWrapper_QPainter::viewport(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->viewport()); +} + +QRect PythonQtWrapper_QPainter::window(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->window()); +} + +const QMatrix* PythonQtWrapper_QPainter::worldMatrix(QPainter* theWrappedObject) const +{ + return &( theWrappedObject->worldMatrix()); } - QOpenGLWidget::keyReleaseEvent(event0); + +bool PythonQtWrapper_QPainter::worldMatrixEnabled(QPainter* theWrappedObject) const +{ + return ( theWrappedObject->worldMatrixEnabled()); } -void PythonQtShell_QOpenGLWidget::leaveEvent(QEvent* event0) + +const QTransform* PythonQtWrapper_QPainter::worldTransform(QPainter* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return &( theWrappedObject->worldTransform()); } - QOpenGLWidget::leaveEvent(event0); + + + +QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath() +{ +return new QPainterPath(); } + +QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath(const QPainterPath& other) +{ +return new QPainterPath(other); } + +QPainterPath* PythonQtWrapper_QPainterPath::new_QPainterPath(const QPointF& startPoint) +{ +return new QPainterPath(startPoint); } + +void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, const QPointF& center, qreal rx, qreal ry) +{ + ( theWrappedObject->addEllipse(center, rx, ry)); } -int PythonQtShell_QOpenGLWidget::metric(QPaintDevice::PaintDeviceMetric metric0) const + +void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, const QRectF& rect) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addEllipse(rect)); } - return QOpenGLWidget::metric(metric0); + +void PythonQtWrapper_QPainterPath::addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->addEllipse(x, y, w, h)); } -QSize PythonQtShell_QOpenGLWidget::minimumSizeHint() const + +void PythonQtWrapper_QPainterPath::addPath(QPainterPath* theWrappedObject, const QPainterPath& path) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addPath(path)); } - return QOpenGLWidget::minimumSizeHint(); + +void PythonQtWrapper_QPainterPath::addPolygon(QPainterPath* theWrappedObject, const QPolygonF& polygon) +{ + ( theWrappedObject->addPolygon(polygon)); } -void PythonQtShell_QOpenGLWidget::mouseDoubleClickEvent(QMouseEvent* event0) + +void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, const QRectF& rect) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addRect(rect)); } - QOpenGLWidget::mouseDoubleClickEvent(event0); + +void PythonQtWrapper_QPainterPath::addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h) +{ + ( theWrappedObject->addRect(x, y, w, h)); } -void PythonQtShell_QOpenGLWidget::mouseMoveEvent(QMouseEvent* event0) + +void PythonQtWrapper_QPainterPath::addRegion(QPainterPath* theWrappedObject, const QRegion& region) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addRegion(region)); } - QOpenGLWidget::mouseMoveEvent(event0); + +void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int roundness) +{ + ( theWrappedObject->addRoundRect(rect, roundness)); } -void PythonQtShell_QOpenGLWidget::mousePressEvent(QMouseEvent* event0) + +void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int xRnd, int yRnd) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addRoundRect(rect, xRnd, yRnd)); } - QOpenGLWidget::mousePressEvent(event0); + +void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int roundness) +{ + ( theWrappedObject->addRoundRect(x, y, w, h, roundness)); } -void PythonQtShell_QOpenGLWidget::mouseReleaseEvent(QMouseEvent* event0) + +void PythonQtWrapper_QPainterPath::addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addRoundRect(x, y, w, h, xRnd, yRnd)); } - QOpenGLWidget::mouseReleaseEvent(event0); + +void PythonQtWrapper_QPainterPath::addRoundedRect(QPainterPath* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode) +{ + ( theWrappedObject->addRoundedRect(rect, xRadius, yRadius, mode)); } -void PythonQtShell_QOpenGLWidget::moveEvent(QMoveEvent* event0) + +void PythonQtWrapper_QPainterPath::addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->addRoundedRect(x, y, w, h, xRadius, yRadius, mode)); +} + +void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, const QPointF& point, const QFont& f, const QString& text) +{ + ( theWrappedObject->addText(point, f, text)); } - QOpenGLWidget::moveEvent(event0); + +void PythonQtWrapper_QPainterPath::addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text) +{ + ( theWrappedObject->addText(x, y, f, text)); } -bool PythonQtShell_QOpenGLWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +qreal PythonQtWrapper_QPainterPath::angleAtPercent(QPainterPath* theWrappedObject, qreal t) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->angleAtPercent(t)); } - return QOpenGLWidget::nativeEvent(eventType0, message1, result2); + +void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal angle) +{ + ( theWrappedObject->arcMoveTo(rect, angle)); } -QPaintEngine* PythonQtShell_QOpenGLWidget::paintEngine() const + +void PythonQtWrapper_QPainterPath::arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->arcMoveTo(x, y, w, h, angle)); +} + +void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal startAngle, qreal arcLength) +{ + ( theWrappedObject->arcTo(rect, startAngle, arcLength)); } - return QOpenGLWidget::paintEngine(); + +void PythonQtWrapper_QPainterPath::arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength) +{ + ( theWrappedObject->arcTo(x, y, w, h, startAngle, arcLength)); } -void PythonQtShell_QOpenGLWidget::paintEvent(QPaintEvent* e0) + +QRectF PythonQtWrapper_QPainterPath::boundingRect(QPainterPath* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->boundingRect()); } - QOpenGLWidget::paintEvent(e0); + +void PythonQtWrapper_QPainterPath::closeSubpath(QPainterPath* theWrappedObject) +{ + ( theWrappedObject->closeSubpath()); } -void PythonQtShell_QOpenGLWidget::paintGL() + +void PythonQtWrapper_QPainterPath::connectPath(QPainterPath* theWrappedObject, const QPainterPath& path) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->connectPath(path)); } - QOpenGLWidget::paintGL(); + +bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QPainterPath& p) const +{ + return ( theWrappedObject->contains(p)); } -QPaintDevice* PythonQtShell_QOpenGLWidget::redirected(QPoint* p0) const + +bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QPointF& pt) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->contains(pt)); } - return QOpenGLWidget::redirected(p0); + +bool PythonQtWrapper_QPainterPath::contains(QPainterPath* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->contains(rect)); } -void PythonQtShell_QOpenGLWidget::resizeEvent(QResizeEvent* e0) + +QRectF PythonQtWrapper_QPainterPath::controlPointRect(QPainterPath* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->controlPointRect()); } - QOpenGLWidget::resizeEvent(e0); + +void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt1, const QPointF& ctrlPt2, const QPointF& endPt) +{ + ( theWrappedObject->cubicTo(ctrlPt1, ctrlPt2, endPt)); } -void PythonQtShell_QOpenGLWidget::resizeGL(int w0, int h1) + +void PythonQtWrapper_QPainterPath::cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->cubicTo(ctrlPt1x, ctrlPt1y, ctrlPt2x, ctrlPt2y, endPtx, endPty)); } - QOpenGLWidget::resizeGL(w0, h1); + +QPointF PythonQtWrapper_QPainterPath::currentPosition(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->currentPosition()); } -void PythonQtShell_QOpenGLWidget::setVisible(bool visible0) + +QPainterPath::Element PythonQtWrapper_QPainterPath::elementAt(QPainterPath* theWrappedObject, int i) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->elementAt(i)); } - QOpenGLWidget::setVisible(visible0); + +int PythonQtWrapper_QPainterPath::elementCount(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->elementCount()); } -QPainter* PythonQtShell_QOpenGLWidget::sharedPainter() const + +Qt::FillRule PythonQtWrapper_QPainterPath::fillRule(QPainterPath* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->fillRule()); } - return QOpenGLWidget::sharedPainter(); + +QPainterPath PythonQtWrapper_QPainterPath::intersected(QPainterPath* theWrappedObject, const QPainterPath& r) const +{ + return ( theWrappedObject->intersected(r)); } -void PythonQtShell_QOpenGLWidget::showEvent(QShowEvent* event0) + +bool PythonQtWrapper_QPainterPath::intersects(QPainterPath* theWrappedObject, const QPainterPath& p) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->intersects(p)); } - QOpenGLWidget::showEvent(event0); + +bool PythonQtWrapper_QPainterPath::intersects(QPainterPath* theWrappedObject, const QRectF& rect) const +{ + return ( theWrappedObject->intersects(rect)); } -QSize PythonQtShell_QOpenGLWidget::sizeHint() const + +bool PythonQtWrapper_QPainterPath::isEmpty(QPainterPath* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isEmpty()); } - return QOpenGLWidget::sizeHint(); + +qreal PythonQtWrapper_QPainterPath::length(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->length()); } -void PythonQtShell_QOpenGLWidget::tabletEvent(QTabletEvent* event0) + +void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, const QPointF& p) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->lineTo(p)); } - QOpenGLWidget::tabletEvent(event0); + +void PythonQtWrapper_QPainterPath::lineTo(QPainterPath* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->lineTo(x, y)); } -void PythonQtShell_QOpenGLWidget::timerEvent(QTimerEvent* event0) + +void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, const QPointF& p) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->moveTo(p)); +} + +void PythonQtWrapper_QPainterPath::moveTo(QPainterPath* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->moveTo(x, y)); +} + +bool PythonQtWrapper_QPainterPath::__ne__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)!= other); } - QOpenGLWidget::timerEvent(event0); + +QPainterPath PythonQtWrapper_QPainterPath::__and__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)& other); } -void PythonQtShell_QOpenGLWidget::wheelEvent(QWheelEvent* event0) + +QPainterPath* PythonQtWrapper_QPainterPath::__iand__(QPainterPath* theWrappedObject, const QPainterPath& other) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return &( (*theWrappedObject)&= other); } - QOpenGLWidget::wheelEvent(event0); + +QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QMatrix& m) +{ + return ( (*theWrappedObject)* m); } -QOpenGLWidget* PythonQtWrapper_QOpenGLWidget::new_QOpenGLWidget(QWidget* parent, Qt::WindowFlags f) -{ -return new PythonQtShell_QOpenGLWidget(parent, f); } -const QMetaObject* PythonQtShell_QOpenGLWidget::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLWidget::staticMetaObject); - } else { - return &QOpenGLWidget::staticMetaObject; - } +QPainterPath PythonQtWrapper_QPainterPath::__mul__(QPainterPath* theWrappedObject, const QTransform& m) +{ + return ( (*theWrappedObject)* m); } -int PythonQtShell_QOpenGLWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOpenGLWidget::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +QPainterPath PythonQtWrapper_QPainterPath::__add__(QPainterPath* theWrappedObject, const QPainterPath& other) const +{ + return ( (*theWrappedObject)+ other); } -QOpenGLContext* PythonQtWrapper_QOpenGLWidget::context(QOpenGLWidget* theWrappedObject) const + +QPainterPath* PythonQtWrapper_QPainterPath::__iadd__(QPainterPath* theWrappedObject, const QPainterPath& other) { - return ( theWrappedObject->context()); + return &( (*theWrappedObject)+= other); } -GLuint PythonQtWrapper_QOpenGLWidget::defaultFramebufferObject(QOpenGLWidget* theWrappedObject) const +QPainterPath PythonQtWrapper_QPainterPath::__sub__(QPainterPath* theWrappedObject, const QPainterPath& other) const { - return ( theWrappedObject->defaultFramebufferObject()); + return ( (*theWrappedObject)- other); } -void PythonQtWrapper_QOpenGLWidget::doneCurrent(QOpenGLWidget* theWrappedObject) +QPainterPath* PythonQtWrapper_QPainterPath::__isub__(QPainterPath* theWrappedObject, const QPainterPath& other) { - ( theWrappedObject->doneCurrent()); + return &( (*theWrappedObject)-= other); } -QSurfaceFormat PythonQtWrapper_QOpenGLWidget::format(QOpenGLWidget* theWrappedObject) const +void PythonQtWrapper_QPainterPath::writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1) { - return ( theWrappedObject->format()); + arg__1 << (*theWrappedObject); } -QImage PythonQtWrapper_QOpenGLWidget::grabFramebuffer(QOpenGLWidget* theWrappedObject) +bool PythonQtWrapper_QPainterPath::__eq__(QPainterPath* theWrappedObject, const QPainterPath& other) const { - return ( theWrappedObject->grabFramebuffer()); + return ( (*theWrappedObject)== other); } -void PythonQtWrapper_QOpenGLWidget::initializeGL(QOpenGLWidget* theWrappedObject) +void PythonQtWrapper_QPainterPath::readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1) { - ( ((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->promoted_initializeGL()); + arg__1 >> (*theWrappedObject); } -bool PythonQtWrapper_QOpenGLWidget::isValid(QOpenGLWidget* theWrappedObject) const +QPainterPath PythonQtWrapper_QPainterPath::__or__(QPainterPath* theWrappedObject, const QPainterPath& other) const { - return ( theWrappedObject->isValid()); + return ( (*theWrappedObject)| other); } -void PythonQtWrapper_QOpenGLWidget::makeCurrent(QOpenGLWidget* theWrappedObject) +QPainterPath* PythonQtWrapper_QPainterPath::__ior__(QPainterPath* theWrappedObject, const QPainterPath& other) { - ( theWrappedObject->makeCurrent()); + return &( (*theWrappedObject)|= other); } -void PythonQtWrapper_QOpenGLWidget::paintGL(QOpenGLWidget* theWrappedObject) +qreal PythonQtWrapper_QPainterPath::percentAtLength(QPainterPath* theWrappedObject, qreal t) const { - ( ((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->promoted_paintGL()); + return ( theWrappedObject->percentAtLength(t)); } -void PythonQtWrapper_QOpenGLWidget::resizeGL(QOpenGLWidget* theWrappedObject, int w, int h) +QPointF PythonQtWrapper_QPainterPath::pointAtPercent(QPainterPath* theWrappedObject, qreal t) const { - ( ((PythonQtPublicPromoter_QOpenGLWidget*)theWrappedObject)->promoted_resizeGL(w, h)); + return ( theWrappedObject->pointAtPercent(t)); } -void PythonQtWrapper_QOpenGLWidget::setFormat(QOpenGLWidget* theWrappedObject, const QSurfaceFormat& format) +void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt, const QPointF& endPt) { - ( theWrappedObject->setFormat(format)); + ( theWrappedObject->quadTo(ctrlPt, endPt)); } -void PythonQtWrapper_QOpenGLWidget::setTextureFormat(QOpenGLWidget* theWrappedObject, GLenum texFormat) +void PythonQtWrapper_QPainterPath::quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty) { - ( theWrappedObject->setTextureFormat(texFormat)); + ( theWrappedObject->quadTo(ctrlPtx, ctrlPty, endPtx, endPty)); } -void PythonQtWrapper_QOpenGLWidget::setUpdateBehavior(QOpenGLWidget* theWrappedObject, QOpenGLWidget::UpdateBehavior updateBehavior) +void PythonQtWrapper_QPainterPath::setElementPositionAt(QPainterPath* theWrappedObject, int i, qreal x, qreal y) { - ( theWrappedObject->setUpdateBehavior(updateBehavior)); + ( theWrappedObject->setElementPositionAt(i, x, y)); } -GLenum PythonQtWrapper_QOpenGLWidget::textureFormat(QOpenGLWidget* theWrappedObject) const +void PythonQtWrapper_QPainterPath::setFillRule(QPainterPath* theWrappedObject, Qt::FillRule fillRule) { - return ( theWrappedObject->textureFormat()); + ( theWrappedObject->setFillRule(fillRule)); } -QOpenGLWidget::UpdateBehavior PythonQtWrapper_QOpenGLWidget::updateBehavior(QOpenGLWidget* theWrappedObject) const +QPainterPath PythonQtWrapper_QPainterPath::simplified(QPainterPath* theWrappedObject) const { - return ( theWrappedObject->updateBehavior()); + return ( theWrappedObject->simplified()); } +qreal PythonQtWrapper_QPainterPath::slopeAtPercent(QPainterPath* theWrappedObject, qreal t) const +{ + return ( theWrappedObject->slopeAtPercent(t)); +} +QPainterPath PythonQtWrapper_QPainterPath::subtracted(QPainterPath* theWrappedObject, const QPainterPath& r) const +{ + return ( theWrappedObject->subtracted(r)); +} -PythonQtShell_QOpenGLWindow::~PythonQtShell_QOpenGLWindow() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QPainterPath PythonQtWrapper_QPainterPath::subtractedInverted(QPainterPath* theWrappedObject, const QPainterPath& r) const +{ + return ( theWrappedObject->subtractedInverted(r)); } -void PythonQtShell_QOpenGLWindow::childEvent(QChildEvent* event0) + +void PythonQtWrapper_QPainterPath::swap(QPainterPath* theWrappedObject, QPainterPath& other) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->swap(other)); } - QOpenGLWindow::childEvent(event0); + +QPolygonF PythonQtWrapper_QPainterPath::toFillPolygon(QPainterPath* theWrappedObject, const QMatrix& matrix) const +{ + return ( theWrappedObject->toFillPolygon(matrix)); } -void PythonQtShell_QOpenGLWindow::customEvent(QEvent* event0) + +QPolygonF PythonQtWrapper_QPainterPath::toFillPolygon(QPainterPath* theWrappedObject, const QTransform& matrix) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toFillPolygon(matrix)); } - QOpenGLWindow::customEvent(event0); + +QList PythonQtWrapper_QPainterPath::toFillPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const +{ + return ( theWrappedObject->toFillPolygons(matrix)); } -int PythonQtShell_QOpenGLWindow::devType() const + +QList PythonQtWrapper_QPainterPath::toFillPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toFillPolygons(matrix)); } - return QOpenGLWindow::devType(); + +QPainterPath PythonQtWrapper_QPainterPath::toReversed(QPainterPath* theWrappedObject) const +{ + return ( theWrappedObject->toReversed()); } -bool PythonQtShell_QOpenGLWindow::event(QEvent* event0) + +QList PythonQtWrapper_QPainterPath::toSubpathPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toSubpathPolygons(matrix)); } - return QOpenGLWindow::event(event0); + +QList PythonQtWrapper_QPainterPath::toSubpathPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const +{ + return ( theWrappedObject->toSubpathPolygons(matrix)); } -bool PythonQtShell_QOpenGLWindow::eventFilter(QObject* watched0, QEvent* event1) + +void PythonQtWrapper_QPainterPath::translate(QPainterPath* theWrappedObject, const QPointF& offset) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->translate(offset)); } - return QOpenGLWindow::eventFilter(watched0, event1); + +void PythonQtWrapper_QPainterPath::translate(QPainterPath* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); } -void PythonQtShell_QOpenGLWindow::exposeEvent(QExposeEvent* arg__1) + +QPainterPath PythonQtWrapper_QPainterPath::translated(QPainterPath* theWrappedObject, const QPointF& offset) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("exposeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QExposeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->translated(offset)); } - QOpenGLWindow::exposeEvent(arg__1); + +QPainterPath PythonQtWrapper_QPainterPath::translated(QPainterPath* theWrappedObject, qreal dx, qreal dy) const +{ + return ( theWrappedObject->translated(dx, dy)); } -void PythonQtShell_QOpenGLWindow::focusInEvent(QFocusEvent* arg__1) + +QPainterPath PythonQtWrapper_QPainterPath::united(QPainterPath* theWrappedObject, const QPainterPath& r) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->united(r)); +} + +QString PythonQtWrapper_QPainterPath::py_toString(QPainterPath* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } - QOpenGLWindow::focusInEvent(arg__1); + + + +QPainterPathStroker* PythonQtWrapper_QPainterPathStroker::new_QPainterPathStroker() +{ +return new QPainterPathStroker(); } + +QPainterPathStroker* PythonQtWrapper_QPainterPathStroker::new_QPainterPathStroker(const QPen& pen) +{ +return new QPainterPathStroker(pen); } + +Qt::PenCapStyle PythonQtWrapper_QPainterPathStroker::capStyle(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->capStyle()); } -QObject* PythonQtShell_QOpenGLWindow::focusObject() const + +QPainterPath PythonQtWrapper_QPainterPathStroker::createStroke(QPainterPathStroker* theWrappedObject, const QPainterPath& path) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusObject"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); - } else { - returnValue = *((QObject**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->createStroke(path)); } - return QOpenGLWindow::focusObject(); + +qreal PythonQtWrapper_QPainterPathStroker::curveThreshold(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->curveThreshold()); } -void PythonQtShell_QOpenGLWindow::focusOutEvent(QFocusEvent* arg__1) + +qreal PythonQtWrapper_QPainterPathStroker::dashOffset(QPainterPathStroker* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->dashOffset()); } - QOpenGLWindow::focusOutEvent(arg__1); + +QVector PythonQtWrapper_QPainterPathStroker::dashPattern(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->dashPattern()); } -QSurfaceFormat PythonQtShell_QOpenGLWindow::format() const + +Qt::PenJoinStyle PythonQtWrapper_QPainterPathStroker::joinStyle(QPainterPathStroker* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("format"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSurfaceFormat"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurfaceFormat returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); - } else { - returnValue = *((QSurfaceFormat*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->joinStyle()); } - return QOpenGLWindow::format(); + +qreal PythonQtWrapper_QPainterPathStroker::miterLimit(QPainterPathStroker* theWrappedObject) const +{ + return ( theWrappedObject->miterLimit()); } -void PythonQtShell_QOpenGLWindow::hideEvent(QHideEvent* arg__1) + +void PythonQtWrapper_QPainterPathStroker::setCapStyle(QPainterPathStroker* theWrappedObject, Qt::PenCapStyle style) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCapStyle(style)); } - QOpenGLWindow::hideEvent(arg__1); + +void PythonQtWrapper_QPainterPathStroker::setCurveThreshold(QPainterPathStroker* theWrappedObject, qreal threshold) +{ + ( theWrappedObject->setCurveThreshold(threshold)); } -void PythonQtShell_QOpenGLWindow::initPainter(QPainter* painter0) const + +void PythonQtWrapper_QPainterPathStroker::setDashOffset(QPainterPathStroker* theWrappedObject, qreal offset) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setDashOffset(offset)); } - QOpenGLWindow::initPainter(painter0); + +void PythonQtWrapper_QPainterPathStroker::setDashPattern(QPainterPathStroker* theWrappedObject, Qt::PenStyle arg__1) +{ + ( theWrappedObject->setDashPattern(arg__1)); } -void PythonQtShell_QOpenGLWindow::initializeGL() + +void PythonQtWrapper_QPainterPathStroker::setDashPattern(QPainterPathStroker* theWrappedObject, const QVector& dashPattern) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initializeGL"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setDashPattern(dashPattern)); } - QOpenGLWindow::initializeGL(); + +void PythonQtWrapper_QPainterPathStroker::setJoinStyle(QPainterPathStroker* theWrappedObject, Qt::PenJoinStyle style) +{ + ( theWrappedObject->setJoinStyle(style)); } -void PythonQtShell_QOpenGLWindow::keyPressEvent(QKeyEvent* arg__1) + +void PythonQtWrapper_QPainterPathStroker::setMiterLimit(QPainterPathStroker* theWrappedObject, qreal length) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setMiterLimit(length)); } - QOpenGLWindow::keyPressEvent(arg__1); + +void PythonQtWrapper_QPainterPathStroker::setWidth(QPainterPathStroker* theWrappedObject, qreal width) +{ + ( theWrappedObject->setWidth(width)); } -void PythonQtShell_QOpenGLWindow::keyReleaseEvent(QKeyEvent* arg__1) + +qreal PythonQtWrapper_QPainterPathStroker::width(QPainterPathStroker* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->width()); } - QOpenGLWindow::keyReleaseEvent(arg__1); + + + +PythonQtShell_QPainterPath__Element::~PythonQtShell_QPainterPath__Element() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -int PythonQtShell_QOpenGLWindow::metric(QPaintDevice::PaintDeviceMetric metric0) const +QPainterPath::Element* PythonQtWrapper_QPainterPath__Element::new_QPainterPath__Element() +{ +return new PythonQtShell_QPainterPath__Element(); } + +bool PythonQtWrapper_QPainterPath__Element::isCurveTo(QPainterPath::Element* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&metric0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isCurveTo()); } - return QOpenGLWindow::metric(metric0); + +bool PythonQtWrapper_QPainterPath__Element::isLineTo(QPainterPath::Element* theWrappedObject) const +{ + return ( theWrappedObject->isLineTo()); } -void PythonQtShell_QOpenGLWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) + +bool PythonQtWrapper_QPainterPath__Element::isMoveTo(QPainterPath::Element* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->isMoveTo()); } - QOpenGLWindow::mouseDoubleClickEvent(arg__1); + +QPointF PythonQtWrapper_QPainterPath__Element::operator_cast_QPointF(QPainterPath::Element* theWrappedObject) const +{ + return ( theWrappedObject->operator QPointF()); } -void PythonQtShell_QOpenGLWindow::mouseMoveEvent(QMouseEvent* arg__1) + +bool PythonQtWrapper_QPainterPath__Element::__ne__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( (*theWrappedObject)!= e); +} + +bool PythonQtWrapper_QPainterPath__Element::__eq__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const +{ + return ( (*theWrappedObject)== e); +} + + + +PythonQtShell_QPainter__PixmapFragment::~PythonQtShell_QPainter__PixmapFragment() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPainter::PixmapFragment* PythonQtWrapper_QPainter__PixmapFragment::new_QPainter__PixmapFragment() +{ +return new PythonQtShell_QPainter__PixmapFragment(); } + +QPainter::PixmapFragment PythonQtWrapper_QPainter__PixmapFragment::static_QPainter__PixmapFragment_create(const QPointF& pos, const QRectF& sourceRect, qreal scaleX, qreal scaleY, qreal rotation, qreal opacity) +{ + return (QPainter::PixmapFragment::create(pos, sourceRect, scaleX, scaleY, rotation, opacity)); } - QOpenGLWindow::mouseMoveEvent(arg__1); + + + +PythonQtShell_QPanGesture::~PythonQtShell_QPanGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QOpenGLWindow::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QPanGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14690,19 +13862,19 @@ if (_wrapper) { } } } - QOpenGLWindow::mousePressEvent(arg__1); + QPanGesture::childEvent(event0); } -void PythonQtShell_QOpenGLWindow::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QPanGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14712,48 +13884,59 @@ if (_wrapper) { } } } - QOpenGLWindow::mouseReleaseEvent(arg__1); + QPanGesture::customEvent(event0); } -void PythonQtShell_QOpenGLWindow::moveEvent(QMoveEvent* arg__1) +bool PythonQtShell_QPanGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QOpenGLWindow::moveEvent(arg__1); + return QPanGesture::event(event0); } -bool PythonQtShell_QOpenGLWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QPanGesture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -14767,17 +13950,17 @@ if (_wrapper) { } } } - return QOpenGLWindow::nativeEvent(eventType0, message1, result2); + return QPanGesture::eventFilter(watched0, event1); } -void PythonQtShell_QOpenGLWindow::paintEvent(QPaintEvent* event0) +void PythonQtShell_QPanGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -14789,19 +13972,77 @@ if (_wrapper) { } } } - QOpenGLWindow::paintEvent(event0); + QPanGesture::timerEvent(event0); +} +QPanGesture* PythonQtWrapper_QPanGesture::new_QPanGesture(QObject* parent) +{ +return new PythonQtShell_QPanGesture(parent); } + +const QMetaObject* PythonQtShell_QPanGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPanGesture::staticMetaObject); + } else { + return &QPanGesture::staticMetaObject; + } +} +int PythonQtShell_QPanGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPanGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +qreal PythonQtWrapper_QPanGesture::acceleration(QPanGesture* theWrappedObject) const +{ + return ( theWrappedObject->acceleration()); +} + +QPointF PythonQtWrapper_QPanGesture::delta(QPanGesture* theWrappedObject) const +{ + return ( theWrappedObject->delta()); +} + +QPointF PythonQtWrapper_QPanGesture::lastOffset(QPanGesture* theWrappedObject) const +{ + return ( theWrappedObject->lastOffset()); +} + +QPointF PythonQtWrapper_QPanGesture::offset(QPanGesture* theWrappedObject) const +{ + return ( theWrappedObject->offset()); +} + +void PythonQtWrapper_QPanGesture::setAcceleration(QPanGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setAcceleration(value)); +} + +void PythonQtWrapper_QPanGesture::setLastOffset(QPanGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setLastOffset(value)); +} + +void PythonQtWrapper_QPanGesture::setOffset(QPanGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setOffset(value)); +} + + + +PythonQtShell_QPdfWriter::~PythonQtShell_QPdfWriter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QOpenGLWindow::paintGL() +void PythonQtShell_QPdfWriter::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintGL"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14811,19 +14052,19 @@ if (_wrapper) { } } } - QOpenGLWindow::paintGL(); + QPdfWriter::childEvent(event0); } -void PythonQtShell_QOpenGLWindow::paintOverGL() +void PythonQtShell_QPdfWriter::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintOverGL"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14833,50 +14074,61 @@ if (_wrapper) { } } } - QOpenGLWindow::paintOverGL(); + QPdfWriter::customEvent(event0); } -void PythonQtShell_QOpenGLWindow::paintUnderGL() +int PythonQtShell_QPdfWriter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintUnderGL"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QOpenGLWindow::paintUnderGL(); + return QPdfWriter::devType(); } -QPaintDevice* PythonQtShell_QOpenGLWindow::redirected(QPoint* arg__1) const +bool PythonQtShell_QPdfWriter::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -14888,41 +14140,52 @@ if (_wrapper) { } } } - return QOpenGLWindow::redirected(arg__1); + return QPdfWriter::event(event0); } -void PythonQtShell_QOpenGLWindow::resizeEvent(QResizeEvent* event0) +bool PythonQtShell_QPdfWriter::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QOpenGLWindow::resizeEvent(event0); + return QPdfWriter::eventFilter(watched0, event1); } -void PythonQtShell_QOpenGLWindow::resizeGL(int w0, int h1) +void PythonQtShell_QPdfWriter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeGL"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&w0, (void*)&h1}; + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14932,28 +14195,28 @@ if (_wrapper) { } } } - QOpenGLWindow::resizeGL(w0, h1); + QPdfWriter::initPainter(painter0); } -QPainter* PythonQtShell_QOpenGLWindow::sharedPainter() const +int PythonQtShell_QPdfWriter::metric(QPaintDevice::PaintDeviceMetric id0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&id0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } @@ -14965,50 +14228,61 @@ if (_wrapper) { } } } - return QOpenGLWindow::sharedPainter(); + return QPdfWriter::metric(id0); } -void PythonQtShell_QOpenGLWindow::showEvent(QShowEvent* arg__1) +bool PythonQtShell_QPdfWriter::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QOpenGLWindow::showEvent(arg__1); + return QPdfWriter::newPage(); } -QSize PythonQtShell_QOpenGLWindow::size() const +QPaintEngine* PythonQtShell_QPdfWriter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("size"); + static PyObject* name = PyUnicode_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + QPaintEngine* returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } @@ -15020,28 +14294,28 @@ if (_wrapper) { } } } - return QOpenGLWindow::size(); + return QPdfWriter::paintEngine(); } -QSurface::SurfaceType PythonQtShell_QOpenGLWindow::surfaceType() const +QPaintDevice* PythonQtShell_QPdfWriter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("surfaceType"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSurface::SurfaceType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurface::SurfaceType returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QSurface::SurfaceType*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } @@ -15053,19 +14327,19 @@ if (_wrapper) { } } } - return QOpenGLWindow::surfaceType(); + return QPdfWriter::redirected(offset0); } -void PythonQtShell_QOpenGLWindow::tabletEvent(QTabletEvent* arg__1) +void PythonQtShell_QPdfWriter::setMargins(const QPagedPaintDevice::Margins& m0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&m0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -15075,19 +14349,19 @@ if (_wrapper) { } } } - QOpenGLWindow::tabletEvent(arg__1); + QPdfWriter::setMargins(m0); } -void PythonQtShell_QOpenGLWindow::timerEvent(QTimerEvent* event0) +void PythonQtShell_QPdfWriter::setPageSize(QPagedPaintDevice::PageSize size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -15097,19 +14371,19 @@ if (_wrapper) { } } } - QOpenGLWindow::timerEvent(event0); + QPdfWriter::setPageSize(size0); } -void PythonQtShell_QOpenGLWindow::touchEvent(QTouchEvent* arg__1) +void PythonQtShell_QPdfWriter::setPageSizeMM(const QSizeF& size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("touchEvent"); + static PyObject* name = PyUnicode_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTouchEvent*"}; + static const char* argumentList[] ={"" , "const QSizeF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -15119,19 +14393,52 @@ if (_wrapper) { } } } - QOpenGLWindow::touchEvent(arg__1); + QPdfWriter::setPageSizeMM(size0); } -void PythonQtShell_QOpenGLWindow::wheelEvent(QWheelEvent* arg__1) +QPainter* PythonQtShell_QPdfWriter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPdfWriter::sharedPainter(); +} +void PythonQtShell_QPdfWriter::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -15141,92 +14448,67 @@ if (_wrapper) { } } } - QOpenGLWindow::wheelEvent(arg__1); + QPdfWriter::timerEvent(event0); } -QOpenGLWindow* PythonQtWrapper_QOpenGLWindow::new_QOpenGLWindow(QOpenGLContext* shareContext, QOpenGLWindow::UpdateBehavior updateBehavior, QWindow* parent) +QPdfWriter* PythonQtWrapper_QPdfWriter::new_QPdfWriter(QIODevice* device) { -return new PythonQtShell_QOpenGLWindow(shareContext, updateBehavior, parent); } +return new PythonQtShell_QPdfWriter(device); } -QOpenGLWindow* PythonQtWrapper_QOpenGLWindow::new_QOpenGLWindow(QOpenGLWindow::UpdateBehavior updateBehavior, QWindow* parent) +QPdfWriter* PythonQtWrapper_QPdfWriter::new_QPdfWriter(const QString& filename) { -return new PythonQtShell_QOpenGLWindow(updateBehavior, parent); } +return new PythonQtShell_QPdfWriter(filename); } -const QMetaObject* PythonQtShell_QOpenGLWindow::metaObject() const { +const QMetaObject* PythonQtShell_QPdfWriter::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QOpenGLWindow::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPdfWriter::staticMetaObject); } else { - return &QOpenGLWindow::staticMetaObject; + return &QPdfWriter::staticMetaObject; } } -int PythonQtShell_QOpenGLWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QOpenGLWindow::qt_metacall(call, id, args); +int PythonQtShell_QPdfWriter::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPdfWriter::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QOpenGLContext* PythonQtWrapper_QOpenGLWindow::context(QOpenGLWindow* theWrappedObject) const -{ - return ( theWrappedObject->context()); -} - -GLuint PythonQtWrapper_QOpenGLWindow::defaultFramebufferObject(QOpenGLWindow* theWrappedObject) const -{ - return ( theWrappedObject->defaultFramebufferObject()); -} - -void PythonQtWrapper_QOpenGLWindow::doneCurrent(QOpenGLWindow* theWrappedObject) -{ - ( theWrappedObject->doneCurrent()); -} - -QImage PythonQtWrapper_QOpenGLWindow::grabFramebuffer(QOpenGLWindow* theWrappedObject) -{ - return ( theWrappedObject->grabFramebuffer()); -} - -void PythonQtWrapper_QOpenGLWindow::initializeGL(QOpenGLWindow* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_initializeGL()); -} - -bool PythonQtWrapper_QOpenGLWindow::isValid(QOpenGLWindow* theWrappedObject) const +QString PythonQtWrapper_QPdfWriter::creator(QPdfWriter* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->creator()); } -void PythonQtWrapper_QOpenGLWindow::makeCurrent(QOpenGLWindow* theWrappedObject) +QPagedPaintDevice::PdfVersion PythonQtWrapper_QPdfWriter::pdfVersion(QPdfWriter* theWrappedObject) const { - ( theWrappedObject->makeCurrent()); + return ( theWrappedObject->pdfVersion()); } -void PythonQtWrapper_QOpenGLWindow::paintGL(QOpenGLWindow* theWrappedObject) +int PythonQtWrapper_QPdfWriter::resolution(QPdfWriter* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintGL()); + return ( theWrappedObject->resolution()); } -void PythonQtWrapper_QOpenGLWindow::paintOverGL(QOpenGLWindow* theWrappedObject) +void PythonQtWrapper_QPdfWriter::setCreator(QPdfWriter* theWrappedObject, const QString& creator) { - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintOverGL()); + ( theWrappedObject->setCreator(creator)); } -void PythonQtWrapper_QOpenGLWindow::paintUnderGL(QOpenGLWindow* theWrappedObject) +void PythonQtWrapper_QPdfWriter::setPdfVersion(QPdfWriter* theWrappedObject, QPagedPaintDevice::PdfVersion version) { - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_paintUnderGL()); + ( theWrappedObject->setPdfVersion(version)); } -void PythonQtWrapper_QOpenGLWindow::resizeGL(QOpenGLWindow* theWrappedObject, int w, int h) +void PythonQtWrapper_QPdfWriter::setResolution(QPdfWriter* theWrappedObject, int resolution) { - ( ((PythonQtPublicPromoter_QOpenGLWindow*)theWrappedObject)->promoted_resizeGL(w, h)); + ( theWrappedObject->setResolution(resolution)); } -QOpenGLContext* PythonQtWrapper_QOpenGLWindow::shareContext(QOpenGLWindow* theWrappedObject) const +void PythonQtWrapper_QPdfWriter::setTitle(QPdfWriter* theWrappedObject, const QString& title) { - return ( theWrappedObject->shareContext()); + ( theWrappedObject->setTitle(title)); } -QOpenGLWindow::UpdateBehavior PythonQtWrapper_QOpenGLWindow::updateBehavior(QOpenGLWindow* theWrappedObject) const +QString PythonQtWrapper_QPdfWriter::title(QPdfWriter* theWrappedObject) const { - return ( theWrappedObject->updateBehavior()); + return ( theWrappedObject->title()); } diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui6.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui5.h similarity index 56% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui6.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui5.h index 6de706ec1..4d5d42e0c 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui6.h +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui5.h @@ -1,30 +1,42 @@ #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 @@ -48,8 +60,9 @@ #include #include #include -#include +#include #include +#include #include #include #include @@ -62,115 +75,48 @@ #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_QPageLayout : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Mode Orientation Unit ) -enum Mode{ - StandardMode = QPageLayout::StandardMode, FullPageMode = QPageLayout::FullPageMode}; -enum Orientation{ - Portrait = QPageLayout::Portrait, Landscape = QPageLayout::Landscape}; -enum Unit{ - Millimeter = QPageLayout::Millimeter, Point = QPageLayout::Point, Inch = QPageLayout::Inch, Pica = QPageLayout::Pica, Didot = QPageLayout::Didot, Cicero = QPageLayout::Cicero}; -public Q_SLOTS: -QPageLayout* new_QPageLayout(); -QPageLayout* new_QPageLayout(const QPageLayout& other); -QPageLayout* new_QPageLayout(const QPageSize& pageSize, QPageLayout::Orientation orientation, const QMarginsF& margins, QPageLayout::Unit units = QPageLayout::Point, const QMarginsF& minMargins = QMarginsF(0,0,0,0)); -void delete_QPageLayout(QPageLayout* obj) { delete obj; } - QRectF fullRect(QPageLayout* theWrappedObject) const; - QRectF fullRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const; - QRect fullRectPixels(QPageLayout* theWrappedObject, int resolution) const; - QRect fullRectPoints(QPageLayout* theWrappedObject) const; - bool isEquivalentTo(QPageLayout* theWrappedObject, const QPageLayout& other) const; - bool isValid(QPageLayout* theWrappedObject) const; - QMarginsF margins(QPageLayout* theWrappedObject) const; - QMarginsF margins(QPageLayout* theWrappedObject, QPageLayout::Unit units) const; - QMargins marginsPixels(QPageLayout* theWrappedObject, int resolution) const; - QMargins marginsPoints(QPageLayout* theWrappedObject) const; - QMarginsF maximumMargins(QPageLayout* theWrappedObject) const; - QMarginsF minimumMargins(QPageLayout* theWrappedObject) const; - QPageLayout::Mode mode(QPageLayout* theWrappedObject) const; - bool __ne__(QPageLayout* theWrappedObject, const QPageLayout& rhs); - QPageLayout* operator_assign(QPageLayout* theWrappedObject, const QPageLayout& other); - bool __eq__(QPageLayout* theWrappedObject, const QPageLayout& rhs); - QPageLayout::Orientation orientation(QPageLayout* theWrappedObject) const; - QPageSize pageSize(QPageLayout* theWrappedObject) const; - QRectF paintRect(QPageLayout* theWrappedObject) const; - QRectF paintRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const; - QRect paintRectPixels(QPageLayout* theWrappedObject, int resolution) const; - QRect paintRectPoints(QPageLayout* theWrappedObject) const; - bool setBottomMargin(QPageLayout* theWrappedObject, qreal bottomMargin); - bool setLeftMargin(QPageLayout* theWrappedObject, qreal leftMargin); - bool setMargins(QPageLayout* theWrappedObject, const QMarginsF& margins); - void setMinimumMargins(QPageLayout* theWrappedObject, const QMarginsF& minMargins); - void setMode(QPageLayout* theWrappedObject, QPageLayout::Mode mode); - void setOrientation(QPageLayout* theWrappedObject, QPageLayout::Orientation orientation); - void setPageSize(QPageLayout* theWrappedObject, const QPageSize& pageSize, const QMarginsF& minMargins = QMarginsF(0,0,0,0)); - bool setRightMargin(QPageLayout* theWrappedObject, qreal rightMargin); - bool setTopMargin(QPageLayout* theWrappedObject, qreal topMargin); - void setUnits(QPageLayout* theWrappedObject, QPageLayout::Unit units); - void swap(QPageLayout* theWrappedObject, QPageLayout& other); - QPageLayout::Unit units(QPageLayout* theWrappedObject) const; - QString py_toString(QPageLayout*); - bool __nonzero__(QPageLayout* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtShell_QPageSetupDialog : public QPageSetupDialog +class PythonQtShell_QMainWindow : public QMainWindow { public: - PythonQtShell_QPageSetupDialog(QPrinter* printer, QWidget* parent = nullptr):QPageSetupDialog(printer, parent),_wrapper(nullptr) {}; - PythonQtShell_QPageSetupDialog(QWidget* parent = nullptr):QPageSetupDialog(parent),_wrapper(nullptr) {}; + PythonQtShell_QMainWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QMainWindow(parent, flags),_wrapper(nullptr) {}; - ~PythonQtShell_QPageSetupDialog() override; + ~PythonQtShell_QMainWindow() override; -void accept() override; void actionEvent(QActionEvent* event) override; void changeEvent(QEvent* arg__1) override; void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* arg__1) override; -void contextMenuEvent(QContextMenuEvent* arg__1) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +QMenu* createPopupMenu() override; void customEvent(QEvent* event) override; int devType() const override; -void done(int result) override; void dragEnterEvent(QDragEnterEvent* event) override; void dragLeaveEvent(QDragLeaveEvent* event) override; void dragMoveEvent(QDragMoveEvent* event) override; void dropEvent(QDropEvent* event) override; void enterEvent(QEvent* event) override; bool event(QEvent* event) override; -bool eventFilter(QObject* arg__1, QEvent* arg__2) override; -int exec() override; +bool eventFilter(QObject* watched, QEvent* event) override; void focusInEvent(QFocusEvent* event) override; bool focusNextPrevChild(bool next) override; void focusOutEvent(QFocusEvent* event) override; @@ -180,7 +126,7 @@ void hideEvent(QHideEvent* event) override; void initPainter(QPainter* painter) const override; void inputMethodEvent(QInputMethodEvent* arg__1) override; QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* arg__1) override; +void keyPressEvent(QKeyEvent* event) override; void keyReleaseEvent(QKeyEvent* event) override; void leaveEvent(QEvent* event) override; int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; @@ -194,11 +140,10 @@ bool nativeEvent(const QByteArray& eventType, void* message, long* result) o QPaintEngine* paintEngine() const override; void paintEvent(QPaintEvent* event) override; QPaintDevice* redirected(QPoint* offset) const override; -void reject() override; -void resizeEvent(QResizeEvent* arg__1) override; +void resizeEvent(QResizeEvent* event) override; void setVisible(bool visible) override; QPainter* sharedPainter() const override; -void showEvent(QShowEvent* arg__1) override; +void showEvent(QShowEvent* event) override; QSize sizeHint() const override; void tabletEvent(QTabletEvent* event) override; void timerEvent(QTimerEvent* event) override; @@ -209,949 +154,1144 @@ void wheelEvent(QWheelEvent* event) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QPageSetupDialog : public QPageSetupDialog +class PythonQtPublicPromoter_QMainWindow : public QMainWindow { public: -inline void py_q_done(int result) { QPageSetupDialog::done(result); } -inline int py_q_exec() { return QPageSetupDialog::exec(); } -}; - -class PythonQtWrapper_QPageSetupDialog : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QPageSetupDialog* new_QPageSetupDialog(QPrinter* printer, QWidget* parent = nullptr); -QPageSetupDialog* new_QPageSetupDialog(QWidget* parent = nullptr); -void delete_QPageSetupDialog(QPageSetupDialog* obj) { delete obj; } - void py_q_done(QPageSetupDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPageSetupDialog*)theWrappedObject)->py_q_done(result));} - int py_q_exec(QPageSetupDialog* theWrappedObject){ return (((PythonQtPublicPromoter_QPageSetupDialog*)theWrappedObject)->py_q_exec());} - void open(QPageSetupDialog* theWrappedObject, QObject* receiver, const char* member); - QPrinter* printer(QPageSetupDialog* theWrappedObject); +inline void promoted_contextMenuEvent(QContextMenuEvent* event) { this->contextMenuEvent(event); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void py_q_contextMenuEvent(QContextMenuEvent* event) { QMainWindow::contextMenuEvent(event); } +inline QMenu* py_q_createPopupMenu() { return QMainWindow::createPopupMenu(); } +inline bool py_q_event(QEvent* event) { return QMainWindow::event(event); } }; - - - - -class PythonQtWrapper_QPageSize : public QObject +class PythonQtWrapper_QMainWindow : public QObject { Q_OBJECT public: -Q_ENUMS(PageSizeId SizeMatchPolicy Unit ) -enum PageSizeId{ - A4 = QPageSize::A4, B5 = QPageSize::B5, Letter = QPageSize::Letter, Legal = QPageSize::Legal, Executive = QPageSize::Executive, A0 = QPageSize::A0, A1 = QPageSize::A1, A2 = QPageSize::A2, A3 = QPageSize::A3, A5 = QPageSize::A5, A6 = QPageSize::A6, A7 = QPageSize::A7, A8 = QPageSize::A8, A9 = QPageSize::A9, B0 = QPageSize::B0, B1 = QPageSize::B1, B10 = QPageSize::B10, B2 = QPageSize::B2, B3 = QPageSize::B3, B4 = QPageSize::B4, B6 = QPageSize::B6, B7 = QPageSize::B7, B8 = QPageSize::B8, B9 = QPageSize::B9, C5E = QPageSize::C5E, Comm10E = QPageSize::Comm10E, DLE = QPageSize::DLE, Folio = QPageSize::Folio, Ledger = QPageSize::Ledger, Tabloid = QPageSize::Tabloid, Custom = QPageSize::Custom, A10 = QPageSize::A10, A3Extra = QPageSize::A3Extra, A4Extra = QPageSize::A4Extra, A4Plus = QPageSize::A4Plus, A4Small = QPageSize::A4Small, A5Extra = QPageSize::A5Extra, B5Extra = QPageSize::B5Extra, JisB0 = QPageSize::JisB0, JisB1 = QPageSize::JisB1, JisB2 = QPageSize::JisB2, JisB3 = QPageSize::JisB3, JisB4 = QPageSize::JisB4, JisB5 = QPageSize::JisB5, JisB6 = QPageSize::JisB6, JisB7 = QPageSize::JisB7, JisB8 = QPageSize::JisB8, JisB9 = QPageSize::JisB9, JisB10 = QPageSize::JisB10, AnsiC = QPageSize::AnsiC, AnsiD = QPageSize::AnsiD, AnsiE = QPageSize::AnsiE, LegalExtra = QPageSize::LegalExtra, LetterExtra = QPageSize::LetterExtra, LetterPlus = QPageSize::LetterPlus, LetterSmall = QPageSize::LetterSmall, TabloidExtra = QPageSize::TabloidExtra, ArchA = QPageSize::ArchA, ArchB = QPageSize::ArchB, ArchC = QPageSize::ArchC, ArchD = QPageSize::ArchD, ArchE = QPageSize::ArchE, Imperial7x9 = QPageSize::Imperial7x9, Imperial8x10 = QPageSize::Imperial8x10, Imperial9x11 = QPageSize::Imperial9x11, Imperial9x12 = QPageSize::Imperial9x12, Imperial10x11 = QPageSize::Imperial10x11, Imperial10x13 = QPageSize::Imperial10x13, Imperial10x14 = QPageSize::Imperial10x14, Imperial12x11 = QPageSize::Imperial12x11, Imperial15x11 = QPageSize::Imperial15x11, ExecutiveStandard = QPageSize::ExecutiveStandard, Note = QPageSize::Note, Quarto = QPageSize::Quarto, Statement = QPageSize::Statement, SuperA = QPageSize::SuperA, SuperB = QPageSize::SuperB, Postcard = QPageSize::Postcard, DoublePostcard = QPageSize::DoublePostcard, Prc16K = QPageSize::Prc16K, Prc32K = QPageSize::Prc32K, Prc32KBig = QPageSize::Prc32KBig, FanFoldUS = QPageSize::FanFoldUS, FanFoldGerman = QPageSize::FanFoldGerman, FanFoldGermanLegal = QPageSize::FanFoldGermanLegal, EnvelopeB4 = QPageSize::EnvelopeB4, EnvelopeB5 = QPageSize::EnvelopeB5, EnvelopeB6 = QPageSize::EnvelopeB6, EnvelopeC0 = QPageSize::EnvelopeC0, EnvelopeC1 = QPageSize::EnvelopeC1, EnvelopeC2 = QPageSize::EnvelopeC2, EnvelopeC3 = QPageSize::EnvelopeC3, EnvelopeC4 = QPageSize::EnvelopeC4, EnvelopeC6 = QPageSize::EnvelopeC6, EnvelopeC65 = QPageSize::EnvelopeC65, EnvelopeC7 = QPageSize::EnvelopeC7, Envelope9 = QPageSize::Envelope9, Envelope11 = QPageSize::Envelope11, Envelope12 = QPageSize::Envelope12, Envelope14 = QPageSize::Envelope14, EnvelopeMonarch = QPageSize::EnvelopeMonarch, EnvelopePersonal = QPageSize::EnvelopePersonal, EnvelopeChou3 = QPageSize::EnvelopeChou3, EnvelopeChou4 = QPageSize::EnvelopeChou4, EnvelopeInvite = QPageSize::EnvelopeInvite, EnvelopeItalian = QPageSize::EnvelopeItalian, EnvelopeKaku2 = QPageSize::EnvelopeKaku2, EnvelopeKaku3 = QPageSize::EnvelopeKaku3, EnvelopePrc1 = QPageSize::EnvelopePrc1, EnvelopePrc2 = QPageSize::EnvelopePrc2, EnvelopePrc3 = QPageSize::EnvelopePrc3, EnvelopePrc4 = QPageSize::EnvelopePrc4, EnvelopePrc5 = QPageSize::EnvelopePrc5, EnvelopePrc6 = QPageSize::EnvelopePrc6, EnvelopePrc7 = QPageSize::EnvelopePrc7, EnvelopePrc8 = QPageSize::EnvelopePrc8, EnvelopePrc9 = QPageSize::EnvelopePrc9, EnvelopePrc10 = QPageSize::EnvelopePrc10, EnvelopeYou4 = QPageSize::EnvelopeYou4, LastPageSize = QPageSize::LastPageSize, NPageSize = QPageSize::NPageSize, NPaperSize = QPageSize::NPaperSize, AnsiA = QPageSize::AnsiA, AnsiB = QPageSize::AnsiB, EnvelopeC5 = QPageSize::EnvelopeC5, EnvelopeDL = QPageSize::EnvelopeDL, Envelope10 = QPageSize::Envelope10}; -enum SizeMatchPolicy{ - FuzzyMatch = QPageSize::FuzzyMatch, FuzzyOrientationMatch = QPageSize::FuzzyOrientationMatch, ExactMatch = QPageSize::ExactMatch}; -enum Unit{ - Millimeter = QPageSize::Millimeter, Point = QPageSize::Point, Inch = QPageSize::Inch, Pica = QPageSize::Pica, Didot = QPageSize::Didot, Cicero = QPageSize::Cicero}; +Q_ENUMS(DockOption ) +Q_FLAGS(DockOptions ) +enum DockOption{ + AnimatedDocks = QMainWindow::AnimatedDocks, AllowNestedDocks = QMainWindow::AllowNestedDocks, AllowTabbedDocks = QMainWindow::AllowTabbedDocks, ForceTabbedDocks = QMainWindow::ForceTabbedDocks, VerticalTabs = QMainWindow::VerticalTabs, GroupedDragging = QMainWindow::GroupedDragging}; +Q_DECLARE_FLAGS(DockOptions, DockOption) public Q_SLOTS: -QPageSize* new_QPageSize(); -QPageSize* new_QPageSize(QPageSize::PageSizeId pageSizeId); -QPageSize* new_QPageSize(const QPageSize& other); -QPageSize* new_QPageSize(const QSize& pointSize, const QString& name = QString(), QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); -QPageSize* new_QPageSize(const QSizeF& size, QPageSize::Unit units, const QString& name = QString(), QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); -void delete_QPageSize(QPageSize* obj) { delete obj; } - QSizeF definitionSize(QPageSize* theWrappedObject) const; - QSizeF static_QPageSize_definitionSize(QPageSize::PageSizeId pageSizeId); - QPageSize::Unit definitionUnits(QPageSize* theWrappedObject) const; - QPageSize::Unit static_QPageSize_definitionUnits(QPageSize::PageSizeId pageSizeId); - QPageSize::PageSizeId id(QPageSize* theWrappedObject) const; - QPageSize::PageSizeId static_QPageSize_id(const QSize& pointSize, QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); - QPageSize::PageSizeId static_QPageSize_id(const QSizeF& size, QPageSize::Unit units, QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); - QPageSize::PageSizeId static_QPageSize_id(int windowsId); - bool isEquivalentTo(QPageSize* theWrappedObject, const QPageSize& other) const; - bool isValid(QPageSize* theWrappedObject) const; - QString key(QPageSize* theWrappedObject) const; - QString static_QPageSize_key(QPageSize::PageSizeId pageSizeId); - QString name(QPageSize* theWrappedObject) const; - QString static_QPageSize_name(QPageSize::PageSizeId pageSizeId); - bool __ne__(QPageSize* theWrappedObject, const QPageSize& rhs); - QPageSize* operator_assign(QPageSize* theWrappedObject, const QPageSize& other); - bool __eq__(QPageSize* theWrappedObject, const QPageSize& rhs); - QRectF rect(QPageSize* theWrappedObject, QPageSize::Unit units) const; - QRect rectPixels(QPageSize* theWrappedObject, int resolution) const; - QRect rectPoints(QPageSize* theWrappedObject) const; - QSizeF static_QPageSize_size(QPageSize::PageSizeId pageSizeId, QPageSize::Unit units); - QSizeF size(QPageSize* theWrappedObject, QPageSize::Unit units) const; - QSize static_QPageSize_sizePixels(QPageSize::PageSizeId pageSizeId, int resolution); - QSize sizePixels(QPageSize* theWrappedObject, int resolution) const; - QSize sizePoints(QPageSize* theWrappedObject) const; - QSize static_QPageSize_sizePoints(QPageSize::PageSizeId pageSizeId); - void swap(QPageSize* theWrappedObject, QPageSize& other); - int windowsId(QPageSize* theWrappedObject) const; - int static_QPageSize_windowsId(QPageSize::PageSizeId pageSizeId); - QString py_toString(QPageSize*); - bool __nonzero__(QPageSize* obj) { return obj->isValid(); } +QMainWindow* new_QMainWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); +void delete_QMainWindow(QMainWindow* obj) { delete obj; } + void addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget); + void addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget, Qt::Orientation orientation); + void addToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar); + void addToolBar(QMainWindow* theWrappedObject, Qt::ToolBarArea area, QToolBar* toolbar); + QToolBar* addToolBar(QMainWindow* theWrappedObject, const QString& title); + void addToolBarBreak(QMainWindow* theWrappedObject, Qt::ToolBarArea area = Qt::TopToolBarArea); + QWidget* centralWidget(QMainWindow* theWrappedObject) const; + void py_q_contextMenuEvent(QMainWindow* theWrappedObject, QContextMenuEvent* event){ (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_contextMenuEvent(event));} + Qt::DockWidgetArea corner(QMainWindow* theWrappedObject, Qt::Corner corner) const; + QMenu* createPopupMenu(QMainWindow* theWrappedObject); + QMenu* py_q_createPopupMenu(QMainWindow* theWrappedObject){ return (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_createPopupMenu());} + QMainWindow::DockOptions dockOptions(QMainWindow* theWrappedObject) const; + Qt::DockWidgetArea dockWidgetArea(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const; + bool documentMode(QMainWindow* theWrappedObject) const; + bool py_q_event(QMainWindow* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMainWindow*)theWrappedObject)->py_q_event(event));} + QSize iconSize(QMainWindow* theWrappedObject) const; + void insertToolBar(QMainWindow* theWrappedObject, QToolBar* before, QToolBar* toolbar); + void insertToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before); + bool isAnimated(QMainWindow* theWrappedObject) const; + bool isDockNestingEnabled(QMainWindow* theWrappedObject) const; + bool isSeparator(QMainWindow* theWrappedObject, const QPoint& pos) const; + QMenuBar* menuBar(QMainWindow* theWrappedObject) const; + QWidget* menuWidget(QMainWindow* theWrappedObject) const; + void removeDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget); + void removeToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar); + void removeToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before); + void resizeDocks(QMainWindow* theWrappedObject, const QList& docks, const QList& sizes, Qt::Orientation orientation); + bool restoreDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget); + bool restoreState(QMainWindow* theWrappedObject, const QByteArray& state, int version = 0); + QByteArray saveState(QMainWindow* theWrappedObject, int version = 0) const; + void setCentralWidget(QMainWindow* theWrappedObject, QWidget* widget); + void setCorner(QMainWindow* theWrappedObject, Qt::Corner corner, Qt::DockWidgetArea area); + void setDockOptions(QMainWindow* theWrappedObject, QMainWindow::DockOptions options); + void setDocumentMode(QMainWindow* theWrappedObject, bool enabled); + void setIconSize(QMainWindow* theWrappedObject, const QSize& iconSize); + void setMenuBar(QMainWindow* theWrappedObject, QMenuBar* menubar); + void setMenuWidget(QMainWindow* theWrappedObject, QWidget* menubar); + void setStatusBar(QMainWindow* theWrappedObject, QStatusBar* statusbar); + void setTabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition); + void setTabShape(QMainWindow* theWrappedObject, QTabWidget::TabShape tabShape); + void setToolButtonStyle(QMainWindow* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle); + void splitDockWidget(QMainWindow* theWrappedObject, QDockWidget* after, QDockWidget* dockwidget, Qt::Orientation orientation); + QStatusBar* statusBar(QMainWindow* theWrappedObject) const; + QTabWidget::TabPosition tabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetArea area) const; + QTabWidget::TabShape tabShape(QMainWindow* theWrappedObject) const; + QList tabifiedDockWidgets(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const; + void tabifyDockWidget(QMainWindow* theWrappedObject, QDockWidget* first, QDockWidget* second); + QWidget* takeCentralWidget(QMainWindow* theWrappedObject); + Qt::ToolBarArea toolBarArea(QMainWindow* theWrappedObject, QToolBar* toolbar) const; + bool toolBarBreak(QMainWindow* theWrappedObject, QToolBar* toolbar) const; + Qt::ToolButtonStyle toolButtonStyle(QMainWindow* theWrappedObject) const; + bool unifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject) const; }; -class PythonQtPublicPromoter_QPagedPaintDevice : public QPagedPaintDevice -{ public: -inline QPageLayout& promoted_devicePageLayout() { return this->devicePageLayout(); } -inline bool py_q_newPage() { return this->newPage(); } -inline void py_q_setMargins(const QPagedPaintDevice::Margins& margins) { QPagedPaintDevice::setMargins(margins); } -inline void py_q_setPageSize(QPagedPaintDevice::PageSize size) { QPagedPaintDevice::setPageSize(size); } -inline void py_q_setPageSizeMM(const QSizeF& size) { QPagedPaintDevice::setPageSizeMM(size); } -}; - -class PythonQtWrapper_QPagedPaintDevice : public QObject +class PythonQtWrapper_QMargins : public QObject { Q_OBJECT public: -Q_ENUMS(PageSize PdfVersion ) -enum PageSize{ - A4 = QPagedPaintDevice::A4, B5 = QPagedPaintDevice::B5, Letter = QPagedPaintDevice::Letter, Legal = QPagedPaintDevice::Legal, Executive = QPagedPaintDevice::Executive, A0 = QPagedPaintDevice::A0, A1 = QPagedPaintDevice::A1, A2 = QPagedPaintDevice::A2, A3 = QPagedPaintDevice::A3, A5 = QPagedPaintDevice::A5, A6 = QPagedPaintDevice::A6, A7 = QPagedPaintDevice::A7, A8 = QPagedPaintDevice::A8, A9 = QPagedPaintDevice::A9, B0 = QPagedPaintDevice::B0, B1 = QPagedPaintDevice::B1, B10 = QPagedPaintDevice::B10, B2 = QPagedPaintDevice::B2, B3 = QPagedPaintDevice::B3, B4 = QPagedPaintDevice::B4, B6 = QPagedPaintDevice::B6, B7 = QPagedPaintDevice::B7, B8 = QPagedPaintDevice::B8, B9 = QPagedPaintDevice::B9, C5E = QPagedPaintDevice::C5E, Comm10E = QPagedPaintDevice::Comm10E, DLE = QPagedPaintDevice::DLE, Folio = QPagedPaintDevice::Folio, Ledger = QPagedPaintDevice::Ledger, Tabloid = QPagedPaintDevice::Tabloid, Custom = QPagedPaintDevice::Custom, A10 = QPagedPaintDevice::A10, A3Extra = QPagedPaintDevice::A3Extra, A4Extra = QPagedPaintDevice::A4Extra, A4Plus = QPagedPaintDevice::A4Plus, A4Small = QPagedPaintDevice::A4Small, A5Extra = QPagedPaintDevice::A5Extra, B5Extra = QPagedPaintDevice::B5Extra, JisB0 = QPagedPaintDevice::JisB0, JisB1 = QPagedPaintDevice::JisB1, JisB2 = QPagedPaintDevice::JisB2, JisB3 = QPagedPaintDevice::JisB3, JisB4 = QPagedPaintDevice::JisB4, JisB5 = QPagedPaintDevice::JisB5, JisB6 = QPagedPaintDevice::JisB6, JisB7 = QPagedPaintDevice::JisB7, JisB8 = QPagedPaintDevice::JisB8, JisB9 = QPagedPaintDevice::JisB9, JisB10 = QPagedPaintDevice::JisB10, AnsiC = QPagedPaintDevice::AnsiC, AnsiD = QPagedPaintDevice::AnsiD, AnsiE = QPagedPaintDevice::AnsiE, LegalExtra = QPagedPaintDevice::LegalExtra, LetterExtra = QPagedPaintDevice::LetterExtra, LetterPlus = QPagedPaintDevice::LetterPlus, LetterSmall = QPagedPaintDevice::LetterSmall, TabloidExtra = QPagedPaintDevice::TabloidExtra, ArchA = QPagedPaintDevice::ArchA, ArchB = QPagedPaintDevice::ArchB, ArchC = QPagedPaintDevice::ArchC, ArchD = QPagedPaintDevice::ArchD, ArchE = QPagedPaintDevice::ArchE, Imperial7x9 = QPagedPaintDevice::Imperial7x9, Imperial8x10 = QPagedPaintDevice::Imperial8x10, Imperial9x11 = QPagedPaintDevice::Imperial9x11, Imperial9x12 = QPagedPaintDevice::Imperial9x12, Imperial10x11 = QPagedPaintDevice::Imperial10x11, Imperial10x13 = QPagedPaintDevice::Imperial10x13, Imperial10x14 = QPagedPaintDevice::Imperial10x14, Imperial12x11 = QPagedPaintDevice::Imperial12x11, Imperial15x11 = QPagedPaintDevice::Imperial15x11, ExecutiveStandard = QPagedPaintDevice::ExecutiveStandard, Note = QPagedPaintDevice::Note, Quarto = QPagedPaintDevice::Quarto, Statement = QPagedPaintDevice::Statement, SuperA = QPagedPaintDevice::SuperA, SuperB = QPagedPaintDevice::SuperB, Postcard = QPagedPaintDevice::Postcard, DoublePostcard = QPagedPaintDevice::DoublePostcard, Prc16K = QPagedPaintDevice::Prc16K, Prc32K = QPagedPaintDevice::Prc32K, Prc32KBig = QPagedPaintDevice::Prc32KBig, FanFoldUS = QPagedPaintDevice::FanFoldUS, FanFoldGerman = QPagedPaintDevice::FanFoldGerman, FanFoldGermanLegal = QPagedPaintDevice::FanFoldGermanLegal, EnvelopeB4 = QPagedPaintDevice::EnvelopeB4, EnvelopeB5 = QPagedPaintDevice::EnvelopeB5, EnvelopeB6 = QPagedPaintDevice::EnvelopeB6, EnvelopeC0 = QPagedPaintDevice::EnvelopeC0, EnvelopeC1 = QPagedPaintDevice::EnvelopeC1, EnvelopeC2 = QPagedPaintDevice::EnvelopeC2, EnvelopeC3 = QPagedPaintDevice::EnvelopeC3, EnvelopeC4 = QPagedPaintDevice::EnvelopeC4, EnvelopeC6 = QPagedPaintDevice::EnvelopeC6, EnvelopeC65 = QPagedPaintDevice::EnvelopeC65, EnvelopeC7 = QPagedPaintDevice::EnvelopeC7, Envelope9 = QPagedPaintDevice::Envelope9, Envelope11 = QPagedPaintDevice::Envelope11, Envelope12 = QPagedPaintDevice::Envelope12, Envelope14 = QPagedPaintDevice::Envelope14, EnvelopeMonarch = QPagedPaintDevice::EnvelopeMonarch, EnvelopePersonal = QPagedPaintDevice::EnvelopePersonal, EnvelopeChou3 = QPagedPaintDevice::EnvelopeChou3, EnvelopeChou4 = QPagedPaintDevice::EnvelopeChou4, EnvelopeInvite = QPagedPaintDevice::EnvelopeInvite, EnvelopeItalian = QPagedPaintDevice::EnvelopeItalian, EnvelopeKaku2 = QPagedPaintDevice::EnvelopeKaku2, EnvelopeKaku3 = QPagedPaintDevice::EnvelopeKaku3, EnvelopePrc1 = QPagedPaintDevice::EnvelopePrc1, EnvelopePrc2 = QPagedPaintDevice::EnvelopePrc2, EnvelopePrc3 = QPagedPaintDevice::EnvelopePrc3, EnvelopePrc4 = QPagedPaintDevice::EnvelopePrc4, EnvelopePrc5 = QPagedPaintDevice::EnvelopePrc5, EnvelopePrc6 = QPagedPaintDevice::EnvelopePrc6, EnvelopePrc7 = QPagedPaintDevice::EnvelopePrc7, EnvelopePrc8 = QPagedPaintDevice::EnvelopePrc8, EnvelopePrc9 = QPagedPaintDevice::EnvelopePrc9, EnvelopePrc10 = QPagedPaintDevice::EnvelopePrc10, EnvelopeYou4 = QPagedPaintDevice::EnvelopeYou4, LastPageSize = QPagedPaintDevice::LastPageSize, NPageSize = QPagedPaintDevice::NPageSize, NPaperSize = QPagedPaintDevice::NPaperSize, AnsiA = QPagedPaintDevice::AnsiA, AnsiB = QPagedPaintDevice::AnsiB, EnvelopeC5 = QPagedPaintDevice::EnvelopeC5, EnvelopeDL = QPagedPaintDevice::EnvelopeDL, Envelope10 = QPagedPaintDevice::Envelope10}; -enum PdfVersion{ - PdfVersion_1_4 = QPagedPaintDevice::PdfVersion_1_4, PdfVersion_A1b = QPagedPaintDevice::PdfVersion_A1b}; public Q_SLOTS: -void delete_QPagedPaintDevice(QPagedPaintDevice* obj) { delete obj; } - QPageLayout* devicePageLayout(QPagedPaintDevice* theWrappedObject); - QPagedPaintDevice::Margins margins(QPagedPaintDevice* theWrappedObject) const; - bool newPage(QPagedPaintDevice* theWrappedObject); - bool py_q_newPage(QPagedPaintDevice* theWrappedObject){ return (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_newPage());} - QPageLayout pageLayout(QPagedPaintDevice* theWrappedObject) const; - QPagedPaintDevice::PageSize pageSize(QPagedPaintDevice* theWrappedObject) const; - QSizeF pageSizeMM(QPagedPaintDevice* theWrappedObject) const; - void setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins); - void py_q_setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setMargins(margins));} - bool setPageLayout(QPagedPaintDevice* theWrappedObject, const QPageLayout& pageLayout); - bool setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins); - bool setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins, QPageLayout::Unit units); - bool setPageOrientation(QPagedPaintDevice* theWrappedObject, QPageLayout::Orientation orientation); - void setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size); - void py_q_setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setPageSize(size));} - bool setPageSize(QPagedPaintDevice* theWrappedObject, const QPageSize& pageSize); - void setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size); - void py_q_setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setPageSizeMM(size));} +QMargins* new_QMargins(); +QMargins* new_QMargins(int left, int top, int right, int bottom); +QMargins* new_QMargins(const QMargins& other) { +QMargins* a = new QMargins(); +*((QMargins*)a) = other; +return a; } +void delete_QMargins(QMargins* obj) { delete obj; } + int bottom(QMargins* theWrappedObject) const; + bool isNull(QMargins* theWrappedObject) const; + int left(QMargins* theWrappedObject) const; + bool __ne__(QMargins* theWrappedObject, const QMargins& arg__2); + QMargins __mul__(QMargins* theWrappedObject, int factor); + QMargins __mul__(QMargins* theWrappedObject, qreal factor); + QMargins* __imul__(QMargins* theWrappedObject, int arg__1); + QMargins* __imul__(QMargins* theWrappedObject, qreal arg__1); + QMargins __add__(QMargins* theWrappedObject); + QMargins __add__(QMargins* theWrappedObject, const QMargins& m2); + QRect __add__(QMargins* theWrappedObject, const QRect& rectangle); + QMargins __add__(QMargins* theWrappedObject, int rhs); + QMargins* __iadd__(QMargins* theWrappedObject, const QMargins& margins); + QMargins* __iadd__(QMargins* theWrappedObject, int arg__1); + QMargins __sub__(QMargins* theWrappedObject); + QMargins __sub__(QMargins* theWrappedObject, const QMargins& m2); + QMargins __sub__(QMargins* theWrappedObject, int rhs); + QMargins* __isub__(QMargins* theWrappedObject, const QMargins& margins); + QMargins* __isub__(QMargins* theWrappedObject, int arg__1); + QMargins __div__(QMargins* theWrappedObject, int divisor); + QMargins __div__(QMargins* theWrappedObject, qreal divisor); + QMargins* __idiv__(QMargins* theWrappedObject, int arg__1); + QMargins* __idiv__(QMargins* theWrappedObject, qreal arg__1); + void writeTo(QMargins* theWrappedObject, QDataStream& arg__1); + bool __eq__(QMargins* theWrappedObject, const QMargins& arg__2); + void readFrom(QMargins* theWrappedObject, QDataStream& arg__1); + int right(QMargins* theWrappedObject) const; + void setBottom(QMargins* theWrappedObject, int bottom); + void setLeft(QMargins* theWrappedObject, int left); + void setRight(QMargins* theWrappedObject, int right); + void setTop(QMargins* theWrappedObject, int top); + int top(QMargins* theWrappedObject) const; + QString py_toString(QMargins*); + bool __nonzero__(QMargins* obj) { return !obj->isNull(); } }; -class PythonQtShell_QPagedPaintDevice__Margins : public QPagedPaintDevice::Margins +class PythonQtShell_QMdiArea : public QMdiArea { public: - PythonQtShell_QPagedPaintDevice__Margins():QPagedPaintDevice::Margins(),_wrapper(nullptr) {}; + PythonQtShell_QMdiArea(QWidget* parent = nullptr):QMdiArea(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QPagedPaintDevice__Margins(); + ~PythonQtShell_QMdiArea() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* childEvent) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* paintEvent) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* resizeEvent) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* showEvent) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* timerEvent) override; +bool viewportEvent(QEvent* event) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* arg__1) override; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtWrapper_QPagedPaintDevice__Margins : public QObject +class PythonQtPublicPromoter_QMdiArea : public QMdiArea +{ public: +inline void promoted_childEvent(QChildEvent* childEvent) { this->childEvent(childEvent); } +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } +inline void promoted_paintEvent(QPaintEvent* paintEvent) { this->paintEvent(paintEvent); } +inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { this->resizeEvent(resizeEvent); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline void promoted_setupViewport(QWidget* viewport) { this->setupViewport(viewport); } +inline void promoted_showEvent(QShowEvent* showEvent) { this->showEvent(showEvent); } +inline void promoted_timerEvent(QTimerEvent* timerEvent) { this->timerEvent(timerEvent); } +inline bool promoted_viewportEvent(QEvent* event) { return this->viewportEvent(event); } +inline void py_q_childEvent(QChildEvent* childEvent) { QMdiArea::childEvent(childEvent); } +inline bool py_q_event(QEvent* event) { return QMdiArea::event(event); } +inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QMdiArea::eventFilter(object, event); } +inline QSize py_q_minimumSizeHint() const { return QMdiArea::minimumSizeHint(); } +inline void py_q_paintEvent(QPaintEvent* paintEvent) { QMdiArea::paintEvent(paintEvent); } +inline void py_q_resizeEvent(QResizeEvent* resizeEvent) { QMdiArea::resizeEvent(resizeEvent); } +inline void py_q_scrollContentsBy(int dx, int dy) { QMdiArea::scrollContentsBy(dx, dy); } +inline void py_q_setupViewport(QWidget* viewport) { QMdiArea::setupViewport(viewport); } +inline void py_q_showEvent(QShowEvent* showEvent) { QMdiArea::showEvent(showEvent); } +inline QSize py_q_sizeHint() const { return QMdiArea::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* timerEvent) { QMdiArea::timerEvent(timerEvent); } +inline bool py_q_viewportEvent(QEvent* event) { return QMdiArea::viewportEvent(event); } +}; + +class PythonQtWrapper_QMdiArea : public QObject { Q_OBJECT public: +Q_ENUMS(AreaOption ) +Q_FLAGS(AreaOptions ) +enum AreaOption{ + DontMaximizeSubWindowOnActivation = QMdiArea::DontMaximizeSubWindowOnActivation}; +Q_DECLARE_FLAGS(AreaOptions, AreaOption) public Q_SLOTS: -QPagedPaintDevice::Margins* new_QPagedPaintDevice__Margins(); -QPagedPaintDevice::Margins* new_QPagedPaintDevice__Margins(const QPagedPaintDevice::Margins& other) { -PythonQtShell_QPagedPaintDevice__Margins* a = new PythonQtShell_QPagedPaintDevice__Margins(); -*((QPagedPaintDevice::Margins*)a) = other; -return a; } -void delete_QPagedPaintDevice__Margins(QPagedPaintDevice::Margins* obj) { delete obj; } -void py_set_bottom(QPagedPaintDevice::Margins* theWrappedObject, qreal bottom){ theWrappedObject->bottom = bottom; } -qreal py_get_bottom(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->bottom; } -void py_set_left(QPagedPaintDevice::Margins* theWrappedObject, qreal left){ theWrappedObject->left = left; } -qreal py_get_left(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->left; } -void py_set_right(QPagedPaintDevice::Margins* theWrappedObject, qreal right){ theWrappedObject->right = right; } -qreal py_get_right(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->right; } -void py_set_top(QPagedPaintDevice::Margins* theWrappedObject, qreal top){ theWrappedObject->top = top; } -qreal py_get_top(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->top; } +QMdiArea* new_QMdiArea(QWidget* parent = nullptr); +void delete_QMdiArea(QMdiArea* obj) { delete obj; } + QMdiArea::WindowOrder activationOrder(QMdiArea* theWrappedObject) const; + QMdiSubWindow* activeSubWindow(QMdiArea* theWrappedObject) const; + QMdiSubWindow* addSubWindow(QMdiArea* theWrappedObject, QWidget* widget, Qt::WindowFlags flags = Qt::WindowFlags()); + QBrush background(QMdiArea* theWrappedObject) const; + void py_q_childEvent(QMdiArea* theWrappedObject, QChildEvent* childEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_childEvent(childEvent));} + QMdiSubWindow* currentSubWindow(QMdiArea* theWrappedObject) const; + bool documentMode(QMdiArea* theWrappedObject) const; + bool py_q_event(QMdiArea* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_event(event));} + bool py_q_eventFilter(QMdiArea* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_eventFilter(object, event));} + QSize py_q_minimumSizeHint(QMdiArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_paintEvent(QMdiArea* theWrappedObject, QPaintEvent* paintEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_paintEvent(paintEvent));} + void removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget); + void py_q_resizeEvent(QMdiArea* theWrappedObject, QResizeEvent* resizeEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_resizeEvent(resizeEvent));} + void py_q_scrollContentsBy(QMdiArea* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void setActivationOrder(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order); + void setBackground(QMdiArea* theWrappedObject, const QBrush& background); + void setDocumentMode(QMdiArea* theWrappedObject, bool enabled); + void setOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption option, bool on = true); + void setTabPosition(QMdiArea* theWrappedObject, QTabWidget::TabPosition position); + void setTabShape(QMdiArea* theWrappedObject, QTabWidget::TabShape shape); + void setTabsClosable(QMdiArea* theWrappedObject, bool closable); + void setTabsMovable(QMdiArea* theWrappedObject, bool movable); + void setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode); + void py_q_setupViewport(QMdiArea* theWrappedObject, QWidget* viewport){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_setupViewport(viewport));} + void py_q_showEvent(QMdiArea* theWrappedObject, QShowEvent* showEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_showEvent(showEvent));} + QSize py_q_sizeHint(QMdiArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_sizeHint());} + QList subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order = QMdiArea::CreationOrder) const; + QTabWidget::TabPosition tabPosition(QMdiArea* theWrappedObject) const; + QTabWidget::TabShape tabShape(QMdiArea* theWrappedObject) const; + bool tabsClosable(QMdiArea* theWrappedObject) const; + bool tabsMovable(QMdiArea* theWrappedObject) const; + bool testOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption opton) const; + void py_q_timerEvent(QMdiArea* theWrappedObject, QTimerEvent* timerEvent){ (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_timerEvent(timerEvent));} + QMdiArea::ViewMode viewMode(QMdiArea* theWrappedObject) const; + bool py_q_viewportEvent(QMdiArea* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiArea*)theWrappedObject)->py_q_viewportEvent(event));} }; -class PythonQtShell_QPaintDevice : public QPaintDevice +class PythonQtShell_QMdiSubWindow : public QMdiSubWindow { public: - PythonQtShell_QPaintDevice():QPaintDevice(),_wrapper(nullptr) {}; + PythonQtShell_QMdiSubWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QMdiSubWindow(parent, flags),_wrapper(nullptr) {}; - ~PythonQtShell_QPaintDevice() override; + ~PythonQtShell_QMdiSubWindow() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* changeEvent) override; +void childEvent(QChildEvent* childEvent) override; +void closeEvent(QCloseEvent* closeEvent) override; +void contextMenuEvent(QContextMenuEvent* contextMenuEvent) override; +void customEvent(QEvent* event) override; int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +void focusInEvent(QFocusEvent* focusInEvent) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* focusOutEvent) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* hideEvent) override; void initPainter(QPainter* painter) const override; -int metric(QPaintDevice::PaintDeviceMetric metric) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* keyEvent) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* leaveEvent) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* mouseEvent) override; +void mouseMoveEvent(QMouseEvent* mouseEvent) override; +void mousePressEvent(QMouseEvent* mouseEvent) override; +void mouseReleaseEvent(QMouseEvent* mouseEvent) override; +void moveEvent(QMoveEvent* moveEvent) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* paintEvent) override; QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* resizeEvent) override; +void setVisible(bool visible) override; QPainter* sharedPainter() const override; +void showEvent(QShowEvent* showEvent) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* timerEvent) override; +void wheelEvent(QWheelEvent* event) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPaintDevice : public QPaintDevice -{ public: -inline void promoted_initPainter(QPainter* painter) const { this->initPainter(painter); } -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } -inline QPaintDevice* promoted_redirected(QPoint* offset) const { return this->redirected(offset); } -inline QPainter* promoted_sharedPainter() const { return this->sharedPainter(); } -inline int py_q_devType() const { return QPaintDevice::devType(); } -inline void py_q_initPainter(QPainter* painter) const { QPaintDevice::initPainter(painter); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QPaintDevice::metric(metric); } -inline QPaintEngine* py_q_paintEngine() const { return this->paintEngine(); } -inline QPaintDevice* py_q_redirected(QPoint* offset) const { return QPaintDevice::redirected(offset); } -inline QPainter* py_q_sharedPainter() const { return QPaintDevice::sharedPainter(); } -}; - -class PythonQtWrapper_QPaintDevice : public QObject -{ Q_OBJECT -public: -Q_ENUMS(PaintDeviceMetric ) -enum PaintDeviceMetric{ - PdmWidth = QPaintDevice::PdmWidth, PdmHeight = QPaintDevice::PdmHeight, PdmWidthMM = QPaintDevice::PdmWidthMM, PdmHeightMM = QPaintDevice::PdmHeightMM, PdmNumColors = QPaintDevice::PdmNumColors, PdmDepth = QPaintDevice::PdmDepth, PdmDpiX = QPaintDevice::PdmDpiX, PdmDpiY = QPaintDevice::PdmDpiY, PdmPhysicalDpiX = QPaintDevice::PdmPhysicalDpiX, PdmPhysicalDpiY = QPaintDevice::PdmPhysicalDpiY, PdmDevicePixelRatio = QPaintDevice::PdmDevicePixelRatio, PdmDevicePixelRatioScaled = QPaintDevice::PdmDevicePixelRatioScaled}; -public Q_SLOTS: -QPaintDevice* new_QPaintDevice(); -void delete_QPaintDevice(QPaintDevice* obj) { delete obj; } - int colorCount(QPaintDevice* theWrappedObject) const; - int depth(QPaintDevice* theWrappedObject) const; - int devType(QPaintDevice* theWrappedObject) const; - int py_q_devType(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_devType());} - int devicePixelRatio(QPaintDevice* theWrappedObject) const; - qreal devicePixelRatioF(QPaintDevice* theWrappedObject) const; - qreal static_QPaintDevice_devicePixelRatioFScale(); - int height(QPaintDevice* theWrappedObject) const; - int heightMM(QPaintDevice* theWrappedObject) const; - void initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const; - void py_q_initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const{ (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_initPainter(painter));} - int logicalDpiX(QPaintDevice* theWrappedObject) const; - int logicalDpiY(QPaintDevice* theWrappedObject) const; - int metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; - int py_q_metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_metric(metric));} - QPaintEngine* paintEngine(QPaintDevice* theWrappedObject) const; - QPaintEngine* py_q_paintEngine(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_paintEngine());} - bool paintingActive(QPaintDevice* theWrappedObject) const; - int physicalDpiX(QPaintDevice* theWrappedObject) const; - int physicalDpiY(QPaintDevice* theWrappedObject) const; - QPaintDevice* redirected(QPaintDevice* theWrappedObject, QPoint* offset) const; - QPaintDevice* py_q_redirected(QPaintDevice* theWrappedObject, QPoint* offset) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_redirected(offset));} - QPainter* sharedPainter(QPaintDevice* theWrappedObject) const; - QPainter* py_q_sharedPainter(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_sharedPainter());} - int width(QPaintDevice* theWrappedObject) const; - int widthMM(QPaintDevice* theWrappedObject) const; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; }; - - - - -class PythonQtPublicPromoter_QPaintDeviceWindow : public QPaintDeviceWindow +class PythonQtPublicPromoter_QMdiSubWindow : public QMdiSubWindow { public: +inline void promoted_changeEvent(QEvent* changeEvent) { this->changeEvent(changeEvent); } +inline void promoted_childEvent(QChildEvent* childEvent) { this->childEvent(childEvent); } +inline void promoted_closeEvent(QCloseEvent* closeEvent) { this->closeEvent(closeEvent); } +inline void promoted_contextMenuEvent(QContextMenuEvent* contextMenuEvent) { this->contextMenuEvent(contextMenuEvent); } inline bool promoted_event(QEvent* event) { return this->event(event); } -inline void promoted_exposeEvent(QExposeEvent* arg__1) { this->exposeEvent(arg__1); } -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } -inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } -inline bool py_q_event(QEvent* event) { return QPaintDeviceWindow::event(event); } -inline void py_q_exposeEvent(QExposeEvent* arg__1) { QPaintDeviceWindow::exposeEvent(arg__1); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QPaintDeviceWindow::metric(metric); } -inline void py_q_paintEvent(QPaintEvent* event) { QPaintDeviceWindow::paintEvent(event); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } +inline void promoted_focusInEvent(QFocusEvent* focusInEvent) { this->focusInEvent(focusInEvent); } +inline void promoted_focusOutEvent(QFocusEvent* focusOutEvent) { this->focusOutEvent(focusOutEvent); } +inline void promoted_hideEvent(QHideEvent* hideEvent) { this->hideEvent(hideEvent); } +inline void promoted_keyPressEvent(QKeyEvent* keyEvent) { this->keyPressEvent(keyEvent); } +inline void promoted_leaveEvent(QEvent* leaveEvent) { this->leaveEvent(leaveEvent); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* mouseEvent) { this->mouseDoubleClickEvent(mouseEvent); } +inline void promoted_mouseMoveEvent(QMouseEvent* mouseEvent) { this->mouseMoveEvent(mouseEvent); } +inline void promoted_mousePressEvent(QMouseEvent* mouseEvent) { this->mousePressEvent(mouseEvent); } +inline void promoted_mouseReleaseEvent(QMouseEvent* mouseEvent) { this->mouseReleaseEvent(mouseEvent); } +inline void promoted_moveEvent(QMoveEvent* moveEvent) { this->moveEvent(moveEvent); } +inline void promoted_paintEvent(QPaintEvent* paintEvent) { this->paintEvent(paintEvent); } +inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { this->resizeEvent(resizeEvent); } +inline void promoted_showEvent(QShowEvent* showEvent) { this->showEvent(showEvent); } +inline void promoted_timerEvent(QTimerEvent* timerEvent) { this->timerEvent(timerEvent); } +inline void py_q_changeEvent(QEvent* changeEvent) { QMdiSubWindow::changeEvent(changeEvent); } +inline void py_q_childEvent(QChildEvent* childEvent) { QMdiSubWindow::childEvent(childEvent); } +inline void py_q_closeEvent(QCloseEvent* closeEvent) { QMdiSubWindow::closeEvent(closeEvent); } +inline void py_q_contextMenuEvent(QContextMenuEvent* contextMenuEvent) { QMdiSubWindow::contextMenuEvent(contextMenuEvent); } +inline bool py_q_event(QEvent* event) { return QMdiSubWindow::event(event); } +inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QMdiSubWindow::eventFilter(object, event); } +inline void py_q_focusInEvent(QFocusEvent* focusInEvent) { QMdiSubWindow::focusInEvent(focusInEvent); } +inline void py_q_focusOutEvent(QFocusEvent* focusOutEvent) { QMdiSubWindow::focusOutEvent(focusOutEvent); } +inline void py_q_hideEvent(QHideEvent* hideEvent) { QMdiSubWindow::hideEvent(hideEvent); } +inline void py_q_keyPressEvent(QKeyEvent* keyEvent) { QMdiSubWindow::keyPressEvent(keyEvent); } +inline void py_q_leaveEvent(QEvent* leaveEvent) { QMdiSubWindow::leaveEvent(leaveEvent); } +inline QSize py_q_minimumSizeHint() const { return QMdiSubWindow::minimumSizeHint(); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseDoubleClickEvent(mouseEvent); } +inline void py_q_mouseMoveEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseMoveEvent(mouseEvent); } +inline void py_q_mousePressEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mousePressEvent(mouseEvent); } +inline void py_q_mouseReleaseEvent(QMouseEvent* mouseEvent) { QMdiSubWindow::mouseReleaseEvent(mouseEvent); } +inline void py_q_moveEvent(QMoveEvent* moveEvent) { QMdiSubWindow::moveEvent(moveEvent); } +inline void py_q_paintEvent(QPaintEvent* paintEvent) { QMdiSubWindow::paintEvent(paintEvent); } +inline void py_q_resizeEvent(QResizeEvent* resizeEvent) { QMdiSubWindow::resizeEvent(resizeEvent); } +inline void py_q_showEvent(QShowEvent* showEvent) { QMdiSubWindow::showEvent(showEvent); } +inline QSize py_q_sizeHint() const { return QMdiSubWindow::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* timerEvent) { QMdiSubWindow::timerEvent(timerEvent); } }; -class PythonQtWrapper_QPaintDeviceWindow : public QObject +class PythonQtWrapper_QMdiSubWindow : public QObject { Q_OBJECT public: +Q_ENUMS(SubWindowOption ) +Q_FLAGS(SubWindowOptions ) +enum SubWindowOption{ + AllowOutsideAreaHorizontally = QMdiSubWindow::AllowOutsideAreaHorizontally, AllowOutsideAreaVertically = QMdiSubWindow::AllowOutsideAreaVertically, RubberBandResize = QMdiSubWindow::RubberBandResize, RubberBandMove = QMdiSubWindow::RubberBandMove}; +Q_DECLARE_FLAGS(SubWindowOptions, SubWindowOption) public Q_SLOTS: -void delete_QPaintDeviceWindow(QPaintDeviceWindow* obj) { delete obj; } - bool py_q_event(QPaintDeviceWindow* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_event(event));} - void py_q_exposeEvent(QPaintDeviceWindow* theWrappedObject, QExposeEvent* arg__1){ (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_exposeEvent(arg__1));} - int py_q_metric(QPaintDeviceWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_metric(metric));} - void paintEvent(QPaintDeviceWindow* theWrappedObject, QPaintEvent* event); - void py_q_paintEvent(QPaintDeviceWindow* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_paintEvent(event));} - void update(QPaintDeviceWindow* theWrappedObject, const QRect& rect); - void update(QPaintDeviceWindow* theWrappedObject, const QRegion& region); +QMdiSubWindow* new_QMdiSubWindow(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); +void delete_QMdiSubWindow(QMdiSubWindow* obj) { delete obj; } + void py_q_changeEvent(QMdiSubWindow* theWrappedObject, QEvent* changeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_changeEvent(changeEvent));} + void py_q_childEvent(QMdiSubWindow* theWrappedObject, QChildEvent* childEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_childEvent(childEvent));} + void py_q_closeEvent(QMdiSubWindow* theWrappedObject, QCloseEvent* closeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_closeEvent(closeEvent));} + void py_q_contextMenuEvent(QMdiSubWindow* theWrappedObject, QContextMenuEvent* contextMenuEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_contextMenuEvent(contextMenuEvent));} + bool py_q_event(QMdiSubWindow* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_event(event));} + bool py_q_eventFilter(QMdiSubWindow* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_eventFilter(object, event));} + void py_q_focusInEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusInEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_focusInEvent(focusInEvent));} + void py_q_focusOutEvent(QMdiSubWindow* theWrappedObject, QFocusEvent* focusOutEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_focusOutEvent(focusOutEvent));} + void py_q_hideEvent(QMdiSubWindow* theWrappedObject, QHideEvent* hideEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_hideEvent(hideEvent));} + bool isShaded(QMdiSubWindow* theWrappedObject) const; + void py_q_keyPressEvent(QMdiSubWindow* theWrappedObject, QKeyEvent* keyEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_keyPressEvent(keyEvent));} + int keyboardPageStep(QMdiSubWindow* theWrappedObject) const; + int keyboardSingleStep(QMdiSubWindow* theWrappedObject) const; + void py_q_leaveEvent(QMdiSubWindow* theWrappedObject, QEvent* leaveEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_leaveEvent(leaveEvent));} + QWidget* maximizedButtonsWidget(QMdiSubWindow* theWrappedObject) const; + QWidget* maximizedSystemMenuIconWidget(QMdiSubWindow* theWrappedObject) const; + QMdiArea* mdiArea(QMdiSubWindow* theWrappedObject) const; + QSize py_q_minimumSizeHint(QMdiSubWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseDoubleClickEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseDoubleClickEvent(mouseEvent));} + void py_q_mouseMoveEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseMoveEvent(mouseEvent));} + void py_q_mousePressEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mousePressEvent(mouseEvent));} + void py_q_mouseReleaseEvent(QMdiSubWindow* theWrappedObject, QMouseEvent* mouseEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_mouseReleaseEvent(mouseEvent));} + void py_q_moveEvent(QMdiSubWindow* theWrappedObject, QMoveEvent* moveEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_moveEvent(moveEvent));} + void py_q_paintEvent(QMdiSubWindow* theWrappedObject, QPaintEvent* paintEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_paintEvent(paintEvent));} + void py_q_resizeEvent(QMdiSubWindow* theWrappedObject, QResizeEvent* resizeEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_resizeEvent(resizeEvent));} + void setKeyboardPageStep(QMdiSubWindow* theWrappedObject, int step); + void setKeyboardSingleStep(QMdiSubWindow* theWrappedObject, int step); + void setOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption option, bool on = true); + void setSystemMenu(QMdiSubWindow* theWrappedObject, QMenu* systemMenu); + void setWidget(QMdiSubWindow* theWrappedObject, QWidget* widget); + void py_q_showEvent(QMdiSubWindow* theWrappedObject, QShowEvent* showEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_showEvent(showEvent));} + QSize py_q_sizeHint(QMdiSubWindow* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_sizeHint());} + QMenu* systemMenu(QMdiSubWindow* theWrappedObject) const; + bool testOption(QMdiSubWindow* theWrappedObject, QMdiSubWindow::SubWindowOption arg__1) const; + void py_q_timerEvent(QMdiSubWindow* theWrappedObject, QTimerEvent* timerEvent){ (((PythonQtPublicPromoter_QMdiSubWindow*)theWrappedObject)->py_q_timerEvent(timerEvent));} + QWidget* widget(QMdiSubWindow* theWrappedObject) const; }; -class PythonQtShell_QPaintEngine : public QPaintEngine +class PythonQtShell_QMenu : public QMenu { public: - PythonQtShell_QPaintEngine(QPaintEngine::PaintEngineFeatures features = QPaintEngine::PaintEngineFeatures()):QPaintEngine(features),_wrapper(nullptr) {}; + PythonQtShell_QMenu(QWidget* parent = nullptr):QMenu(parent),_wrapper(nullptr) {}; + PythonQtShell_QMenu(const QString& title, QWidget* parent = nullptr):QMenu(title, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QPaintEngine() override; + ~PythonQtShell_QMenu() override; -bool begin(QPaintDevice* pdev) override; -QPoint coordinateOffset() const override; -void drawEllipse(const QRect& r) override; -void drawEllipse(const QRectF& r) override; -void drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor) override; -void drawLines(const QLine* lines, int lineCount) override; -void drawLines(const QLineF* lines, int lineCount) override; -void drawPath(const QPainterPath& path) override; -void drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr) override; -void drawPoints(const QPoint* points, int pointCount) override; -void drawPoints(const QPointF* points, int pointCount) override; -void drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) override; -void drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) override; -void drawRects(const QRect* rects, int rectCount) override; -void drawRects(const QRectF* rects, int rectCount) override; -void drawTextItem(const QPointF& p, const QTextItem& textItem) override; -void drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s) override; -bool end() override; -QPaintEngine::Type type() const override; -void updateState(const QPaintEngineState& state) override; +void actionEvent(QActionEvent* arg__1) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* arg__1) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QPaintEngine : public QPaintEngine +class PythonQtPublicPromoter_QMenu : public QMenu { public: -inline bool py_q_begin(QPaintDevice* pdev) { return this->begin(pdev); } -inline QPoint py_q_coordinateOffset() const { return QPaintEngine::coordinateOffset(); } -inline void py_q_drawEllipse(const QRect& r) { QPaintEngine::drawEllipse(r); } -inline void py_q_drawEllipse(const QRectF& r) { QPaintEngine::drawEllipse(r); } -inline void py_q_drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor) { QPaintEngine::drawImage(r, pm, sr, flags); } -inline void py_q_drawLines(const QLine* lines, int lineCount) { QPaintEngine::drawLines(lines, lineCount); } -inline void py_q_drawLines(const QLineF* lines, int lineCount) { QPaintEngine::drawLines(lines, lineCount); } -inline void py_q_drawPath(const QPainterPath& path) { QPaintEngine::drawPath(path); } -inline void py_q_drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr) { this->drawPixmap(r, pm, sr); } -inline void py_q_drawPoints(const QPoint* points, int pointCount) { QPaintEngine::drawPoints(points, pointCount); } -inline void py_q_drawPoints(const QPointF* points, int pointCount) { QPaintEngine::drawPoints(points, pointCount); } -inline void py_q_drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { QPaintEngine::drawPolygon(points, pointCount, mode); } -inline void py_q_drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { QPaintEngine::drawPolygon(points, pointCount, mode); } -inline void py_q_drawRects(const QRect* rects, int rectCount) { QPaintEngine::drawRects(rects, rectCount); } -inline void py_q_drawRects(const QRectF* rects, int rectCount) { QPaintEngine::drawRects(rects, rectCount); } -inline void py_q_drawTextItem(const QPointF& p, const QTextItem& textItem) { QPaintEngine::drawTextItem(p, textItem); } -inline void py_q_drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s) { QPaintEngine::drawTiledPixmap(r, pixmap, s); } -inline bool py_q_end() { return this->end(); } -inline QPaintEngine::Type py_q_type() const { return this->type(); } -inline void py_q_updateState(const QPaintEngineState& state) { this->updateState(state); } +inline void promoted_actionEvent(QActionEvent* arg__1) { this->actionEvent(arg__1); } +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline int promoted_columnCount() const { return this->columnCount(); } +inline void promoted_enterEvent(QEvent* arg__1) { this->enterEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } +inline void promoted_initStyleOption(QStyleOptionMenuItem* option, const QAction* action) const { this->initStyleOption(option, action); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_leaveEvent(QEvent* arg__1) { this->leaveEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } +inline void py_q_actionEvent(QActionEvent* arg__1) { QMenu::actionEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QMenu::changeEvent(arg__1); } +inline void py_q_enterEvent(QEvent* arg__1) { QMenu::enterEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QMenu::event(arg__1); } +inline bool py_q_focusNextPrevChild(bool next) { return QMenu::focusNextPrevChild(next); } +inline void py_q_hideEvent(QHideEvent* arg__1) { QMenu::hideEvent(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QMenu::keyPressEvent(arg__1); } +inline void py_q_leaveEvent(QEvent* arg__1) { QMenu::leaveEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QMenu::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QMenu::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QMenu::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QMenu::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QMenu::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QMenu::timerEvent(arg__1); } +inline void py_q_wheelEvent(QWheelEvent* arg__1) { QMenu::wheelEvent(arg__1); } }; -class PythonQtWrapper_QPaintEngine : public QObject +class PythonQtWrapper_QMenu : public QObject { Q_OBJECT public: -Q_ENUMS(DirtyFlag PaintEngineFeature PolygonDrawMode Type ) -Q_FLAGS(DirtyFlags PaintEngineFeatures ) -enum DirtyFlag{ - DirtyPen = QPaintEngine::DirtyPen, DirtyBrush = QPaintEngine::DirtyBrush, DirtyBrushOrigin = QPaintEngine::DirtyBrushOrigin, DirtyFont = QPaintEngine::DirtyFont, DirtyBackground = QPaintEngine::DirtyBackground, DirtyBackgroundMode = QPaintEngine::DirtyBackgroundMode, DirtyTransform = QPaintEngine::DirtyTransform, DirtyClipRegion = QPaintEngine::DirtyClipRegion, DirtyClipPath = QPaintEngine::DirtyClipPath, DirtyHints = QPaintEngine::DirtyHints, DirtyCompositionMode = QPaintEngine::DirtyCompositionMode, DirtyClipEnabled = QPaintEngine::DirtyClipEnabled, DirtyOpacity = QPaintEngine::DirtyOpacity, AllDirty = QPaintEngine::AllDirty}; -enum PaintEngineFeature{ - PrimitiveTransform = QPaintEngine::PrimitiveTransform, PatternTransform = QPaintEngine::PatternTransform, PixmapTransform = QPaintEngine::PixmapTransform, PatternBrush = QPaintEngine::PatternBrush, LinearGradientFill = QPaintEngine::LinearGradientFill, RadialGradientFill = QPaintEngine::RadialGradientFill, ConicalGradientFill = QPaintEngine::ConicalGradientFill, AlphaBlend = QPaintEngine::AlphaBlend, PorterDuff = QPaintEngine::PorterDuff, PainterPaths = QPaintEngine::PainterPaths, Antialiasing = QPaintEngine::Antialiasing, BrushStroke = QPaintEngine::BrushStroke, ConstantOpacity = QPaintEngine::ConstantOpacity, MaskedBrush = QPaintEngine::MaskedBrush, PerspectiveTransform = QPaintEngine::PerspectiveTransform, BlendModes = QPaintEngine::BlendModes, ObjectBoundingModeGradients = QPaintEngine::ObjectBoundingModeGradients, RasterOpModes = QPaintEngine::RasterOpModes, PaintOutsidePaintEvent = QPaintEngine::PaintOutsidePaintEvent, AllFeatures = QPaintEngine::AllFeatures}; -enum PolygonDrawMode{ - OddEvenMode = QPaintEngine::OddEvenMode, WindingMode = QPaintEngine::WindingMode, ConvexMode = QPaintEngine::ConvexMode, PolylineMode = QPaintEngine::PolylineMode}; -enum Type{ - X11 = QPaintEngine::X11, Windows = QPaintEngine::Windows, QuickDraw = QPaintEngine::QuickDraw, CoreGraphics = QPaintEngine::CoreGraphics, MacPrinter = QPaintEngine::MacPrinter, QWindowSystem = QPaintEngine::QWindowSystem, PostScript = QPaintEngine::PostScript, OpenGL = QPaintEngine::OpenGL, Picture = QPaintEngine::Picture, SVG = QPaintEngine::SVG, Raster = QPaintEngine::Raster, Direct3D = QPaintEngine::Direct3D, Pdf = QPaintEngine::Pdf, OpenVG = QPaintEngine::OpenVG, OpenGL2 = QPaintEngine::OpenGL2, PaintBuffer = QPaintEngine::PaintBuffer, Blitter = QPaintEngine::Blitter, Direct2D = QPaintEngine::Direct2D, User = QPaintEngine::User, MaxUser = QPaintEngine::MaxUser}; -Q_DECLARE_FLAGS(DirtyFlags, DirtyFlag) -Q_DECLARE_FLAGS(PaintEngineFeatures, PaintEngineFeature) public Q_SLOTS: -QPaintEngine* new_QPaintEngine(QPaintEngine::PaintEngineFeatures features = QPaintEngine::PaintEngineFeatures()); -void delete_QPaintEngine(QPaintEngine* obj) { delete obj; } - bool begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev); - bool py_q_begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev){ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_begin(pdev));} - void clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); - QPoint coordinateOffset(QPaintEngine* theWrappedObject) const; - QPoint py_q_coordinateOffset(QPaintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_coordinateOffset());} - void drawEllipse(QPaintEngine* theWrappedObject, const QRect& r); - void py_q_drawEllipse(QPaintEngine* theWrappedObject, const QRect& r){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawEllipse(r));} - void drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r); - void py_q_drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawEllipse(r));} - void drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); - void py_q_drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawImage(r, pm, sr, flags));} - void drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount); - void py_q_drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawLines(lines, lineCount));} - void drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount); - void py_q_drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawLines(lines, lineCount));} - void drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path); - void py_q_drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPath(path));} - void drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr); - void py_q_drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPixmap(r, pm, sr));} - void drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount); - void py_q_drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPoints(points, pointCount));} - void drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount); - void py_q_drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPoints(points, pointCount));} - void drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode); - void py_q_drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPolygon(points, pointCount, mode));} - void drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode); - void py_q_drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPolygon(points, pointCount, mode));} - void drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount); - void py_q_drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawRects(rects, rectCount));} - void drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount); - void py_q_drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawRects(rects, rectCount));} - void drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem); - void py_q_drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawTextItem(p, textItem));} - void drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s); - void py_q_drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawTiledPixmap(r, pixmap, s));} - bool end(QPaintEngine* theWrappedObject); - bool py_q_end(QPaintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_end());} - bool hasFeature(QPaintEngine* theWrappedObject, QPaintEngine::PaintEngineFeatures feature) const; - bool isActive(QPaintEngine* theWrappedObject) const; - bool isExtended(QPaintEngine* theWrappedObject) const; - QPaintDevice* paintDevice(QPaintEngine* theWrappedObject) const; - QPainter* painter(QPaintEngine* theWrappedObject) const; - void setActive(QPaintEngine* theWrappedObject, bool newState); - void setDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); - void setSystemClip(QPaintEngine* theWrappedObject, const QRegion& baseClip); - void setSystemRect(QPaintEngine* theWrappedObject, const QRect& rect); - void syncState(QPaintEngine* theWrappedObject); - QRegion systemClip(QPaintEngine* theWrappedObject) const; - QRect systemRect(QPaintEngine* theWrappedObject) const; - bool testDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); - QPaintEngine::Type type(QPaintEngine* theWrappedObject) const; - QPaintEngine::Type py_q_type(QPaintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_type());} - void updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state); - void py_q_updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_updateState(state));} +QMenu* new_QMenu(QWidget* parent = nullptr); +QMenu* new_QMenu(const QString& title, QWidget* parent = nullptr); +void delete_QMenu(QMenu* obj) { delete obj; } + QAction* actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const; + void py_q_actionEvent(QMenu* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_actionEvent(arg__1));} + QRect actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const; + QAction* activeAction(QMenu* theWrappedObject) const; + QAction* addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text); + QAction* addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut = 0); + QAction* addAction(QMenu* theWrappedObject, const QString& text); + QAction* addAction(QMenu* theWrappedObject, const QString& text, const QObject* receiver, const char* member, const QKeySequence& shortcut = 0); + QAction* addMenu(QMenu* theWrappedObject, QMenu* menu); + QMenu* addMenu(QMenu* theWrappedObject, const QIcon& icon, const QString& title); + QMenu* addMenu(QMenu* theWrappedObject, const QString& title); + QAction* addSection(QMenu* theWrappedObject, const QIcon& icon, const QString& text); + QAction* addSection(QMenu* theWrappedObject, const QString& text); + QAction* addSeparator(QMenu* theWrappedObject); + void py_q_changeEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_changeEvent(arg__1));} + void clear(QMenu* theWrappedObject); + int columnCount(QMenu* theWrappedObject) const; + QAction* defaultAction(QMenu* theWrappedObject) const; + void py_q_enterEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_enterEvent(arg__1));} + bool py_q_event(QMenu* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_event(arg__1));} + QAction* exec(QMenu* theWrappedObject); + QAction* static_QMenu_exec(QList actions, const QPoint& pos, QAction* at = nullptr, QWidget* parent = nullptr); + QAction* exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at = nullptr); + bool py_q_focusNextPrevChild(QMenu* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_hideEvent(QMenu* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_hideEvent(arg__1));} + void hideTearOffMenu(QMenu* theWrappedObject); + QIcon icon(QMenu* theWrappedObject) const; + void initStyleOption(QMenu* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const; + QAction* insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu); + QAction* insertSection(QMenu* theWrappedObject, QAction* before, const QIcon& icon, const QString& text); + QAction* insertSection(QMenu* theWrappedObject, QAction* before, const QString& text); + QAction* insertSeparator(QMenu* theWrappedObject, QAction* before); + bool isEmpty(QMenu* theWrappedObject) const; + bool isTearOffEnabled(QMenu* theWrappedObject) const; + bool isTearOffMenuVisible(QMenu* theWrappedObject) const; + void py_q_keyPressEvent(QMenu* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void py_q_leaveEvent(QMenu* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_leaveEvent(arg__1));} + QAction* menuAction(QMenu* theWrappedObject) const; + void py_q_mouseMoveEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QMenu* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_paintEvent(QMenu* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_paintEvent(arg__1));} + void popup(QMenu* theWrappedObject, const QPoint& pos, QAction* at = nullptr); + bool separatorsCollapsible(QMenu* theWrappedObject) const; + void setActiveAction(QMenu* theWrappedObject, QAction* act); + void setDefaultAction(QMenu* theWrappedObject, QAction* arg__1); + void setIcon(QMenu* theWrappedObject, const QIcon& icon); + void setSeparatorsCollapsible(QMenu* theWrappedObject, bool collapse); + void setTearOffEnabled(QMenu* theWrappedObject, bool arg__1); + void setTitle(QMenu* theWrappedObject, const QString& title); + void setToolTipsVisible(QMenu* theWrappedObject, bool visible); + void showTearOffMenu(QMenu* theWrappedObject); + void showTearOffMenu(QMenu* theWrappedObject, const QPoint& pos); + QSize py_q_sizeHint(QMenu* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_sizeHint());} + void py_q_timerEvent(QMenu* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_timerEvent(arg__1));} + QString title(QMenu* theWrappedObject) const; + bool toolTipsVisible(QMenu* theWrappedObject) const; + void py_q_wheelEvent(QMenu* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QMenu*)theWrappedObject)->py_q_wheelEvent(arg__1));} + bool __nonzero__(QMenu* obj) { return !obj->isEmpty(); } + + QAction* addAction (QMenu* menu, const QString & text, PyObject* callable, const QKeySequence & shortcut = 0) { + QAction* a = menu->addAction(text); + a->setShortcut(shortcut); + PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); + return a; + } + + QAction* addAction (QMenu* menu, const QIcon& icon, const QString& text, PyObject* callable, const QKeySequence& shortcut = 0) + { + QAction* a = menu->addAction(text); + a->setIcon(icon); + a->setShortcut(shortcut); + PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); + return a; + } + }; -class PythonQtShell_QPaintEngineState : public QPaintEngineState +class PythonQtShell_QMenuBar : public QMenuBar { public: - PythonQtShell_QPaintEngineState():QPaintEngineState(),_wrapper(nullptr) {}; - - ~PythonQtShell_QPaintEngineState(); + PythonQtShell_QMenuBar(QWidget* parent = nullptr):QMenuBar(parent),_wrapper(nullptr) {}; + ~PythonQtShell_QMenuBar() override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QPaintEngineState : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QPaintEngineState* new_QPaintEngineState(); -void delete_QPaintEngineState(QPaintEngineState* obj) { delete obj; } - QBrush backgroundBrush(QPaintEngineState* theWrappedObject) const; - Qt::BGMode backgroundMode(QPaintEngineState* theWrappedObject) const; - QBrush brush(QPaintEngineState* theWrappedObject) const; - bool brushNeedsResolving(QPaintEngineState* theWrappedObject) const; - QPointF brushOrigin(QPaintEngineState* theWrappedObject) const; - Qt::ClipOperation clipOperation(QPaintEngineState* theWrappedObject) const; - QPainterPath clipPath(QPaintEngineState* theWrappedObject) const; - QRegion clipRegion(QPaintEngineState* theWrappedObject) const; - QPainter::CompositionMode compositionMode(QPaintEngineState* theWrappedObject) const; - QFont font(QPaintEngineState* theWrappedObject) const; - bool isClipEnabled(QPaintEngineState* theWrappedObject) const; - QMatrix matrix(QPaintEngineState* theWrappedObject) const; - qreal opacity(QPaintEngineState* theWrappedObject) const; - QPainter* painter(QPaintEngineState* theWrappedObject) const; - QPen pen(QPaintEngineState* theWrappedObject) const; - bool penNeedsResolving(QPaintEngineState* theWrappedObject) const; - QPainter::RenderHints renderHints(QPaintEngineState* theWrappedObject) const; - QPaintEngine::DirtyFlags state(QPaintEngineState* theWrappedObject) const; - QTransform transform(QPaintEngineState* theWrappedObject) const; +void actionEvent(QActionEvent* arg__1) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* arg__1) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* arg__1) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QMenuBar : public QMenuBar +{ public: +inline void promoted_actionEvent(QActionEvent* arg__1) { this->actionEvent(arg__1); } +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } +inline void promoted_initStyleOption(QStyleOptionMenuItem* option, const QAction* action) const { this->initStyleOption(option, action); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_leaveEvent(QEvent* arg__1) { this->leaveEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* arg__1) { this->timerEvent(arg__1); } +inline void py_q_actionEvent(QActionEvent* arg__1) { QMenuBar::actionEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QMenuBar::changeEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QMenuBar::event(arg__1); } +inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QMenuBar::eventFilter(arg__1, arg__2); } +inline void py_q_focusInEvent(QFocusEvent* arg__1) { QMenuBar::focusInEvent(arg__1); } +inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QMenuBar::focusOutEvent(arg__1); } +inline int py_q_heightForWidth(int arg__1) const { return QMenuBar::heightForWidth(arg__1); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QMenuBar::keyPressEvent(arg__1); } +inline void py_q_leaveEvent(QEvent* arg__1) { QMenuBar::leaveEvent(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QMenuBar::minimumSizeHint(); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QMenuBar::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QMenuBar::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QMenuBar::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QMenuBar::paintEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QMenuBar::resizeEvent(arg__1); } +inline void py_q_setVisible(bool visible) { QMenuBar::setVisible(visible); } +inline QSize py_q_sizeHint() const { return QMenuBar::sizeHint(); } +inline void py_q_timerEvent(QTimerEvent* arg__1) { QMenuBar::timerEvent(arg__1); } }; +class PythonQtWrapper_QMenuBar : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QMenuBar* new_QMenuBar(QWidget* parent = nullptr); +void delete_QMenuBar(QMenuBar* obj) { delete obj; } + QAction* actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const; + void py_q_actionEvent(QMenuBar* theWrappedObject, QActionEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_actionEvent(arg__1));} + QRect actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const; + QAction* activeAction(QMenuBar* theWrappedObject) const; + QAction* addAction(QMenuBar* theWrappedObject, const QString& text); + QAction* addAction(QMenuBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member); + QAction* addMenu(QMenuBar* theWrappedObject, QMenu* menu); + QMenu* addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title); + QMenu* addMenu(QMenuBar* theWrappedObject, const QString& title); + QAction* addSeparator(QMenuBar* theWrappedObject); + void py_q_changeEvent(QMenuBar* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_changeEvent(arg__1));} + void clear(QMenuBar* theWrappedObject); + QWidget* cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner = Qt::TopRightCorner) const; + bool py_q_event(QMenuBar* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_event(arg__1));} + bool py_q_eventFilter(QMenuBar* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} + void py_q_focusInEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_focusInEvent(arg__1));} + void py_q_focusOutEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_focusOutEvent(arg__1));} + int py_q_heightForWidth(QMenuBar* theWrappedObject, int arg__1) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_heightForWidth(arg__1));} + void initStyleOption(QMenuBar* theWrappedObject, QStyleOptionMenuItem* option, const QAction* action) const; + QAction* insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu); + QAction* insertSeparator(QMenuBar* theWrappedObject, QAction* before); + bool isDefaultUp(QMenuBar* theWrappedObject) const; + bool isNativeMenuBar(QMenuBar* theWrappedObject) const; + void py_q_keyPressEvent(QMenuBar* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void py_q_leaveEvent(QMenuBar* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_leaveEvent(arg__1));} + QSize py_q_minimumSizeHint(QMenuBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseMoveEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_paintEvent(QMenuBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_paintEvent(arg__1));} + void py_q_resizeEvent(QMenuBar* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_resizeEvent(arg__1));} + void setActiveAction(QMenuBar* theWrappedObject, QAction* action); + void setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner = Qt::TopRightCorner); + void setDefaultUp(QMenuBar* theWrappedObject, bool arg__1); + void setNativeMenuBar(QMenuBar* theWrappedObject, bool nativeMenuBar); + void py_q_setVisible(QMenuBar* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_setVisible(visible));} + QSize py_q_sizeHint(QMenuBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_sizeHint());} + void py_q_timerEvent(QMenuBar* theWrappedObject, QTimerEvent* arg__1){ (((PythonQtPublicPromoter_QMenuBar*)theWrappedObject)->py_q_timerEvent(arg__1));} + + QAction* addAction (QMenuBar* menu, const QString & text, PyObject* callable) + { + QAction* a = menu->addAction(text); + PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); + return a; + } + +}; -class PythonQtShell_QPaintEvent : public QPaintEvent + +class PythonQtShell_QMessageBox : public QMessageBox { public: - PythonQtShell_QPaintEvent(const QRect& paintRect):QPaintEvent(paintRect),_wrapper(nullptr) {}; - PythonQtShell_QPaintEvent(const QRegion& paintRegion):QPaintEvent(paintRegion),_wrapper(nullptr) {}; + PythonQtShell_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::Dialog|Qt::MSWindowsFixedSizeDialogHint):QMessageBox(icon, title, text, buttons, parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QMessageBox(QWidget* parent = nullptr):QMessageBox(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QPaintEvent() override; + ~PythonQtShell_QMessageBox() override; +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int arg__1) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtWrapper_QPaintEvent : public QObject +class PythonQtPublicPromoter_QMessageBox : public QMessageBox +{ public: +inline void promoted_changeEvent(QEvent* event) { this->changeEvent(event); } +inline void promoted_closeEvent(QCloseEvent* event) { this->closeEvent(event); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_keyPressEvent(QKeyEvent* event) { this->keyPressEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } +inline void py_q_changeEvent(QEvent* event) { QMessageBox::changeEvent(event); } +inline void py_q_closeEvent(QCloseEvent* event) { QMessageBox::closeEvent(event); } +inline bool py_q_event(QEvent* e) { return QMessageBox::event(e); } +inline void py_q_keyPressEvent(QKeyEvent* event) { QMessageBox::keyPressEvent(event); } +inline void py_q_resizeEvent(QResizeEvent* event) { QMessageBox::resizeEvent(event); } +inline void py_q_showEvent(QShowEvent* event) { QMessageBox::showEvent(event); } +}; + +class PythonQtWrapper_QMessageBox : public QObject { Q_OBJECT public: +Q_ENUMS(ButtonRole StandardButton ) +Q_FLAGS(StandardButtons ) +enum ButtonRole{ + InvalidRole = QMessageBox::InvalidRole, AcceptRole = QMessageBox::AcceptRole, RejectRole = QMessageBox::RejectRole, DestructiveRole = QMessageBox::DestructiveRole, ActionRole = QMessageBox::ActionRole, HelpRole = QMessageBox::HelpRole, YesRole = QMessageBox::YesRole, NoRole = QMessageBox::NoRole, ResetRole = QMessageBox::ResetRole, ApplyRole = QMessageBox::ApplyRole, NRoles = QMessageBox::NRoles}; +enum StandardButton{ + NoButton = QMessageBox::NoButton, Ok = QMessageBox::Ok, Save = QMessageBox::Save, SaveAll = QMessageBox::SaveAll, Open = QMessageBox::Open, Yes = QMessageBox::Yes, YesToAll = QMessageBox::YesToAll, No = QMessageBox::No, NoToAll = QMessageBox::NoToAll, Abort = QMessageBox::Abort, Retry = QMessageBox::Retry, Ignore = QMessageBox::Ignore, Close = QMessageBox::Close, Cancel = QMessageBox::Cancel, Discard = QMessageBox::Discard, Help = QMessageBox::Help, Apply = QMessageBox::Apply, Reset = QMessageBox::Reset, RestoreDefaults = QMessageBox::RestoreDefaults, FirstButton = QMessageBox::FirstButton, LastButton = QMessageBox::LastButton, YesAll = QMessageBox::YesAll, NoAll = QMessageBox::NoAll, Default = QMessageBox::Default, Escape = QMessageBox::Escape, FlagMask = QMessageBox::FlagMask, ButtonMask = QMessageBox::ButtonMask}; +Q_DECLARE_FLAGS(StandardButtons, StandardButton) public Q_SLOTS: -QPaintEvent* new_QPaintEvent(const QRect& paintRect); -QPaintEvent* new_QPaintEvent(const QRegion& paintRegion); -void delete_QPaintEvent(QPaintEvent* obj) { delete obj; } - const QRect* rect(QPaintEvent* theWrappedObject) const; - const QRegion* region(QPaintEvent* theWrappedObject) const; +QMessageBox* new_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::Dialog|Qt::MSWindowsFixedSizeDialogHint); +QMessageBox* new_QMessageBox(QWidget* parent = nullptr); +void delete_QMessageBox(QMessageBox* obj) { delete obj; } + void static_QMessageBox_about(QWidget* parent, const QString& title, const QString& text); + void static_QMessageBox_aboutQt(QWidget* parent, const QString& title = QString()); + void addButton(QMessageBox* theWrappedObject, QAbstractButton* button, QMessageBox::ButtonRole role); + QPushButton* addButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); + QPushButton* addButton(QMessageBox* theWrappedObject, const QString& text, QMessageBox::ButtonRole role); + QAbstractButton* button(QMessageBox* theWrappedObject, QMessageBox::StandardButton which) const; + QMessageBox::ButtonRole buttonRole(QMessageBox* theWrappedObject, QAbstractButton* button) const; + QList buttons(QMessageBox* theWrappedObject) const; + void py_q_changeEvent(QMessageBox* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_changeEvent(event));} + QCheckBox* checkBox(QMessageBox* theWrappedObject) const; + QAbstractButton* clickedButton(QMessageBox* theWrappedObject) const; + void py_q_closeEvent(QMessageBox* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_closeEvent(event));} + QMessageBox::StandardButton static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); + int static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); + QPushButton* defaultButton(QMessageBox* theWrappedObject) const; + QString detailedText(QMessageBox* theWrappedObject) const; + QAbstractButton* escapeButton(QMessageBox* theWrappedObject) const; + bool py_q_event(QMessageBox* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_event(e));} + QMessageBox::Icon icon(QMessageBox* theWrappedObject) const; + QPixmap iconPixmap(QMessageBox* theWrappedObject) const; + QMessageBox::StandardButton static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); + QMessageBox::StandardButton static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1 = QMessageBox::NoButton); + QString informativeText(QMessageBox* theWrappedObject) const; + void py_q_keyPressEvent(QMessageBox* theWrappedObject, QKeyEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_keyPressEvent(event));} + void open(QMessageBox* theWrappedObject, QObject* receiver, const char* member); + QMessageBox::StandardButton static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::StandardButtons(Yes|No), QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); + int static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); + void removeButton(QMessageBox* theWrappedObject, QAbstractButton* button); + void py_q_resizeEvent(QMessageBox* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_resizeEvent(event));} + void setCheckBox(QMessageBox* theWrappedObject, QCheckBox* cb); + void setDefaultButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); + void setDefaultButton(QMessageBox* theWrappedObject, QPushButton* button); + void setDetailedText(QMessageBox* theWrappedObject, const QString& text); + void setEscapeButton(QMessageBox* theWrappedObject, QAbstractButton* button); + void setEscapeButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button); + void setIcon(QMessageBox* theWrappedObject, QMessageBox::Icon arg__1); + void setIconPixmap(QMessageBox* theWrappedObject, const QPixmap& pixmap); + void setInformativeText(QMessageBox* theWrappedObject, const QString& text); + void setStandardButtons(QMessageBox* theWrappedObject, QMessageBox::StandardButtons buttons); + void setText(QMessageBox* theWrappedObject, const QString& text); + void setTextFormat(QMessageBox* theWrappedObject, Qt::TextFormat format); + void setTextInteractionFlags(QMessageBox* theWrappedObject, Qt::TextInteractionFlags flags); + void py_q_showEvent(QMessageBox* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QMessageBox*)theWrappedObject)->py_q_showEvent(event));} + QMessageBox::StandardButton standardButton(QMessageBox* theWrappedObject, QAbstractButton* button) const; + QMessageBox::StandardButtons standardButtons(QMessageBox* theWrappedObject) const; + QString text(QMessageBox* theWrappedObject) const; + Qt::TextFormat textFormat(QMessageBox* theWrappedObject) const; + Qt::TextInteractionFlags textInteractionFlags(QMessageBox* theWrappedObject) const; + QMessageBox::StandardButton static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); + int static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1); }; -class PythonQtWrapper_QPainter : public QObject +class PythonQtShell_QMouseEvent : public QMouseEvent +{ +public: + PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, button, buttons, modifiers),_wrapper(nullptr) {}; + PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, screenPos, button, buttons, modifiers),_wrapper(nullptr) {}; + PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers):QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers),_wrapper(nullptr) {}; + PythonQtShell_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source):QMouseEvent(type, localPos, windowPos, screenPos, button, buttons, modifiers, source),_wrapper(nullptr) {}; + + ~PythonQtShell_QMouseEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QMouseEvent : public QObject { Q_OBJECT public: -Q_ENUMS(CompositionMode PixmapFragmentHint RenderHint ) -Q_FLAGS(PixmapFragmentHints RenderHints ) -enum CompositionMode{ - CompositionMode_SourceOver = QPainter::CompositionMode_SourceOver, CompositionMode_DestinationOver = QPainter::CompositionMode_DestinationOver, CompositionMode_Clear = QPainter::CompositionMode_Clear, CompositionMode_Source = QPainter::CompositionMode_Source, CompositionMode_Destination = QPainter::CompositionMode_Destination, CompositionMode_SourceIn = QPainter::CompositionMode_SourceIn, CompositionMode_DestinationIn = QPainter::CompositionMode_DestinationIn, CompositionMode_SourceOut = QPainter::CompositionMode_SourceOut, CompositionMode_DestinationOut = QPainter::CompositionMode_DestinationOut, CompositionMode_SourceAtop = QPainter::CompositionMode_SourceAtop, CompositionMode_DestinationAtop = QPainter::CompositionMode_DestinationAtop, CompositionMode_Xor = QPainter::CompositionMode_Xor, CompositionMode_Plus = QPainter::CompositionMode_Plus, CompositionMode_Multiply = QPainter::CompositionMode_Multiply, CompositionMode_Screen = QPainter::CompositionMode_Screen, CompositionMode_Overlay = QPainter::CompositionMode_Overlay, CompositionMode_Darken = QPainter::CompositionMode_Darken, CompositionMode_Lighten = QPainter::CompositionMode_Lighten, CompositionMode_ColorDodge = QPainter::CompositionMode_ColorDodge, CompositionMode_ColorBurn = QPainter::CompositionMode_ColorBurn, CompositionMode_HardLight = QPainter::CompositionMode_HardLight, CompositionMode_SoftLight = QPainter::CompositionMode_SoftLight, CompositionMode_Difference = QPainter::CompositionMode_Difference, CompositionMode_Exclusion = QPainter::CompositionMode_Exclusion, RasterOp_SourceOrDestination = QPainter::RasterOp_SourceOrDestination, RasterOp_SourceAndDestination = QPainter::RasterOp_SourceAndDestination, RasterOp_SourceXorDestination = QPainter::RasterOp_SourceXorDestination, RasterOp_NotSourceAndNotDestination = QPainter::RasterOp_NotSourceAndNotDestination, RasterOp_NotSourceOrNotDestination = QPainter::RasterOp_NotSourceOrNotDestination, RasterOp_NotSourceXorDestination = QPainter::RasterOp_NotSourceXorDestination, RasterOp_NotSource = QPainter::RasterOp_NotSource, RasterOp_NotSourceAndDestination = QPainter::RasterOp_NotSourceAndDestination, RasterOp_SourceAndNotDestination = QPainter::RasterOp_SourceAndNotDestination, RasterOp_NotSourceOrDestination = QPainter::RasterOp_NotSourceOrDestination, RasterOp_SourceOrNotDestination = QPainter::RasterOp_SourceOrNotDestination, RasterOp_ClearDestination = QPainter::RasterOp_ClearDestination, RasterOp_SetDestination = QPainter::RasterOp_SetDestination, RasterOp_NotDestination = QPainter::RasterOp_NotDestination}; -enum PixmapFragmentHint{ - OpaqueHint = QPainter::OpaqueHint}; -enum RenderHint{ - Antialiasing = QPainter::Antialiasing, TextAntialiasing = QPainter::TextAntialiasing, SmoothPixmapTransform = QPainter::SmoothPixmapTransform, HighQualityAntialiasing = QPainter::HighQualityAntialiasing, NonCosmeticDefaultPen = QPainter::NonCosmeticDefaultPen, Qt4CompatiblePainting = QPainter::Qt4CompatiblePainting}; -Q_DECLARE_FLAGS(PixmapFragmentHints, PixmapFragmentHint) -Q_DECLARE_FLAGS(RenderHints, RenderHint) public Q_SLOTS: -QPainter* new_QPainter(); -QPainter* new_QPainter(QPaintDevice* arg__1); -void delete_QPainter(QPainter* obj) { delete obj; } - const QBrush* background(QPainter* theWrappedObject) const; - Qt::BGMode backgroundMode(QPainter* theWrappedObject) const; - bool begin(QPainter* theWrappedObject, QPaintDevice* arg__1); - void beginNativePainting(QPainter* theWrappedObject); - QRect boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text); - QRectF boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o = QTextOption()); - QRectF boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text); - QRect boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text); - const QBrush* brush(QPainter* theWrappedObject) const; - QPoint brushOrigin(QPainter* theWrappedObject) const; - QRectF clipBoundingRect(QPainter* theWrappedObject) const; - QPainterPath clipPath(QPainter* theWrappedObject) const; - QRegion clipRegion(QPainter* theWrappedObject) const; - QMatrix combinedMatrix(QPainter* theWrappedObject) const; - QTransform combinedTransform(QPainter* theWrappedObject) const; - QPainter::CompositionMode compositionMode(QPainter* theWrappedObject) const; - QPaintDevice* device(QPainter* theWrappedObject) const; - const QMatrix* deviceMatrix(QPainter* theWrappedObject) const; - const QTransform* deviceTransform(QPainter* theWrappedObject) const; - void drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); - void drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); - void drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); - void drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); - void drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); - void drawChord(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); - void drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon); - void drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon); - void drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry); - void drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry); - void drawEllipse(QPainter* theWrappedObject, const QRect& r); - void drawEllipse(QPainter* theWrappedObject, const QRectF& r); - void drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h); - void drawGlyphRun(QPainter* theWrappedObject, const QPointF& position, const QGlyphRun& glyphRun); - void drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image); - void drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); - void drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image); - void drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); - void drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image); - void drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags = Qt::AutoColor); - void drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image); - void drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, Qt::ImageConversionFlags flags = Qt::AutoColor); - void drawImage(QPainter* theWrappedObject, int x, int y, const QImage& image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt::ImageConversionFlags flags = Qt::AutoColor); - void drawLine(QPainter* theWrappedObject, const QLine& line); - void drawLine(QPainter* theWrappedObject, const QLineF& line); - void drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2); - void drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2); - void drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2); - void drawLines(QPainter* theWrappedObject, const QVector& lines); - void drawLines(QPainter* theWrappedObject, const QVector& lines); - void drawLines(QPainter* theWrappedObject, const QVector& pointPairs); - void drawLines(QPainter* theWrappedObject, const QVector& pointPairs); - void drawPath(QPainter* theWrappedObject, const QPainterPath& path); - void drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture); - void drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture); - void drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture); - void drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); - void drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); - void drawPie(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); - void drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm); - void drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr); - void drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm); - void drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr); - void drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm); - void drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect); - void drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect); - void drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm); - void drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm, int sx, int sy, int sw, int sh); - void drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm); - void drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm, int sx, int sy, int sw, int sh); - void drawPixmapFragments(QPainter* theWrappedObject, const QPainter::PixmapFragment* fragments, int fragmentCount, const QPixmap& pixmap, QPainter::PixmapFragmentHints hints = QPainter::PixmapFragmentHints()); - void drawPoint(QPainter* theWrappedObject, const QPoint& p); - void drawPoint(QPainter* theWrappedObject, const QPointF& pt); - void drawPoint(QPainter* theWrappedObject, int x, int y); - void drawPoints(QPainter* theWrappedObject, const QPolygon& points); - void drawPoints(QPainter* theWrappedObject, const QPolygonF& points); - void drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule = Qt::OddEvenFill); - void drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule = Qt::OddEvenFill); - void drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon); - void drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline); - void drawRect(QPainter* theWrappedObject, const QRect& rect); - void drawRect(QPainter* theWrappedObject, const QRectF& rect); - void drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h); - void drawRects(QPainter* theWrappedObject, const QVector& rectangles); - void drawRects(QPainter* theWrappedObject, const QVector& rectangles); - void drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround = 25, int yround = 25); - void drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround = 25, int yround = 25); - void drawRoundRect(QPainter* theWrappedObject, int x, int y, int w, int h, int arg__5 = 25, int arg__6 = 25); - void drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); - void drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); - void drawRoundedRect(QPainter* theWrappedObject, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); - void drawStaticText(QPainter* theWrappedObject, const QPoint& topLeftPosition, const QStaticText& staticText); - void drawStaticText(QPainter* theWrappedObject, const QPointF& topLeftPosition, const QStaticText& staticText); - void drawStaticText(QPainter* theWrappedObject, int left, int top, const QStaticText& staticText); - void drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s); - void drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s); - void drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br = nullptr); - void drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o = QTextOption()); - void drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br = nullptr); - void drawText(QPainter* theWrappedObject, int x, int y, const QString& s); - void drawText(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, QRect* br = nullptr); - void drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti); - void drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti); - void drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti); - void drawTiledPixmap(QPainter* theWrappedObject, const QRect& arg__1, const QPixmap& arg__2, const QPoint& arg__3 = QPoint()); - void drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset = QPointF()); - void drawTiledPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& arg__5, int sx = 0, int sy = 0); - bool end(QPainter* theWrappedObject); - void endNativePainting(QPainter* theWrappedObject); - void eraseRect(QPainter* theWrappedObject, const QRect& arg__1); - void eraseRect(QPainter* theWrappedObject, const QRectF& arg__1); - void eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h); - void fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush); - void fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2); - void fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QColor& color); - void fillRect(QPainter* theWrappedObject, const QRect& r, Qt::BrushStyle style); - void fillRect(QPainter* theWrappedObject, const QRect& r, Qt::GlobalColor c); - void fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2); - void fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QColor& color); - void fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::BrushStyle style); - void fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::GlobalColor c); - void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::BrushStyle style); - void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::GlobalColor c); - void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5); - void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QColor& color); - const QFont* font(QPainter* theWrappedObject) const; - QFontInfo fontInfo(QPainter* theWrappedObject) const; - QFontMetrics fontMetrics(QPainter* theWrappedObject) const; - bool hasClipping(QPainter* theWrappedObject) const; - void initFrom(QPainter* theWrappedObject, const QPaintDevice* device); - bool isActive(QPainter* theWrappedObject) const; - Qt::LayoutDirection layoutDirection(QPainter* theWrappedObject) const; - qreal opacity(QPainter* theWrappedObject) const; - QPaintEngine* paintEngine(QPainter* theWrappedObject) const; - const QPen* pen(QPainter* theWrappedObject) const; - QPaintDevice* static_QPainter_redirected(const QPaintDevice* device, QPoint* offset = nullptr); - QPainter::RenderHints renderHints(QPainter* theWrappedObject) const; - void resetMatrix(QPainter* theWrappedObject); - void resetTransform(QPainter* theWrappedObject); - void restore(QPainter* theWrappedObject); - void static_QPainter_restoreRedirected(const QPaintDevice* device); - void rotate(QPainter* theWrappedObject, qreal a); - void save(QPainter* theWrappedObject); - void scale(QPainter* theWrappedObject, qreal sx, qreal sy); - void setBackground(QPainter* theWrappedObject, const QBrush& bg); - void setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode); - void setBrush(QPainter* theWrappedObject, const QBrush& brush); - void setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1); - void setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1); - void setBrushOrigin(QPainter* theWrappedObject, int x, int y); - void setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op = Qt::ReplaceClip); - void setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); - void setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); - void setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op = Qt::ReplaceClip); - void setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); - void setClipping(QPainter* theWrappedObject, bool enable); - void setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode); - void setFont(QPainter* theWrappedObject, const QFont& f); - void setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction); - void setOpacity(QPainter* theWrappedObject, qreal opacity); - void setPen(QPainter* theWrappedObject, Qt::PenStyle style); - void setPen(QPainter* theWrappedObject, const QColor& color); - void setPen(QPainter* theWrappedObject, const QPen& pen); - void static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset = QPoint()); - void setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on = true); - void setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on = true); - void setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine = false); - void setViewTransformEnabled(QPainter* theWrappedObject, bool enable); - void setViewport(QPainter* theWrappedObject, const QRect& viewport); - void setViewport(QPainter* theWrappedObject, int x, int y, int w, int h); - void setWindow(QPainter* theWrappedObject, const QRect& window); - void setWindow(QPainter* theWrappedObject, int x, int y, int w, int h); - void setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine = false); - void setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled); - void setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine = false); - void shear(QPainter* theWrappedObject, qreal sh, qreal sv); - void strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen); - bool testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const; - const QTransform* transform(QPainter* theWrappedObject) const; - void translate(QPainter* theWrappedObject, const QPoint& offset); - void translate(QPainter* theWrappedObject, const QPointF& offset); - void translate(QPainter* theWrappedObject, qreal dx, qreal dy); - bool viewTransformEnabled(QPainter* theWrappedObject) const; - QRect viewport(QPainter* theWrappedObject) const; - QRect window(QPainter* theWrappedObject) const; - const QMatrix* worldMatrix(QPainter* theWrappedObject) const; - bool worldMatrixEnabled(QPainter* theWrappedObject) const; - const QTransform* worldTransform(QPainter* theWrappedObject) const; +QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); +QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); +QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers); +QMouseEvent* new_QMouseEvent(QEvent::Type type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source); +void delete_QMouseEvent(QMouseEvent* obj) { delete obj; } + Qt::MouseButton button(QMouseEvent* theWrappedObject) const; + Qt::MouseButtons buttons(QMouseEvent* theWrappedObject) const; + Qt::MouseEventFlags flags(QMouseEvent* theWrappedObject) const; + QPoint globalPos(QMouseEvent* theWrappedObject) const; + int globalX(QMouseEvent* theWrappedObject) const; + int globalY(QMouseEvent* theWrappedObject) const; + const QPointF* localPos(QMouseEvent* theWrappedObject) const; + QPoint pos(QMouseEvent* theWrappedObject) const; + const QPointF* screenPos(QMouseEvent* theWrappedObject) const; + void setLocalPos(QMouseEvent* theWrappedObject, const QPointF& localPosition); + Qt::MouseEventSource source(QMouseEvent* theWrappedObject) const; + const QPointF* windowPos(QMouseEvent* theWrappedObject) const; + int x(QMouseEvent* theWrappedObject) const; + int y(QMouseEvent* theWrappedObject) const; }; -class PythonQtWrapper_QPainterPath : public QObject -{ Q_OBJECT +class PythonQtShell_QMouseEventTransition : public QMouseEventTransition +{ public: -Q_ENUMS(ElementType ) -enum ElementType{ - MoveToElement = QPainterPath::MoveToElement, LineToElement = QPainterPath::LineToElement, CurveToElement = QPainterPath::CurveToElement, CurveToDataElement = QPainterPath::CurveToDataElement}; -public Q_SLOTS: -QPainterPath* new_QPainterPath(); -QPainterPath* new_QPainterPath(const QPainterPath& other); -QPainterPath* new_QPainterPath(const QPointF& startPoint); -void delete_QPainterPath(QPainterPath* obj) { delete obj; } - void addEllipse(QPainterPath* theWrappedObject, const QPointF& center, qreal rx, qreal ry); - void addEllipse(QPainterPath* theWrappedObject, const QRectF& rect); - void addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - void addPath(QPainterPath* theWrappedObject, const QPainterPath& path); - void addPolygon(QPainterPath* theWrappedObject, const QPolygonF& polygon); - void addRect(QPainterPath* theWrappedObject, const QRectF& rect); - void addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h); - void addRegion(QPainterPath* theWrappedObject, const QRegion& region); - void addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int roundness); - void addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int xRnd, int yRnd); - void addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int roundness); - void addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd); - void addRoundedRect(QPainterPath* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); - void addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); - void addText(QPainterPath* theWrappedObject, const QPointF& point, const QFont& f, const QString& text); - void addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text); - qreal angleAtPercent(QPainterPath* theWrappedObject, qreal t) const; - void arcMoveTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal angle); - void arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle); - void arcTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal startAngle, qreal arcLength); - void arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength); - QRectF boundingRect(QPainterPath* theWrappedObject) const; - void closeSubpath(QPainterPath* theWrappedObject); - void connectPath(QPainterPath* theWrappedObject, const QPainterPath& path); - bool contains(QPainterPath* theWrappedObject, const QPainterPath& p) const; - bool contains(QPainterPath* theWrappedObject, const QPointF& pt) const; - bool contains(QPainterPath* theWrappedObject, const QRectF& rect) const; - QRectF controlPointRect(QPainterPath* theWrappedObject) const; - void cubicTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt1, const QPointF& ctrlPt2, const QPointF& endPt); - void cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty); - QPointF currentPosition(QPainterPath* theWrappedObject) const; - QPainterPath::Element elementAt(QPainterPath* theWrappedObject, int i) const; - int elementCount(QPainterPath* theWrappedObject) const; - Qt::FillRule fillRule(QPainterPath* theWrappedObject) const; - QPainterPath intersected(QPainterPath* theWrappedObject, const QPainterPath& r) const; - bool intersects(QPainterPath* theWrappedObject, const QPainterPath& p) const; - bool intersects(QPainterPath* theWrappedObject, const QRectF& rect) const; - bool isEmpty(QPainterPath* theWrappedObject) const; - qreal length(QPainterPath* theWrappedObject) const; - void lineTo(QPainterPath* theWrappedObject, const QPointF& p); - void lineTo(QPainterPath* theWrappedObject, qreal x, qreal y); - void moveTo(QPainterPath* theWrappedObject, const QPointF& p); - void moveTo(QPainterPath* theWrappedObject, qreal x, qreal y); - bool __ne__(QPainterPath* theWrappedObject, const QPainterPath& other) const; - QPainterPath __and__(QPainterPath* theWrappedObject, const QPainterPath& other) const; - QPainterPath* __iand__(QPainterPath* theWrappedObject, const QPainterPath& other); - QPainterPath __mul__(QPainterPath* theWrappedObject, const QMatrix& m); - QPainterPath __mul__(QPainterPath* theWrappedObject, const QTransform& m); - QPainterPath __add__(QPainterPath* theWrappedObject, const QPainterPath& other) const; - QPainterPath* __iadd__(QPainterPath* theWrappedObject, const QPainterPath& other); - QPainterPath __sub__(QPainterPath* theWrappedObject, const QPainterPath& other) const; - QPainterPath* __isub__(QPainterPath* theWrappedObject, const QPainterPath& other); - void writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1); - bool __eq__(QPainterPath* theWrappedObject, const QPainterPath& other) const; - void readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1); - QPainterPath __or__(QPainterPath* theWrappedObject, const QPainterPath& other) const; - QPainterPath* __ior__(QPainterPath* theWrappedObject, const QPainterPath& other); - qreal percentAtLength(QPainterPath* theWrappedObject, qreal t) const; - QPointF pointAtPercent(QPainterPath* theWrappedObject, qreal t) const; - void quadTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt, const QPointF& endPt); - void quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty); - void setElementPositionAt(QPainterPath* theWrappedObject, int i, qreal x, qreal y); - void setFillRule(QPainterPath* theWrappedObject, Qt::FillRule fillRule); - QPainterPath simplified(QPainterPath* theWrappedObject) const; - qreal slopeAtPercent(QPainterPath* theWrappedObject, qreal t) const; - QPainterPath subtracted(QPainterPath* theWrappedObject, const QPainterPath& r) const; - QPainterPath subtractedInverted(QPainterPath* theWrappedObject, const QPainterPath& r) const; - void swap(QPainterPath* theWrappedObject, QPainterPath& other); - QPolygonF toFillPolygon(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const; - QPolygonF toFillPolygon(QPainterPath* theWrappedObject, const QTransform& matrix) const; - QList toFillPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const; - QList toFillPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const; - QPainterPath toReversed(QPainterPath* theWrappedObject) const; - QList toSubpathPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const; - QList toSubpathPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const; - void translate(QPainterPath* theWrappedObject, const QPointF& offset); - void translate(QPainterPath* theWrappedObject, qreal dx, qreal dy); - QPainterPath translated(QPainterPath* theWrappedObject, const QPointF& offset) const; - QPainterPath translated(QPainterPath* theWrappedObject, qreal dx, qreal dy) const; - QPainterPath united(QPainterPath* theWrappedObject, const QPainterPath& r) const; - QString py_toString(QPainterPath*); - bool __nonzero__(QPainterPath* obj) { return !obj->isEmpty(); } -}; + PythonQtShell_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState = nullptr):QMouseEventTransition(object, type, button, sourceState),_wrapper(nullptr) {}; + PythonQtShell_QMouseEventTransition(QState* sourceState = nullptr):QMouseEventTransition(sourceState),_wrapper(nullptr) {}; + ~PythonQtShell_QMouseEventTransition() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool eventTest(QEvent* event) override; +void onTransition(QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; +class PythonQtPublicPromoter_QMouseEventTransition : public QMouseEventTransition +{ public: +inline bool promoted_eventTest(QEvent* event) { return this->eventTest(event); } +inline void promoted_onTransition(QEvent* event) { this->onTransition(event); } +inline bool py_q_eventTest(QEvent* event) { return QMouseEventTransition::eventTest(event); } +inline void py_q_onTransition(QEvent* event) { QMouseEventTransition::onTransition(event); } +}; -class PythonQtWrapper_QPainterPathStroker : public QObject +class PythonQtWrapper_QMouseEventTransition : public QObject { Q_OBJECT public: public Q_SLOTS: -QPainterPathStroker* new_QPainterPathStroker(); -QPainterPathStroker* new_QPainterPathStroker(const QPen& pen); -void delete_QPainterPathStroker(QPainterPathStroker* obj) { delete obj; } - Qt::PenCapStyle capStyle(QPainterPathStroker* theWrappedObject) const; - QPainterPath createStroke(QPainterPathStroker* theWrappedObject, const QPainterPath& path) const; - qreal curveThreshold(QPainterPathStroker* theWrappedObject) const; - qreal dashOffset(QPainterPathStroker* theWrappedObject) const; - QVector dashPattern(QPainterPathStroker* theWrappedObject) const; - Qt::PenJoinStyle joinStyle(QPainterPathStroker* theWrappedObject) const; - qreal miterLimit(QPainterPathStroker* theWrappedObject) const; - void setCapStyle(QPainterPathStroker* theWrappedObject, Qt::PenCapStyle style); - void setCurveThreshold(QPainterPathStroker* theWrappedObject, qreal threshold); - void setDashOffset(QPainterPathStroker* theWrappedObject, qreal offset); - void setDashPattern(QPainterPathStroker* theWrappedObject, Qt::PenStyle arg__1); - void setDashPattern(QPainterPathStroker* theWrappedObject, const QVector& dashPattern); - void setJoinStyle(QPainterPathStroker* theWrappedObject, Qt::PenJoinStyle style); - void setMiterLimit(QPainterPathStroker* theWrappedObject, qreal length); - void setWidth(QPainterPathStroker* theWrappedObject, qreal width); - qreal width(QPainterPathStroker* theWrappedObject) const; +QMouseEventTransition* new_QMouseEventTransition(QObject* object, QEvent::Type type, Qt::MouseButton button, QState* sourceState = nullptr); +QMouseEventTransition* new_QMouseEventTransition(QState* sourceState = nullptr); +void delete_QMouseEventTransition(QMouseEventTransition* obj) { delete obj; } + Qt::MouseButton button(QMouseEventTransition* theWrappedObject) const; + bool py_q_eventTest(QMouseEventTransition* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QMouseEventTransition*)theWrappedObject)->py_q_eventTest(event));} + QPainterPath hitTestPath(QMouseEventTransition* theWrappedObject) const; + Qt::KeyboardModifiers modifierMask(QMouseEventTransition* theWrappedObject) const; + void py_q_onTransition(QMouseEventTransition* theWrappedObject, QEvent* event){ (((PythonQtPublicPromoter_QMouseEventTransition*)theWrappedObject)->py_q_onTransition(event));} + void setButton(QMouseEventTransition* theWrappedObject, Qt::MouseButton button); + void setHitTestPath(QMouseEventTransition* theWrappedObject, const QPainterPath& path); + void setModifierMask(QMouseEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers); }; -class PythonQtShell_QPainterPath__Element : public QPainterPath::Element +class PythonQtShell_QMoveEvent : public QMoveEvent { public: - PythonQtShell_QPainterPath__Element():QPainterPath::Element(),_wrapper(nullptr) {}; + PythonQtShell_QMoveEvent(const QPoint& pos, const QPoint& oldPos):QMoveEvent(pos, oldPos),_wrapper(nullptr) {}; - ~PythonQtShell_QPainterPath__Element(); + ~PythonQtShell_QMoveEvent() override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtWrapper_QPainterPath__Element : public QObject +class PythonQtWrapper_QMoveEvent : public QObject { Q_OBJECT public: public Q_SLOTS: -QPainterPath::Element* new_QPainterPath__Element(); -QPainterPath::Element* new_QPainterPath__Element(const QPainterPath::Element& other) { -PythonQtShell_QPainterPath__Element* a = new PythonQtShell_QPainterPath__Element(); -*((QPainterPath::Element*)a) = other; -return a; } -void delete_QPainterPath__Element(QPainterPath::Element* obj) { delete obj; } - bool isCurveTo(QPainterPath::Element* theWrappedObject) const; - bool isLineTo(QPainterPath::Element* theWrappedObject) const; - bool isMoveTo(QPainterPath::Element* theWrappedObject) const; - QPointF operator_cast_QPointF(QPainterPath::Element* theWrappedObject) const; - bool __ne__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const; - bool __eq__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const; -void py_set_type(QPainterPath::Element* theWrappedObject, QPainterPath::ElementType type){ theWrappedObject->type = type; } -QPainterPath::ElementType py_get_type(QPainterPath::Element* theWrappedObject){ return theWrappedObject->type; } -void py_set_x(QPainterPath::Element* theWrappedObject, qreal x){ theWrappedObject->x = x; } -qreal py_get_x(QPainterPath::Element* theWrappedObject){ return theWrappedObject->x; } -void py_set_y(QPainterPath::Element* theWrappedObject, qreal y){ theWrappedObject->y = y; } -qreal py_get_y(QPainterPath::Element* theWrappedObject){ return theWrappedObject->y; } +QMoveEvent* new_QMoveEvent(const QPoint& pos, const QPoint& oldPos); +void delete_QMoveEvent(QMoveEvent* obj) { delete obj; } + const QPoint* oldPos(QMoveEvent* theWrappedObject) const; + const QPoint* pos(QMoveEvent* theWrappedObject) const; }; -class PythonQtShell_QPainter__PixmapFragment : public QPainter::PixmapFragment +class PythonQtShell_QMovie : public QMovie { public: - PythonQtShell_QPainter__PixmapFragment():QPainter::PixmapFragment(),_wrapper(nullptr) {}; + PythonQtShell_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = nullptr):QMovie(device, format, parent),_wrapper(nullptr) {}; + PythonQtShell_QMovie(QObject* parent = nullptr):QMovie(parent),_wrapper(nullptr) {}; + PythonQtShell_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = nullptr):QMovie(fileName, format, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QPainter__PixmapFragment(); + ~PythonQtShell_QMovie() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtWrapper_QPainter__PixmapFragment : public QObject +class PythonQtWrapper_QMovie : public QObject { Q_OBJECT public: public Q_SLOTS: -QPainter::PixmapFragment* new_QPainter__PixmapFragment(); -QPainter::PixmapFragment* new_QPainter__PixmapFragment(const QPainter::PixmapFragment& other) { -PythonQtShell_QPainter__PixmapFragment* a = new PythonQtShell_QPainter__PixmapFragment(); -*((QPainter::PixmapFragment*)a) = other; -return a; } -void delete_QPainter__PixmapFragment(QPainter::PixmapFragment* obj) { delete obj; } - QPainter::PixmapFragment static_QPainter__PixmapFragment_create(const QPointF& pos, const QRectF& sourceRect, qreal scaleX = 1, qreal scaleY = 1, qreal rotation = 0, qreal opacity = 1); -void py_set_height(QPainter::PixmapFragment* theWrappedObject, qreal height){ theWrappedObject->height = height; } -qreal py_get_height(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->height; } -void py_set_opacity(QPainter::PixmapFragment* theWrappedObject, qreal opacity){ theWrappedObject->opacity = opacity; } -qreal py_get_opacity(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->opacity; } -void py_set_rotation(QPainter::PixmapFragment* theWrappedObject, qreal rotation){ theWrappedObject->rotation = rotation; } -qreal py_get_rotation(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->rotation; } -void py_set_scaleX(QPainter::PixmapFragment* theWrappedObject, qreal scaleX){ theWrappedObject->scaleX = scaleX; } -qreal py_get_scaleX(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->scaleX; } -void py_set_scaleY(QPainter::PixmapFragment* theWrappedObject, qreal scaleY){ theWrappedObject->scaleY = scaleY; } -qreal py_get_scaleY(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->scaleY; } -void py_set_sourceLeft(QPainter::PixmapFragment* theWrappedObject, qreal sourceLeft){ theWrappedObject->sourceLeft = sourceLeft; } -qreal py_get_sourceLeft(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->sourceLeft; } -void py_set_sourceTop(QPainter::PixmapFragment* theWrappedObject, qreal sourceTop){ theWrappedObject->sourceTop = sourceTop; } -qreal py_get_sourceTop(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->sourceTop; } -void py_set_width(QPainter::PixmapFragment* theWrappedObject, qreal width){ theWrappedObject->width = width; } -qreal py_get_width(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->width; } -void py_set_x(QPainter::PixmapFragment* theWrappedObject, qreal x){ theWrappedObject->x = x; } -qreal py_get_x(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->x; } -void py_set_y(QPainter::PixmapFragment* theWrappedObject, qreal y){ theWrappedObject->y = y; } -qreal py_get_y(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->y; } +QMovie* new_QMovie(QIODevice* device, const QByteArray& format = QByteArray(), QObject* parent = nullptr); +QMovie* new_QMovie(QObject* parent = nullptr); +QMovie* new_QMovie(const QString& fileName, const QByteArray& format = QByteArray(), QObject* parent = nullptr); +void delete_QMovie(QMovie* obj) { delete obj; } + QColor backgroundColor(QMovie* theWrappedObject) const; + QMovie::CacheMode cacheMode(QMovie* theWrappedObject) const; + int currentFrameNumber(QMovie* theWrappedObject) const; + QImage currentImage(QMovie* theWrappedObject) const; + QPixmap currentPixmap(QMovie* theWrappedObject) const; + QIODevice* device(QMovie* theWrappedObject) const; + QString fileName(QMovie* theWrappedObject) const; + QByteArray format(QMovie* theWrappedObject) const; + int frameCount(QMovie* theWrappedObject) const; + QRect frameRect(QMovie* theWrappedObject) const; + bool isValid(QMovie* theWrappedObject) const; + bool jumpToFrame(QMovie* theWrappedObject, int frameNumber); + QImageReader::ImageReaderError lastError(QMovie* theWrappedObject) const; + QString lastErrorString(QMovie* theWrappedObject) const; + int loopCount(QMovie* theWrappedObject) const; + int nextFrameDelay(QMovie* theWrappedObject) const; + QSize scaledSize(QMovie* theWrappedObject); + void setBackgroundColor(QMovie* theWrappedObject, const QColor& color); + void setCacheMode(QMovie* theWrappedObject, QMovie::CacheMode mode); + void setDevice(QMovie* theWrappedObject, QIODevice* device); + void setFileName(QMovie* theWrappedObject, const QString& fileName); + void setFormat(QMovie* theWrappedObject, const QByteArray& format); + void setScaledSize(QMovie* theWrappedObject, const QSize& size); + int speed(QMovie* theWrappedObject) const; + QMovie::MovieState state(QMovie* theWrappedObject) const; + QList static_QMovie_supportedFormats(); + bool __nonzero__(QMovie* obj) { return obj->isValid(); } }; -class PythonQtShell_QPanGesture : public QPanGesture +class PythonQtShell_QNativeGestureEvent : public QNativeGestureEvent { public: - PythonQtShell_QPanGesture(QObject* parent = nullptr):QPanGesture(parent),_wrapper(nullptr) {}; + PythonQtShell_QNativeGestureEvent(Qt::NativeGestureType type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument):QNativeGestureEvent(type, localPos, windowPos, screenPos, value, sequenceId, intArgument),_wrapper(nullptr) {}; + PythonQtShell_QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice* dev, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument):QNativeGestureEvent(type, dev, localPos, windowPos, screenPos, value, sequenceId, intArgument),_wrapper(nullptr) {}; - ~PythonQtShell_QPanGesture() override; + ~PythonQtShell_QNativeGestureEvent() override; -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtWrapper_QPanGesture : public QObject +class PythonQtWrapper_QNativeGestureEvent : public QObject { Q_OBJECT public: public Q_SLOTS: -QPanGesture* new_QPanGesture(QObject* parent = nullptr); -void delete_QPanGesture(QPanGesture* obj) { delete obj; } - qreal acceleration(QPanGesture* theWrappedObject) const; - QPointF delta(QPanGesture* theWrappedObject) const; - QPointF lastOffset(QPanGesture* theWrappedObject) const; - QPointF offset(QPanGesture* theWrappedObject) const; - void setAcceleration(QPanGesture* theWrappedObject, qreal value); - void setLastOffset(QPanGesture* theWrappedObject, const QPointF& value); - void setOffset(QPanGesture* theWrappedObject, const QPointF& value); +QNativeGestureEvent* new_QNativeGestureEvent(Qt::NativeGestureType type, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument); +QNativeGestureEvent* new_QNativeGestureEvent(Qt::NativeGestureType type, const QTouchDevice* dev, const QPointF& localPos, const QPointF& windowPos, const QPointF& screenPos, qreal value, ulong sequenceId, quint64 intArgument); +void delete_QNativeGestureEvent(QNativeGestureEvent* obj) { delete obj; } + const QTouchDevice* device(QNativeGestureEvent* theWrappedObject) const; + Qt::NativeGestureType gestureType(QNativeGestureEvent* theWrappedObject) const; + const QPoint globalPos(QNativeGestureEvent* theWrappedObject) const; + const QPointF* localPos(QNativeGestureEvent* theWrappedObject) const; + const QPoint pos(QNativeGestureEvent* theWrappedObject) const; + const QPointF* screenPos(QNativeGestureEvent* theWrappedObject) const; + qreal value(QNativeGestureEvent* theWrappedObject) const; + const QPointF* windowPos(QNativeGestureEvent* theWrappedObject) const; }; -class PythonQtShell_QPdfWriter : public QPdfWriter +class PythonQtShell_QOffscreenSurface : public QOffscreenSurface { public: - PythonQtShell_QPdfWriter(QIODevice* device):QPdfWriter(device),_wrapper(nullptr) {}; - PythonQtShell_QPdfWriter(const QString& filename):QPdfWriter(filename),_wrapper(nullptr) {}; + PythonQtShell_QOffscreenSurface(QScreen* screen = nullptr):QOffscreenSurface(screen),_wrapper(nullptr) {}; + PythonQtShell_QOffscreenSurface(QScreen* screen, QObject* parent):QOffscreenSurface(screen, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QPdfWriter() override; + ~PythonQtShell_QOffscreenSurface() override; void childEvent(QChildEvent* event) override; void customEvent(QEvent* event) override; -int devType() const override; bool event(QEvent* event) override; bool eventFilter(QObject* watched, QEvent* event) override; -void initPainter(QPainter* painter) const override; -int metric(QPaintDevice::PaintDeviceMetric id) const override; -bool newPage() override; -QPaintEngine* paintEngine() const override; -QPaintDevice* redirected(QPoint* offset) const override; -void setMargins(const QPagedPaintDevice::Margins& m) override; -void setPageSize(QPagedPaintDevice::PageSize size) override; -void setPageSizeMM(const QSizeF& size) override; -QPainter* sharedPainter() const override; +QSurfaceFormat format() const override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; void timerEvent(QTimerEvent* event) override; const QMetaObject* metaObject() const override; @@ -1159,908 +1299,1142 @@ void timerEvent(QTimerEvent* event) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QPdfWriter : public QPdfWriter +class PythonQtPublicPromoter_QOffscreenSurface : public QOffscreenSurface { public: -inline int promoted_metric(QPaintDevice::PaintDeviceMetric id) const { return this->metric(id); } -inline QPaintEngine* promoted_paintEngine() const { return this->paintEngine(); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric id) const { return QPdfWriter::metric(id); } -inline bool py_q_newPage() { return QPdfWriter::newPage(); } -inline QPaintEngine* py_q_paintEngine() const { return QPdfWriter::paintEngine(); } -inline void py_q_setMargins(const QPagedPaintDevice::Margins& m) { QPdfWriter::setMargins(m); } -inline void py_q_setPageSize(QPagedPaintDevice::PageSize size) { QPdfWriter::setPageSize(size); } -inline void py_q_setPageSizeMM(const QSizeF& size) { QPdfWriter::setPageSizeMM(size); } +inline QSurfaceFormat py_q_format() const { return QOffscreenSurface::format(); } +inline QSize py_q_size() const { return QOffscreenSurface::size(); } +inline QSurface::SurfaceType py_q_surfaceType() const { return QOffscreenSurface::surfaceType(); } }; -class PythonQtWrapper_QPdfWriter : public QObject +class PythonQtWrapper_QOffscreenSurface : public QObject { Q_OBJECT public: public Q_SLOTS: -QPdfWriter* new_QPdfWriter(QIODevice* device); -QPdfWriter* new_QPdfWriter(const QString& filename); -void delete_QPdfWriter(QPdfWriter* obj) { delete obj; } - QString creator(QPdfWriter* theWrappedObject) const; - int py_q_metric(QPdfWriter* theWrappedObject, QPaintDevice::PaintDeviceMetric id) const{ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_metric(id));} - bool py_q_newPage(QPdfWriter* theWrappedObject){ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_newPage());} - QPaintEngine* py_q_paintEngine(QPdfWriter* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_paintEngine());} - QPagedPaintDevice::PdfVersion pdfVersion(QPdfWriter* theWrappedObject) const; - int resolution(QPdfWriter* theWrappedObject) const; - void setCreator(QPdfWriter* theWrappedObject, const QString& creator); - void py_q_setMargins(QPdfWriter* theWrappedObject, const QPagedPaintDevice::Margins& m){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setMargins(m));} - void py_q_setPageSize(QPdfWriter* theWrappedObject, QPagedPaintDevice::PageSize size){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setPageSize(size));} - void py_q_setPageSizeMM(QPdfWriter* theWrappedObject, const QSizeF& size){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setPageSizeMM(size));} - void setPdfVersion(QPdfWriter* theWrappedObject, QPagedPaintDevice::PdfVersion version); - void setResolution(QPdfWriter* theWrappedObject, int resolution); - void setTitle(QPdfWriter* theWrappedObject, const QString& title); - QString title(QPdfWriter* theWrappedObject) const; +QOffscreenSurface* new_QOffscreenSurface(QScreen* screen = nullptr); +QOffscreenSurface* new_QOffscreenSurface(QScreen* screen, QObject* parent); +void delete_QOffscreenSurface(QOffscreenSurface* obj) { delete obj; } + void create(QOffscreenSurface* theWrappedObject); + void destroy(QOffscreenSurface* theWrappedObject); + QSurfaceFormat py_q_format(QOffscreenSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOffscreenSurface*)theWrappedObject)->py_q_format());} + bool isValid(QOffscreenSurface* theWrappedObject) const; + void* nativeHandle(QOffscreenSurface* theWrappedObject) const; + QSurfaceFormat requestedFormat(QOffscreenSurface* theWrappedObject) const; + QScreen* screen(QOffscreenSurface* theWrappedObject) const; + void setFormat(QOffscreenSurface* theWrappedObject, const QSurfaceFormat& format); + void setNativeHandle(QOffscreenSurface* theWrappedObject, void* handle); + void setScreen(QOffscreenSurface* theWrappedObject, QScreen* screen); + QSize py_q_size(QOffscreenSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOffscreenSurface*)theWrappedObject)->py_q_size());} + QSurface::SurfaceType py_q_surfaceType(QOffscreenSurface* theWrappedObject) const{ return (((PythonQtPublicPromoter_QOffscreenSurface*)theWrappedObject)->py_q_surfaceType());} + bool __nonzero__(QOffscreenSurface* obj) { return obj->isValid(); } }; -class PythonQtShell_QPicture : public QPicture -{ -public: - PythonQtShell_QPicture(const QPicture& arg__1):QPicture(arg__1),_wrapper(nullptr) {}; - PythonQtShell_QPicture(int formatVersion = -1):QPicture(formatVersion),_wrapper(nullptr) {}; - - ~PythonQtShell_QPicture() override; - -int devType() const override; -void initPainter(QPainter* painter) const override; -int metric(QPaintDevice::PaintDeviceMetric m) const override; -QPaintEngine* paintEngine() const override; -QPaintDevice* redirected(QPoint* offset) const override; -QPainter* sharedPainter() const override; - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPicture : public QPicture -{ public: -inline int promoted_metric(QPaintDevice::PaintDeviceMetric m) const { return this->metric(m); } -inline int py_q_devType() const { return QPicture::devType(); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric m) const { return QPicture::metric(m); } -inline QPaintEngine* py_q_paintEngine() const { return QPicture::paintEngine(); } -}; - -class PythonQtWrapper_QPicture : public QObject +class PythonQtWrapper_QPageLayout : public QObject { Q_OBJECT public: +Q_ENUMS(Mode Orientation Unit ) +enum Mode{ + StandardMode = QPageLayout::StandardMode, FullPageMode = QPageLayout::FullPageMode}; +enum Orientation{ + Portrait = QPageLayout::Portrait, Landscape = QPageLayout::Landscape}; +enum Unit{ + Millimeter = QPageLayout::Millimeter, Point = QPageLayout::Point, Inch = QPageLayout::Inch, Pica = QPageLayout::Pica, Didot = QPageLayout::Didot, Cicero = QPageLayout::Cicero}; public Q_SLOTS: -QPicture* new_QPicture(const QPicture& arg__1); -QPicture* new_QPicture(int formatVersion = -1); -void delete_QPicture(QPicture* obj) { delete obj; } - QRect boundingRect(QPicture* theWrappedObject) const; - const char* data(QPicture* theWrappedObject) const; - int py_q_devType(QPicture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPicture*)theWrappedObject)->py_q_devType());} - bool isNull(QPicture* theWrappedObject) const; - bool load(QPicture* theWrappedObject, QIODevice* dev, const char* format = nullptr); - bool load(QPicture* theWrappedObject, const QString& fileName, const char* format = nullptr); - int py_q_metric(QPicture* theWrappedObject, QPaintDevice::PaintDeviceMetric m) const{ return (((PythonQtPublicPromoter_QPicture*)theWrappedObject)->py_q_metric(m));} - void writeTo(QPicture* theWrappedObject, QDataStream& arg__1); - void readFrom(QPicture* theWrappedObject, QDataStream& arg__1); - QPaintEngine* py_q_paintEngine(QPicture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPicture*)theWrappedObject)->py_q_paintEngine());} - bool play(QPicture* theWrappedObject, QPainter* p); - bool save(QPicture* theWrappedObject, QIODevice* dev, const char* format = nullptr); - bool save(QPicture* theWrappedObject, const QString& fileName, const char* format = nullptr); - void setBoundingRect(QPicture* theWrappedObject, const QRect& r); - uint size(QPicture* theWrappedObject) const; - void swap(QPicture* theWrappedObject, QPicture& other); - bool __nonzero__(QPicture* obj) { return !obj->isNull(); } +QPageLayout* new_QPageLayout(); +QPageLayout* new_QPageLayout(const QPageLayout& other); +QPageLayout* new_QPageLayout(const QPageSize& pageSize, QPageLayout::Orientation orientation, const QMarginsF& margins, QPageLayout::Unit units = QPageLayout::Point, const QMarginsF& minMargins = QMarginsF(0,0,0,0)); +void delete_QPageLayout(QPageLayout* obj) { delete obj; } + QRectF fullRect(QPageLayout* theWrappedObject) const; + QRectF fullRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const; + QRect fullRectPixels(QPageLayout* theWrappedObject, int resolution) const; + QRect fullRectPoints(QPageLayout* theWrappedObject) const; + bool isEquivalentTo(QPageLayout* theWrappedObject, const QPageLayout& other) const; + bool isValid(QPageLayout* theWrappedObject) const; + QMarginsF margins(QPageLayout* theWrappedObject) const; + QMarginsF margins(QPageLayout* theWrappedObject, QPageLayout::Unit units) const; + QMargins marginsPixels(QPageLayout* theWrappedObject, int resolution) const; + QMargins marginsPoints(QPageLayout* theWrappedObject) const; + QMarginsF maximumMargins(QPageLayout* theWrappedObject) const; + QMarginsF minimumMargins(QPageLayout* theWrappedObject) const; + QPageLayout::Mode mode(QPageLayout* theWrappedObject) const; + bool __ne__(QPageLayout* theWrappedObject, const QPageLayout& rhs); + QPageLayout* operator_assign(QPageLayout* theWrappedObject, const QPageLayout& other); + bool __eq__(QPageLayout* theWrappedObject, const QPageLayout& rhs); + QPageLayout::Orientation orientation(QPageLayout* theWrappedObject) const; + QPageSize pageSize(QPageLayout* theWrappedObject) const; + QRectF paintRect(QPageLayout* theWrappedObject) const; + QRectF paintRect(QPageLayout* theWrappedObject, QPageLayout::Unit units) const; + QRect paintRectPixels(QPageLayout* theWrappedObject, int resolution) const; + QRect paintRectPoints(QPageLayout* theWrappedObject) const; + bool setBottomMargin(QPageLayout* theWrappedObject, qreal bottomMargin); + bool setLeftMargin(QPageLayout* theWrappedObject, qreal leftMargin); + bool setMargins(QPageLayout* theWrappedObject, const QMarginsF& margins); + void setMinimumMargins(QPageLayout* theWrappedObject, const QMarginsF& minMargins); + void setMode(QPageLayout* theWrappedObject, QPageLayout::Mode mode); + void setOrientation(QPageLayout* theWrappedObject, QPageLayout::Orientation orientation); + void setPageSize(QPageLayout* theWrappedObject, const QPageSize& pageSize, const QMarginsF& minMargins = QMarginsF(0,0,0,0)); + bool setRightMargin(QPageLayout* theWrappedObject, qreal rightMargin); + bool setTopMargin(QPageLayout* theWrappedObject, qreal topMargin); + void setUnits(QPageLayout* theWrappedObject, QPageLayout::Unit units); + void swap(QPageLayout* theWrappedObject, QPageLayout& other); + QPageLayout::Unit units(QPageLayout* theWrappedObject) const; + QString py_toString(QPageLayout*); + bool __nonzero__(QPageLayout* obj) { return obj->isValid(); } }; -class PythonQtShell_QPictureFormatPlugin : public QPictureFormatPlugin +class PythonQtShell_QPageSetupDialog : public QPageSetupDialog { public: - PythonQtShell_QPictureFormatPlugin(QObject* parent = nullptr):QPictureFormatPlugin(parent),_wrapper(nullptr) {}; + PythonQtShell_QPageSetupDialog(QPrinter* printer, QWidget* parent = nullptr):QPageSetupDialog(printer, parent),_wrapper(nullptr) {}; + PythonQtShell_QPageSetupDialog(QWidget* parent = nullptr):QPageSetupDialog(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QPictureFormatPlugin() override; + ~PythonQtShell_QPageSetupDialog() override; +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -bool installIOHandler(const QString& format) override; -bool loadPicture(const QString& format, const QString& filename, QPicture* pic) override; -bool savePicture(const QString& format, const QString& filename, const QPicture& pic) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QPictureFormatPlugin : public QPictureFormatPlugin +class PythonQtPublicPromoter_QPageSetupDialog : public QPageSetupDialog { public: -inline bool py_q_installIOHandler(const QString& format) { return this->installIOHandler(format); } -inline bool py_q_loadPicture(const QString& format, const QString& filename, QPicture* pic) { return QPictureFormatPlugin::loadPicture(format, filename, pic); } -inline bool py_q_savePicture(const QString& format, const QString& filename, const QPicture& pic) { return QPictureFormatPlugin::savePicture(format, filename, pic); } +inline void py_q_done(int result) { QPageSetupDialog::done(result); } +inline int py_q_exec() { return QPageSetupDialog::exec(); } }; -class PythonQtWrapper_QPictureFormatPlugin : public QObject +class PythonQtWrapper_QPageSetupDialog : public QObject { Q_OBJECT public: public Q_SLOTS: -QPictureFormatPlugin* new_QPictureFormatPlugin(QObject* parent = nullptr); -void delete_QPictureFormatPlugin(QPictureFormatPlugin* obj) { delete obj; } - bool installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format); - bool py_q_installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_installIOHandler(format));} - bool loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic); - bool py_q_loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_loadPicture(format, filename, pic));} - bool savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic); - bool py_q_savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_savePicture(format, filename, pic));} +QPageSetupDialog* new_QPageSetupDialog(QPrinter* printer, QWidget* parent = nullptr); +QPageSetupDialog* new_QPageSetupDialog(QWidget* parent = nullptr); +void delete_QPageSetupDialog(QPageSetupDialog* obj) { delete obj; } + void py_q_done(QPageSetupDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPageSetupDialog*)theWrappedObject)->py_q_done(result));} + int py_q_exec(QPageSetupDialog* theWrappedObject){ return (((PythonQtPublicPromoter_QPageSetupDialog*)theWrappedObject)->py_q_exec());} + void open(QPageSetupDialog* theWrappedObject, QObject* receiver, const char* member); + QPrinter* printer(QPageSetupDialog* theWrappedObject); }; -class PythonQtWrapper_QPictureIO : public QObject +class PythonQtWrapper_QPageSize : public QObject { Q_OBJECT public: +Q_ENUMS(PageSizeId SizeMatchPolicy Unit ) +enum PageSizeId{ + A4 = QPageSize::A4, B5 = QPageSize::B5, Letter = QPageSize::Letter, Legal = QPageSize::Legal, Executive = QPageSize::Executive, A0 = QPageSize::A0, A1 = QPageSize::A1, A2 = QPageSize::A2, A3 = QPageSize::A3, A5 = QPageSize::A5, A6 = QPageSize::A6, A7 = QPageSize::A7, A8 = QPageSize::A8, A9 = QPageSize::A9, B0 = QPageSize::B0, B1 = QPageSize::B1, B10 = QPageSize::B10, B2 = QPageSize::B2, B3 = QPageSize::B3, B4 = QPageSize::B4, B6 = QPageSize::B6, B7 = QPageSize::B7, B8 = QPageSize::B8, B9 = QPageSize::B9, C5E = QPageSize::C5E, Comm10E = QPageSize::Comm10E, DLE = QPageSize::DLE, Folio = QPageSize::Folio, Ledger = QPageSize::Ledger, Tabloid = QPageSize::Tabloid, Custom = QPageSize::Custom, A10 = QPageSize::A10, A3Extra = QPageSize::A3Extra, A4Extra = QPageSize::A4Extra, A4Plus = QPageSize::A4Plus, A4Small = QPageSize::A4Small, A5Extra = QPageSize::A5Extra, B5Extra = QPageSize::B5Extra, JisB0 = QPageSize::JisB0, JisB1 = QPageSize::JisB1, JisB2 = QPageSize::JisB2, JisB3 = QPageSize::JisB3, JisB4 = QPageSize::JisB4, JisB5 = QPageSize::JisB5, JisB6 = QPageSize::JisB6, JisB7 = QPageSize::JisB7, JisB8 = QPageSize::JisB8, JisB9 = QPageSize::JisB9, JisB10 = QPageSize::JisB10, AnsiC = QPageSize::AnsiC, AnsiD = QPageSize::AnsiD, AnsiE = QPageSize::AnsiE, LegalExtra = QPageSize::LegalExtra, LetterExtra = QPageSize::LetterExtra, LetterPlus = QPageSize::LetterPlus, LetterSmall = QPageSize::LetterSmall, TabloidExtra = QPageSize::TabloidExtra, ArchA = QPageSize::ArchA, ArchB = QPageSize::ArchB, ArchC = QPageSize::ArchC, ArchD = QPageSize::ArchD, ArchE = QPageSize::ArchE, Imperial7x9 = QPageSize::Imperial7x9, Imperial8x10 = QPageSize::Imperial8x10, Imperial9x11 = QPageSize::Imperial9x11, Imperial9x12 = QPageSize::Imperial9x12, Imperial10x11 = QPageSize::Imperial10x11, Imperial10x13 = QPageSize::Imperial10x13, Imperial10x14 = QPageSize::Imperial10x14, Imperial12x11 = QPageSize::Imperial12x11, Imperial15x11 = QPageSize::Imperial15x11, ExecutiveStandard = QPageSize::ExecutiveStandard, Note = QPageSize::Note, Quarto = QPageSize::Quarto, Statement = QPageSize::Statement, SuperA = QPageSize::SuperA, SuperB = QPageSize::SuperB, Postcard = QPageSize::Postcard, DoublePostcard = QPageSize::DoublePostcard, Prc16K = QPageSize::Prc16K, Prc32K = QPageSize::Prc32K, Prc32KBig = QPageSize::Prc32KBig, FanFoldUS = QPageSize::FanFoldUS, FanFoldGerman = QPageSize::FanFoldGerman, FanFoldGermanLegal = QPageSize::FanFoldGermanLegal, EnvelopeB4 = QPageSize::EnvelopeB4, EnvelopeB5 = QPageSize::EnvelopeB5, EnvelopeB6 = QPageSize::EnvelopeB6, EnvelopeC0 = QPageSize::EnvelopeC0, EnvelopeC1 = QPageSize::EnvelopeC1, EnvelopeC2 = QPageSize::EnvelopeC2, EnvelopeC3 = QPageSize::EnvelopeC3, EnvelopeC4 = QPageSize::EnvelopeC4, EnvelopeC6 = QPageSize::EnvelopeC6, EnvelopeC65 = QPageSize::EnvelopeC65, EnvelopeC7 = QPageSize::EnvelopeC7, Envelope9 = QPageSize::Envelope9, Envelope11 = QPageSize::Envelope11, Envelope12 = QPageSize::Envelope12, Envelope14 = QPageSize::Envelope14, EnvelopeMonarch = QPageSize::EnvelopeMonarch, EnvelopePersonal = QPageSize::EnvelopePersonal, EnvelopeChou3 = QPageSize::EnvelopeChou3, EnvelopeChou4 = QPageSize::EnvelopeChou4, EnvelopeInvite = QPageSize::EnvelopeInvite, EnvelopeItalian = QPageSize::EnvelopeItalian, EnvelopeKaku2 = QPageSize::EnvelopeKaku2, EnvelopeKaku3 = QPageSize::EnvelopeKaku3, EnvelopePrc1 = QPageSize::EnvelopePrc1, EnvelopePrc2 = QPageSize::EnvelopePrc2, EnvelopePrc3 = QPageSize::EnvelopePrc3, EnvelopePrc4 = QPageSize::EnvelopePrc4, EnvelopePrc5 = QPageSize::EnvelopePrc5, EnvelopePrc6 = QPageSize::EnvelopePrc6, EnvelopePrc7 = QPageSize::EnvelopePrc7, EnvelopePrc8 = QPageSize::EnvelopePrc8, EnvelopePrc9 = QPageSize::EnvelopePrc9, EnvelopePrc10 = QPageSize::EnvelopePrc10, EnvelopeYou4 = QPageSize::EnvelopeYou4, LastPageSize = QPageSize::LastPageSize, NPageSize = QPageSize::NPageSize, NPaperSize = QPageSize::NPaperSize, AnsiA = QPageSize::AnsiA, AnsiB = QPageSize::AnsiB, EnvelopeC5 = QPageSize::EnvelopeC5, EnvelopeDL = QPageSize::EnvelopeDL, Envelope10 = QPageSize::Envelope10}; +enum SizeMatchPolicy{ + FuzzyMatch = QPageSize::FuzzyMatch, FuzzyOrientationMatch = QPageSize::FuzzyOrientationMatch, ExactMatch = QPageSize::ExactMatch}; +enum Unit{ + Millimeter = QPageSize::Millimeter, Point = QPageSize::Point, Inch = QPageSize::Inch, Pica = QPageSize::Pica, Didot = QPageSize::Didot, Cicero = QPageSize::Cicero}; public Q_SLOTS: -QPictureIO* new_QPictureIO(); -QPictureIO* new_QPictureIO(QIODevice* ioDevice, const char* format); -QPictureIO* new_QPictureIO(const QString& fileName, const char* format); -void delete_QPictureIO(QPictureIO* obj) { delete obj; } - QString description(QPictureIO* theWrappedObject) const; - QString fileName(QPictureIO* theWrappedObject) const; - const char* format(QPictureIO* theWrappedObject) const; - float gamma(QPictureIO* theWrappedObject) const; - QList static_QPictureIO_inputFormats(); - QIODevice* ioDevice(QPictureIO* theWrappedObject) const; - QList static_QPictureIO_outputFormats(); - const char* parameters(QPictureIO* theWrappedObject) const; - const QPicture* picture(QPictureIO* theWrappedObject) const; - QByteArray static_QPictureIO_pictureFormat(QIODevice* arg__1); - QByteArray static_QPictureIO_pictureFormat(const QString& fileName); - int quality(QPictureIO* theWrappedObject) const; - bool read(QPictureIO* theWrappedObject); - void setDescription(QPictureIO* theWrappedObject, const QString& arg__1); - void setFileName(QPictureIO* theWrappedObject, const QString& arg__1); - void setFormat(QPictureIO* theWrappedObject, const char* arg__1); - void setGamma(QPictureIO* theWrappedObject, float arg__1); - void setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1); - void setParameters(QPictureIO* theWrappedObject, const char* arg__1); - void setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1); - void setQuality(QPictureIO* theWrappedObject, int arg__1); - void setStatus(QPictureIO* theWrappedObject, int arg__1); - int status(QPictureIO* theWrappedObject) const; - bool write(QPictureIO* theWrappedObject); -}; - - - - - -class PythonQtShell_QPinchGesture : public QPinchGesture -{ -public: - PythonQtShell_QPinchGesture(QObject* parent = nullptr):QPinchGesture(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QPinchGesture() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; +QPageSize* new_QPageSize(); +QPageSize* new_QPageSize(QPageSize::PageSizeId pageSizeId); +QPageSize* new_QPageSize(const QPageSize& other); +QPageSize* new_QPageSize(const QSize& pointSize, const QString& name = QString(), QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); +QPageSize* new_QPageSize(const QSizeF& size, QPageSize::Unit units, const QString& name = QString(), QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); +void delete_QPageSize(QPageSize* obj) { delete obj; } + QSizeF definitionSize(QPageSize* theWrappedObject) const; + QSizeF static_QPageSize_definitionSize(QPageSize::PageSizeId pageSizeId); + QPageSize::Unit definitionUnits(QPageSize* theWrappedObject) const; + QPageSize::Unit static_QPageSize_definitionUnits(QPageSize::PageSizeId pageSizeId); + QPageSize::PageSizeId id(QPageSize* theWrappedObject) const; + QPageSize::PageSizeId static_QPageSize_id(const QSize& pointSize, QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); + QPageSize::PageSizeId static_QPageSize_id(const QSizeF& size, QPageSize::Unit units, QPageSize::SizeMatchPolicy matchPolicy = QPageSize::FuzzyMatch); + QPageSize::PageSizeId static_QPageSize_id(int windowsId); + bool isEquivalentTo(QPageSize* theWrappedObject, const QPageSize& other) const; + bool isValid(QPageSize* theWrappedObject) const; + QString key(QPageSize* theWrappedObject) const; + QString static_QPageSize_key(QPageSize::PageSizeId pageSizeId); + QString name(QPageSize* theWrappedObject) const; + QString static_QPageSize_name(QPageSize::PageSizeId pageSizeId); + bool __ne__(QPageSize* theWrappedObject, const QPageSize& rhs); + QPageSize* operator_assign(QPageSize* theWrappedObject, const QPageSize& other); + bool __eq__(QPageSize* theWrappedObject, const QPageSize& rhs); + QRectF rect(QPageSize* theWrappedObject, QPageSize::Unit units) const; + QRect rectPixels(QPageSize* theWrappedObject, int resolution) const; + QRect rectPoints(QPageSize* theWrappedObject) const; + QSizeF static_QPageSize_size(QPageSize::PageSizeId pageSizeId, QPageSize::Unit units); + QSizeF size(QPageSize* theWrappedObject, QPageSize::Unit units) const; + QSize static_QPageSize_sizePixels(QPageSize::PageSizeId pageSizeId, int resolution); + QSize sizePixels(QPageSize* theWrappedObject, int resolution) const; + QSize sizePoints(QPageSize* theWrappedObject) const; + QSize static_QPageSize_sizePoints(QPageSize::PageSizeId pageSizeId); + void swap(QPageSize* theWrappedObject, QPageSize& other); + int windowsId(QPageSize* theWrappedObject) const; + int static_QPageSize_windowsId(QPageSize::PageSizeId pageSizeId); + QString py_toString(QPageSize*); + bool __nonzero__(QPageSize* obj) { return obj->isValid(); } }; -class PythonQtWrapper_QPinchGesture : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ChangeFlag ) -Q_FLAGS(ChangeFlags ) -enum ChangeFlag{ - ScaleFactorChanged = QPinchGesture::ScaleFactorChanged, RotationAngleChanged = QPinchGesture::RotationAngleChanged, CenterPointChanged = QPinchGesture::CenterPointChanged}; -Q_DECLARE_FLAGS(ChangeFlags, ChangeFlag) -public Q_SLOTS: -QPinchGesture* new_QPinchGesture(QObject* parent = nullptr); -void delete_QPinchGesture(QPinchGesture* obj) { delete obj; } - QPointF centerPoint(QPinchGesture* theWrappedObject) const; - QPinchGesture::ChangeFlags changeFlags(QPinchGesture* theWrappedObject) const; - QPointF lastCenterPoint(QPinchGesture* theWrappedObject) const; - qreal lastRotationAngle(QPinchGesture* theWrappedObject) const; - qreal lastScaleFactor(QPinchGesture* theWrappedObject) const; - qreal rotationAngle(QPinchGesture* theWrappedObject) const; - qreal scaleFactor(QPinchGesture* theWrappedObject) const; - void setCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); - void setChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value); - void setLastCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); - void setLastRotationAngle(QPinchGesture* theWrappedObject, qreal value); - void setLastScaleFactor(QPinchGesture* theWrappedObject, qreal value); - void setRotationAngle(QPinchGesture* theWrappedObject, qreal value); - void setScaleFactor(QPinchGesture* theWrappedObject, qreal value); - void setStartCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); - void setTotalChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value); - void setTotalRotationAngle(QPinchGesture* theWrappedObject, qreal value); - void setTotalScaleFactor(QPinchGesture* theWrappedObject, qreal value); - QPointF startCenterPoint(QPinchGesture* theWrappedObject) const; - QPinchGesture::ChangeFlags totalChangeFlags(QPinchGesture* theWrappedObject) const; - qreal totalRotationAngle(QPinchGesture* theWrappedObject) const; - qreal totalScaleFactor(QPinchGesture* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QPixelFormat : public QObject -{ Q_OBJECT -public: -Q_ENUMS(AlphaPosition AlphaPremultiplied AlphaUsage ByteOrder ColorModel TypeInterpretation YUVLayout ) -enum AlphaPosition{ - AtBeginning = QPixelFormat::AtBeginning, AtEnd = QPixelFormat::AtEnd}; -enum AlphaPremultiplied{ - NotPremultiplied = QPixelFormat::NotPremultiplied, Premultiplied = QPixelFormat::Premultiplied}; -enum AlphaUsage{ - UsesAlpha = QPixelFormat::UsesAlpha, IgnoresAlpha = QPixelFormat::IgnoresAlpha}; -enum ByteOrder{ - LittleEndian = QPixelFormat::LittleEndian, BigEndian = QPixelFormat::BigEndian, CurrentSystemEndian = QPixelFormat::CurrentSystemEndian}; -enum ColorModel{ - RGB = QPixelFormat::RGB, BGR = QPixelFormat::BGR, Indexed = QPixelFormat::Indexed, Grayscale = QPixelFormat::Grayscale, CMYK = QPixelFormat::CMYK, HSL = QPixelFormat::HSL, HSV = QPixelFormat::HSV, YUV = QPixelFormat::YUV, Alpha = QPixelFormat::Alpha}; -enum TypeInterpretation{ - UnsignedInteger = QPixelFormat::UnsignedInteger, UnsignedShort = QPixelFormat::UnsignedShort, UnsignedByte = QPixelFormat::UnsignedByte, FloatingPoint = QPixelFormat::FloatingPoint}; -enum YUVLayout{ - YUV444 = QPixelFormat::YUV444, YUV422 = QPixelFormat::YUV422, YUV411 = QPixelFormat::YUV411, YUV420P = QPixelFormat::YUV420P, YUV420SP = QPixelFormat::YUV420SP, YV12 = QPixelFormat::YV12, UYVY = QPixelFormat::UYVY, YUYV = QPixelFormat::YUYV, NV12 = QPixelFormat::NV12, NV21 = QPixelFormat::NV21, IMC1 = QPixelFormat::IMC1, IMC2 = QPixelFormat::IMC2, IMC3 = QPixelFormat::IMC3, IMC4 = QPixelFormat::IMC4, Y8 = QPixelFormat::Y8, Y16 = QPixelFormat::Y16}; -public Q_SLOTS: -QPixelFormat* new_QPixelFormat(); -QPixelFormat* new_QPixelFormat(QPixelFormat::ColorModel colorModel, uchar firstSize, uchar secondSize, uchar thirdSize, uchar fourthSize, uchar fifthSize, uchar alphaSize, QPixelFormat::AlphaUsage alphaUsage, QPixelFormat::AlphaPosition alphaPosition, QPixelFormat::AlphaPremultiplied premultiplied, QPixelFormat::TypeInterpretation typeInterpretation, QPixelFormat::ByteOrder byteOrder = QPixelFormat::CurrentSystemEndian, uchar subEnum = 0); -void delete_QPixelFormat(QPixelFormat* obj) { delete obj; } - QPixelFormat::AlphaPosition alphaPosition(QPixelFormat* theWrappedObject) const; - uchar alphaSize(QPixelFormat* theWrappedObject) const; - QPixelFormat::AlphaUsage alphaUsage(QPixelFormat* theWrappedObject) const; - uchar bitsPerPixel(QPixelFormat* theWrappedObject) const; - uchar blackSize(QPixelFormat* theWrappedObject) const; - uchar blueSize(QPixelFormat* theWrappedObject) const; - uchar brightnessSize(QPixelFormat* theWrappedObject) const; - QPixelFormat::ByteOrder byteOrder(QPixelFormat* theWrappedObject) const; - uchar channelCount(QPixelFormat* theWrappedObject) const; - QPixelFormat::ColorModel colorModel(QPixelFormat* theWrappedObject) const; - uchar cyanSize(QPixelFormat* theWrappedObject) const; - uchar greenSize(QPixelFormat* theWrappedObject) const; - uchar hueSize(QPixelFormat* theWrappedObject) const; - uchar lightnessSize(QPixelFormat* theWrappedObject) const; - uchar magentaSize(QPixelFormat* theWrappedObject) const; - bool __ne__(QPixelFormat* theWrappedObject, QPixelFormat fmt2); - bool __eq__(QPixelFormat* theWrappedObject, QPixelFormat fmt2); - QPixelFormat::AlphaPremultiplied premultiplied(QPixelFormat* theWrappedObject) const; - uchar redSize(QPixelFormat* theWrappedObject) const; - uchar saturationSize(QPixelFormat* theWrappedObject) const; - uchar subEnum(QPixelFormat* theWrappedObject) const; - QPixelFormat::TypeInterpretation typeInterpretation(QPixelFormat* theWrappedObject) const; - uchar yellowSize(QPixelFormat* theWrappedObject) const; - QPixelFormat::YUVLayout yuvLayout(QPixelFormat* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QPixmapCache : public QPixmapCache -{ -public: - PythonQtShell_QPixmapCache():QPixmapCache(),_wrapper(nullptr) {}; - ~PythonQtShell_QPixmapCache(); - PythonQtInstanceWrapper* _wrapper; + +class PythonQtPublicPromoter_QPagedPaintDevice : public QPagedPaintDevice +{ public: +inline QPageLayout& promoted_devicePageLayout() { return this->devicePageLayout(); } +inline bool py_q_newPage() { return this->newPage(); } +inline void py_q_setMargins(const QPagedPaintDevice::Margins& margins) { QPagedPaintDevice::setMargins(margins); } +inline void py_q_setPageSize(QPagedPaintDevice::PageSize size) { QPagedPaintDevice::setPageSize(size); } +inline void py_q_setPageSizeMM(const QSizeF& size) { QPagedPaintDevice::setPageSizeMM(size); } }; -class PythonQtWrapper_QPixmapCache : public QObject +class PythonQtWrapper_QPagedPaintDevice : public QObject { Q_OBJECT public: +Q_ENUMS(PageSize PdfVersion ) +enum PageSize{ + A4 = QPagedPaintDevice::A4, B5 = QPagedPaintDevice::B5, Letter = QPagedPaintDevice::Letter, Legal = QPagedPaintDevice::Legal, Executive = QPagedPaintDevice::Executive, A0 = QPagedPaintDevice::A0, A1 = QPagedPaintDevice::A1, A2 = QPagedPaintDevice::A2, A3 = QPagedPaintDevice::A3, A5 = QPagedPaintDevice::A5, A6 = QPagedPaintDevice::A6, A7 = QPagedPaintDevice::A7, A8 = QPagedPaintDevice::A8, A9 = QPagedPaintDevice::A9, B0 = QPagedPaintDevice::B0, B1 = QPagedPaintDevice::B1, B10 = QPagedPaintDevice::B10, B2 = QPagedPaintDevice::B2, B3 = QPagedPaintDevice::B3, B4 = QPagedPaintDevice::B4, B6 = QPagedPaintDevice::B6, B7 = QPagedPaintDevice::B7, B8 = QPagedPaintDevice::B8, B9 = QPagedPaintDevice::B9, C5E = QPagedPaintDevice::C5E, Comm10E = QPagedPaintDevice::Comm10E, DLE = QPagedPaintDevice::DLE, Folio = QPagedPaintDevice::Folio, Ledger = QPagedPaintDevice::Ledger, Tabloid = QPagedPaintDevice::Tabloid, Custom = QPagedPaintDevice::Custom, A10 = QPagedPaintDevice::A10, A3Extra = QPagedPaintDevice::A3Extra, A4Extra = QPagedPaintDevice::A4Extra, A4Plus = QPagedPaintDevice::A4Plus, A4Small = QPagedPaintDevice::A4Small, A5Extra = QPagedPaintDevice::A5Extra, B5Extra = QPagedPaintDevice::B5Extra, JisB0 = QPagedPaintDevice::JisB0, JisB1 = QPagedPaintDevice::JisB1, JisB2 = QPagedPaintDevice::JisB2, JisB3 = QPagedPaintDevice::JisB3, JisB4 = QPagedPaintDevice::JisB4, JisB5 = QPagedPaintDevice::JisB5, JisB6 = QPagedPaintDevice::JisB6, JisB7 = QPagedPaintDevice::JisB7, JisB8 = QPagedPaintDevice::JisB8, JisB9 = QPagedPaintDevice::JisB9, JisB10 = QPagedPaintDevice::JisB10, AnsiC = QPagedPaintDevice::AnsiC, AnsiD = QPagedPaintDevice::AnsiD, AnsiE = QPagedPaintDevice::AnsiE, LegalExtra = QPagedPaintDevice::LegalExtra, LetterExtra = QPagedPaintDevice::LetterExtra, LetterPlus = QPagedPaintDevice::LetterPlus, LetterSmall = QPagedPaintDevice::LetterSmall, TabloidExtra = QPagedPaintDevice::TabloidExtra, ArchA = QPagedPaintDevice::ArchA, ArchB = QPagedPaintDevice::ArchB, ArchC = QPagedPaintDevice::ArchC, ArchD = QPagedPaintDevice::ArchD, ArchE = QPagedPaintDevice::ArchE, Imperial7x9 = QPagedPaintDevice::Imperial7x9, Imperial8x10 = QPagedPaintDevice::Imperial8x10, Imperial9x11 = QPagedPaintDevice::Imperial9x11, Imperial9x12 = QPagedPaintDevice::Imperial9x12, Imperial10x11 = QPagedPaintDevice::Imperial10x11, Imperial10x13 = QPagedPaintDevice::Imperial10x13, Imperial10x14 = QPagedPaintDevice::Imperial10x14, Imperial12x11 = QPagedPaintDevice::Imperial12x11, Imperial15x11 = QPagedPaintDevice::Imperial15x11, ExecutiveStandard = QPagedPaintDevice::ExecutiveStandard, Note = QPagedPaintDevice::Note, Quarto = QPagedPaintDevice::Quarto, Statement = QPagedPaintDevice::Statement, SuperA = QPagedPaintDevice::SuperA, SuperB = QPagedPaintDevice::SuperB, Postcard = QPagedPaintDevice::Postcard, DoublePostcard = QPagedPaintDevice::DoublePostcard, Prc16K = QPagedPaintDevice::Prc16K, Prc32K = QPagedPaintDevice::Prc32K, Prc32KBig = QPagedPaintDevice::Prc32KBig, FanFoldUS = QPagedPaintDevice::FanFoldUS, FanFoldGerman = QPagedPaintDevice::FanFoldGerman, FanFoldGermanLegal = QPagedPaintDevice::FanFoldGermanLegal, EnvelopeB4 = QPagedPaintDevice::EnvelopeB4, EnvelopeB5 = QPagedPaintDevice::EnvelopeB5, EnvelopeB6 = QPagedPaintDevice::EnvelopeB6, EnvelopeC0 = QPagedPaintDevice::EnvelopeC0, EnvelopeC1 = QPagedPaintDevice::EnvelopeC1, EnvelopeC2 = QPagedPaintDevice::EnvelopeC2, EnvelopeC3 = QPagedPaintDevice::EnvelopeC3, EnvelopeC4 = QPagedPaintDevice::EnvelopeC4, EnvelopeC6 = QPagedPaintDevice::EnvelopeC6, EnvelopeC65 = QPagedPaintDevice::EnvelopeC65, EnvelopeC7 = QPagedPaintDevice::EnvelopeC7, Envelope9 = QPagedPaintDevice::Envelope9, Envelope11 = QPagedPaintDevice::Envelope11, Envelope12 = QPagedPaintDevice::Envelope12, Envelope14 = QPagedPaintDevice::Envelope14, EnvelopeMonarch = QPagedPaintDevice::EnvelopeMonarch, EnvelopePersonal = QPagedPaintDevice::EnvelopePersonal, EnvelopeChou3 = QPagedPaintDevice::EnvelopeChou3, EnvelopeChou4 = QPagedPaintDevice::EnvelopeChou4, EnvelopeInvite = QPagedPaintDevice::EnvelopeInvite, EnvelopeItalian = QPagedPaintDevice::EnvelopeItalian, EnvelopeKaku2 = QPagedPaintDevice::EnvelopeKaku2, EnvelopeKaku3 = QPagedPaintDevice::EnvelopeKaku3, EnvelopePrc1 = QPagedPaintDevice::EnvelopePrc1, EnvelopePrc2 = QPagedPaintDevice::EnvelopePrc2, EnvelopePrc3 = QPagedPaintDevice::EnvelopePrc3, EnvelopePrc4 = QPagedPaintDevice::EnvelopePrc4, EnvelopePrc5 = QPagedPaintDevice::EnvelopePrc5, EnvelopePrc6 = QPagedPaintDevice::EnvelopePrc6, EnvelopePrc7 = QPagedPaintDevice::EnvelopePrc7, EnvelopePrc8 = QPagedPaintDevice::EnvelopePrc8, EnvelopePrc9 = QPagedPaintDevice::EnvelopePrc9, EnvelopePrc10 = QPagedPaintDevice::EnvelopePrc10, EnvelopeYou4 = QPagedPaintDevice::EnvelopeYou4, LastPageSize = QPagedPaintDevice::LastPageSize, NPageSize = QPagedPaintDevice::NPageSize, NPaperSize = QPagedPaintDevice::NPaperSize, AnsiA = QPagedPaintDevice::AnsiA, AnsiB = QPagedPaintDevice::AnsiB, EnvelopeC5 = QPagedPaintDevice::EnvelopeC5, EnvelopeDL = QPagedPaintDevice::EnvelopeDL, Envelope10 = QPagedPaintDevice::Envelope10}; +enum PdfVersion{ + PdfVersion_1_4 = QPagedPaintDevice::PdfVersion_1_4, PdfVersion_A1b = QPagedPaintDevice::PdfVersion_A1b}; public Q_SLOTS: -QPixmapCache* new_QPixmapCache(); -void delete_QPixmapCache(QPixmapCache* obj) { delete obj; } - int static_QPixmapCache_cacheLimit(); - void static_QPixmapCache_clear(); - bool static_QPixmapCache_find(const QPixmapCache::Key& key, QPixmap* pixmap); - QPixmap* static_QPixmapCache_find(const QString& key); - bool static_QPixmapCache_find(const QString& key, QPixmap& pixmap); - bool static_QPixmapCache_find(const QString& key, QPixmap* pixmap); - QPixmapCache::Key static_QPixmapCache_insert(const QPixmap& pixmap); - bool static_QPixmapCache_insert(const QString& key, const QPixmap& pixmap); - void static_QPixmapCache_remove(const QPixmapCache::Key& key); - void static_QPixmapCache_remove(const QString& key); - bool static_QPixmapCache_replace(const QPixmapCache::Key& key, const QPixmap& pixmap); - void static_QPixmapCache_setCacheLimit(int arg__1); +void delete_QPagedPaintDevice(QPagedPaintDevice* obj) { delete obj; } + QPageLayout* devicePageLayout(QPagedPaintDevice* theWrappedObject); + QPagedPaintDevice::Margins margins(QPagedPaintDevice* theWrappedObject) const; + bool newPage(QPagedPaintDevice* theWrappedObject); + bool py_q_newPage(QPagedPaintDevice* theWrappedObject){ return (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_newPage());} + QPageLayout pageLayout(QPagedPaintDevice* theWrappedObject) const; + QPagedPaintDevice::PageSize pageSize(QPagedPaintDevice* theWrappedObject) const; + QSizeF pageSizeMM(QPagedPaintDevice* theWrappedObject) const; + void setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins); + void py_q_setMargins(QPagedPaintDevice* theWrappedObject, const QPagedPaintDevice::Margins& margins){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setMargins(margins));} + bool setPageLayout(QPagedPaintDevice* theWrappedObject, const QPageLayout& pageLayout); + bool setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins); + bool setPageMargins(QPagedPaintDevice* theWrappedObject, const QMarginsF& margins, QPageLayout::Unit units); + bool setPageOrientation(QPagedPaintDevice* theWrappedObject, QPageLayout::Orientation orientation); + void setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size); + void py_q_setPageSize(QPagedPaintDevice* theWrappedObject, QPagedPaintDevice::PageSize size){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setPageSize(size));} + bool setPageSize(QPagedPaintDevice* theWrappedObject, const QPageSize& pageSize); + void setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size); + void py_q_setPageSizeMM(QPagedPaintDevice* theWrappedObject, const QSizeF& size){ (((PythonQtPublicPromoter_QPagedPaintDevice*)theWrappedObject)->py_q_setPageSizeMM(size));} +}; + + + + + +class PythonQtShell_QPagedPaintDevice__Margins : public QPagedPaintDevice::Margins +{ +public: + PythonQtShell_QPagedPaintDevice__Margins():QPagedPaintDevice::Margins(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPagedPaintDevice__Margins(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPagedPaintDevice__Margins : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QPagedPaintDevice::Margins* new_QPagedPaintDevice__Margins(); +QPagedPaintDevice::Margins* new_QPagedPaintDevice__Margins(const QPagedPaintDevice::Margins& other) { +PythonQtShell_QPagedPaintDevice__Margins* a = new PythonQtShell_QPagedPaintDevice__Margins(); +*((QPagedPaintDevice::Margins*)a) = other; +return a; } +void delete_QPagedPaintDevice__Margins(QPagedPaintDevice::Margins* obj) { delete obj; } +void py_set_bottom(QPagedPaintDevice::Margins* theWrappedObject, qreal bottom){ theWrappedObject->bottom = bottom; } +qreal py_get_bottom(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->bottom; } +void py_set_left(QPagedPaintDevice::Margins* theWrappedObject, qreal left){ theWrappedObject->left = left; } +qreal py_get_left(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->left; } +void py_set_right(QPagedPaintDevice::Margins* theWrappedObject, qreal right){ theWrappedObject->right = right; } +qreal py_get_right(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->right; } +void py_set_top(QPagedPaintDevice::Margins* theWrappedObject, qreal top){ theWrappedObject->top = top; } +qreal py_get_top(QPagedPaintDevice::Margins* theWrappedObject){ return theWrappedObject->top; } +}; + + + + + +class PythonQtShell_QPaintDevice : public QPaintDevice +{ +public: + PythonQtShell_QPaintDevice():QPaintDevice(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPaintDevice() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPaintDevice : public QPaintDevice +{ public: +inline void promoted_initPainter(QPainter* painter) const { this->initPainter(painter); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline QPaintDevice* promoted_redirected(QPoint* offset) const { return this->redirected(offset); } +inline QPainter* promoted_sharedPainter() const { return this->sharedPainter(); } +inline int py_q_devType() const { return QPaintDevice::devType(); } +inline void py_q_initPainter(QPainter* painter) const { QPaintDevice::initPainter(painter); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QPaintDevice::metric(metric); } +inline QPaintEngine* py_q_paintEngine() const { return this->paintEngine(); } +inline QPaintDevice* py_q_redirected(QPoint* offset) const { return QPaintDevice::redirected(offset); } +inline QPainter* py_q_sharedPainter() const { return QPaintDevice::sharedPainter(); } +}; + +class PythonQtWrapper_QPaintDevice : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PaintDeviceMetric ) +enum PaintDeviceMetric{ + PdmWidth = QPaintDevice::PdmWidth, PdmHeight = QPaintDevice::PdmHeight, PdmWidthMM = QPaintDevice::PdmWidthMM, PdmHeightMM = QPaintDevice::PdmHeightMM, PdmNumColors = QPaintDevice::PdmNumColors, PdmDepth = QPaintDevice::PdmDepth, PdmDpiX = QPaintDevice::PdmDpiX, PdmDpiY = QPaintDevice::PdmDpiY, PdmPhysicalDpiX = QPaintDevice::PdmPhysicalDpiX, PdmPhysicalDpiY = QPaintDevice::PdmPhysicalDpiY, PdmDevicePixelRatio = QPaintDevice::PdmDevicePixelRatio, PdmDevicePixelRatioScaled = QPaintDevice::PdmDevicePixelRatioScaled}; +public Q_SLOTS: +QPaintDevice* new_QPaintDevice(); +void delete_QPaintDevice(QPaintDevice* obj) { delete obj; } + int colorCount(QPaintDevice* theWrappedObject) const; + int depth(QPaintDevice* theWrappedObject) const; + int devType(QPaintDevice* theWrappedObject) const; + int py_q_devType(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_devType());} + int devicePixelRatio(QPaintDevice* theWrappedObject) const; + qreal devicePixelRatioF(QPaintDevice* theWrappedObject) const; + qreal static_QPaintDevice_devicePixelRatioFScale(); + int height(QPaintDevice* theWrappedObject) const; + int heightMM(QPaintDevice* theWrappedObject) const; + void initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const; + void py_q_initPainter(QPaintDevice* theWrappedObject, QPainter* painter) const{ (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_initPainter(painter));} + int logicalDpiX(QPaintDevice* theWrappedObject) const; + int logicalDpiY(QPaintDevice* theWrappedObject) const; + int metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const; + int py_q_metric(QPaintDevice* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_metric(metric));} + QPaintEngine* paintEngine(QPaintDevice* theWrappedObject) const; + QPaintEngine* py_q_paintEngine(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_paintEngine());} + bool paintingActive(QPaintDevice* theWrappedObject) const; + int physicalDpiX(QPaintDevice* theWrappedObject) const; + int physicalDpiY(QPaintDevice* theWrappedObject) const; + QPaintDevice* redirected(QPaintDevice* theWrappedObject, QPoint* offset) const; + QPaintDevice* py_q_redirected(QPaintDevice* theWrappedObject, QPoint* offset) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_redirected(offset));} + QPainter* sharedPainter(QPaintDevice* theWrappedObject) const; + QPainter* py_q_sharedPainter(QPaintDevice* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintDevice*)theWrappedObject)->py_q_sharedPainter());} + int width(QPaintDevice* theWrappedObject) const; + int widthMM(QPaintDevice* theWrappedObject) const; +}; + + + + + +class PythonQtPublicPromoter_QPaintDeviceWindow : public QPaintDeviceWindow +{ public: +inline bool promoted_event(QEvent* event) { return this->event(event); } +inline void promoted_exposeEvent(QExposeEvent* arg__1) { this->exposeEvent(arg__1); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline void promoted_paintEvent(QPaintEvent* event) { this->paintEvent(event); } +inline bool py_q_event(QEvent* event) { return QPaintDeviceWindow::event(event); } +inline void py_q_exposeEvent(QExposeEvent* arg__1) { QPaintDeviceWindow::exposeEvent(arg__1); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QPaintDeviceWindow::metric(metric); } +inline void py_q_paintEvent(QPaintEvent* event) { QPaintDeviceWindow::paintEvent(event); } +}; + +class PythonQtWrapper_QPaintDeviceWindow : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +void delete_QPaintDeviceWindow(QPaintDeviceWindow* obj) { delete obj; } + bool py_q_event(QPaintDeviceWindow* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_event(event));} + void py_q_exposeEvent(QPaintDeviceWindow* theWrappedObject, QExposeEvent* arg__1){ (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_exposeEvent(arg__1));} + int py_q_metric(QPaintDeviceWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_metric(metric));} + void paintEvent(QPaintDeviceWindow* theWrappedObject, QPaintEvent* event); + void py_q_paintEvent(QPaintDeviceWindow* theWrappedObject, QPaintEvent* event){ (((PythonQtPublicPromoter_QPaintDeviceWindow*)theWrappedObject)->py_q_paintEvent(event));} + void update(QPaintDeviceWindow* theWrappedObject, const QRect& rect); + void update(QPaintDeviceWindow* theWrappedObject, const QRegion& region); +}; + + + + + +class PythonQtShell_QPaintEngine : public QPaintEngine +{ +public: + PythonQtShell_QPaintEngine(QPaintEngine::PaintEngineFeatures features = QPaintEngine::PaintEngineFeatures()):QPaintEngine(features),_wrapper(nullptr) {}; + + ~PythonQtShell_QPaintEngine() override; + +bool begin(QPaintDevice* pdev) override; +QPoint coordinateOffset() const override; +void drawEllipse(const QRect& r) override; +void drawEllipse(const QRectF& r) override; +void drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor) override; +void drawLines(const QLine* lines, int lineCount) override; +void drawLines(const QLineF* lines, int lineCount) override; +void drawPath(const QPainterPath& path) override; +void drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr) override; +void drawPoints(const QPoint* points, int pointCount) override; +void drawPoints(const QPointF* points, int pointCount) override; +void drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) override; +void drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) override; +void drawRects(const QRect* rects, int rectCount) override; +void drawRects(const QRectF* rects, int rectCount) override; +void drawTextItem(const QPointF& p, const QTextItem& textItem) override; +void drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s) override; +bool end() override; +QPaintEngine::Type type() const override; +void updateState(const QPaintEngineState& state) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPaintEngine : public QPaintEngine +{ public: +inline bool py_q_begin(QPaintDevice* pdev) { return this->begin(pdev); } +inline QPoint py_q_coordinateOffset() const { return QPaintEngine::coordinateOffset(); } +inline void py_q_drawEllipse(const QRect& r) { QPaintEngine::drawEllipse(r); } +inline void py_q_drawEllipse(const QRectF& r) { QPaintEngine::drawEllipse(r); } +inline void py_q_drawImage(const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor) { QPaintEngine::drawImage(r, pm, sr, flags); } +inline void py_q_drawLines(const QLine* lines, int lineCount) { QPaintEngine::drawLines(lines, lineCount); } +inline void py_q_drawLines(const QLineF* lines, int lineCount) { QPaintEngine::drawLines(lines, lineCount); } +inline void py_q_drawPath(const QPainterPath& path) { QPaintEngine::drawPath(path); } +inline void py_q_drawPixmap(const QRectF& r, const QPixmap& pm, const QRectF& sr) { this->drawPixmap(r, pm, sr); } +inline void py_q_drawPoints(const QPoint* points, int pointCount) { QPaintEngine::drawPoints(points, pointCount); } +inline void py_q_drawPoints(const QPointF* points, int pointCount) { QPaintEngine::drawPoints(points, pointCount); } +inline void py_q_drawPolygon(const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { QPaintEngine::drawPolygon(points, pointCount, mode); } +inline void py_q_drawPolygon(const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode) { QPaintEngine::drawPolygon(points, pointCount, mode); } +inline void py_q_drawRects(const QRect* rects, int rectCount) { QPaintEngine::drawRects(rects, rectCount); } +inline void py_q_drawRects(const QRectF* rects, int rectCount) { QPaintEngine::drawRects(rects, rectCount); } +inline void py_q_drawTextItem(const QPointF& p, const QTextItem& textItem) { QPaintEngine::drawTextItem(p, textItem); } +inline void py_q_drawTiledPixmap(const QRectF& r, const QPixmap& pixmap, const QPointF& s) { QPaintEngine::drawTiledPixmap(r, pixmap, s); } +inline bool py_q_end() { return this->end(); } +inline QPaintEngine::Type py_q_type() const { return this->type(); } +inline void py_q_updateState(const QPaintEngineState& state) { this->updateState(state); } +}; + +class PythonQtWrapper_QPaintEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DirtyFlag PaintEngineFeature PolygonDrawMode Type ) +Q_FLAGS(DirtyFlags PaintEngineFeatures ) +enum DirtyFlag{ + DirtyPen = QPaintEngine::DirtyPen, DirtyBrush = QPaintEngine::DirtyBrush, DirtyBrushOrigin = QPaintEngine::DirtyBrushOrigin, DirtyFont = QPaintEngine::DirtyFont, DirtyBackground = QPaintEngine::DirtyBackground, DirtyBackgroundMode = QPaintEngine::DirtyBackgroundMode, DirtyTransform = QPaintEngine::DirtyTransform, DirtyClipRegion = QPaintEngine::DirtyClipRegion, DirtyClipPath = QPaintEngine::DirtyClipPath, DirtyHints = QPaintEngine::DirtyHints, DirtyCompositionMode = QPaintEngine::DirtyCompositionMode, DirtyClipEnabled = QPaintEngine::DirtyClipEnabled, DirtyOpacity = QPaintEngine::DirtyOpacity, AllDirty = QPaintEngine::AllDirty}; +enum PaintEngineFeature{ + PrimitiveTransform = QPaintEngine::PrimitiveTransform, PatternTransform = QPaintEngine::PatternTransform, PixmapTransform = QPaintEngine::PixmapTransform, PatternBrush = QPaintEngine::PatternBrush, LinearGradientFill = QPaintEngine::LinearGradientFill, RadialGradientFill = QPaintEngine::RadialGradientFill, ConicalGradientFill = QPaintEngine::ConicalGradientFill, AlphaBlend = QPaintEngine::AlphaBlend, PorterDuff = QPaintEngine::PorterDuff, PainterPaths = QPaintEngine::PainterPaths, Antialiasing = QPaintEngine::Antialiasing, BrushStroke = QPaintEngine::BrushStroke, ConstantOpacity = QPaintEngine::ConstantOpacity, MaskedBrush = QPaintEngine::MaskedBrush, PerspectiveTransform = QPaintEngine::PerspectiveTransform, BlendModes = QPaintEngine::BlendModes, ObjectBoundingModeGradients = QPaintEngine::ObjectBoundingModeGradients, RasterOpModes = QPaintEngine::RasterOpModes, PaintOutsidePaintEvent = QPaintEngine::PaintOutsidePaintEvent, AllFeatures = QPaintEngine::AllFeatures}; +enum PolygonDrawMode{ + OddEvenMode = QPaintEngine::OddEvenMode, WindingMode = QPaintEngine::WindingMode, ConvexMode = QPaintEngine::ConvexMode, PolylineMode = QPaintEngine::PolylineMode}; +enum Type{ + X11 = QPaintEngine::X11, Windows = QPaintEngine::Windows, QuickDraw = QPaintEngine::QuickDraw, CoreGraphics = QPaintEngine::CoreGraphics, MacPrinter = QPaintEngine::MacPrinter, QWindowSystem = QPaintEngine::QWindowSystem, PostScript = QPaintEngine::PostScript, OpenGL = QPaintEngine::OpenGL, Picture = QPaintEngine::Picture, SVG = QPaintEngine::SVG, Raster = QPaintEngine::Raster, Direct3D = QPaintEngine::Direct3D, Pdf = QPaintEngine::Pdf, OpenVG = QPaintEngine::OpenVG, OpenGL2 = QPaintEngine::OpenGL2, PaintBuffer = QPaintEngine::PaintBuffer, Blitter = QPaintEngine::Blitter, Direct2D = QPaintEngine::Direct2D, User = QPaintEngine::User, MaxUser = QPaintEngine::MaxUser}; +Q_DECLARE_FLAGS(DirtyFlags, DirtyFlag) +Q_DECLARE_FLAGS(PaintEngineFeatures, PaintEngineFeature) +public Q_SLOTS: +QPaintEngine* new_QPaintEngine(QPaintEngine::PaintEngineFeatures features = QPaintEngine::PaintEngineFeatures()); +void delete_QPaintEngine(QPaintEngine* obj) { delete obj; } + bool begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev); + bool py_q_begin(QPaintEngine* theWrappedObject, QPaintDevice* pdev){ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_begin(pdev));} + void clearDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); + QPoint coordinateOffset(QPaintEngine* theWrappedObject) const; + QPoint py_q_coordinateOffset(QPaintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_coordinateOffset());} + void drawEllipse(QPaintEngine* theWrappedObject, const QRect& r); + void py_q_drawEllipse(QPaintEngine* theWrappedObject, const QRect& r){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawEllipse(r));} + void drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r); + void py_q_drawEllipse(QPaintEngine* theWrappedObject, const QRectF& r){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawEllipse(r));} + void drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); + void py_q_drawImage(QPaintEngine* theWrappedObject, const QRectF& r, const QImage& pm, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawImage(r, pm, sr, flags));} + void drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount); + void py_q_drawLines(QPaintEngine* theWrappedObject, const QLine* lines, int lineCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawLines(lines, lineCount));} + void drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount); + void py_q_drawLines(QPaintEngine* theWrappedObject, const QLineF* lines, int lineCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawLines(lines, lineCount));} + void drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path); + void py_q_drawPath(QPaintEngine* theWrappedObject, const QPainterPath& path){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPath(path));} + void drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr); + void py_q_drawPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pm, const QRectF& sr){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPixmap(r, pm, sr));} + void drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount); + void py_q_drawPoints(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPoints(points, pointCount));} + void drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount); + void py_q_drawPoints(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPoints(points, pointCount));} + void drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode); + void py_q_drawPolygon(QPaintEngine* theWrappedObject, const QPoint* points, int pointCount, QPaintEngine::PolygonDrawMode mode){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPolygon(points, pointCount, mode));} + void drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode); + void py_q_drawPolygon(QPaintEngine* theWrappedObject, const QPointF* points, int pointCount, QPaintEngine::PolygonDrawMode mode){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawPolygon(points, pointCount, mode));} + void drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount); + void py_q_drawRects(QPaintEngine* theWrappedObject, const QRect* rects, int rectCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawRects(rects, rectCount));} + void drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount); + void py_q_drawRects(QPaintEngine* theWrappedObject, const QRectF* rects, int rectCount){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawRects(rects, rectCount));} + void drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem); + void py_q_drawTextItem(QPaintEngine* theWrappedObject, const QPointF& p, const QTextItem& textItem){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawTextItem(p, textItem));} + void drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s); + void py_q_drawTiledPixmap(QPaintEngine* theWrappedObject, const QRectF& r, const QPixmap& pixmap, const QPointF& s){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_drawTiledPixmap(r, pixmap, s));} + bool end(QPaintEngine* theWrappedObject); + bool py_q_end(QPaintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_end());} + bool hasFeature(QPaintEngine* theWrappedObject, QPaintEngine::PaintEngineFeatures feature) const; + bool isActive(QPaintEngine* theWrappedObject) const; + bool isExtended(QPaintEngine* theWrappedObject) const; + QPaintDevice* paintDevice(QPaintEngine* theWrappedObject) const; + QPainter* painter(QPaintEngine* theWrappedObject) const; + void setActive(QPaintEngine* theWrappedObject, bool newState); + void setDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); + void setSystemClip(QPaintEngine* theWrappedObject, const QRegion& baseClip); + void setSystemRect(QPaintEngine* theWrappedObject, const QRect& rect); + void syncState(QPaintEngine* theWrappedObject); + QRegion systemClip(QPaintEngine* theWrappedObject) const; + QRect systemRect(QPaintEngine* theWrappedObject) const; + bool testDirty(QPaintEngine* theWrappedObject, QPaintEngine::DirtyFlags df); + QPaintEngine::Type type(QPaintEngine* theWrappedObject) const; + QPaintEngine::Type py_q_type(QPaintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_type());} + void updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state); + void py_q_updateState(QPaintEngine* theWrappedObject, const QPaintEngineState& state){ (((PythonQtPublicPromoter_QPaintEngine*)theWrappedObject)->py_q_updateState(state));} +}; + + + + + +class PythonQtShell_QPaintEngineState : public QPaintEngineState +{ +public: + PythonQtShell_QPaintEngineState():QPaintEngineState(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPaintEngineState(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPaintEngineState : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QPaintEngineState* new_QPaintEngineState(); +void delete_QPaintEngineState(QPaintEngineState* obj) { delete obj; } + QBrush backgroundBrush(QPaintEngineState* theWrappedObject) const; + Qt::BGMode backgroundMode(QPaintEngineState* theWrappedObject) const; + QBrush brush(QPaintEngineState* theWrappedObject) const; + bool brushNeedsResolving(QPaintEngineState* theWrappedObject) const; + QPointF brushOrigin(QPaintEngineState* theWrappedObject) const; + Qt::ClipOperation clipOperation(QPaintEngineState* theWrappedObject) const; + QPainterPath clipPath(QPaintEngineState* theWrappedObject) const; + QRegion clipRegion(QPaintEngineState* theWrappedObject) const; + QPainter::CompositionMode compositionMode(QPaintEngineState* theWrappedObject) const; + QFont font(QPaintEngineState* theWrappedObject) const; + bool isClipEnabled(QPaintEngineState* theWrappedObject) const; + QMatrix matrix(QPaintEngineState* theWrappedObject) const; + qreal opacity(QPaintEngineState* theWrappedObject) const; + QPainter* painter(QPaintEngineState* theWrappedObject) const; + QPen pen(QPaintEngineState* theWrappedObject) const; + bool penNeedsResolving(QPaintEngineState* theWrappedObject) const; + QPainter::RenderHints renderHints(QPaintEngineState* theWrappedObject) const; + QPaintEngine::DirtyFlags state(QPaintEngineState* theWrappedObject) const; + QTransform transform(QPaintEngineState* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPaintEvent : public QPaintEvent +{ +public: + PythonQtShell_QPaintEvent(const QRect& paintRect):QPaintEvent(paintRect),_wrapper(nullptr) {}; + PythonQtShell_QPaintEvent(const QRegion& paintRegion):QPaintEvent(paintRegion),_wrapper(nullptr) {}; + + ~PythonQtShell_QPaintEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPaintEvent : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QPaintEvent* new_QPaintEvent(const QRect& paintRect); +QPaintEvent* new_QPaintEvent(const QRegion& paintRegion); +void delete_QPaintEvent(QPaintEvent* obj) { delete obj; } + const QRect* rect(QPaintEvent* theWrappedObject) const; + const QRegion* region(QPaintEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QPainter : public QObject +{ Q_OBJECT +public: +Q_ENUMS(CompositionMode PixmapFragmentHint RenderHint ) +Q_FLAGS(PixmapFragmentHints RenderHints ) +enum CompositionMode{ + CompositionMode_SourceOver = QPainter::CompositionMode_SourceOver, CompositionMode_DestinationOver = QPainter::CompositionMode_DestinationOver, CompositionMode_Clear = QPainter::CompositionMode_Clear, CompositionMode_Source = QPainter::CompositionMode_Source, CompositionMode_Destination = QPainter::CompositionMode_Destination, CompositionMode_SourceIn = QPainter::CompositionMode_SourceIn, CompositionMode_DestinationIn = QPainter::CompositionMode_DestinationIn, CompositionMode_SourceOut = QPainter::CompositionMode_SourceOut, CompositionMode_DestinationOut = QPainter::CompositionMode_DestinationOut, CompositionMode_SourceAtop = QPainter::CompositionMode_SourceAtop, CompositionMode_DestinationAtop = QPainter::CompositionMode_DestinationAtop, CompositionMode_Xor = QPainter::CompositionMode_Xor, CompositionMode_Plus = QPainter::CompositionMode_Plus, CompositionMode_Multiply = QPainter::CompositionMode_Multiply, CompositionMode_Screen = QPainter::CompositionMode_Screen, CompositionMode_Overlay = QPainter::CompositionMode_Overlay, CompositionMode_Darken = QPainter::CompositionMode_Darken, CompositionMode_Lighten = QPainter::CompositionMode_Lighten, CompositionMode_ColorDodge = QPainter::CompositionMode_ColorDodge, CompositionMode_ColorBurn = QPainter::CompositionMode_ColorBurn, CompositionMode_HardLight = QPainter::CompositionMode_HardLight, CompositionMode_SoftLight = QPainter::CompositionMode_SoftLight, CompositionMode_Difference = QPainter::CompositionMode_Difference, CompositionMode_Exclusion = QPainter::CompositionMode_Exclusion, RasterOp_SourceOrDestination = QPainter::RasterOp_SourceOrDestination, RasterOp_SourceAndDestination = QPainter::RasterOp_SourceAndDestination, RasterOp_SourceXorDestination = QPainter::RasterOp_SourceXorDestination, RasterOp_NotSourceAndNotDestination = QPainter::RasterOp_NotSourceAndNotDestination, RasterOp_NotSourceOrNotDestination = QPainter::RasterOp_NotSourceOrNotDestination, RasterOp_NotSourceXorDestination = QPainter::RasterOp_NotSourceXorDestination, RasterOp_NotSource = QPainter::RasterOp_NotSource, RasterOp_NotSourceAndDestination = QPainter::RasterOp_NotSourceAndDestination, RasterOp_SourceAndNotDestination = QPainter::RasterOp_SourceAndNotDestination, RasterOp_NotSourceOrDestination = QPainter::RasterOp_NotSourceOrDestination, RasterOp_SourceOrNotDestination = QPainter::RasterOp_SourceOrNotDestination, RasterOp_ClearDestination = QPainter::RasterOp_ClearDestination, RasterOp_SetDestination = QPainter::RasterOp_SetDestination, RasterOp_NotDestination = QPainter::RasterOp_NotDestination}; +enum PixmapFragmentHint{ + OpaqueHint = QPainter::OpaqueHint}; +enum RenderHint{ + Antialiasing = QPainter::Antialiasing, TextAntialiasing = QPainter::TextAntialiasing, SmoothPixmapTransform = QPainter::SmoothPixmapTransform, HighQualityAntialiasing = QPainter::HighQualityAntialiasing, NonCosmeticDefaultPen = QPainter::NonCosmeticDefaultPen, Qt4CompatiblePainting = QPainter::Qt4CompatiblePainting}; +Q_DECLARE_FLAGS(PixmapFragmentHints, PixmapFragmentHint) +Q_DECLARE_FLAGS(RenderHints, RenderHint) +public Q_SLOTS: +QPainter* new_QPainter(); +QPainter* new_QPainter(QPaintDevice* arg__1); +void delete_QPainter(QPainter* obj) { delete obj; } + const QBrush* background(QPainter* theWrappedObject) const; + Qt::BGMode backgroundMode(QPainter* theWrappedObject) const; + bool begin(QPainter* theWrappedObject, QPaintDevice* arg__1); + void beginNativePainting(QPainter* theWrappedObject); + QRect boundingRect(QPainter* theWrappedObject, const QRect& rect, int flags, const QString& text); + QRectF boundingRect(QPainter* theWrappedObject, const QRectF& rect, const QString& text, const QTextOption& o = QTextOption()); + QRectF boundingRect(QPainter* theWrappedObject, const QRectF& rect, int flags, const QString& text); + QRect boundingRect(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text); + const QBrush* brush(QPainter* theWrappedObject) const; + QPoint brushOrigin(QPainter* theWrappedObject) const; + QRectF clipBoundingRect(QPainter* theWrappedObject) const; + QPainterPath clipPath(QPainter* theWrappedObject) const; + QRegion clipRegion(QPainter* theWrappedObject) const; + QMatrix combinedMatrix(QPainter* theWrappedObject) const; + QTransform combinedTransform(QPainter* theWrappedObject) const; + QPainter::CompositionMode compositionMode(QPainter* theWrappedObject) const; + QPaintDevice* device(QPainter* theWrappedObject) const; + const QMatrix* deviceMatrix(QPainter* theWrappedObject) const; + const QTransform* deviceTransform(QPainter* theWrappedObject) const; + void drawArc(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); + void drawArc(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); + void drawArc(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); + void drawChord(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); + void drawChord(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); + void drawChord(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); + void drawConvexPolygon(QPainter* theWrappedObject, const QPolygon& polygon); + void drawConvexPolygon(QPainter* theWrappedObject, const QPolygonF& polygon); + void drawEllipse(QPainter* theWrappedObject, const QPoint& center, int rx, int ry); + void drawEllipse(QPainter* theWrappedObject, const QPointF& center, qreal rx, qreal ry); + void drawEllipse(QPainter* theWrappedObject, const QRect& r); + void drawEllipse(QPainter* theWrappedObject, const QRectF& r); + void drawEllipse(QPainter* theWrappedObject, int x, int y, int w, int h); + void drawGlyphRun(QPainter* theWrappedObject, const QPointF& position, const QGlyphRun& glyphRun); + void drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image); + void drawImage(QPainter* theWrappedObject, const QPoint& p, const QImage& image, const QRect& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); + void drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image); + void drawImage(QPainter* theWrappedObject, const QPointF& p, const QImage& image, const QRectF& sr, Qt::ImageConversionFlags flags = Qt::AutoColor); + void drawImage(QPainter* theWrappedObject, const QRect& r, const QImage& image); + void drawImage(QPainter* theWrappedObject, const QRect& targetRect, const QImage& image, const QRect& sourceRect, Qt::ImageConversionFlags flags = Qt::AutoColor); + void drawImage(QPainter* theWrappedObject, const QRectF& r, const QImage& image); + void drawImage(QPainter* theWrappedObject, const QRectF& targetRect, const QImage& image, const QRectF& sourceRect, Qt::ImageConversionFlags flags = Qt::AutoColor); + void drawImage(QPainter* theWrappedObject, int x, int y, const QImage& image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt::ImageConversionFlags flags = Qt::AutoColor); + void drawLine(QPainter* theWrappedObject, const QLine& line); + void drawLine(QPainter* theWrappedObject, const QLineF& line); + void drawLine(QPainter* theWrappedObject, const QPoint& p1, const QPoint& p2); + void drawLine(QPainter* theWrappedObject, const QPointF& p1, const QPointF& p2); + void drawLine(QPainter* theWrappedObject, int x1, int y1, int x2, int y2); + void drawLines(QPainter* theWrappedObject, const QVector& lines); + void drawLines(QPainter* theWrappedObject, const QVector& lines); + void drawLines(QPainter* theWrappedObject, const QVector& pointPairs); + void drawLines(QPainter* theWrappedObject, const QVector& pointPairs); + void drawPath(QPainter* theWrappedObject, const QPainterPath& path); + void drawPicture(QPainter* theWrappedObject, const QPoint& p, const QPicture& picture); + void drawPicture(QPainter* theWrappedObject, const QPointF& p, const QPicture& picture); + void drawPicture(QPainter* theWrappedObject, int x, int y, const QPicture& picture); + void drawPie(QPainter* theWrappedObject, const QRect& arg__1, int a, int alen); + void drawPie(QPainter* theWrappedObject, const QRectF& rect, int a, int alen); + void drawPie(QPainter* theWrappedObject, int x, int y, int w, int h, int a, int alen); + void drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, const QPoint& p, const QPixmap& pm, const QRect& sr); + void drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, const QPointF& p, const QPixmap& pm, const QRectF& sr); + void drawPixmap(QPainter* theWrappedObject, const QRect& r, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, const QRect& targetRect, const QPixmap& pixmap, const QRect& sourceRect); + void drawPixmap(QPainter* theWrappedObject, const QRectF& targetRect, const QPixmap& pixmap, const QRectF& sourceRect); + void drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, int x, int y, const QPixmap& pm, int sx, int sy, int sw, int sh); + void drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm); + void drawPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& pm, int sx, int sy, int sw, int sh); + void drawPixmapFragments(QPainter* theWrappedObject, const QPainter::PixmapFragment* fragments, int fragmentCount, const QPixmap& pixmap, QPainter::PixmapFragmentHints hints = QPainter::PixmapFragmentHints()); + void drawPoint(QPainter* theWrappedObject, const QPoint& p); + void drawPoint(QPainter* theWrappedObject, const QPointF& pt); + void drawPoint(QPainter* theWrappedObject, int x, int y); + void drawPoints(QPainter* theWrappedObject, const QPolygon& points); + void drawPoints(QPainter* theWrappedObject, const QPolygonF& points); + void drawPolygon(QPainter* theWrappedObject, const QPolygon& polygon, Qt::FillRule fillRule = Qt::OddEvenFill); + void drawPolygon(QPainter* theWrappedObject, const QPolygonF& polygon, Qt::FillRule fillRule = Qt::OddEvenFill); + void drawPolyline(QPainter* theWrappedObject, const QPolygon& polygon); + void drawPolyline(QPainter* theWrappedObject, const QPolygonF& polyline); + void drawRect(QPainter* theWrappedObject, const QRect& rect); + void drawRect(QPainter* theWrappedObject, const QRectF& rect); + void drawRect(QPainter* theWrappedObject, int x1, int y1, int w, int h); + void drawRects(QPainter* theWrappedObject, const QVector& rectangles); + void drawRects(QPainter* theWrappedObject, const QVector& rectangles); + void drawRoundRect(QPainter* theWrappedObject, const QRect& r, int xround = 25, int yround = 25); + void drawRoundRect(QPainter* theWrappedObject, const QRectF& r, int xround = 25, int yround = 25); + void drawRoundRect(QPainter* theWrappedObject, int x, int y, int w, int h, int arg__5 = 25, int arg__6 = 25); + void drawRoundedRect(QPainter* theWrappedObject, const QRect& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void drawRoundedRect(QPainter* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void drawRoundedRect(QPainter* theWrappedObject, int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void drawStaticText(QPainter* theWrappedObject, const QPoint& topLeftPosition, const QStaticText& staticText); + void drawStaticText(QPainter* theWrappedObject, const QPointF& topLeftPosition, const QStaticText& staticText); + void drawStaticText(QPainter* theWrappedObject, int left, int top, const QStaticText& staticText); + void drawText(QPainter* theWrappedObject, const QPoint& p, const QString& s); + void drawText(QPainter* theWrappedObject, const QPointF& p, const QString& s); + void drawText(QPainter* theWrappedObject, const QRect& r, int flags, const QString& text, QRect* br = nullptr); + void drawText(QPainter* theWrappedObject, const QRectF& r, const QString& text, const QTextOption& o = QTextOption()); + void drawText(QPainter* theWrappedObject, const QRectF& r, int flags, const QString& text, QRectF* br = nullptr); + void drawText(QPainter* theWrappedObject, int x, int y, const QString& s); + void drawText(QPainter* theWrappedObject, int x, int y, int w, int h, int flags, const QString& text, QRect* br = nullptr); + void drawTextItem(QPainter* theWrappedObject, const QPoint& p, const QTextItem& ti); + void drawTextItem(QPainter* theWrappedObject, const QPointF& p, const QTextItem& ti); + void drawTextItem(QPainter* theWrappedObject, int x, int y, const QTextItem& ti); + void drawTiledPixmap(QPainter* theWrappedObject, const QRect& arg__1, const QPixmap& arg__2, const QPoint& arg__3 = QPoint()); + void drawTiledPixmap(QPainter* theWrappedObject, const QRectF& rect, const QPixmap& pm, const QPointF& offset = QPointF()); + void drawTiledPixmap(QPainter* theWrappedObject, int x, int y, int w, int h, const QPixmap& arg__5, int sx = 0, int sy = 0); + bool end(QPainter* theWrappedObject); + void endNativePainting(QPainter* theWrappedObject); + void eraseRect(QPainter* theWrappedObject, const QRect& arg__1); + void eraseRect(QPainter* theWrappedObject, const QRectF& arg__1); + void eraseRect(QPainter* theWrappedObject, int x, int y, int w, int h); + void fillPath(QPainter* theWrappedObject, const QPainterPath& path, const QBrush& brush); + void fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QBrush& arg__2); + void fillRect(QPainter* theWrappedObject, const QRect& arg__1, const QColor& color); + void fillRect(QPainter* theWrappedObject, const QRect& r, Qt::BrushStyle style); + void fillRect(QPainter* theWrappedObject, const QRect& r, Qt::GlobalColor c); + void fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QBrush& arg__2); + void fillRect(QPainter* theWrappedObject, const QRectF& arg__1, const QColor& color); + void fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::BrushStyle style); + void fillRect(QPainter* theWrappedObject, const QRectF& r, Qt::GlobalColor c); + void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::BrushStyle style); + void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::GlobalColor c); + void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QBrush& arg__5); + void fillRect(QPainter* theWrappedObject, int x, int y, int w, int h, const QColor& color); + const QFont* font(QPainter* theWrappedObject) const; + QFontInfo fontInfo(QPainter* theWrappedObject) const; + QFontMetrics fontMetrics(QPainter* theWrappedObject) const; + bool hasClipping(QPainter* theWrappedObject) const; + void initFrom(QPainter* theWrappedObject, const QPaintDevice* device); + bool isActive(QPainter* theWrappedObject) const; + Qt::LayoutDirection layoutDirection(QPainter* theWrappedObject) const; + qreal opacity(QPainter* theWrappedObject) const; + QPaintEngine* paintEngine(QPainter* theWrappedObject) const; + const QPen* pen(QPainter* theWrappedObject) const; + QPaintDevice* static_QPainter_redirected(const QPaintDevice* device, QPoint* offset = nullptr); + QPainter::RenderHints renderHints(QPainter* theWrappedObject) const; + void resetMatrix(QPainter* theWrappedObject); + void resetTransform(QPainter* theWrappedObject); + void restore(QPainter* theWrappedObject); + void static_QPainter_restoreRedirected(const QPaintDevice* device); + void rotate(QPainter* theWrappedObject, qreal a); + void save(QPainter* theWrappedObject); + void scale(QPainter* theWrappedObject, qreal sx, qreal sy); + void setBackground(QPainter* theWrappedObject, const QBrush& bg); + void setBackgroundMode(QPainter* theWrappedObject, Qt::BGMode mode); + void setBrush(QPainter* theWrappedObject, const QBrush& brush); + void setBrushOrigin(QPainter* theWrappedObject, const QPoint& arg__1); + void setBrushOrigin(QPainter* theWrappedObject, const QPointF& arg__1); + void setBrushOrigin(QPainter* theWrappedObject, int x, int y); + void setClipPath(QPainter* theWrappedObject, const QPainterPath& path, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipRect(QPainter* theWrappedObject, const QRect& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipRect(QPainter* theWrappedObject, const QRectF& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipRect(QPainter* theWrappedObject, int x, int y, int w, int h, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipRegion(QPainter* theWrappedObject, const QRegion& arg__1, Qt::ClipOperation op = Qt::ReplaceClip); + void setClipping(QPainter* theWrappedObject, bool enable); + void setCompositionMode(QPainter* theWrappedObject, QPainter::CompositionMode mode); + void setFont(QPainter* theWrappedObject, const QFont& f); + void setLayoutDirection(QPainter* theWrappedObject, Qt::LayoutDirection direction); + void setOpacity(QPainter* theWrappedObject, qreal opacity); + void setPen(QPainter* theWrappedObject, Qt::PenStyle style); + void setPen(QPainter* theWrappedObject, const QColor& color); + void setPen(QPainter* theWrappedObject, const QPen& pen); + void static_QPainter_setRedirected(const QPaintDevice* device, QPaintDevice* replacement, const QPoint& offset = QPoint()); + void setRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint, bool on = true); + void setRenderHints(QPainter* theWrappedObject, QPainter::RenderHints hints, bool on = true); + void setTransform(QPainter* theWrappedObject, const QTransform& transform, bool combine = false); + void setViewTransformEnabled(QPainter* theWrappedObject, bool enable); + void setViewport(QPainter* theWrappedObject, const QRect& viewport); + void setViewport(QPainter* theWrappedObject, int x, int y, int w, int h); + void setWindow(QPainter* theWrappedObject, const QRect& window); + void setWindow(QPainter* theWrappedObject, int x, int y, int w, int h); + void setWorldMatrix(QPainter* theWrappedObject, const QMatrix& matrix, bool combine = false); + void setWorldMatrixEnabled(QPainter* theWrappedObject, bool enabled); + void setWorldTransform(QPainter* theWrappedObject, const QTransform& matrix, bool combine = false); + void shear(QPainter* theWrappedObject, qreal sh, qreal sv); + void strokePath(QPainter* theWrappedObject, const QPainterPath& path, const QPen& pen); + bool testRenderHint(QPainter* theWrappedObject, QPainter::RenderHint hint) const; + const QTransform* transform(QPainter* theWrappedObject) const; + void translate(QPainter* theWrappedObject, const QPoint& offset); + void translate(QPainter* theWrappedObject, const QPointF& offset); + void translate(QPainter* theWrappedObject, qreal dx, qreal dy); + bool viewTransformEnabled(QPainter* theWrappedObject) const; + QRect viewport(QPainter* theWrappedObject) const; + QRect window(QPainter* theWrappedObject) const; + const QMatrix* worldMatrix(QPainter* theWrappedObject) const; + bool worldMatrixEnabled(QPainter* theWrappedObject) const; + const QTransform* worldTransform(QPainter* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QPainterPath : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ElementType ) +enum ElementType{ + MoveToElement = QPainterPath::MoveToElement, LineToElement = QPainterPath::LineToElement, CurveToElement = QPainterPath::CurveToElement, CurveToDataElement = QPainterPath::CurveToDataElement}; +public Q_SLOTS: +QPainterPath* new_QPainterPath(); +QPainterPath* new_QPainterPath(const QPainterPath& other); +QPainterPath* new_QPainterPath(const QPointF& startPoint); +void delete_QPainterPath(QPainterPath* obj) { delete obj; } + void addEllipse(QPainterPath* theWrappedObject, const QPointF& center, qreal rx, qreal ry); + void addEllipse(QPainterPath* theWrappedObject, const QRectF& rect); + void addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void addPath(QPainterPath* theWrappedObject, const QPainterPath& path); + void addPolygon(QPainterPath* theWrappedObject, const QPolygonF& polygon); + void addRect(QPainterPath* theWrappedObject, const QRectF& rect); + void addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h); + void addRegion(QPainterPath* theWrappedObject, const QRegion& region); + void addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int roundness); + void addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int xRnd, int yRnd); + void addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int roundness); + void addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd); + void addRoundedRect(QPainterPath* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize); + void addText(QPainterPath* theWrappedObject, const QPointF& point, const QFont& f, const QString& text); + void addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text); + qreal angleAtPercent(QPainterPath* theWrappedObject, qreal t) const; + void arcMoveTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal angle); + void arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle); + void arcTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal startAngle, qreal arcLength); + void arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength); + QRectF boundingRect(QPainterPath* theWrappedObject) const; + void closeSubpath(QPainterPath* theWrappedObject); + void connectPath(QPainterPath* theWrappedObject, const QPainterPath& path); + bool contains(QPainterPath* theWrappedObject, const QPainterPath& p) const; + bool contains(QPainterPath* theWrappedObject, const QPointF& pt) const; + bool contains(QPainterPath* theWrappedObject, const QRectF& rect) const; + QRectF controlPointRect(QPainterPath* theWrappedObject) const; + void cubicTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt1, const QPointF& ctrlPt2, const QPointF& endPt); + void cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty); + QPointF currentPosition(QPainterPath* theWrappedObject) const; + QPainterPath::Element elementAt(QPainterPath* theWrappedObject, int i) const; + int elementCount(QPainterPath* theWrappedObject) const; + Qt::FillRule fillRule(QPainterPath* theWrappedObject) const; + QPainterPath intersected(QPainterPath* theWrappedObject, const QPainterPath& r) const; + bool intersects(QPainterPath* theWrappedObject, const QPainterPath& p) const; + bool intersects(QPainterPath* theWrappedObject, const QRectF& rect) const; + bool isEmpty(QPainterPath* theWrappedObject) const; + qreal length(QPainterPath* theWrappedObject) const; + void lineTo(QPainterPath* theWrappedObject, const QPointF& p); + void lineTo(QPainterPath* theWrappedObject, qreal x, qreal y); + void moveTo(QPainterPath* theWrappedObject, const QPointF& p); + void moveTo(QPainterPath* theWrappedObject, qreal x, qreal y); + bool __ne__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath __and__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath* __iand__(QPainterPath* theWrappedObject, const QPainterPath& other); + QPainterPath __mul__(QPainterPath* theWrappedObject, const QMatrix& m); + QPainterPath __mul__(QPainterPath* theWrappedObject, const QTransform& m); + QPainterPath __add__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath* __iadd__(QPainterPath* theWrappedObject, const QPainterPath& other); + QPainterPath __sub__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath* __isub__(QPainterPath* theWrappedObject, const QPainterPath& other); + void writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1); + bool __eq__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + void readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1); + QPainterPath __or__(QPainterPath* theWrappedObject, const QPainterPath& other) const; + QPainterPath* __ior__(QPainterPath* theWrappedObject, const QPainterPath& other); + qreal percentAtLength(QPainterPath* theWrappedObject, qreal t) const; + QPointF pointAtPercent(QPainterPath* theWrappedObject, qreal t) const; + void quadTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt, const QPointF& endPt); + void quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty); + void setElementPositionAt(QPainterPath* theWrappedObject, int i, qreal x, qreal y); + void setFillRule(QPainterPath* theWrappedObject, Qt::FillRule fillRule); + QPainterPath simplified(QPainterPath* theWrappedObject) const; + qreal slopeAtPercent(QPainterPath* theWrappedObject, qreal t) const; + QPainterPath subtracted(QPainterPath* theWrappedObject, const QPainterPath& r) const; + QPainterPath subtractedInverted(QPainterPath* theWrappedObject, const QPainterPath& r) const; + void swap(QPainterPath* theWrappedObject, QPainterPath& other); + QPolygonF toFillPolygon(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const; + QPolygonF toFillPolygon(QPainterPath* theWrappedObject, const QTransform& matrix) const; + QList toFillPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const; + QList toFillPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const; + QPainterPath toReversed(QPainterPath* theWrappedObject) const; + QList toSubpathPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const; + QList toSubpathPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const; + void translate(QPainterPath* theWrappedObject, const QPointF& offset); + void translate(QPainterPath* theWrappedObject, qreal dx, qreal dy); + QPainterPath translated(QPainterPath* theWrappedObject, const QPointF& offset) const; + QPainterPath translated(QPainterPath* theWrappedObject, qreal dx, qreal dy) const; + QPainterPath united(QPainterPath* theWrappedObject, const QPainterPath& r) const; + QString py_toString(QPainterPath*); + bool __nonzero__(QPainterPath* obj) { return !obj->isEmpty(); } }; -class PythonQtWrapper_QPixmapCache__Key : public QObject +class PythonQtWrapper_QPainterPathStroker : public QObject { Q_OBJECT public: public Q_SLOTS: -QPixmapCache::Key* new_QPixmapCache__Key(); -QPixmapCache::Key* new_QPixmapCache__Key(const QPixmapCache::Key& other); -void delete_QPixmapCache__Key(QPixmapCache::Key* obj) { delete obj; } - bool isValid(QPixmapCache::Key* theWrappedObject) const; - bool __ne__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const; - QPixmapCache::Key* operator_assign(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& other); - bool __eq__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const; - void swap(QPixmapCache::Key* theWrappedObject, QPixmapCache::Key& other); - bool __nonzero__(QPixmapCache::Key* obj) { return obj->isValid(); } +QPainterPathStroker* new_QPainterPathStroker(); +QPainterPathStroker* new_QPainterPathStroker(const QPen& pen); +void delete_QPainterPathStroker(QPainterPathStroker* obj) { delete obj; } + Qt::PenCapStyle capStyle(QPainterPathStroker* theWrappedObject) const; + QPainterPath createStroke(QPainterPathStroker* theWrappedObject, const QPainterPath& path) const; + qreal curveThreshold(QPainterPathStroker* theWrappedObject) const; + qreal dashOffset(QPainterPathStroker* theWrappedObject) const; + QVector dashPattern(QPainterPathStroker* theWrappedObject) const; + Qt::PenJoinStyle joinStyle(QPainterPathStroker* theWrappedObject) const; + qreal miterLimit(QPainterPathStroker* theWrappedObject) const; + void setCapStyle(QPainterPathStroker* theWrappedObject, Qt::PenCapStyle style); + void setCurveThreshold(QPainterPathStroker* theWrappedObject, qreal threshold); + void setDashOffset(QPainterPathStroker* theWrappedObject, qreal offset); + void setDashPattern(QPainterPathStroker* theWrappedObject, Qt::PenStyle arg__1); + void setDashPattern(QPainterPathStroker* theWrappedObject, const QVector& dashPattern); + void setJoinStyle(QPainterPathStroker* theWrappedObject, Qt::PenJoinStyle style); + void setMiterLimit(QPainterPathStroker* theWrappedObject, qreal length); + void setWidth(QPainterPathStroker* theWrappedObject, qreal width); + qreal width(QPainterPathStroker* theWrappedObject) const; }; -class PythonQtShell_QPlainTextDocumentLayout : public QPlainTextDocumentLayout +class PythonQtShell_QPainterPath__Element : public QPainterPath::Element { public: - PythonQtShell_QPlainTextDocumentLayout(QTextDocument* document):QPlainTextDocumentLayout(document),_wrapper(nullptr) {}; + PythonQtShell_QPainterPath__Element():QPainterPath::Element(),_wrapper(nullptr) {}; - ~PythonQtShell_QPlainTextDocumentLayout() override; + ~PythonQtShell_QPainterPath__Element(); -QRectF blockBoundingRect(const QTextBlock& block) const override; -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -void documentChanged(int from, int arg__2, int charsAdded) override; -QSizeF documentSize() const override; -void draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) override; -void drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -QRectF frameBoundingRect(QTextFrame* arg__1) const override; -int hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const override; -int pageCount() const override; -void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) override; -void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) override; -void timerEvent(QTimerEvent* event) override; - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QPlainTextDocumentLayout : public QPlainTextDocumentLayout -{ public: -inline void promoted_documentChanged(int from, int arg__2, int charsAdded) { this->documentChanged(from, arg__2, charsAdded); } -inline QRectF py_q_blockBoundingRect(const QTextBlock& block) const { return QPlainTextDocumentLayout::blockBoundingRect(block); } -inline void py_q_documentChanged(int from, int arg__2, int charsAdded) { QPlainTextDocumentLayout::documentChanged(from, arg__2, charsAdded); } -inline QSizeF py_q_documentSize() const { return QPlainTextDocumentLayout::documentSize(); } -inline void py_q_draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) { QPlainTextDocumentLayout::draw(arg__1, arg__2); } -inline QRectF py_q_frameBoundingRect(QTextFrame* arg__1) const { return QPlainTextDocumentLayout::frameBoundingRect(arg__1); } -inline int py_q_hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const { return QPlainTextDocumentLayout::hitTest(arg__1, arg__2); } -inline int py_q_pageCount() const { return QPlainTextDocumentLayout::pageCount(); } -}; - -class PythonQtWrapper_QPlainTextDocumentLayout : public QObject +class PythonQtWrapper_QPainterPath__Element : public QObject { Q_OBJECT public: public Q_SLOTS: -QPlainTextDocumentLayout* new_QPlainTextDocumentLayout(QTextDocument* document); -void delete_QPlainTextDocumentLayout(QPlainTextDocumentLayout* obj) { delete obj; } - QRectF py_q_blockBoundingRect(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_blockBoundingRect(block));} - int cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const; - void py_q_documentChanged(QPlainTextDocumentLayout* theWrappedObject, int from, int arg__2, int charsAdded){ (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_documentChanged(from, arg__2, charsAdded));} - QSizeF py_q_documentSize(QPlainTextDocumentLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_documentSize());} - void py_q_draw(QPlainTextDocumentLayout* theWrappedObject, QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2){ (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_draw(arg__1, arg__2));} - void ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const; - QRectF py_q_frameBoundingRect(QPlainTextDocumentLayout* theWrappedObject, QTextFrame* arg__1) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_frameBoundingRect(arg__1));} - int py_q_hitTest(QPlainTextDocumentLayout* theWrappedObject, const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_hitTest(arg__1, arg__2));} - int py_q_pageCount(QPlainTextDocumentLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_pageCount());} - void requestUpdate(QPlainTextDocumentLayout* theWrappedObject); - void setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width); +QPainterPath::Element* new_QPainterPath__Element(); +QPainterPath::Element* new_QPainterPath__Element(const QPainterPath::Element& other) { +PythonQtShell_QPainterPath__Element* a = new PythonQtShell_QPainterPath__Element(); +*((QPainterPath::Element*)a) = other; +return a; } +void delete_QPainterPath__Element(QPainterPath::Element* obj) { delete obj; } + bool isCurveTo(QPainterPath::Element* theWrappedObject) const; + bool isLineTo(QPainterPath::Element* theWrappedObject) const; + bool isMoveTo(QPainterPath::Element* theWrappedObject) const; + QPointF operator_cast_QPointF(QPainterPath::Element* theWrappedObject) const; + bool __ne__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const; + bool __eq__(QPainterPath::Element* theWrappedObject, const QPainterPath::Element& e) const; +void py_set_type(QPainterPath::Element* theWrappedObject, QPainterPath::ElementType type){ theWrappedObject->type = type; } +QPainterPath::ElementType py_get_type(QPainterPath::Element* theWrappedObject){ return theWrappedObject->type; } +void py_set_x(QPainterPath::Element* theWrappedObject, qreal x){ theWrappedObject->x = x; } +qreal py_get_x(QPainterPath::Element* theWrappedObject){ return theWrappedObject->x; } +void py_set_y(QPainterPath::Element* theWrappedObject, qreal y){ theWrappedObject->y = y; } +qreal py_get_y(QPainterPath::Element* theWrappedObject){ return theWrappedObject->y; } }; -class PythonQtShell_QPlainTextEdit : public QPlainTextEdit -{ -public: - PythonQtShell_QPlainTextEdit(QWidget* parent = nullptr):QPlainTextEdit(parent),_wrapper(nullptr) {}; - PythonQtShell_QPlainTextEdit(const QString& text, QWidget* parent = nullptr):QPlainTextEdit(text, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QPlainTextEdit() override; - -void actionEvent(QActionEvent* event) override; -bool canInsertFromMimeData(const QMimeData* source) const override; -void changeEvent(QEvent* e) override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* e) override; -QMimeData* createMimeDataFromSelection() const override; -void customEvent(QEvent* event) override; -int devType() const override; -void doSetTextCursor(const QTextCursor& cursor) override; -void dragEnterEvent(QDragEnterEvent* e) override; -void dragLeaveEvent(QDragLeaveEvent* e) override; -void dragMoveEvent(QDragMoveEvent* e) override; -void dropEvent(QDropEvent* e) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* e) override; -bool eventFilter(QObject* arg__1, QEvent* arg__2) override; -void focusInEvent(QFocusEvent* e) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* e) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery property) const override; -void insertFromMimeData(const QMimeData* source) override; -void keyPressEvent(QKeyEvent* e) override; -void keyReleaseEvent(QKeyEvent* e) override; -void leaveEvent(QEvent* event) override; -QVariant loadResource(int type, const QUrl& name) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* e) override; -void mouseMoveEvent(QMouseEvent* e) override; -void mousePressEvent(QMouseEvent* e) override; -void mouseReleaseEvent(QMouseEvent* e) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* e) override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* e) override; -void scrollContentsBy(int dx, int dy) override; -void setVisible(bool visible) override; -void setupViewport(QWidget* viewport) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* arg__1) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* e) override; -bool viewportEvent(QEvent* arg__1) override; -QSize viewportSizeHint() const override; -void wheelEvent(QWheelEvent* e) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QPlainTextEdit : public QPlainTextEdit -{ public: -inline QRectF promoted_blockBoundingGeometry(const QTextBlock& block) const { return this->blockBoundingGeometry(block); } -inline QRectF promoted_blockBoundingRect(const QTextBlock& block) const { return this->blockBoundingRect(block); } -inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return this->canInsertFromMimeData(source); } -inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } -inline QPointF promoted_contentOffset() const { return this->contentOffset(); } -inline void promoted_contextMenuEvent(QContextMenuEvent* e) { this->contextMenuEvent(e); } -inline QMimeData* promoted_createMimeDataFromSelection() const { return this->createMimeDataFromSelection(); } -inline void promoted_doSetTextCursor(const QTextCursor& cursor) { this->doSetTextCursor(cursor); } -inline void promoted_dragEnterEvent(QDragEnterEvent* e) { this->dragEnterEvent(e); } -inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { this->dragLeaveEvent(e); } -inline void promoted_dragMoveEvent(QDragMoveEvent* e) { this->dragMoveEvent(e); } -inline void promoted_dropEvent(QDropEvent* e) { this->dropEvent(e); } -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline QTextBlock promoted_firstVisibleBlock() const { return this->firstVisibleBlock(); } -inline void promoted_focusInEvent(QFocusEvent* e) { this->focusInEvent(e); } -inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } -inline void promoted_focusOutEvent(QFocusEvent* e) { this->focusOutEvent(e); } -inline QAbstractTextDocumentLayout::PaintContext promoted_getPaintContext() const { return this->getPaintContext(); } -inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } -inline void promoted_insertFromMimeData(const QMimeData* source) { this->insertFromMimeData(source); } -inline void promoted_keyPressEvent(QKeyEvent* e) { this->keyPressEvent(e); } -inline void promoted_keyReleaseEvent(QKeyEvent* e) { this->keyReleaseEvent(e); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { this->mouseDoubleClickEvent(e); } -inline void promoted_mouseMoveEvent(QMouseEvent* e) { this->mouseMoveEvent(e); } -inline void promoted_mousePressEvent(QMouseEvent* e) { this->mousePressEvent(e); } -inline void promoted_mouseReleaseEvent(QMouseEvent* e) { this->mouseReleaseEvent(e); } -inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } -inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } -inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } -inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } -inline void promoted_timerEvent(QTimerEvent* e) { this->timerEvent(e); } -inline void promoted_wheelEvent(QWheelEvent* e) { this->wheelEvent(e); } -inline void promoted_zoomInF(float range) { this->zoomInF(range); } -inline bool py_q_canInsertFromMimeData(const QMimeData* source) const { return QPlainTextEdit::canInsertFromMimeData(source); } -inline void py_q_changeEvent(QEvent* e) { QPlainTextEdit::changeEvent(e); } -inline void py_q_contextMenuEvent(QContextMenuEvent* e) { QPlainTextEdit::contextMenuEvent(e); } -inline QMimeData* py_q_createMimeDataFromSelection() const { return QPlainTextEdit::createMimeDataFromSelection(); } -inline void py_q_doSetTextCursor(const QTextCursor& cursor) { QPlainTextEdit::doSetTextCursor(cursor); } -inline void py_q_dragEnterEvent(QDragEnterEvent* e) { QPlainTextEdit::dragEnterEvent(e); } -inline void py_q_dragLeaveEvent(QDragLeaveEvent* e) { QPlainTextEdit::dragLeaveEvent(e); } -inline void py_q_dragMoveEvent(QDragMoveEvent* e) { QPlainTextEdit::dragMoveEvent(e); } -inline void py_q_dropEvent(QDropEvent* e) { QPlainTextEdit::dropEvent(e); } -inline bool py_q_event(QEvent* e) { return QPlainTextEdit::event(e); } -inline void py_q_focusInEvent(QFocusEvent* e) { QPlainTextEdit::focusInEvent(e); } -inline bool py_q_focusNextPrevChild(bool next) { return QPlainTextEdit::focusNextPrevChild(next); } -inline void py_q_focusOutEvent(QFocusEvent* e) { QPlainTextEdit::focusOutEvent(e); } -inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QPlainTextEdit::inputMethodEvent(arg__1); } -inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery property) const { return QPlainTextEdit::inputMethodQuery(property); } -inline void py_q_insertFromMimeData(const QMimeData* source) { QPlainTextEdit::insertFromMimeData(source); } -inline void py_q_keyPressEvent(QKeyEvent* e) { QPlainTextEdit::keyPressEvent(e); } -inline void py_q_keyReleaseEvent(QKeyEvent* e) { QPlainTextEdit::keyReleaseEvent(e); } -inline QVariant py_q_loadResource(int type, const QUrl& name) { return QPlainTextEdit::loadResource(type, name); } -inline void py_q_mouseDoubleClickEvent(QMouseEvent* e) { QPlainTextEdit::mouseDoubleClickEvent(e); } -inline void py_q_mouseMoveEvent(QMouseEvent* e) { QPlainTextEdit::mouseMoveEvent(e); } -inline void py_q_mousePressEvent(QMouseEvent* e) { QPlainTextEdit::mousePressEvent(e); } -inline void py_q_mouseReleaseEvent(QMouseEvent* e) { QPlainTextEdit::mouseReleaseEvent(e); } -inline void py_q_paintEvent(QPaintEvent* e) { QPlainTextEdit::paintEvent(e); } -inline void py_q_resizeEvent(QResizeEvent* e) { QPlainTextEdit::resizeEvent(e); } -inline void py_q_scrollContentsBy(int dx, int dy) { QPlainTextEdit::scrollContentsBy(dx, dy); } -inline void py_q_showEvent(QShowEvent* arg__1) { QPlainTextEdit::showEvent(arg__1); } -inline void py_q_timerEvent(QTimerEvent* e) { QPlainTextEdit::timerEvent(e); } -inline void py_q_wheelEvent(QWheelEvent* e) { QPlainTextEdit::wheelEvent(e); } -}; - -class PythonQtWrapper_QPlainTextEdit : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QPlainTextEdit* new_QPlainTextEdit(QWidget* parent = nullptr); -QPlainTextEdit* new_QPlainTextEdit(const QString& text, QWidget* parent = nullptr); -void delete_QPlainTextEdit(QPlainTextEdit* obj) { delete obj; } - QString anchorAt(QPlainTextEdit* theWrappedObject, const QPoint& pos) const; - bool backgroundVisible(QPlainTextEdit* theWrappedObject) const; - QRectF blockBoundingGeometry(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const; - QRectF blockBoundingRect(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const; - int blockCount(QPlainTextEdit* theWrappedObject) const; - bool canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const; - bool py_q_canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_canInsertFromMimeData(source));} - bool canPaste(QPlainTextEdit* theWrappedObject) const; - bool centerOnScroll(QPlainTextEdit* theWrappedObject) const; - void py_q_changeEvent(QPlainTextEdit* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_changeEvent(e));} - QPointF contentOffset(QPlainTextEdit* theWrappedObject) const; - void py_q_contextMenuEvent(QPlainTextEdit* theWrappedObject, QContextMenuEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_contextMenuEvent(e));} - QMimeData* createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const; - QMimeData* py_q_createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_createMimeDataFromSelection());} - QMenu* createStandardContextMenu(QPlainTextEdit* theWrappedObject); - QMenu* createStandardContextMenu(QPlainTextEdit* theWrappedObject, const QPoint& position); - QTextCharFormat currentCharFormat(QPlainTextEdit* theWrappedObject) const; - QTextCursor cursorForPosition(QPlainTextEdit* theWrappedObject, const QPoint& pos) const; - QRect cursorRect(QPlainTextEdit* theWrappedObject) const; - QRect cursorRect(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) const; - int cursorWidth(QPlainTextEdit* theWrappedObject) const; - void doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor); - void py_q_doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_doSetTextCursor(cursor));} - QTextDocument* document(QPlainTextEdit* theWrappedObject) const; - QString documentTitle(QPlainTextEdit* theWrappedObject) const; - void py_q_dragEnterEvent(QPlainTextEdit* theWrappedObject, QDragEnterEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragEnterEvent(e));} - void py_q_dragLeaveEvent(QPlainTextEdit* theWrappedObject, QDragLeaveEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragLeaveEvent(e));} - void py_q_dragMoveEvent(QPlainTextEdit* theWrappedObject, QDragMoveEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragMoveEvent(e));} - void py_q_dropEvent(QPlainTextEdit* theWrappedObject, QDropEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dropEvent(e));} - void ensureCursorVisible(QPlainTextEdit* theWrappedObject); - bool py_q_event(QPlainTextEdit* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_event(e));} - QList extraSelections(QPlainTextEdit* theWrappedObject) const; - bool find(QPlainTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); - bool find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); - QTextBlock firstVisibleBlock(QPlainTextEdit* theWrappedObject) const; - void py_q_focusInEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusInEvent(e));} - bool py_q_focusNextPrevChild(QPlainTextEdit* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusNextPrevChild(next));} - void py_q_focusOutEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusOutEvent(e));} - QAbstractTextDocumentLayout::PaintContext getPaintContext(QPlainTextEdit* theWrappedObject) const; - void py_q_inputMethodEvent(QPlainTextEdit* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} - QVariant py_q_inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery property) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_inputMethodQuery(property));} - QVariant inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const; - void insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source); - void py_q_insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_insertFromMimeData(source));} - bool isReadOnly(QPlainTextEdit* theWrappedObject) const; - bool isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const; - void py_q_keyPressEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_keyPressEvent(e));} - void py_q_keyReleaseEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_keyReleaseEvent(e));} - QPlainTextEdit::LineWrapMode lineWrapMode(QPlainTextEdit* theWrappedObject) const; - QVariant loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name); - QVariant py_q_loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_loadResource(type, name));} - int maximumBlockCount(QPlainTextEdit* theWrappedObject) const; - void mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier); - void py_q_mouseDoubleClickEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseDoubleClickEvent(e));} - void py_q_mouseMoveEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseMoveEvent(e));} - void py_q_mousePressEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mousePressEvent(e));} - void py_q_mouseReleaseEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseReleaseEvent(e));} - void moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); - bool overwriteMode(QPlainTextEdit* theWrappedObject) const; - void py_q_paintEvent(QPlainTextEdit* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_paintEvent(e));} - QString placeholderText(QPlainTextEdit* theWrappedObject) const; - void print(QPlainTextEdit* theWrappedObject, QPagedPaintDevice* printer) const; - void py_q_resizeEvent(QPlainTextEdit* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_resizeEvent(e));} - void py_q_scrollContentsBy(QPlainTextEdit* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} - void setBackgroundVisible(QPlainTextEdit* theWrappedObject, bool visible); - void setCenterOnScroll(QPlainTextEdit* theWrappedObject, bool enabled); - void setCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& format); - void setCursorWidth(QPlainTextEdit* theWrappedObject, int width); - void setDocument(QPlainTextEdit* theWrappedObject, QTextDocument* document); - void setDocumentTitle(QPlainTextEdit* theWrappedObject, const QString& title); - void setExtraSelections(QPlainTextEdit* theWrappedObject, const QList& selections); - void setLineWrapMode(QPlainTextEdit* theWrappedObject, QPlainTextEdit::LineWrapMode mode); - void setMaximumBlockCount(QPlainTextEdit* theWrappedObject, int maximum); - void setOverwriteMode(QPlainTextEdit* theWrappedObject, bool overwrite); - void setPlaceholderText(QPlainTextEdit* theWrappedObject, const QString& placeholderText); - void setReadOnly(QPlainTextEdit* theWrappedObject, bool ro); - void setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b); - void setTabStopDistance(QPlainTextEdit* theWrappedObject, qreal distance); - void setTabStopWidth(QPlainTextEdit* theWrappedObject, int width); - void setTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor); - void setTextInteractionFlags(QPlainTextEdit* theWrappedObject, Qt::TextInteractionFlags flags); - void setUndoRedoEnabled(QPlainTextEdit* theWrappedObject, bool enable); - void setWordWrapMode(QPlainTextEdit* theWrappedObject, QTextOption::WrapMode policy); - void py_q_showEvent(QPlainTextEdit* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_showEvent(arg__1));} - bool tabChangesFocus(QPlainTextEdit* theWrappedObject) const; - qreal tabStopDistance(QPlainTextEdit* theWrappedObject) const; - int tabStopWidth(QPlainTextEdit* theWrappedObject) const; - QTextCursor textCursor(QPlainTextEdit* theWrappedObject) const; - Qt::TextInteractionFlags textInteractionFlags(QPlainTextEdit* theWrappedObject) const; - void py_q_timerEvent(QPlainTextEdit* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_timerEvent(e));} - QString toPlainText(QPlainTextEdit* theWrappedObject) const; - void py_q_wheelEvent(QPlainTextEdit* theWrappedObject, QWheelEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_wheelEvent(e));} - QTextOption::WrapMode wordWrapMode(QPlainTextEdit* theWrappedObject) const; - void zoomInF(QPlainTextEdit* theWrappedObject, float range); -}; - - - - - -class PythonQtShell_QPlatformSurfaceEvent : public QPlatformSurfaceEvent +class PythonQtShell_QPainter__PixmapFragment : public QPainter::PixmapFragment { public: - PythonQtShell_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType):QPlatformSurfaceEvent(surfaceEventType),_wrapper(nullptr) {}; + PythonQtShell_QPainter__PixmapFragment():QPainter::PixmapFragment(),_wrapper(nullptr) {}; - ~PythonQtShell_QPlatformSurfaceEvent() override; + ~PythonQtShell_QPainter__PixmapFragment(); PythonQtInstanceWrapper* _wrapper; }; -class PythonQtWrapper_QPlatformSurfaceEvent : public QObject +class PythonQtWrapper_QPainter__PixmapFragment : public QObject { Q_OBJECT public: -Q_ENUMS(SurfaceEventType ) -enum SurfaceEventType{ - SurfaceCreated = QPlatformSurfaceEvent::SurfaceCreated, SurfaceAboutToBeDestroyed = QPlatformSurfaceEvent::SurfaceAboutToBeDestroyed}; public Q_SLOTS: -QPlatformSurfaceEvent* new_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType); -void delete_QPlatformSurfaceEvent(QPlatformSurfaceEvent* obj) { delete obj; } - QPlatformSurfaceEvent::SurfaceEventType surfaceEventType(QPlatformSurfaceEvent* theWrappedObject) const; +QPainter::PixmapFragment* new_QPainter__PixmapFragment(); +QPainter::PixmapFragment* new_QPainter__PixmapFragment(const QPainter::PixmapFragment& other) { +PythonQtShell_QPainter__PixmapFragment* a = new PythonQtShell_QPainter__PixmapFragment(); +*((QPainter::PixmapFragment*)a) = other; +return a; } +void delete_QPainter__PixmapFragment(QPainter::PixmapFragment* obj) { delete obj; } + QPainter::PixmapFragment static_QPainter__PixmapFragment_create(const QPointF& pos, const QRectF& sourceRect, qreal scaleX = 1, qreal scaleY = 1, qreal rotation = 0, qreal opacity = 1); +void py_set_height(QPainter::PixmapFragment* theWrappedObject, qreal height){ theWrappedObject->height = height; } +qreal py_get_height(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->height; } +void py_set_opacity(QPainter::PixmapFragment* theWrappedObject, qreal opacity){ theWrappedObject->opacity = opacity; } +qreal py_get_opacity(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->opacity; } +void py_set_rotation(QPainter::PixmapFragment* theWrappedObject, qreal rotation){ theWrappedObject->rotation = rotation; } +qreal py_get_rotation(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->rotation; } +void py_set_scaleX(QPainter::PixmapFragment* theWrappedObject, qreal scaleX){ theWrappedObject->scaleX = scaleX; } +qreal py_get_scaleX(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->scaleX; } +void py_set_scaleY(QPainter::PixmapFragment* theWrappedObject, qreal scaleY){ theWrappedObject->scaleY = scaleY; } +qreal py_get_scaleY(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->scaleY; } +void py_set_sourceLeft(QPainter::PixmapFragment* theWrappedObject, qreal sourceLeft){ theWrappedObject->sourceLeft = sourceLeft; } +qreal py_get_sourceLeft(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->sourceLeft; } +void py_set_sourceTop(QPainter::PixmapFragment* theWrappedObject, qreal sourceTop){ theWrappedObject->sourceTop = sourceTop; } +qreal py_get_sourceTop(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->sourceTop; } +void py_set_width(QPainter::PixmapFragment* theWrappedObject, qreal width){ theWrappedObject->width = width; } +qreal py_get_width(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->width; } +void py_set_x(QPainter::PixmapFragment* theWrappedObject, qreal x){ theWrappedObject->x = x; } +qreal py_get_x(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->x; } +void py_set_y(QPainter::PixmapFragment* theWrappedObject, qreal y){ theWrappedObject->y = y; } +qreal py_get_y(QPainter::PixmapFragment* theWrappedObject){ return theWrappedObject->y; } }; -class PythonQtWrapper_QPolygonF : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QPolygonF* new_QPolygonF(); -QPolygonF* new_QPolygonF(const QPolygon& a); -QPolygonF* new_QPolygonF(const QPolygonF& a); -QPolygonF* new_QPolygonF(const QRectF& r); -QPolygonF* new_QPolygonF(const QVector& v); -QPolygonF* new_QPolygonF(int size); -void delete_QPolygonF(QPolygonF* obj) { delete obj; } - void append(QPolygonF* theWrappedObject, const QPointF& t); - void append(QPolygonF* theWrappedObject, const QVector& l); - const QPointF* at(QPolygonF* theWrappedObject, int i) const; - QRectF boundingRect(QPolygonF* theWrappedObject) const; - int capacity(QPolygonF* theWrappedObject) const; - void clear(QPolygonF* theWrappedObject); - const QPointF* constFirst(QPolygonF* theWrappedObject) const; - const QPointF* constLast(QPolygonF* theWrappedObject) const; - bool contains(QPolygonF* theWrappedObject, const QPointF& t) const; - bool containsPoint(QPolygonF* theWrappedObject, const QPointF& pt, Qt::FillRule fillRule) const; - int count(QPolygonF* theWrappedObject) const; - int count(QPolygonF* theWrappedObject, const QPointF& t) const; - bool empty(QPolygonF* theWrappedObject) const; - bool endsWith(QPolygonF* theWrappedObject, const QPointF& t) const; - QVector* fill(QPolygonF* theWrappedObject, const QPointF& t, int size = -1); - const QPointF* first(QPolygonF* theWrappedObject) const; - QVector static_QPolygonF_fromList(const QList& list); - int indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from = 0) const; - QPolygonF intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const; - bool intersects(QPolygonF* theWrappedObject, const QPolygonF& r) const; - bool isClosed(QPolygonF* theWrappedObject) const; - bool isEmpty(QPolygonF* theWrappedObject) const; - bool isSharedWith(QPolygonF* theWrappedObject, const QVector& other) const; - const QPointF* last(QPolygonF* theWrappedObject) const; - int lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from = -1) const; - int length(QPolygonF* theWrappedObject) const; - QVector mid(QPolygonF* theWrappedObject, int pos, int len = -1) const; - void move(QPolygonF* theWrappedObject, int from, int to); - bool __ne__(QPolygonF* theWrappedObject, const QVector& v) const; - QPolygonF __mul__(QPolygonF* theWrappedObject, const QMatrix& m); - QPolygonF __mul__(QPolygonF* theWrappedObject, const QTransform& m); - void writeTo(QPolygonF* theWrappedObject, QDataStream& stream); - QPolygonF* operator_assign(QPolygonF* theWrappedObject, const QPolygonF& other); - bool __eq__(QPolygonF* theWrappedObject, const QVector& v) const; - void readFrom(QPolygonF* theWrappedObject, QDataStream& stream); - void pop_back(QPolygonF* theWrappedObject); - void pop_front(QPolygonF* theWrappedObject); - void prepend(QPolygonF* theWrappedObject, const QPointF& t); - void push_back(QPolygonF* theWrappedObject, const QPointF& t); - void push_front(QPolygonF* theWrappedObject, const QPointF& t); - void remove(QPolygonF* theWrappedObject, int i); - void remove(QPolygonF* theWrappedObject, int i, int n); - int removeAll(QPolygonF* theWrappedObject, const QPointF& t); - void removeAt(QPolygonF* theWrappedObject, int i); - void removeFirst(QPolygonF* theWrappedObject); - void removeLast(QPolygonF* theWrappedObject); - bool removeOne(QPolygonF* theWrappedObject, const QPointF& t); - void replace(QPolygonF* theWrappedObject, int i, const QPointF& t); - void reserve(QPolygonF* theWrappedObject, int size); - void resize(QPolygonF* theWrappedObject, int size); - void setSharable(QPolygonF* theWrappedObject, bool sharable); - void shrink_to_fit(QPolygonF* theWrappedObject); - int size(QPolygonF* theWrappedObject) const; - void squeeze(QPolygonF* theWrappedObject); - bool startsWith(QPolygonF* theWrappedObject, const QPointF& t) const; - QPolygonF subtracted(QPolygonF* theWrappedObject, const QPolygonF& r) const; - void swap(QPolygonF* theWrappedObject, QPolygonF& other); - QPointF takeAt(QPolygonF* theWrappedObject, int i); - QPointF takeFirst(QPolygonF* theWrappedObject); - QPointF takeLast(QPolygonF* theWrappedObject); - QList toList(QPolygonF* theWrappedObject) const; - QPolygon toPolygon(QPolygonF* theWrappedObject) const; - void translate(QPolygonF* theWrappedObject, const QPointF& offset); - void translate(QPolygonF* theWrappedObject, qreal dx, qreal dy); - QPolygonF translated(QPolygonF* theWrappedObject, const QPointF& offset) const; - QPolygonF translated(QPolygonF* theWrappedObject, qreal dx, qreal dy) const; - QPolygonF united(QPolygonF* theWrappedObject, const QPolygonF& r) const; - QPointF value(QPolygonF* theWrappedObject, int i) const; - QPointF value(QPolygonF* theWrappedObject, int i, const QPointF& defaultValue) const; - QString py_toString(QPolygonF*); - bool __nonzero__(QPolygonF* obj) { return !obj->isEmpty(); } -}; - - - - - -class PythonQtShell_QPrintDialog : public QPrintDialog +class PythonQtShell_QPanGesture : public QPanGesture { public: - PythonQtShell_QPrintDialog(QPrinter* printer, QWidget* parent = nullptr):QPrintDialog(printer, parent),_wrapper(nullptr) {}; - PythonQtShell_QPrintDialog(QWidget* parent = nullptr):QPrintDialog(parent),_wrapper(nullptr) {}; + PythonQtShell_QPanGesture(QObject* parent = nullptr):QPanGesture(parent),_wrapper(nullptr) {}; - ~PythonQtShell_QPrintDialog() override; + ~PythonQtShell_QPanGesture() override; -void accept() override; -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* arg__1) override; void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* arg__1) override; -void contextMenuEvent(QContextMenuEvent* arg__1) override; void customEvent(QEvent* event) override; -int devType() const override; -void done(int result) override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; -void enterEvent(QEvent* event) override; bool event(QEvent* event) override; -bool eventFilter(QObject* arg__1, QEvent* arg__2) override; -int exec() override; -void focusInEvent(QFocusEvent* event) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* arg__1) override; -void keyReleaseEvent(QKeyEvent* event) override; -void leaveEvent(QEvent* event) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* event) override; -void mousePressEvent(QMouseEvent* event) override; -void mouseReleaseEvent(QMouseEvent* event) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* event) override; -QPaintDevice* redirected(QPoint* offset) const override; -void reject() override; -void resizeEvent(QResizeEvent* arg__1) override; -void setVisible(bool visible) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* arg__1) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; void timerEvent(QTimerEvent* event) override; -void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QPrintDialog : public QPrintDialog -{ public: -inline void py_q_accept() { QPrintDialog::accept(); } -inline void py_q_done(int result) { QPrintDialog::done(result); } -inline int py_q_exec() { return QPrintDialog::exec(); } -inline void py_q_setVisible(bool visible) { QPrintDialog::setVisible(visible); } -}; - -class PythonQtWrapper_QPrintDialog : public QObject +class PythonQtWrapper_QPanGesture : public QObject { Q_OBJECT public: public Q_SLOTS: -QPrintDialog* new_QPrintDialog(QPrinter* printer, QWidget* parent = nullptr); -QPrintDialog* new_QPrintDialog(QWidget* parent = nullptr); -void delete_QPrintDialog(QPrintDialog* obj) { delete obj; } - void py_q_accept(QPrintDialog* theWrappedObject){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_accept());} - void py_q_done(QPrintDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_done(result));} - int py_q_exec(QPrintDialog* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_exec());} - void open(QPrintDialog* theWrappedObject, QObject* receiver, const char* member); - QAbstractPrintDialog::PrintDialogOptions options(QPrintDialog* theWrappedObject) const; - void setOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option, bool on = true); - void setOptions(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options); - void py_q_setVisible(QPrintDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_setVisible(visible));} - bool testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const; +QPanGesture* new_QPanGesture(QObject* parent = nullptr); +void delete_QPanGesture(QPanGesture* obj) { delete obj; } + qreal acceleration(QPanGesture* theWrappedObject) const; + QPointF delta(QPanGesture* theWrappedObject) const; + QPointF lastOffset(QPanGesture* theWrappedObject) const; + QPointF offset(QPanGesture* theWrappedObject) const; + void setAcceleration(QPanGesture* theWrappedObject, qreal value); + void setLastOffset(QPanGesture* theWrappedObject, const QPointF& value); + void setOffset(QPanGesture* theWrappedObject, const QPointF& value); }; -class PythonQtShell_QPrintEngine : public QPrintEngine +class PythonQtShell_QPdfWriter : public QPdfWriter { public: - PythonQtShell_QPrintEngine():QPrintEngine(),_wrapper(nullptr) {}; + PythonQtShell_QPdfWriter(QIODevice* device):QPdfWriter(device),_wrapper(nullptr) {}; + PythonQtShell_QPdfWriter(const QString& filename):QPdfWriter(filename),_wrapper(nullptr) {}; - ~PythonQtShell_QPrintEngine() override; + ~PythonQtShell_QPdfWriter() override; -bool abort() override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric id) const override; bool newPage() override; -QPrinter::PrinterState printerState() const override; -QVariant property(QPrintEngine::PrintEnginePropertyKey key) const override; -void setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +void setMargins(const QPagedPaintDevice::Margins& m) override; +void setPageSize(QPagedPaintDevice::PageSize size) override; +void setPageSizeMM(const QSizeF& size) override; +QPainter* sharedPainter() const override; +void timerEvent(QTimerEvent* event) override; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QPrintEngine : public QPrintEngine +class PythonQtPublicPromoter_QPdfWriter : public QPdfWriter { public: -inline bool py_q_abort() { return this->abort(); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return this->metric(arg__1); } -inline bool py_q_newPage() { return this->newPage(); } -inline QPrinter::PrinterState py_q_printerState() const { return this->printerState(); } -inline QVariant py_q_property(QPrintEngine::PrintEnginePropertyKey key) const { return this->property(key); } -inline void py_q_setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) { this->setProperty(key, value); } +inline int promoted_metric(QPaintDevice::PaintDeviceMetric id) const { return this->metric(id); } +inline QPaintEngine* promoted_paintEngine() const { return this->paintEngine(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric id) const { return QPdfWriter::metric(id); } +inline bool py_q_newPage() { return QPdfWriter::newPage(); } +inline QPaintEngine* py_q_paintEngine() const { return QPdfWriter::paintEngine(); } +inline void py_q_setMargins(const QPagedPaintDevice::Margins& m) { QPdfWriter::setMargins(m); } +inline void py_q_setPageSize(QPagedPaintDevice::PageSize size) { QPdfWriter::setPageSize(size); } +inline void py_q_setPageSizeMM(const QSizeF& size) { QPdfWriter::setPageSizeMM(size); } }; -class PythonQtWrapper_QPrintEngine : public QObject +class PythonQtWrapper_QPdfWriter : public QObject { Q_OBJECT public: -Q_ENUMS(PrintEnginePropertyKey ) -enum PrintEnginePropertyKey{ - PPK_CollateCopies = QPrintEngine::PPK_CollateCopies, PPK_ColorMode = QPrintEngine::PPK_ColorMode, PPK_Creator = QPrintEngine::PPK_Creator, PPK_DocumentName = QPrintEngine::PPK_DocumentName, PPK_FullPage = QPrintEngine::PPK_FullPage, PPK_NumberOfCopies = QPrintEngine::PPK_NumberOfCopies, PPK_Orientation = QPrintEngine::PPK_Orientation, PPK_OutputFileName = QPrintEngine::PPK_OutputFileName, PPK_PageOrder = QPrintEngine::PPK_PageOrder, PPK_PageRect = QPrintEngine::PPK_PageRect, PPK_PageSize = QPrintEngine::PPK_PageSize, PPK_PaperRect = QPrintEngine::PPK_PaperRect, PPK_PaperSource = QPrintEngine::PPK_PaperSource, PPK_PrinterName = QPrintEngine::PPK_PrinterName, PPK_PrinterProgram = QPrintEngine::PPK_PrinterProgram, PPK_Resolution = QPrintEngine::PPK_Resolution, PPK_SelectionOption = QPrintEngine::PPK_SelectionOption, PPK_SupportedResolutions = QPrintEngine::PPK_SupportedResolutions, PPK_WindowsPageSize = QPrintEngine::PPK_WindowsPageSize, PPK_FontEmbedding = QPrintEngine::PPK_FontEmbedding, PPK_Duplex = QPrintEngine::PPK_Duplex, PPK_PaperSources = QPrintEngine::PPK_PaperSources, PPK_CustomPaperSize = QPrintEngine::PPK_CustomPaperSize, PPK_PageMargins = QPrintEngine::PPK_PageMargins, PPK_CopyCount = QPrintEngine::PPK_CopyCount, PPK_SupportsMultipleCopies = QPrintEngine::PPK_SupportsMultipleCopies, PPK_PaperName = QPrintEngine::PPK_PaperName, PPK_QPageSize = QPrintEngine::PPK_QPageSize, PPK_QPageMargins = QPrintEngine::PPK_QPageMargins, PPK_QPageLayout = QPrintEngine::PPK_QPageLayout, PPK_PaperSize = QPrintEngine::PPK_PaperSize, PPK_CustomBase = QPrintEngine::PPK_CustomBase}; public Q_SLOTS: -QPrintEngine* new_QPrintEngine(); -void delete_QPrintEngine(QPrintEngine* obj) { delete obj; } - bool abort(QPrintEngine* theWrappedObject); - bool py_q_abort(QPrintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_abort());} - int metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const; - int py_q_metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_metric(arg__1));} - bool newPage(QPrintEngine* theWrappedObject); - bool py_q_newPage(QPrintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_newPage());} - QPrinter::PrinterState printerState(QPrintEngine* theWrappedObject) const; - QPrinter::PrinterState py_q_printerState(QPrintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_printerState());} - QVariant property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const; - QVariant py_q_property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_property(key));} - void setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value); - void py_q_setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value){ (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_setProperty(key, value));} +QPdfWriter* new_QPdfWriter(QIODevice* device); +QPdfWriter* new_QPdfWriter(const QString& filename); +void delete_QPdfWriter(QPdfWriter* obj) { delete obj; } + QString creator(QPdfWriter* theWrappedObject) const; + int py_q_metric(QPdfWriter* theWrappedObject, QPaintDevice::PaintDeviceMetric id) const{ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_metric(id));} + bool py_q_newPage(QPdfWriter* theWrappedObject){ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_newPage());} + QPaintEngine* py_q_paintEngine(QPdfWriter* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_paintEngine());} + QPagedPaintDevice::PdfVersion pdfVersion(QPdfWriter* theWrappedObject) const; + int resolution(QPdfWriter* theWrappedObject) const; + void setCreator(QPdfWriter* theWrappedObject, const QString& creator); + void py_q_setMargins(QPdfWriter* theWrappedObject, const QPagedPaintDevice::Margins& m){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setMargins(m));} + void py_q_setPageSize(QPdfWriter* theWrappedObject, QPagedPaintDevice::PageSize size){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setPageSize(size));} + void py_q_setPageSizeMM(QPdfWriter* theWrappedObject, const QSizeF& size){ (((PythonQtPublicPromoter_QPdfWriter*)theWrappedObject)->py_q_setPageSizeMM(size));} + void setPdfVersion(QPdfWriter* theWrappedObject, QPagedPaintDevice::PdfVersion version); + void setResolution(QPdfWriter* theWrappedObject, int resolution); + void setTitle(QPdfWriter* theWrappedObject, const QString& title); + QString title(QPdfWriter* theWrappedObject) const; }; diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp similarity index 87% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp index eb83ee93e..a888c7d24 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui6.cpp @@ -1,9 +1,10 @@ -#include "com_trolltech_qt_gui7.h" +#include "com_trolltech_qt_gui6.h" #include #include #include #include #include +#include #include #include #include @@ -16,19 +17,19 @@ #include #include #include +#include #include #include #include #include #include -#include #include -#include -#include #include #include #include +#include #include +#include #include #include #include @@ -43,11 +44,14 @@ #include #include #include +#include #include #include #include #include +#include #include +#include #include #include #include @@ -58,8 +62,11 @@ #include #include #include +#include #include +#include #include +#include #include #include #include @@ -72,51 +79,68 @@ #include #include #include +#include +#include +#include +#include +#include #include #include +#include #include #include #include #include #include -PythonQtShell_QPrintPreviewDialog::~PythonQtShell_QPrintPreviewDialog() { +PythonQtShell_QPicture::~PythonQtShell_QPicture() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QPrintPreviewDialog::accept() +int PythonQtShell_QPicture::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("accept"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::accept(); + return QPicture::devType(); } -void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* event0) +void PythonQtShell_QPicture::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -126,85 +150,230 @@ if (_wrapper) { } } } - QPrintPreviewDialog::actionEvent(event0); + QPicture::initPainter(painter0); } -void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) +int PythonQtShell_QPicture::metric(QPaintDevice::PaintDeviceMetric m0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&m0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::changeEvent(arg__1); + return QPicture::metric(m0); } -void PythonQtShell_QPrintPreviewDialog::childEvent(QChildEvent* event0) +QPaintEngine* PythonQtShell_QPicture::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::childEvent(event0); + return QPicture::paintEngine(); } -void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) +QPaintDevice* PythonQtShell_QPicture::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::closeEvent(arg__1); + return QPicture::redirected(offset0); } -void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg__1) +QPainter* PythonQtShell_QPicture::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPicture::sharedPainter(); +} +QPicture* PythonQtWrapper_QPicture::new_QPicture(const QPicture& arg__1) +{ +return new PythonQtShell_QPicture(arg__1); } + +QPicture* PythonQtWrapper_QPicture::new_QPicture(int formatVersion) +{ +return new PythonQtShell_QPicture(formatVersion); } + +QRect PythonQtWrapper_QPicture::boundingRect(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +const char* PythonQtWrapper_QPicture::data(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +bool PythonQtWrapper_QPicture::isNull(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +bool PythonQtWrapper_QPicture::load(QPicture* theWrappedObject, QIODevice* dev, const char* format) +{ + return ( theWrappedObject->load(dev, format)); +} + +bool PythonQtWrapper_QPicture::load(QPicture* theWrappedObject, const QString& fileName, const char* format) +{ + return ( theWrappedObject->load(fileName, format)); +} + +void PythonQtWrapper_QPicture::writeTo(QPicture* theWrappedObject, QDataStream& arg__1) +{ + arg__1 << (*theWrappedObject); +} + +void PythonQtWrapper_QPicture::readFrom(QPicture* theWrappedObject, QDataStream& arg__1) +{ + arg__1 >> (*theWrappedObject); +} + +bool PythonQtWrapper_QPicture::play(QPicture* theWrappedObject, QPainter* p) +{ + return ( theWrappedObject->play(p)); +} + +bool PythonQtWrapper_QPicture::save(QPicture* theWrappedObject, QIODevice* dev, const char* format) +{ + return ( theWrappedObject->save(dev, format)); +} + +bool PythonQtWrapper_QPicture::save(QPicture* theWrappedObject, const QString& fileName, const char* format) +{ + return ( theWrappedObject->save(fileName, format)); +} + +void PythonQtWrapper_QPicture::setBoundingRect(QPicture* theWrappedObject, const QRect& r) +{ + ( theWrappedObject->setBoundingRect(r)); +} + +uint PythonQtWrapper_QPicture::size(QPicture* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +void PythonQtWrapper_QPicture::swap(QPicture* theWrappedObject, QPicture& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QPictureFormatPlugin::~PythonQtShell_QPictureFormatPlugin() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPictureFormatPlugin::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -214,9 +383,9 @@ if (_wrapper) { } } } - QPrintPreviewDialog::contextMenuEvent(arg__1); + QPictureFormatPlugin::childEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::customEvent(QEvent* event0) +void PythonQtShell_QPictureFormatPlugin::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -236,28 +405,28 @@ if (_wrapper) { } } } - QPrintPreviewDialog::customEvent(event0); + QPictureFormatPlugin::customEvent(event0); } -int PythonQtShell_QPrintPreviewDialog::devType() const +bool PythonQtShell_QPictureFormatPlugin::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -269,105 +438,149 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::devType(); + return QPictureFormatPlugin::event(event0); } -void PythonQtShell_QPrintPreviewDialog::done(int result0) +bool PythonQtShell_QPictureFormatPlugin::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("done"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&result0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::done(result0); + return QPictureFormatPlugin::eventFilter(watched0, event1); } -void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* event0) +bool PythonQtShell_QPictureFormatPlugin::installIOHandler(const QString& format0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + static PyObject* name = PyUnicode_FromString("installIOHandler"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"bool" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&format0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("installIOHandler", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::dragEnterEvent(event0); + return bool(); } -void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* event0) +bool PythonQtShell_QPictureFormatPlugin::loadPicture(const QString& format0, const QString& filename1, QPicture* pic2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + static PyObject* name = PyUnicode_FromString("loadPicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "QPicture*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&format0, (void*)&filename1, (void*)&pic2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("loadPicture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } } } - QPrintPreviewDialog::dragLeaveEvent(event0); + return QPictureFormatPlugin::loadPicture(format0, filename1, pic2); } -void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* event0) +bool PythonQtShell_QPictureFormatPlugin::savePicture(const QString& format0, const QString& filename1, const QPicture& pic2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + static PyObject* name = PyUnicode_FromString("savePicture"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "const QString&" , "const QString&" , "const QPicture&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&format0, (void*)&filename1, (void*)&pic2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("savePicture", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::dragMoveEvent(event0); + return QPictureFormatPlugin::savePicture(format0, filename1, pic2); } -void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QPictureFormatPlugin::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -379,17 +592,189 @@ if (_wrapper) { } } } - QPrintPreviewDialog::dropEvent(event0); + QPictureFormatPlugin::timerEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* event0) +QPictureFormatPlugin* PythonQtWrapper_QPictureFormatPlugin::new_QPictureFormatPlugin(QObject* parent) +{ +return new PythonQtShell_QPictureFormatPlugin(parent); } + +const QMetaObject* PythonQtShell_QPictureFormatPlugin::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPictureFormatPlugin::staticMetaObject); + } else { + return &QPictureFormatPlugin::staticMetaObject; + } +} +int PythonQtShell_QPictureFormatPlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPictureFormatPlugin::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QPictureFormatPlugin::installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format) +{ + return ( theWrappedObject->installIOHandler(format)); +} + +bool PythonQtWrapper_QPictureFormatPlugin::loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic) +{ + return ( theWrappedObject->loadPicture(format, filename, pic)); +} + +bool PythonQtWrapper_QPictureFormatPlugin::savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic) +{ + return ( theWrappedObject->savePicture(format, filename, pic)); +} + + + +QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO() +{ +return new QPictureIO(); } + +QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO(QIODevice* ioDevice, const char* format) +{ +return new QPictureIO(ioDevice, format); } + +QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO(const QString& fileName, const char* format) +{ +return new QPictureIO(fileName, format); } + +QString PythonQtWrapper_QPictureIO::description(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->description()); +} + +QString PythonQtWrapper_QPictureIO::fileName(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +const char* PythonQtWrapper_QPictureIO::format(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +float PythonQtWrapper_QPictureIO::gamma(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->gamma()); +} + +QList PythonQtWrapper_QPictureIO::static_QPictureIO_inputFormats() +{ + return (QPictureIO::inputFormats()); +} + +QIODevice* PythonQtWrapper_QPictureIO::ioDevice(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->ioDevice()); +} + +QList PythonQtWrapper_QPictureIO::static_QPictureIO_outputFormats() +{ + return (QPictureIO::outputFormats()); +} + +const char* PythonQtWrapper_QPictureIO::parameters(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->parameters()); +} + +const QPicture* PythonQtWrapper_QPictureIO::picture(QPictureIO* theWrappedObject) const +{ + return &( theWrappedObject->picture()); +} + +QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(QIODevice* arg__1) +{ + return (QPictureIO::pictureFormat(arg__1)); +} + +QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(const QString& fileName) +{ + return (QPictureIO::pictureFormat(fileName)); +} + +int PythonQtWrapper_QPictureIO::quality(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->quality()); +} + +bool PythonQtWrapper_QPictureIO::read(QPictureIO* theWrappedObject) +{ + return ( theWrappedObject->read()); +} + +void PythonQtWrapper_QPictureIO::setDescription(QPictureIO* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setDescription(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setFileName(QPictureIO* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setFileName(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setFormat(QPictureIO* theWrappedObject, const char* arg__1) +{ + ( theWrappedObject->setFormat(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setGamma(QPictureIO* theWrappedObject, float arg__1) +{ + ( theWrappedObject->setGamma(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1) +{ + ( theWrappedObject->setIODevice(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setParameters(QPictureIO* theWrappedObject, const char* arg__1) +{ + ( theWrappedObject->setParameters(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1) +{ + ( theWrappedObject->setPicture(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setQuality(QPictureIO* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setQuality(arg__1)); +} + +void PythonQtWrapper_QPictureIO::setStatus(QPictureIO* theWrappedObject, int arg__1) +{ + ( theWrappedObject->setStatus(arg__1)); +} + +int PythonQtWrapper_QPictureIO::status(QPictureIO* theWrappedObject) const +{ + return ( theWrappedObject->status()); +} + +bool PythonQtWrapper_QPictureIO::write(QPictureIO* theWrappedObject) +{ + return ( theWrappedObject->write()); +} + + + +PythonQtShell_QPinchGesture::~PythonQtShell_QPinchGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPinchGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -401,59 +786,48 @@ if (_wrapper) { } } } - QPrintPreviewDialog::enterEvent(event0); + QPinchGesture::childEvent(event0); } -bool PythonQtShell_QPrintPreviewDialog::event(QEvent* event0) +void PythonQtShell_QPinchGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewDialog::event(event0); + QPinchGesture::customEvent(event0); } -bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +bool PythonQtShell_QPinchGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -467,28 +841,28 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::eventFilter(arg__1, arg__2); + return QPinchGesture::event(event0); } -int PythonQtShell_QPrintPreviewDialog::exec() +bool PythonQtShell_QPinchGesture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("exec"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -500,17 +874,17 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::exec(); + return QPinchGesture::eventFilter(watched0, event1); } -void PythonQtShell_QPrintPreviewDialog::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QPinchGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -522,83 +896,396 @@ if (_wrapper) { } } } - QPrintPreviewDialog::focusInEvent(event0); + QPinchGesture::timerEvent(event0); } -bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +QPinchGesture* PythonQtWrapper_QPinchGesture::new_QPinchGesture(QObject* parent) +{ +return new PythonQtShell_QPinchGesture(parent); } + +const QMetaObject* PythonQtShell_QPinchGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPinchGesture::staticMetaObject); + } else { + return &QPinchGesture::staticMetaObject; } } - return QPrintPreviewDialog::focusNextPrevChild(next0); +int PythonQtShell_QPinchGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPinchGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* event0) +QPointF PythonQtWrapper_QPinchGesture::centerPoint(QPinchGesture* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->centerPoint()); } - QPrintPreviewDialog::focusOutEvent(event0); + +QPinchGesture::ChangeFlags PythonQtWrapper_QPinchGesture::changeFlags(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->changeFlags()); } -bool PythonQtShell_QPrintPreviewDialog::hasHeightForWidth() const + +QPointF PythonQtWrapper_QPinchGesture::lastCenterPoint(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->lastCenterPoint()); +} + +qreal PythonQtWrapper_QPinchGesture::lastRotationAngle(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->lastRotationAngle()); +} + +qreal PythonQtWrapper_QPinchGesture::lastScaleFactor(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->lastScaleFactor()); +} + +qreal PythonQtWrapper_QPinchGesture::rotationAngle(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->rotationAngle()); +} + +qreal PythonQtWrapper_QPinchGesture::scaleFactor(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->scaleFactor()); +} + +void PythonQtWrapper_QPinchGesture::setCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setCenterPoint(value)); +} + +void PythonQtWrapper_QPinchGesture::setChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value) +{ + ( theWrappedObject->setChangeFlags(value)); +} + +void PythonQtWrapper_QPinchGesture::setLastCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setLastCenterPoint(value)); +} + +void PythonQtWrapper_QPinchGesture::setLastRotationAngle(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setLastRotationAngle(value)); +} + +void PythonQtWrapper_QPinchGesture::setLastScaleFactor(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setLastScaleFactor(value)); +} + +void PythonQtWrapper_QPinchGesture::setRotationAngle(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setRotationAngle(value)); +} + +void PythonQtWrapper_QPinchGesture::setScaleFactor(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setScaleFactor(value)); +} + +void PythonQtWrapper_QPinchGesture::setStartCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value) +{ + ( theWrappedObject->setStartCenterPoint(value)); +} + +void PythonQtWrapper_QPinchGesture::setTotalChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value) +{ + ( theWrappedObject->setTotalChangeFlags(value)); +} + +void PythonQtWrapper_QPinchGesture::setTotalRotationAngle(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setTotalRotationAngle(value)); +} + +void PythonQtWrapper_QPinchGesture::setTotalScaleFactor(QPinchGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setTotalScaleFactor(value)); +} + +QPointF PythonQtWrapper_QPinchGesture::startCenterPoint(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->startCenterPoint()); +} + +QPinchGesture::ChangeFlags PythonQtWrapper_QPinchGesture::totalChangeFlags(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->totalChangeFlags()); +} + +qreal PythonQtWrapper_QPinchGesture::totalRotationAngle(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->totalRotationAngle()); +} + +qreal PythonQtWrapper_QPinchGesture::totalScaleFactor(QPinchGesture* theWrappedObject) const +{ + return ( theWrappedObject->totalScaleFactor()); +} + + + +QPixelFormat* PythonQtWrapper_QPixelFormat::new_QPixelFormat() +{ +return new QPixelFormat(); } + +QPixelFormat* PythonQtWrapper_QPixelFormat::new_QPixelFormat(QPixelFormat::ColorModel colorModel, uchar firstSize, uchar secondSize, uchar thirdSize, uchar fourthSize, uchar fifthSize, uchar alphaSize, QPixelFormat::AlphaUsage alphaUsage, QPixelFormat::AlphaPosition alphaPosition, QPixelFormat::AlphaPremultiplied premultiplied, QPixelFormat::TypeInterpretation typeInterpretation, QPixelFormat::ByteOrder byteOrder, uchar subEnum) +{ +return new QPixelFormat(colorModel, firstSize, secondSize, thirdSize, fourthSize, fifthSize, alphaSize, alphaUsage, alphaPosition, premultiplied, typeInterpretation, byteOrder, subEnum); } + +QPixelFormat::AlphaPosition PythonQtWrapper_QPixelFormat::alphaPosition(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->alphaPosition()); +} + +uchar PythonQtWrapper_QPixelFormat::alphaSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->alphaSize()); +} + +QPixelFormat::AlphaUsage PythonQtWrapper_QPixelFormat::alphaUsage(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->alphaUsage()); +} + +uchar PythonQtWrapper_QPixelFormat::bitsPerPixel(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->bitsPerPixel()); +} + +uchar PythonQtWrapper_QPixelFormat::blackSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->blackSize()); +} + +uchar PythonQtWrapper_QPixelFormat::blueSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->blueSize()); +} + +uchar PythonQtWrapper_QPixelFormat::brightnessSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->brightnessSize()); +} + +QPixelFormat::ByteOrder PythonQtWrapper_QPixelFormat::byteOrder(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->byteOrder()); +} + +uchar PythonQtWrapper_QPixelFormat::channelCount(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->channelCount()); +} + +QPixelFormat::ColorModel PythonQtWrapper_QPixelFormat::colorModel(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->colorModel()); +} + +uchar PythonQtWrapper_QPixelFormat::cyanSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->cyanSize()); +} + +uchar PythonQtWrapper_QPixelFormat::greenSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->greenSize()); +} + +uchar PythonQtWrapper_QPixelFormat::hueSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->hueSize()); +} + +uchar PythonQtWrapper_QPixelFormat::lightnessSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->lightnessSize()); +} + +uchar PythonQtWrapper_QPixelFormat::magentaSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->magentaSize()); +} + +bool PythonQtWrapper_QPixelFormat::__ne__(QPixelFormat* theWrappedObject, QPixelFormat fmt2) +{ + return ( (*theWrappedObject)!= fmt2); +} + +bool PythonQtWrapper_QPixelFormat::__eq__(QPixelFormat* theWrappedObject, QPixelFormat fmt2) +{ + return ( (*theWrappedObject)== fmt2); +} + +QPixelFormat::AlphaPremultiplied PythonQtWrapper_QPixelFormat::premultiplied(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->premultiplied()); +} + +uchar PythonQtWrapper_QPixelFormat::redSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->redSize()); +} + +uchar PythonQtWrapper_QPixelFormat::saturationSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->saturationSize()); +} + +uchar PythonQtWrapper_QPixelFormat::subEnum(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->subEnum()); +} + +QPixelFormat::TypeInterpretation PythonQtWrapper_QPixelFormat::typeInterpretation(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->typeInterpretation()); +} + +uchar PythonQtWrapper_QPixelFormat::yellowSize(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->yellowSize()); +} + +QPixelFormat::YUVLayout PythonQtWrapper_QPixelFormat::yuvLayout(QPixelFormat* theWrappedObject) const +{ + return ( theWrappedObject->yuvLayout()); +} + + + +PythonQtShell_QPixmapCache::~PythonQtShell_QPixmapCache() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QPixmapCache* PythonQtWrapper_QPixmapCache::new_QPixmapCache() +{ +return new PythonQtShell_QPixmapCache(); } + +int PythonQtWrapper_QPixmapCache::static_QPixmapCache_cacheLimit() +{ + return (QPixmapCache::cacheLimit()); +} + +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_clear() +{ + (QPixmapCache::clear()); +} + +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QPixmapCache::Key& key, QPixmap* pixmap) +{ + return (QPixmapCache::find(key, pixmap)); +} + +QPixmap* PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QString& key) +{ + return (QPixmapCache::find(key)); +} + +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QString& key, QPixmap& pixmap) +{ + return (QPixmapCache::find(key, pixmap)); +} + +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_find(const QString& key, QPixmap* pixmap) +{ + return (QPixmapCache::find(key, pixmap)); +} + +QPixmapCache::Key PythonQtWrapper_QPixmapCache::static_QPixmapCache_insert(const QPixmap& pixmap) +{ + return (QPixmapCache::insert(pixmap)); +} + +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_insert(const QString& key, const QPixmap& pixmap) +{ + return (QPixmapCache::insert(key, pixmap)); +} + +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_remove(const QPixmapCache::Key& key) +{ + (QPixmapCache::remove(key)); +} + +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_remove(const QString& key) +{ + (QPixmapCache::remove(key)); +} + +bool PythonQtWrapper_QPixmapCache::static_QPixmapCache_replace(const QPixmapCache::Key& key, const QPixmap& pixmap) +{ + return (QPixmapCache::replace(key, pixmap)); +} + +void PythonQtWrapper_QPixmapCache::static_QPixmapCache_setCacheLimit(int arg__1) +{ + (QPixmapCache::setCacheLimit(arg__1)); +} + + + +QPixmapCache::Key* PythonQtWrapper_QPixmapCache__Key::new_QPixmapCache__Key() +{ +return new QPixmapCache::Key(); } + +QPixmapCache::Key* PythonQtWrapper_QPixmapCache__Key::new_QPixmapCache__Key(const QPixmapCache::Key& other) +{ +return new QPixmapCache::Key(other); } + +bool PythonQtWrapper_QPixmapCache__Key::isValid(QPixmapCache::Key* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QPixmapCache__Key::__ne__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const +{ + return ( (*theWrappedObject)!= key); +} + +QPixmapCache::Key* PythonQtWrapper_QPixmapCache__Key::operator_assign(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QPixmapCache__Key::__eq__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const +{ + return ( (*theWrappedObject)== key); +} + +void PythonQtWrapper_QPixmapCache__Key::swap(QPixmapCache::Key* theWrappedObject, QPixmapCache::Key& other) +{ + ( theWrappedObject->swap(other)); +} + + + +PythonQtShell_QPlainTextDocumentLayout::~PythonQtShell_QPlainTextDocumentLayout() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QRectF PythonQtShell_QPlainTextDocumentLayout::blockBoundingRect(const QTextBlock& block0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + static PyObject* name = PyUnicode_FromString("blockBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"QRectF" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRectF returnValue{}; + void* args[2] = {nullptr, (void*)&block0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("blockBoundingRect", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QRectF*)args[0]); } } } @@ -610,50 +1297,39 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::hasHeightForWidth(); + return QPlainTextDocumentLayout::blockBoundingRect(block0); } -int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const +void PythonQtShell_QPlainTextDocumentLayout::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewDialog::heightForWidth(arg__1); + QPlainTextDocumentLayout::childEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* event0) +void PythonQtShell_QPlainTextDocumentLayout::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -665,19 +1341,19 @@ if (_wrapper) { } } } - QPrintPreviewDialog::hideEvent(event0); + QPlainTextDocumentLayout::customEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::initPainter(QPainter* painter0) const +void PythonQtShell_QPlainTextDocumentLayout::documentChanged(int from0, int arg__2, int charsAdded2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); + static PyObject* name = PyUnicode_FromString("documentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + static const char* argumentList[] ={"" , "int" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&from0, (void*)&arg__2, (void*)&charsAdded2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -687,74 +1363,74 @@ if (_wrapper) { } } } - QPrintPreviewDialog::initPainter(painter0); + QPlainTextDocumentLayout::documentChanged(from0, arg__2, charsAdded2); } -void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg__1) +QSizeF PythonQtShell_QPlainTextDocumentLayout::documentSize() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + static PyObject* name = PyUnicode_FromString("documentSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"QSizeF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSizeF returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("documentSize", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::inputMethodEvent(arg__1); + return QPlainTextDocumentLayout::documentSize(); } -QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QPlainTextDocumentLayout::draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + static PyObject* name = PyUnicode_FromString("draw"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"" , "QPainter*" , "const QAbstractTextDocumentLayout::PaintContext&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewDialog::inputMethodQuery(arg__1); + QPlainTextDocumentLayout::draw(arg__1, arg__2); } -void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QPlainTextDocumentLayout::drawInlineObject(QPainter* painter0, const QRectF& rect1, QTextInlineObject object2, int posInDocument3, const QTextFormat& format4) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("drawInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"" , "QPainter*" , "const QRectF&" , "QTextInlineObject" , "int" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + void* args[6] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&object2, (void*)&posInDocument3, (void*)&format4}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -764,72 +1440,94 @@ if (_wrapper) { } } } - QPrintPreviewDialog::keyPressEvent(arg__1); + QPlainTextDocumentLayout::drawInlineObject(painter0, rect1, object2, posInDocument3, format4); } -void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* event0) +bool PythonQtShell_QPlainTextDocumentLayout::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::keyReleaseEvent(event0); + return QPlainTextDocumentLayout::event(event0); } -void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* event0) +bool PythonQtShell_QPlainTextDocumentLayout::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::leaveEvent(event0); + return QPlainTextDocumentLayout::eventFilter(watched0, event1); } -int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QRectF PythonQtShell_QPlainTextDocumentLayout::frameBoundingRect(QTextFrame* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("frameBoundingRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"QRectF" , "QTextFrame*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; + QRectF returnValue{}; void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("frameBoundingRect", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QRectF*)args[0]); } } } @@ -841,28 +1539,28 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::metric(arg__1); + return QPlainTextDocumentLayout::frameBoundingRect(arg__1); } -QSize PythonQtShell_QPrintPreviewDialog::minimumSizeHint() const +int PythonQtShell_QPlainTextDocumentLayout::hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("hitTest"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"int" , "const QPointF&" , "Qt::HitTestAccuracy"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + int returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hitTest", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -874,41 +1572,52 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::minimumSizeHint(); + return QPlainTextDocumentLayout::hitTest(arg__1, arg__2); } -void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* event0) +int PythonQtShell_QPlainTextDocumentLayout::pageCount() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyUnicode_FromString("pageCount"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pageCount", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::mouseDoubleClickEvent(event0); + return QPlainTextDocumentLayout::pageCount(); } -void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QPlainTextDocumentLayout::positionInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + static PyObject* name = PyUnicode_FromString("positionInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -918,19 +1627,19 @@ if (_wrapper) { } } } - QPrintPreviewDialog::mouseMoveEvent(event0); + QPlainTextDocumentLayout::positionInlineObject(item0, posInDocument1, format2); } -void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QPlainTextDocumentLayout::resizeInlineObject(QTextInlineObject item0, int posInDocument1, const QTextFormat& format2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("resizeInlineObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"" , "QTextInlineObject" , "int" , "const QTextFormat&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&item0, (void*)&posInDocument1, (void*)&format2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -940,17 +1649,17 @@ if (_wrapper) { } } } - QPrintPreviewDialog::mousePressEvent(event0); + QPlainTextDocumentLayout::resizeInlineObject(item0, posInDocument1, format2); } -void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QPlainTextDocumentLayout::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -962,17 +1671,60 @@ if (_wrapper) { } } } - QPrintPreviewDialog::mouseReleaseEvent(event0); + QPlainTextDocumentLayout::timerEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* event0) +QPlainTextDocumentLayout* PythonQtWrapper_QPlainTextDocumentLayout::new_QPlainTextDocumentLayout(QTextDocument* document) +{ +return new PythonQtShell_QPlainTextDocumentLayout(document); } + +const QMetaObject* PythonQtShell_QPlainTextDocumentLayout::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPlainTextDocumentLayout::staticMetaObject); + } else { + return &QPlainTextDocumentLayout::staticMetaObject; + } +} +int PythonQtShell_QPlainTextDocumentLayout::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPlainTextDocumentLayout::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QPlainTextDocumentLayout::cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const +{ + return ( theWrappedObject->cursorWidth()); +} + +void PythonQtWrapper_QPlainTextDocumentLayout::ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const +{ + ( theWrappedObject->ensureBlockLayout(block)); +} + +void PythonQtWrapper_QPlainTextDocumentLayout::requestUpdate(QPlainTextDocumentLayout* theWrappedObject) +{ + ( theWrappedObject->requestUpdate()); +} + +void PythonQtWrapper_QPlainTextDocumentLayout::setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width) +{ + ( theWrappedObject->setCursorWidth(width)); +} + + + +PythonQtShell_QPlainTextEdit::~PythonQtShell_QPlainTextEdit() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPlainTextEdit::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); + static PyObject* name = PyUnicode_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -984,26 +1736,26 @@ if (_wrapper) { } } } - QPrintPreviewDialog::moveEvent(event0); + QPlainTextEdit::actionEvent(event0); } -bool PythonQtShell_QPrintPreviewDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QPlainTextEdit::canInsertFromMimeData(const QMimeData* source0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("canInsertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -1017,50 +1769,39 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::nativeEvent(eventType0, message1, result2); + return QPlainTextEdit::canInsertFromMimeData(source0); } -QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const +void PythonQtShell_QPlainTextEdit::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewDialog::paintEngine(); + QPlainTextEdit::changeEvent(e0); } -void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QPlainTextEdit::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1072,54 +1813,43 @@ if (_wrapper) { } } } - QPrintPreviewDialog::paintEvent(event0); + QPlainTextEdit::childEvent(event0); } -QPaintDevice* PythonQtShell_QPrintPreviewDialog::redirected(QPoint* offset0) const +void PythonQtShell_QPlainTextEdit::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewDialog::redirected(offset0); + QPlainTextEdit::closeEvent(event0); } -void PythonQtShell_QPrintPreviewDialog::reject() +void PythonQtShell_QPlainTextEdit::contextMenuEvent(QContextMenuEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("reject"); + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { @@ -1127,41 +1857,52 @@ if (_wrapper) { } } } - QPrintPreviewDialog::reject(); + QPlainTextEdit::contextMenuEvent(e0); } -void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) +QMimeData* PythonQtShell_QPlainTextEdit::createMimeDataFromSelection() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); + static PyObject* name = PyUnicode_FromString("createMimeDataFromSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QMimeData* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewDialog::resizeEvent(arg__1); + return QPlainTextEdit::createMimeDataFromSelection(); } -void PythonQtShell_QPrintPreviewDialog::setVisible(bool visible0) +void PythonQtShell_QPlainTextEdit::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1171,28 +1912,28 @@ if (_wrapper) { } } } - QPrintPreviewDialog::setVisible(visible0); + QPlainTextEdit::customEvent(event0); } -QPainter* PythonQtShell_QPrintPreviewDialog::sharedPainter() const +int PythonQtShell_QPlainTextEdit::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((int*)args[0]); } } } @@ -1204,19 +1945,19 @@ if (_wrapper) { } } } - return QPrintPreviewDialog::sharedPainter(); + return QPlainTextEdit::devType(); } -void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) +void PythonQtShell_QPlainTextEdit::doSetTextCursor(const QTextCursor& cursor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("doSetTextCursor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "const QTextCursor&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&cursor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1226,52 +1967,41 @@ if (_wrapper) { } } } - QPrintPreviewDialog::showEvent(arg__1); + QPlainTextEdit::doSetTextCursor(cursor0); } -QSize PythonQtShell_QPrintPreviewDialog::sizeHint() const +void PythonQtShell_QPlainTextEdit::dragEnterEvent(QDragEnterEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewDialog::sizeHint(); + QPlainTextEdit::dragEnterEvent(e0); } -void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QPlainTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1281,19 +2011,19 @@ if (_wrapper) { } } } - QPrintPreviewDialog::tabletEvent(event0); + QPlainTextEdit::dragLeaveEvent(e0); } -void PythonQtShell_QPrintPreviewDialog::timerEvent(QTimerEvent* event0) +void PythonQtShell_QPlainTextEdit::dragMoveEvent(QDragMoveEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1303,19 +2033,19 @@ if (_wrapper) { } } } - QPrintPreviewDialog::timerEvent(event0); + QPlainTextEdit::dragMoveEvent(e0); } -void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QPlainTextEdit::dropEvent(QDropEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); + static PyObject* name = PyUnicode_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1325,54 +2055,17 @@ if (_wrapper) { } } } - QPrintPreviewDialog::wheelEvent(event0); -} -QPrintPreviewDialog* PythonQtWrapper_QPrintPreviewDialog::new_QPrintPreviewDialog(QPrinter* printer, QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QPrintPreviewDialog(printer, parent, flags); } - -QPrintPreviewDialog* PythonQtWrapper_QPrintPreviewDialog::new_QPrintPreviewDialog(QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QPrintPreviewDialog(parent, flags); } - -const QMetaObject* PythonQtShell_QPrintPreviewDialog::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintPreviewDialog::staticMetaObject); - } else { - return &QPrintPreviewDialog::staticMetaObject; - } -} -int PythonQtShell_QPrintPreviewDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPrintPreviewDialog::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QPrintPreviewDialog::open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member) -{ - ( theWrappedObject->open(receiver, member)); -} - -QPrinter* PythonQtWrapper_QPrintPreviewDialog::printer(QPrintPreviewDialog* theWrappedObject) -{ - return ( theWrappedObject->printer()); -} - - - -PythonQtShell_QPrintPreviewWidget::~PythonQtShell_QPrintPreviewWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QPlainTextEdit::dropEvent(e0); } -void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* event0) +void PythonQtShell_QPlainTextEdit::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); + static PyObject* name = PyUnicode_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1384,63 +2077,85 @@ if (_wrapper) { } } } - QPrintPreviewWidget::actionEvent(event0); + QPlainTextEdit::enterEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) +bool PythonQtShell_QPlainTextEdit::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::changeEvent(arg__1); + return QPlainTextEdit::event(e0); } -void PythonQtShell_QPrintPreviewWidget::childEvent(QChildEvent* event0) +bool PythonQtShell_QPlainTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::childEvent(event0); + return QPlainTextEdit::eventFilter(arg__1, arg__2); } -void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* event0) +void PythonQtShell_QPlainTextEdit::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1450,41 +2165,52 @@ if (_wrapper) { } } } - QPrintPreviewWidget::closeEvent(event0); + QPlainTextEdit::focusInEvent(e0); } -void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* event0) +bool PythonQtShell_QPlainTextEdit::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::contextMenuEvent(event0); + return QPlainTextEdit::focusNextPrevChild(next0); } -void PythonQtShell_QPrintPreviewWidget::customEvent(QEvent* event0) +void PythonQtShell_QPlainTextEdit::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1494,28 +2220,28 @@ if (_wrapper) { } } } - QPrintPreviewWidget::customEvent(event0); + QPlainTextEdit::focusOutEvent(e0); } -int PythonQtShell_QPrintPreviewWidget::devType() const +bool PythonQtShell_QPlainTextEdit::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -1527,61 +2253,50 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::devType(); + return QPlainTextEdit::hasHeightForWidth(); } -void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* event0) +int PythonQtShell_QPlainTextEdit::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + static PyObject* name = PyUnicode_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::dragEnterEvent(event0); + return QPlainTextEdit::heightForWidth(arg__1); } -void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QPlainTextEdit::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + static PyObject* name = PyUnicode_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPrintPreviewWidget::dragLeaveEvent(event0); -} -void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1593,19 +2308,19 @@ if (_wrapper) { } } } - QPrintPreviewWidget::dragMoveEvent(event0); + QPlainTextEdit::hideEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* event0) +void PythonQtShell_QPlainTextEdit::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1615,19 +2330,19 @@ if (_wrapper) { } } } - QPrintPreviewWidget::dropEvent(event0); + QPlainTextEdit::initPainter(painter0); } -void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* event0) +void PythonQtShell_QPlainTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1637,28 +2352,28 @@ if (_wrapper) { } } } - QPrintPreviewWidget::enterEvent(event0); + QPlainTextEdit::inputMethodEvent(arg__1); } -bool PythonQtShell_QPrintPreviewWidget::event(QEvent* event0) +QVariant PythonQtShell_QPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&property0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } @@ -1670,52 +2385,41 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::event(event0); + return QPlainTextEdit::inputMethodQuery(property0); } -bool PythonQtShell_QPrintPreviewWidget::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QPlainTextEdit::insertFromMimeData(const QMimeData* source0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("insertFromMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"" , "const QMimeData*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&source0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::eventFilter(watched0, event1); + QPlainTextEdit::insertFromMimeData(source0); } -void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QPlainTextEdit::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); + static PyObject* name = PyUnicode_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1725,50 +2429,39 @@ if (_wrapper) { } } } - QPrintPreviewWidget::focusInEvent(event0); + QPlainTextEdit::keyPressEvent(e0); } -bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next0) +void PythonQtShell_QPlainTextEdit::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::focusNextPrevChild(next0); + QPlainTextEdit::keyReleaseEvent(e0); } -void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QPlainTextEdit::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); + static PyObject* name = PyUnicode_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1780,28 +2473,28 @@ if (_wrapper) { } } } - QPrintPreviewWidget::focusOutEvent(event0); + QPlainTextEdit::leaveEvent(event0); } -bool PythonQtShell_QPrintPreviewWidget::hasHeightForWidth() const +QVariant PythonQtShell_QPlainTextEdit::loadResource(int type0, const QUrl& name1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + static PyObject* name = PyUnicode_FromString("loadResource"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } @@ -1813,17 +2506,17 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::hasHeightForWidth(); + return QPlainTextEdit::loadResource(type0, name1); } -int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const +int PythonQtShell_QPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); int returnValue{}; void* args[2] = {nullptr, (void*)&arg__1}; @@ -1832,7 +2525,7 @@ if (_wrapper) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { returnValue = *((int*)args[0]); } @@ -1846,41 +2539,52 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::heightForWidth(arg__1); + return QPlainTextEdit::metric(arg__1); } -void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* event0) +QSize PythonQtShell_QPlainTextEdit::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::hideEvent(event0); + return QPlainTextEdit::minimumSizeHint(); } -void PythonQtShell_QPrintPreviewWidget::initPainter(QPainter* painter0) const +void PythonQtShell_QPlainTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1890,19 +2594,19 @@ if (_wrapper) { } } } - QPrintPreviewWidget::initPainter(painter0); + QPlainTextEdit::mouseDoubleClickEvent(e0); } -void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QPlainTextEdit::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1912,52 +2616,19 @@ if (_wrapper) { } } } - QPrintPreviewWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPrintPreviewWidget::inputMethodQuery(arg__1); + QPlainTextEdit::mouseMoveEvent(e0); } -void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QPlainTextEdit::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1967,19 +2638,19 @@ if (_wrapper) { } } } - QPrintPreviewWidget::keyPressEvent(event0); + QPlainTextEdit::mousePressEvent(e0); } -void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QPlainTextEdit::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1989,17 +2660,17 @@ if (_wrapper) { } } } - QPrintPreviewWidget::keyReleaseEvent(event0); + QPlainTextEdit::mouseReleaseEvent(e0); } -void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QPlainTextEdit::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); + static PyObject* name = PyUnicode_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -2011,28 +2682,28 @@ if (_wrapper) { } } } - QPrintPreviewWidget::leaveEvent(event0); + QPlainTextEdit::moveEvent(event0); } -int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QPlainTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -2044,28 +2715,28 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::metric(arg__1); + return QPlainTextEdit::nativeEvent(eventType0, message1, result2); } -QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const +QPaintEngine* PythonQtShell_QPlainTextEdit::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + QPaintEngine* returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } @@ -2077,19 +2748,19 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::minimumSizeHint(); + return QPlainTextEdit::paintEngine(); } -void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QPlainTextEdit::paintEvent(QPaintEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyUnicode_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2099,41 +2770,52 @@ if (_wrapper) { } } } - QPrintPreviewWidget::mouseDoubleClickEvent(event0); + QPlainTextEdit::paintEvent(e0); } -void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* event0) +QPaintDevice* PythonQtShell_QPlainTextEdit::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPrintPreviewWidget::mouseMoveEvent(event0); + return QPlainTextEdit::redirected(offset0); } -void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QPlainTextEdit::resizeEvent(QResizeEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2143,19 +2825,19 @@ if (_wrapper) { } } } - QPrintPreviewWidget::mousePressEvent(event0); + QPlainTextEdit::resizeEvent(e0); } -void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QPlainTextEdit::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2165,19 +2847,19 @@ if (_wrapper) { } } } - QPrintPreviewWidget::mouseReleaseEvent(event0); + QPlainTextEdit::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* event0) +void PythonQtShell_QPlainTextEdit::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); + static PyObject* name = PyUnicode_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2187,61 +2869,50 @@ if (_wrapper) { } } } - QPrintPreviewWidget::moveEvent(event0); + QPlainTextEdit::setVisible(visible0); } -bool PythonQtShell_QPrintPreviewWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QPlainTextEdit::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPrintPreviewWidget::nativeEvent(eventType0, message1, result2); + QPlainTextEdit::setupViewport(viewport0); } -QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const +QPainter* PythonQtShell_QPlainTextEdit::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; + QPainter* returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((QPainter**)args[0]); } } } @@ -2253,19 +2924,19 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::paintEngine(); + return QPlainTextEdit::sharedPainter(); } -void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* event0) +void PythonQtShell_QPlainTextEdit::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2275,28 +2946,28 @@ if (_wrapper) { } } } - QPrintPreviewWidget::paintEvent(event0); + QPlainTextEdit::showEvent(arg__1); } -QPaintDevice* PythonQtShell_QPrintPreviewWidget::redirected(QPoint* offset0) const +QSize PythonQtShell_QPlainTextEdit::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -2308,17 +2979,17 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::redirected(offset0); + return QPlainTextEdit::sizeHint(); } -void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QPlainTextEdit::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); + static PyObject* name = PyUnicode_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -2330,19 +3001,19 @@ if (_wrapper) { } } } - QPrintPreviewWidget::resizeEvent(event0); + QPlainTextEdit::tabletEvent(event0); } -void PythonQtShell_QPrintPreviewWidget::setVisible(bool visible0) +void PythonQtShell_QPlainTextEdit::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2352,28 +3023,28 @@ if (_wrapper) { } } } - QPrintPreviewWidget::setVisible(visible0); + QPlainTextEdit::timerEvent(e0); } -QPainter* PythonQtShell_QPrintPreviewWidget::sharedPainter() const +bool PythonQtShell_QPlainTextEdit::viewportEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -2385,36 +3056,14 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::sharedPainter(); -} -void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPrintPreviewWidget::showEvent(event0); + return QPlainTextEdit::viewportEvent(arg__1); } -QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const +QSize PythonQtShell_QPlainTextEdit::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); + static PyObject* name = PyUnicode_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -2426,7 +3075,7 @@ if (_wrapper) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } @@ -2440,53 +3089,9 @@ if (_wrapper) { } } } - return QPrintPreviewWidget::sizeHint(); -} -void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPrintPreviewWidget::tabletEvent(event0); -} -void PythonQtShell_QPrintPreviewWidget::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPrintPreviewWidget::timerEvent(event0); + return QPlainTextEdit::viewportSizeHint(); } -void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QPlainTextEdit::wheelEvent(QWheelEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -2496,7 +3101,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2506,1236 +3111,784 @@ if (_wrapper) { } } } - QPrintPreviewWidget::wheelEvent(event0); + QPlainTextEdit::wheelEvent(e0); } -QPrintPreviewWidget* PythonQtWrapper_QPrintPreviewWidget::new_QPrintPreviewWidget(QPrinter* printer, QWidget* parent, Qt::WindowFlags flags) +QPlainTextEdit* PythonQtWrapper_QPlainTextEdit::new_QPlainTextEdit(QWidget* parent) { -return new PythonQtShell_QPrintPreviewWidget(printer, parent, flags); } +return new PythonQtShell_QPlainTextEdit(parent); } -QPrintPreviewWidget* PythonQtWrapper_QPrintPreviewWidget::new_QPrintPreviewWidget(QWidget* parent, Qt::WindowFlags flags) +QPlainTextEdit* PythonQtWrapper_QPlainTextEdit::new_QPlainTextEdit(const QString& text, QWidget* parent) { -return new PythonQtShell_QPrintPreviewWidget(parent, flags); } +return new PythonQtShell_QPlainTextEdit(text, parent); } -const QMetaObject* PythonQtShell_QPrintPreviewWidget::metaObject() const { +const QMetaObject* PythonQtShell_QPlainTextEdit::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintPreviewWidget::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPlainTextEdit::staticMetaObject); } else { - return &QPrintPreviewWidget::staticMetaObject; + return &QPlainTextEdit::staticMetaObject; } } -int PythonQtShell_QPrintPreviewWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPrintPreviewWidget::qt_metacall(call, id, args); +int PythonQtShell_QPlainTextEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPlainTextEdit::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -int PythonQtWrapper_QPrintPreviewWidget::currentPage(QPrintPreviewWidget* theWrappedObject) const +QString PythonQtWrapper_QPlainTextEdit::anchorAt(QPlainTextEdit* theWrappedObject, const QPoint& pos) const { - return ( theWrappedObject->currentPage()); + return ( theWrappedObject->anchorAt(pos)); } -QPrinter::Orientation PythonQtWrapper_QPrintPreviewWidget::orientation(QPrintPreviewWidget* theWrappedObject) const +bool PythonQtWrapper_QPlainTextEdit::backgroundVisible(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->orientation()); + return ( theWrappedObject->backgroundVisible()); } -int PythonQtWrapper_QPrintPreviewWidget::pageCount(QPrintPreviewWidget* theWrappedObject) const +QRectF PythonQtWrapper_QPlainTextEdit::blockBoundingGeometry(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const { - return ( theWrappedObject->pageCount()); + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_blockBoundingGeometry(block)); } -QPrintPreviewWidget::ViewMode PythonQtWrapper_QPrintPreviewWidget::viewMode(QPrintPreviewWidget* theWrappedObject) const +QRectF PythonQtWrapper_QPlainTextEdit::blockBoundingRect(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const { - return ( theWrappedObject->viewMode()); + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_blockBoundingRect(block)); } -qreal PythonQtWrapper_QPrintPreviewWidget::zoomFactor(QPrintPreviewWidget* theWrappedObject) const +int PythonQtWrapper_QPlainTextEdit::blockCount(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->zoomFactor()); + return ( theWrappedObject->blockCount()); } -QPrintPreviewWidget::ZoomMode PythonQtWrapper_QPrintPreviewWidget::zoomMode(QPrintPreviewWidget* theWrappedObject) const +bool PythonQtWrapper_QPlainTextEdit::canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const { - return ( theWrappedObject->zoomMode()); + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); } +bool PythonQtWrapper_QPlainTextEdit::canPaste(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->canPaste()); +} +bool PythonQtWrapper_QPlainTextEdit::centerOnScroll(QPlainTextEdit* theWrappedObject) const +{ + return ( theWrappedObject->centerOnScroll()); +} -PythonQtShell_QPrinter::~PythonQtShell_QPrinter() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QPointF PythonQtWrapper_QPlainTextEdit::contentOffset(QPlainTextEdit* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_contentOffset()); } -int PythonQtShell_QPrinter::devType() const + +QMimeData* PythonQtWrapper_QPlainTextEdit::createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPrinter::devType(); -} -void PythonQtShell_QPrinter::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPrinter::initPainter(painter0); -} -int PythonQtShell_QPrinter::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPrinter::metric(arg__1); -} -bool PythonQtShell_QPrinter::newPage() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("newPage"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPrinter::newPage(); -} -QPaintEngine* PythonQtShell_QPrinter::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); } - return QPrinter::paintEngine(); -} -QPaintDevice* PythonQtShell_QPrinter::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPrinter::redirected(offset0); -} -void PythonQtShell_QPrinter::setMargins(const QPagedPaintDevice::Margins& m0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setMargins"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&m0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPrinter::setMargins(m0); -} -void PythonQtShell_QPrinter::setPageSize(QPagedPaintDevice::PageSize arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setPageSize"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPrinter::setPageSize(arg__1); -} -void PythonQtShell_QPrinter::setPageSizeMM(const QSizeF& size0) + +QMenu* PythonQtWrapper_QPlainTextEdit::createStandardContextMenu(QPlainTextEdit* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setPageSizeMM"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QSizeF&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&size0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPrinter::setPageSizeMM(size0); + return ( theWrappedObject->createStandardContextMenu()); } -QPainter* PythonQtShell_QPrinter::sharedPainter() const + +QMenu* PythonQtWrapper_QPlainTextEdit::createStandardContextMenu(QPlainTextEdit* theWrappedObject, const QPoint& position) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QPrinter::sharedPainter(); + return ( theWrappedObject->createStandardContextMenu(position)); } -QPrinter* PythonQtWrapper_QPrinter::new_QPrinter(QPrinter::PrinterMode mode) -{ -return new PythonQtShell_QPrinter(mode); } - -QPrinter* PythonQtWrapper_QPrinter::new_QPrinter(const QPrinterInfo& printer, QPrinter::PrinterMode mode) -{ -return new PythonQtShell_QPrinter(printer, mode); } -bool PythonQtWrapper_QPrinter::abort(QPrinter* theWrappedObject) +QTextCharFormat PythonQtWrapper_QPlainTextEdit::currentCharFormat(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->abort()); + return ( theWrappedObject->currentCharFormat()); } -int PythonQtWrapper_QPrinter::actualNumCopies(QPrinter* theWrappedObject) const +QTextCursor PythonQtWrapper_QPlainTextEdit::cursorForPosition(QPlainTextEdit* theWrappedObject, const QPoint& pos) const { - return ( theWrappedObject->actualNumCopies()); + return ( theWrappedObject->cursorForPosition(pos)); } -bool PythonQtWrapper_QPrinter::collateCopies(QPrinter* theWrappedObject) const +QRect PythonQtWrapper_QPlainTextEdit::cursorRect(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->collateCopies()); + return ( theWrappedObject->cursorRect()); } -QPrinter::ColorMode PythonQtWrapper_QPrinter::colorMode(QPrinter* theWrappedObject) const +QRect PythonQtWrapper_QPlainTextEdit::cursorRect(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) const { - return ( theWrappedObject->colorMode()); + return ( theWrappedObject->cursorRect(cursor)); } -int PythonQtWrapper_QPrinter::copyCount(QPrinter* theWrappedObject) const +int PythonQtWrapper_QPlainTextEdit::cursorWidth(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->copyCount()); + return ( theWrappedObject->cursorWidth()); } -QString PythonQtWrapper_QPrinter::creator(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) { - return ( theWrappedObject->creator()); + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); } -QString PythonQtWrapper_QPrinter::docName(QPrinter* theWrappedObject) const +QTextDocument* PythonQtWrapper_QPlainTextEdit::document(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->docName()); + return ( theWrappedObject->document()); } -bool PythonQtWrapper_QPrinter::doubleSidedPrinting(QPrinter* theWrappedObject) const +QString PythonQtWrapper_QPlainTextEdit::documentTitle(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->doubleSidedPrinting()); + return ( theWrappedObject->documentTitle()); } -QPrinter::DuplexMode PythonQtWrapper_QPrinter::duplex(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::ensureCursorVisible(QPlainTextEdit* theWrappedObject) { - return ( theWrappedObject->duplex()); + ( theWrappedObject->ensureCursorVisible()); } -bool PythonQtWrapper_QPrinter::fontEmbeddingEnabled(QPrinter* theWrappedObject) const +QList PythonQtWrapper_QPlainTextEdit::extraSelections(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->fontEmbeddingEnabled()); + return ( theWrappedObject->extraSelections()); } -int PythonQtWrapper_QPrinter::fromPage(QPrinter* theWrappedObject) const +bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) { - return ( theWrappedObject->fromPage()); + return ( theWrappedObject->find(exp, options)); } -bool PythonQtWrapper_QPrinter::fullPage(QPrinter* theWrappedObject) const +bool PythonQtWrapper_QPlainTextEdit::find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) { - return ( theWrappedObject->fullPage()); + return ( theWrappedObject->find(exp, options)); } -void PythonQtWrapper_QPrinter::getPageMargins(QPrinter* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom, QPrinter::Unit unit) const +QTextBlock PythonQtWrapper_QPlainTextEdit::firstVisibleBlock(QPlainTextEdit* theWrappedObject) const { - ( theWrappedObject->getPageMargins(left, top, right, bottom, unit)); + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_firstVisibleBlock()); } -bool PythonQtWrapper_QPrinter::isValid(QPrinter* theWrappedObject) const +QAbstractTextDocumentLayout::PaintContext PythonQtWrapper_QPlainTextEdit::getPaintContext(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_getPaintContext()); } -int PythonQtWrapper_QPrinter::numCopies(QPrinter* theWrappedObject) const +QVariant PythonQtWrapper_QPlainTextEdit::inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const { - return ( theWrappedObject->numCopies()); + return ( theWrappedObject->inputMethodQuery(query, argument)); } -QPrinter::Orientation PythonQtWrapper_QPrinter::orientation(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) { - return ( theWrappedObject->orientation()); + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); } -QString PythonQtWrapper_QPrinter::outputFileName(QPrinter* theWrappedObject) const +bool PythonQtWrapper_QPlainTextEdit::isReadOnly(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->outputFileName()); + return ( theWrappedObject->isReadOnly()); } -QPrinter::OutputFormat PythonQtWrapper_QPrinter::outputFormat(QPrinter* theWrappedObject) const +bool PythonQtWrapper_QPlainTextEdit::isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->outputFormat()); + return ( theWrappedObject->isUndoRedoEnabled()); } -QPrinter::PageOrder PythonQtWrapper_QPrinter::pageOrder(QPrinter* theWrappedObject) const +QPlainTextEdit::LineWrapMode PythonQtWrapper_QPlainTextEdit::lineWrapMode(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->pageOrder()); + return ( theWrappedObject->lineWrapMode()); } -QRect PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject) const +QVariant PythonQtWrapper_QPlainTextEdit::loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name) { - return ( theWrappedObject->pageRect()); + return ( theWrappedObject->loadResource(type, name)); } -QRectF PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const +int PythonQtWrapper_QPlainTextEdit::maximumBlockCount(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->pageRect(arg__1)); + return ( theWrappedObject->maximumBlockCount()); } -QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::pageSize(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier) { - return ( theWrappedObject->pageSize()); + ( theWrappedObject->mergeCurrentCharFormat(modifier)); } -QString PythonQtWrapper_QPrinter::paperName(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) { - return ( theWrappedObject->paperName()); + ( theWrappedObject->moveCursor(operation, mode)); } -QRect PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject) const +bool PythonQtWrapper_QPlainTextEdit::overwriteMode(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->paperRect()); + return ( theWrappedObject->overwriteMode()); } -QRectF PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const +QString PythonQtWrapper_QPlainTextEdit::placeholderText(QPlainTextEdit* theWrappedObject) const { - return ( theWrappedObject->paperRect(arg__1)); + return ( theWrappedObject->placeholderText()); } -QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::print(QPlainTextEdit* theWrappedObject, QPagedPaintDevice* printer) const { - return ( theWrappedObject->paperSize()); + ( theWrappedObject->print(printer)); } -QSizeF PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject, QPrinter::Unit unit) const +void PythonQtWrapper_QPlainTextEdit::setBackgroundVisible(QPlainTextEdit* theWrappedObject, bool visible) { - return ( theWrappedObject->paperSize(unit)); + ( theWrappedObject->setBackgroundVisible(visible)); } -QPrinter::PaperSource PythonQtWrapper_QPrinter::paperSource(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::setCenterOnScroll(QPlainTextEdit* theWrappedObject, bool enabled) { - return ( theWrappedObject->paperSource()); + ( theWrappedObject->setCenterOnScroll(enabled)); } -QPagedPaintDevice::PdfVersion PythonQtWrapper_QPrinter::pdfVersion(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::setCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& format) { - return ( theWrappedObject->pdfVersion()); + ( theWrappedObject->setCurrentCharFormat(format)); } -QPrintEngine* PythonQtWrapper_QPrinter::printEngine(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::setCursorWidth(QPlainTextEdit* theWrappedObject, int width) { - return ( theWrappedObject->printEngine()); + ( theWrappedObject->setCursorWidth(width)); } -QString PythonQtWrapper_QPrinter::printProgram(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::setDocument(QPlainTextEdit* theWrappedObject, QTextDocument* document) { - return ( theWrappedObject->printProgram()); + ( theWrappedObject->setDocument(document)); } -QPrinter::PrintRange PythonQtWrapper_QPrinter::printRange(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::setDocumentTitle(QPlainTextEdit* theWrappedObject, const QString& title) { - return ( theWrappedObject->printRange()); + ( theWrappedObject->setDocumentTitle(title)); } -QString PythonQtWrapper_QPrinter::printerName(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::setExtraSelections(QPlainTextEdit* theWrappedObject, const QList& selections) { - return ( theWrappedObject->printerName()); + ( theWrappedObject->setExtraSelections(selections)); } -QPrinter::PrinterState PythonQtWrapper_QPrinter::printerState(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::setLineWrapMode(QPlainTextEdit* theWrappedObject, QPlainTextEdit::LineWrapMode mode) { - return ( theWrappedObject->printerState()); + ( theWrappedObject->setLineWrapMode(mode)); } -int PythonQtWrapper_QPrinter::resolution(QPrinter* theWrappedObject) const +void PythonQtWrapper_QPlainTextEdit::setMaximumBlockCount(QPlainTextEdit* theWrappedObject, int maximum) { - return ( theWrappedObject->resolution()); + ( theWrappedObject->setMaximumBlockCount(maximum)); } -void PythonQtWrapper_QPrinter::setCollateCopies(QPrinter* theWrappedObject, bool collate) +void PythonQtWrapper_QPlainTextEdit::setOverwriteMode(QPlainTextEdit* theWrappedObject, bool overwrite) { - ( theWrappedObject->setCollateCopies(collate)); + ( theWrappedObject->setOverwriteMode(overwrite)); } -void PythonQtWrapper_QPrinter::setColorMode(QPrinter* theWrappedObject, QPrinter::ColorMode arg__1) +void PythonQtWrapper_QPlainTextEdit::setPlaceholderText(QPlainTextEdit* theWrappedObject, const QString& placeholderText) { - ( theWrappedObject->setColorMode(arg__1)); + ( theWrappedObject->setPlaceholderText(placeholderText)); } -void PythonQtWrapper_QPrinter::setCopyCount(QPrinter* theWrappedObject, int arg__1) +void PythonQtWrapper_QPlainTextEdit::setReadOnly(QPlainTextEdit* theWrappedObject, bool ro) { - ( theWrappedObject->setCopyCount(arg__1)); + ( theWrappedObject->setReadOnly(ro)); } -void PythonQtWrapper_QPrinter::setCreator(QPrinter* theWrappedObject, const QString& arg__1) +void PythonQtWrapper_QPlainTextEdit::setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b) { - ( theWrappedObject->setCreator(arg__1)); + ( theWrappedObject->setTabChangesFocus(b)); } -void PythonQtWrapper_QPrinter::setDocName(QPrinter* theWrappedObject, const QString& arg__1) +void PythonQtWrapper_QPlainTextEdit::setTabStopDistance(QPlainTextEdit* theWrappedObject, qreal distance) { - ( theWrappedObject->setDocName(arg__1)); + ( theWrappedObject->setTabStopDistance(distance)); } -void PythonQtWrapper_QPrinter::setDoubleSidedPrinting(QPrinter* theWrappedObject, bool enable) +void PythonQtWrapper_QPlainTextEdit::setTabStopWidth(QPlainTextEdit* theWrappedObject, int width) { - ( theWrappedObject->setDoubleSidedPrinting(enable)); + ( theWrappedObject->setTabStopWidth(width)); } -void PythonQtWrapper_QPrinter::setDuplex(QPrinter* theWrappedObject, QPrinter::DuplexMode duplex) +void PythonQtWrapper_QPlainTextEdit::setTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) { - ( theWrappedObject->setDuplex(duplex)); + ( theWrappedObject->setTextCursor(cursor)); } -void PythonQtWrapper_QPrinter::setEngines(QPrinter* theWrappedObject, QPrintEngine* printEngine, QPaintEngine* paintEngine) +void PythonQtWrapper_QPlainTextEdit::setTextInteractionFlags(QPlainTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) { - ( ((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->promoted_setEngines(printEngine, paintEngine)); + ( theWrappedObject->setTextInteractionFlags(flags)); } -void PythonQtWrapper_QPrinter::setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable) +void PythonQtWrapper_QPlainTextEdit::setUndoRedoEnabled(QPlainTextEdit* theWrappedObject, bool enable) { - ( theWrappedObject->setFontEmbeddingEnabled(enable)); + ( theWrappedObject->setUndoRedoEnabled(enable)); } -void PythonQtWrapper_QPrinter::setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage) +void PythonQtWrapper_QPlainTextEdit::setWordWrapMode(QPlainTextEdit* theWrappedObject, QTextOption::WrapMode policy) { - ( theWrappedObject->setFromTo(fromPage, toPage)); + ( theWrappedObject->setWordWrapMode(policy)); } -void PythonQtWrapper_QPrinter::setFullPage(QPrinter* theWrappedObject, bool arg__1) +bool PythonQtWrapper_QPlainTextEdit::tabChangesFocus(QPlainTextEdit* theWrappedObject) const { - ( theWrappedObject->setFullPage(arg__1)); + return ( theWrappedObject->tabChangesFocus()); } -void PythonQtWrapper_QPrinter::setNumCopies(QPrinter* theWrappedObject, int arg__1) +qreal PythonQtWrapper_QPlainTextEdit::tabStopDistance(QPlainTextEdit* theWrappedObject) const { - ( theWrappedObject->setNumCopies(arg__1)); + return ( theWrappedObject->tabStopDistance()); } -void PythonQtWrapper_QPrinter::setOrientation(QPrinter* theWrappedObject, QPrinter::Orientation arg__1) +int PythonQtWrapper_QPlainTextEdit::tabStopWidth(QPlainTextEdit* theWrappedObject) const { - ( theWrappedObject->setOrientation(arg__1)); + return ( theWrappedObject->tabStopWidth()); } -void PythonQtWrapper_QPrinter::setOutputFileName(QPrinter* theWrappedObject, const QString& arg__1) +QTextCursor PythonQtWrapper_QPlainTextEdit::textCursor(QPlainTextEdit* theWrappedObject) const { - ( theWrappedObject->setOutputFileName(arg__1)); + return ( theWrappedObject->textCursor()); } -void PythonQtWrapper_QPrinter::setOutputFormat(QPrinter* theWrappedObject, QPrinter::OutputFormat format) +Qt::TextInteractionFlags PythonQtWrapper_QPlainTextEdit::textInteractionFlags(QPlainTextEdit* theWrappedObject) const { - ( theWrappedObject->setOutputFormat(format)); + return ( theWrappedObject->textInteractionFlags()); } -void PythonQtWrapper_QPrinter::setPageMargins(QPrinter* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit) +QString PythonQtWrapper_QPlainTextEdit::toPlainText(QPlainTextEdit* theWrappedObject) const { - ( theWrappedObject->setPageMargins(left, top, right, bottom, unit)); + return ( theWrappedObject->toPlainText()); } -void PythonQtWrapper_QPrinter::setPageOrder(QPrinter* theWrappedObject, QPrinter::PageOrder arg__1) +QTextOption::WrapMode PythonQtWrapper_QPlainTextEdit::wordWrapMode(QPlainTextEdit* theWrappedObject) const { - ( theWrappedObject->setPageOrder(arg__1)); + return ( theWrappedObject->wordWrapMode()); } -void PythonQtWrapper_QPrinter::setPaperName(QPrinter* theWrappedObject, const QString& paperName) +void PythonQtWrapper_QPlainTextEdit::zoomInF(QPlainTextEdit* theWrappedObject, float range) { - ( theWrappedObject->setPaperName(paperName)); + ( ((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->promoted_zoomInF(range)); } -void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, QPagedPaintDevice::PageSize arg__1) -{ - ( theWrappedObject->setPaperSize(arg__1)); + + +PythonQtShell_QPlatformSurfaceEvent::~PythonQtShell_QPlatformSurfaceEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QPlatformSurfaceEvent* PythonQtWrapper_QPlatformSurfaceEvent::new_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType) +{ +return new PythonQtShell_QPlatformSurfaceEvent(surfaceEventType); } -void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit) +QPlatformSurfaceEvent::SurfaceEventType PythonQtWrapper_QPlatformSurfaceEvent::surfaceEventType(QPlatformSurfaceEvent* theWrappedObject) const { - ( theWrappedObject->setPaperSize(paperSize, unit)); + return ( theWrappedObject->surfaceEventType()); } -void PythonQtWrapper_QPrinter::setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1) + + +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF() +{ +return new QPolygonF(); } + +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QPolygon& a) +{ +return new QPolygonF(a); } + +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QPolygonF& a) +{ +return new QPolygonF(a); } + +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QRectF& r) +{ +return new QPolygonF(r); } + +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(const QVector& v) +{ +return new QPolygonF(v); } + +QPolygonF* PythonQtWrapper_QPolygonF::new_QPolygonF(int size) +{ +return new QPolygonF(size); } + +void PythonQtWrapper_QPolygonF::append(QPolygonF* theWrappedObject, const QPointF& t) { - ( theWrappedObject->setPaperSource(arg__1)); + ( theWrappedObject->append(t)); } -void PythonQtWrapper_QPrinter::setPdfVersion(QPrinter* theWrappedObject, QPagedPaintDevice::PdfVersion version) +void PythonQtWrapper_QPolygonF::append(QPolygonF* theWrappedObject, const QVector& l) { - ( theWrappedObject->setPdfVersion(version)); + ( theWrappedObject->append(l)); } -void PythonQtWrapper_QPrinter::setPrintProgram(QPrinter* theWrappedObject, const QString& arg__1) +const QPointF* PythonQtWrapper_QPolygonF::at(QPolygonF* theWrappedObject, int i) const { - ( theWrappedObject->setPrintProgram(arg__1)); + return &( theWrappedObject->at(i)); } -void PythonQtWrapper_QPrinter::setPrintRange(QPrinter* theWrappedObject, QPrinter::PrintRange range) +QRectF PythonQtWrapper_QPolygonF::boundingRect(QPolygonF* theWrappedObject) const { - ( theWrappedObject->setPrintRange(range)); + return ( theWrappedObject->boundingRect()); } -void PythonQtWrapper_QPrinter::setPrinterName(QPrinter* theWrappedObject, const QString& arg__1) +int PythonQtWrapper_QPolygonF::capacity(QPolygonF* theWrappedObject) const { - ( theWrappedObject->setPrinterName(arg__1)); + return ( theWrappedObject->capacity()); } -void PythonQtWrapper_QPrinter::setResolution(QPrinter* theWrappedObject, int arg__1) +void PythonQtWrapper_QPolygonF::clear(QPolygonF* theWrappedObject) { - ( theWrappedObject->setResolution(arg__1)); + ( theWrappedObject->clear()); } -void PythonQtWrapper_QPrinter::setWinPageSize(QPrinter* theWrappedObject, int winPageSize) +const QPointF* PythonQtWrapper_QPolygonF::constFirst(QPolygonF* theWrappedObject) const { - ( theWrappedObject->setWinPageSize(winPageSize)); + return &( theWrappedObject->constFirst()); } -QList PythonQtWrapper_QPrinter::supportedResolutions(QPrinter* theWrappedObject) const +const QPointF* PythonQtWrapper_QPolygonF::constLast(QPolygonF* theWrappedObject) const { - return ( theWrappedObject->supportedResolutions()); + return &( theWrappedObject->constLast()); } -bool PythonQtWrapper_QPrinter::supportsMultipleCopies(QPrinter* theWrappedObject) const +bool PythonQtWrapper_QPolygonF::contains(QPolygonF* theWrappedObject, const QPointF& t) const { - return ( theWrappedObject->supportsMultipleCopies()); + return ( theWrappedObject->contains(t)); } -int PythonQtWrapper_QPrinter::toPage(QPrinter* theWrappedObject) const +bool PythonQtWrapper_QPolygonF::containsPoint(QPolygonF* theWrappedObject, const QPointF& pt, Qt::FillRule fillRule) const { - return ( theWrappedObject->toPage()); + return ( theWrappedObject->containsPoint(pt, fillRule)); } -int PythonQtWrapper_QPrinter::winPageSize(QPrinter* theWrappedObject) const +int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject) const { - return ( theWrappedObject->winPageSize()); + return ( theWrappedObject->count()); } +int PythonQtWrapper_QPolygonF::count(QPolygonF* theWrappedObject, const QPointF& t) const +{ + return ( theWrappedObject->count(t)); +} - -QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo() -{ -return new QPrinterInfo(); } - -QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo(const QPrinter& printer) -{ -return new QPrinterInfo(printer); } - -QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo(const QPrinterInfo& other) -{ -return new QPrinterInfo(other); } - -QStringList PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_availablePrinterNames() +bool PythonQtWrapper_QPolygonF::empty(QPolygonF* theWrappedObject) const { - return (QPrinterInfo::availablePrinterNames()); + return ( theWrappedObject->empty()); } -QList PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_availablePrinters() +bool PythonQtWrapper_QPolygonF::endsWith(QPolygonF* theWrappedObject, const QPointF& t) const { - return (QPrinterInfo::availablePrinters()); + return ( theWrappedObject->endsWith(t)); } -QPrinter::DuplexMode PythonQtWrapper_QPrinterInfo::defaultDuplexMode(QPrinterInfo* theWrappedObject) const +QVector* PythonQtWrapper_QPolygonF::fill(QPolygonF* theWrappedObject, const QPointF& t, int size) { - return ( theWrappedObject->defaultDuplexMode()); + return &( theWrappedObject->fill(t, size)); } -QPageSize PythonQtWrapper_QPrinterInfo::defaultPageSize(QPrinterInfo* theWrappedObject) const +const QPointF* PythonQtWrapper_QPolygonF::first(QPolygonF* theWrappedObject) const { - return ( theWrappedObject->defaultPageSize()); + return &( theWrappedObject->first()); } -QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinter() +QVector PythonQtWrapper_QPolygonF::static_QPolygonF_fromList(const QList& list) { - return (QPrinterInfo::defaultPrinter()); + return (QPolygonF::fromList(list)); } -QString PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinterName() +int PythonQtWrapper_QPolygonF::indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const { - return (QPrinterInfo::defaultPrinterName()); + return ( theWrappedObject->indexOf(t, from)); } -QString PythonQtWrapper_QPrinterInfo::description(QPrinterInfo* theWrappedObject) const +QPolygonF PythonQtWrapper_QPolygonF::intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const { - return ( theWrappedObject->description()); + return ( theWrappedObject->intersected(r)); } -bool PythonQtWrapper_QPrinterInfo::isDefault(QPrinterInfo* theWrappedObject) const +bool PythonQtWrapper_QPolygonF::intersects(QPolygonF* theWrappedObject, const QPolygonF& r) const { - return ( theWrappedObject->isDefault()); + return ( theWrappedObject->intersects(r)); } -bool PythonQtWrapper_QPrinterInfo::isNull(QPrinterInfo* theWrappedObject) const +bool PythonQtWrapper_QPolygonF::isClosed(QPolygonF* theWrappedObject) const { - return ( theWrappedObject->isNull()); + return ( theWrappedObject->isClosed()); } -bool PythonQtWrapper_QPrinterInfo::isRemote(QPrinterInfo* theWrappedObject) const +bool PythonQtWrapper_QPolygonF::isEmpty(QPolygonF* theWrappedObject) const { - return ( theWrappedObject->isRemote()); + return ( theWrappedObject->isEmpty()); } -QString PythonQtWrapper_QPrinterInfo::location(QPrinterInfo* theWrappedObject) const +bool PythonQtWrapper_QPolygonF::isSharedWith(QPolygonF* theWrappedObject, const QVector& other) const { - return ( theWrappedObject->location()); + return ( theWrappedObject->isSharedWith(other)); } -QString PythonQtWrapper_QPrinterInfo::makeAndModel(QPrinterInfo* theWrappedObject) const +const QPointF* PythonQtWrapper_QPolygonF::last(QPolygonF* theWrappedObject) const { - return ( theWrappedObject->makeAndModel()); + return &( theWrappedObject->last()); } -QPageSize PythonQtWrapper_QPrinterInfo::maximumPhysicalPageSize(QPrinterInfo* theWrappedObject) const +int PythonQtWrapper_QPolygonF::lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from) const { - return ( theWrappedObject->maximumPhysicalPageSize()); + return ( theWrappedObject->lastIndexOf(t, from)); } -QPageSize PythonQtWrapper_QPrinterInfo::minimumPhysicalPageSize(QPrinterInfo* theWrappedObject) const +int PythonQtWrapper_QPolygonF::length(QPolygonF* theWrappedObject) const { - return ( theWrappedObject->minimumPhysicalPageSize()); + return ( theWrappedObject->length()); } -QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_printerInfo(const QString& printerName) +QVector PythonQtWrapper_QPolygonF::mid(QPolygonF* theWrappedObject, int pos, int len) const { - return (QPrinterInfo::printerInfo(printerName)); + return ( theWrappedObject->mid(pos, len)); } -QString PythonQtWrapper_QPrinterInfo::printerName(QPrinterInfo* theWrappedObject) const +void PythonQtWrapper_QPolygonF::move(QPolygonF* theWrappedObject, int from, int to) { - return ( theWrappedObject->printerName()); + ( theWrappedObject->move(from, to)); } -QPrinter::PrinterState PythonQtWrapper_QPrinterInfo::state(QPrinterInfo* theWrappedObject) const +bool PythonQtWrapper_QPolygonF::__ne__(QPolygonF* theWrappedObject, const QVector& v) const { - return ( theWrappedObject->state()); + return ( (*theWrappedObject)!= v); } -QList PythonQtWrapper_QPrinterInfo::supportedDuplexModes(QPrinterInfo* theWrappedObject) const +QPolygonF PythonQtWrapper_QPolygonF::__mul__(QPolygonF* theWrappedObject, const QMatrix& m) { - return ( theWrappedObject->supportedDuplexModes()); + return ( (*theWrappedObject)* m); } -QList PythonQtWrapper_QPrinterInfo::supportedPageSizes(QPrinterInfo* theWrappedObject) const +QPolygonF PythonQtWrapper_QPolygonF::__mul__(QPolygonF* theWrappedObject, const QTransform& m) { - return ( theWrappedObject->supportedPageSizes()); + return ( (*theWrappedObject)* m); } -QList PythonQtWrapper_QPrinterInfo::supportedPaperSizes(QPrinterInfo* theWrappedObject) const +void PythonQtWrapper_QPolygonF::writeTo(QPolygonF* theWrappedObject, QDataStream& stream) { - return ( theWrappedObject->supportedPaperSizes()); + stream << (*theWrappedObject); } -QList PythonQtWrapper_QPrinterInfo::supportedResolutions(QPrinterInfo* theWrappedObject) const +QPolygonF* PythonQtWrapper_QPolygonF::operator_assign(QPolygonF* theWrappedObject, const QPolygonF& other) { - return ( theWrappedObject->supportedResolutions()); + return &( (*theWrappedObject)= other); } -QList > PythonQtWrapper_QPrinterInfo::supportedSizesWithNames(QPrinterInfo* theWrappedObject) const +bool PythonQtWrapper_QPolygonF::__eq__(QPolygonF* theWrappedObject, const QVector& v) const { - return ( theWrappedObject->supportedSizesWithNames()); + return ( (*theWrappedObject)== v); } -bool PythonQtWrapper_QPrinterInfo::supportsCustomPageSizes(QPrinterInfo* theWrappedObject) const +void PythonQtWrapper_QPolygonF::readFrom(QPolygonF* theWrappedObject, QDataStream& stream) { - return ( theWrappedObject->supportsCustomPageSizes()); + stream >> (*theWrappedObject); } -QString PythonQtWrapper_QPrinterInfo::py_toString(QPrinterInfo* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +void PythonQtWrapper_QPolygonF::pop_back(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->pop_back()); } +void PythonQtWrapper_QPolygonF::pop_front(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->pop_front()); +} +void PythonQtWrapper_QPolygonF::prepend(QPolygonF* theWrappedObject, const QPointF& t) +{ + ( theWrappedObject->prepend(t)); +} -PythonQtShell_QProgressBar::~PythonQtShell_QProgressBar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QPolygonF::push_back(QPolygonF* theWrappedObject, const QPointF& t) +{ + ( theWrappedObject->push_back(t)); } -void PythonQtShell_QProgressBar::actionEvent(QActionEvent* event0) + +void PythonQtWrapper_QPolygonF::push_front(QPolygonF* theWrappedObject, const QPointF& t) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->push_front(t)); } - QProgressBar::actionEvent(event0); + +void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i) +{ + ( theWrappedObject->remove(i)); } -void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) + +void PythonQtWrapper_QPolygonF::remove(QPolygonF* theWrappedObject, int i, int n) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->remove(i, n)); } - QProgressBar::changeEvent(arg__1); + +int PythonQtWrapper_QPolygonF::removeAll(QPolygonF* theWrappedObject, const QPointF& t) +{ + return ( theWrappedObject->removeAll(t)); } -void PythonQtShell_QProgressBar::childEvent(QChildEvent* event0) + +void PythonQtWrapper_QPolygonF::removeAt(QPolygonF* theWrappedObject, int i) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->removeAt(i)); } - QProgressBar::childEvent(event0); + +void PythonQtWrapper_QPolygonF::removeFirst(QPolygonF* theWrappedObject) +{ + ( theWrappedObject->removeFirst()); } -void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* event0) + +void PythonQtWrapper_QPolygonF::removeLast(QPolygonF* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->removeLast()); } - QProgressBar::closeEvent(event0); + +bool PythonQtWrapper_QPolygonF::removeOne(QPolygonF* theWrappedObject, const QPointF& t) +{ + return ( theWrappedObject->removeOne(t)); } -void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* event0) + +void PythonQtWrapper_QPolygonF::replace(QPolygonF* theWrappedObject, int i, const QPointF& t) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->replace(i, t)); } - QProgressBar::contextMenuEvent(event0); + +void PythonQtWrapper_QPolygonF::reserve(QPolygonF* theWrappedObject, int size) +{ + ( theWrappedObject->reserve(size)); } -void PythonQtShell_QProgressBar::customEvent(QEvent* event0) + +void PythonQtWrapper_QPolygonF::resize(QPolygonF* theWrappedObject, int size) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->resize(size)); } - QProgressBar::customEvent(event0); + +void PythonQtWrapper_QPolygonF::setSharable(QPolygonF* theWrappedObject, bool sharable) +{ + ( theWrappedObject->setSharable(sharable)); } -int PythonQtShell_QProgressBar::devType() const + +void PythonQtWrapper_QPolygonF::shrink_to_fit(QPolygonF* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->shrink_to_fit()); } - return QProgressBar::devType(); + +int PythonQtWrapper_QPolygonF::size(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->size()); } -void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* event0) + +void PythonQtWrapper_QPolygonF::squeeze(QPolygonF* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->squeeze()); } - QProgressBar::dragEnterEvent(event0); + +bool PythonQtWrapper_QPolygonF::startsWith(QPolygonF* theWrappedObject, const QPointF& t) const +{ + return ( theWrappedObject->startsWith(t)); } -void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* event0) + +QPolygonF PythonQtWrapper_QPolygonF::subtracted(QPolygonF* theWrappedObject, const QPolygonF& r) const +{ + return ( theWrappedObject->subtracted(r)); +} + +void PythonQtWrapper_QPolygonF::swap(QPolygonF* theWrappedObject, QPolygonF& other) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->swap(other)); } - QProgressBar::dragLeaveEvent(event0); + +QPointF PythonQtWrapper_QPolygonF::takeAt(QPolygonF* theWrappedObject, int i) +{ + return ( theWrappedObject->takeAt(i)); } -void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* event0) + +QPointF PythonQtWrapper_QPolygonF::takeFirst(QPolygonF* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->takeFirst()); } - QProgressBar::dragMoveEvent(event0); + +QPointF PythonQtWrapper_QPolygonF::takeLast(QPolygonF* theWrappedObject) +{ + return ( theWrappedObject->takeLast()); } -void PythonQtShell_QProgressBar::dropEvent(QDropEvent* event0) + +QList PythonQtWrapper_QPolygonF::toList(QPolygonF* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toList()); } - QProgressBar::dropEvent(event0); + +QPolygon PythonQtWrapper_QPolygonF::toPolygon(QPolygonF* theWrappedObject) const +{ + return ( theWrappedObject->toPolygon()); } -void PythonQtShell_QProgressBar::enterEvent(QEvent* event0) + +void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, const QPointF& offset) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->translate(offset)); } - QProgressBar::enterEvent(event0); + +void PythonQtWrapper_QPolygonF::translate(QPolygonF* theWrappedObject, qreal dx, qreal dy) +{ + ( theWrappedObject->translate(dx, dy)); } -bool PythonQtShell_QProgressBar::event(QEvent* e0) + +QPolygonF PythonQtWrapper_QPolygonF::translated(QPolygonF* theWrappedObject, const QPointF& offset) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->translated(offset)); } - return QProgressBar::event(e0); + +QPolygonF PythonQtWrapper_QPolygonF::translated(QPolygonF* theWrappedObject, qreal dx, qreal dy) const +{ + return ( theWrappedObject->translated(dx, dy)); } -bool PythonQtShell_QProgressBar::eventFilter(QObject* watched0, QEvent* event1) + +QPolygonF PythonQtWrapper_QPolygonF::united(QPolygonF* theWrappedObject, const QPolygonF& r) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->united(r)); } - return QProgressBar::eventFilter(watched0, event1); + +QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i) const +{ + return ( theWrappedObject->value(i)); } -void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* event0) + +QPointF PythonQtWrapper_QPolygonF::value(QPolygonF* theWrappedObject, int i, const QPointF& defaultValue) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->value(i, defaultValue)); } - QProgressBar::focusInEvent(event0); + +QString PythonQtWrapper_QPolygonF::py_toString(QPolygonF* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) + + + +PythonQtShell_QPrintDialog::~PythonQtShell_QPrintDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPrintDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + static PyObject* name = PyUnicode_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::focusNextPrevChild(next0); + QPrintDialog::accept(); } -void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QPrintDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); + static PyObject* name = PyUnicode_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -3747,85 +3900,63 @@ if (_wrapper) { } } } - QProgressBar::focusOutEvent(event0); + QPrintDialog::actionEvent(event0); } -bool PythonQtShell_QProgressBar::hasHeightForWidth() const +void PythonQtShell_QPrintDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + static PyObject* name = PyUnicode_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::hasHeightForWidth(); + QPrintDialog::changeEvent(arg__1); } -int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const +void PythonQtShell_QPrintDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::heightForWidth(arg__1); + QPrintDialog::childEvent(event0); } -void PythonQtShell_QProgressBar::hideEvent(QHideEvent* event0) +void PythonQtShell_QPrintDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); + static PyObject* name = PyUnicode_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -3835,19 +3966,19 @@ if (_wrapper) { } } } - QProgressBar::hideEvent(event0); + QPrintDialog::closeEvent(arg__1); } -void PythonQtShell_QProgressBar::initPainter(QPainter* painter0) const +void PythonQtShell_QPrintDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -3857,19 +3988,19 @@ if (_wrapper) { } } } - QProgressBar::initPainter(painter0); + QPrintDialog::contextMenuEvent(arg__1); } -void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QPrintDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -3879,28 +4010,28 @@ if (_wrapper) { } } } - QProgressBar::inputMethodEvent(arg__1); + QPrintDialog::customEvent(event0); } -QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +int PythonQtShell_QPrintDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -3912,19 +4043,19 @@ if (_wrapper) { } } } - return QProgressBar::inputMethodQuery(arg__1); + return QPrintDialog::devType(); } -void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QPrintDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -3934,17 +4065,17 @@ if (_wrapper) { } } } - QProgressBar::keyPressEvent(event0); + QPrintDialog::done(result0); } -void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QPrintDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -3956,17 +4087,17 @@ if (_wrapper) { } } } - QProgressBar::keyReleaseEvent(event0); + QPrintDialog::dragEnterEvent(event0); } -void PythonQtShell_QProgressBar::leaveEvent(QEvent* event0) +void PythonQtShell_QPrintDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -3978,83 +4109,61 @@ if (_wrapper) { } } } - QProgressBar::leaveEvent(event0); + QPrintDialog::dragLeaveEvent(event0); } -int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QPrintDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::metric(arg__1); + QPrintDialog::dragMoveEvent(event0); } -QSize PythonQtShell_QProgressBar::minimumSizeHint() const +void PythonQtShell_QPrintDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::minimumSizeHint(); + QPrintDialog::dropEvent(event0); } -void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QPrintDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyUnicode_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -4066,83 +4175,116 @@ if (_wrapper) { } } } - QProgressBar::mouseDoubleClickEvent(event0); + QPrintDialog::enterEvent(event0); } -void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* event0) +bool PythonQtShell_QPrintDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::mouseMoveEvent(event0); + return QPrintDialog::event(event0); } -void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* event0) +bool PythonQtShell_QPrintDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::mousePressEvent(event0); + return QPrintDialog::eventFilter(arg__1, arg__2); } -void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* event0) +int PythonQtShell_QPrintDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::mouseReleaseEvent(event0); + return QPrintDialog::exec(); } -void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* event0) +void PythonQtShell_QPrintDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -4154,26 +4296,26 @@ if (_wrapper) { } } } - QProgressBar::moveEvent(event0); + QPrintDialog::focusInEvent(event0); } -bool PythonQtShell_QProgressBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QPrintDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -4187,28 +4329,50 @@ if (_wrapper) { } } } - return QProgressBar::nativeEvent(eventType0, message1, result2); + return QPrintDialog::focusNextPrevChild(next0); } -QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const +void PythonQtShell_QPrintDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::focusOutEvent(event0); +} +bool PythonQtShell_QPrintDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -4220,74 +4384,74 @@ if (_wrapper) { } } } - return QProgressBar::paintEngine(); + return QPrintDialog::hasHeightForWidth(); } -void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) +int PythonQtShell_QPrintDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); + static PyObject* name = PyUnicode_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::paintEvent(arg__1); + return QPrintDialog::heightForWidth(arg__1); } -QPaintDevice* PythonQtShell_QProgressBar::redirected(QPoint* offset0) const +void PythonQtShell_QPrintDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::redirected(offset0); + QPrintDialog::hideEvent(event0); } -void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QPrintDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -4297,19 +4461,19 @@ if (_wrapper) { } } } - QProgressBar::resizeEvent(event0); + QPrintDialog::initPainter(painter0); } -void PythonQtShell_QProgressBar::setVisible(bool visible0) +void PythonQtShell_QPrintDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -4319,28 +4483,28 @@ if (_wrapper) { } } } - QProgressBar::setVisible(visible0); + QPrintDialog::inputMethodEvent(arg__1); } -QPainter* PythonQtShell_QProgressBar::sharedPainter() const +QVariant PythonQtShell_QPrintDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QVariant*)args[0]); } } } @@ -4352,19 +4516,19 @@ if (_wrapper) { } } } - return QProgressBar::sharedPainter(); + return QPrintDialog::inputMethodQuery(arg__1); } -void PythonQtShell_QProgressBar::showEvent(QShowEvent* event0) +void PythonQtShell_QPrintDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -4374,50 +4538,39 @@ if (_wrapper) { } } } - QProgressBar::showEvent(event0); + QPrintDialog::keyPressEvent(arg__1); } -QSize PythonQtShell_QProgressBar::sizeHint() const +void PythonQtShell_QPrintDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressBar::sizeHint(); + QPrintDialog::keyReleaseEvent(event0); } -void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QPrintDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -4429,28 +4582,28 @@ if (_wrapper) { } } } - QProgressBar::tabletEvent(event0); + QPrintDialog::leaveEvent(event0); } -QString PythonQtShell_QProgressBar::text() const +int PythonQtShell_QPrintDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("text"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QString"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QString returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QString*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -4462,171 +4615,52 @@ if (_wrapper) { } } } - return QProgressBar::text(); -} -void PythonQtShell_QProgressBar::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QProgressBar::timerEvent(event0); + return QPrintDialog::metric(arg__1); } -void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* event0) +QSize PythonQtShell_QPrintDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressBar::wheelEvent(event0); -} -QProgressBar* PythonQtWrapper_QProgressBar::new_QProgressBar(QWidget* parent) -{ -return new PythonQtShell_QProgressBar(parent); } - -const QMetaObject* PythonQtShell_QProgressBar::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProgressBar::staticMetaObject); - } else { - return &QProgressBar::staticMetaObject; - } -} -int PythonQtShell_QProgressBar::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QProgressBar::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -Qt::Alignment PythonQtWrapper_QProgressBar::alignment(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -QString PythonQtWrapper_QProgressBar::format(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->format()); -} - -void PythonQtWrapper_QProgressBar::initStyleOption(QProgressBar* theWrappedObject, QStyleOptionProgressBar* option) const -{ - ( ((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->promoted_initStyleOption(option)); -} - -bool PythonQtWrapper_QProgressBar::invertedAppearance(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->invertedAppearance()); -} - -bool PythonQtWrapper_QProgressBar::isTextVisible(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->isTextVisible()); -} - -int PythonQtWrapper_QProgressBar::maximum(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->maximum()); -} - -int PythonQtWrapper_QProgressBar::minimum(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->minimum()); -} - -Qt::Orientation PythonQtWrapper_QProgressBar::orientation(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} - -void PythonQtWrapper_QProgressBar::resetFormat(QProgressBar* theWrappedObject) -{ - ( theWrappedObject->resetFormat()); -} - -void PythonQtWrapper_QProgressBar::setAlignment(QProgressBar* theWrappedObject, Qt::Alignment alignment) -{ - ( theWrappedObject->setAlignment(alignment)); -} - -void PythonQtWrapper_QProgressBar::setFormat(QProgressBar* theWrappedObject, const QString& format) -{ - ( theWrappedObject->setFormat(format)); -} - -void PythonQtWrapper_QProgressBar::setInvertedAppearance(QProgressBar* theWrappedObject, bool invert) -{ - ( theWrappedObject->setInvertedAppearance(invert)); -} - -void PythonQtWrapper_QProgressBar::setTextDirection(QProgressBar* theWrappedObject, QProgressBar::Direction textDirection) -{ - ( theWrappedObject->setTextDirection(textDirection)); -} - -void PythonQtWrapper_QProgressBar::setTextVisible(QProgressBar* theWrappedObject, bool visible) -{ - ( theWrappedObject->setTextVisible(visible)); -} - -QString PythonQtWrapper_QProgressBar::text(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->text()); -} - -QProgressBar::Direction PythonQtWrapper_QProgressBar::textDirection(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->textDirection()); -} - -int PythonQtWrapper_QProgressBar::value(QProgressBar* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - - - -PythonQtShell_QProgressDialog::~PythonQtShell_QProgressDialog() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QPrintDialog::minimumSizeHint(); } -void PythonQtShell_QProgressDialog::accept() +void PythonQtShell_QPrintDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("accept"); + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -4636,17 +4670,17 @@ if (_wrapper) { } } } - QProgressDialog::accept(); + QPrintDialog::mouseDoubleClickEvent(event0); } -void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* event0) +void PythonQtShell_QPrintDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -4658,17 +4692,17 @@ if (_wrapper) { } } } - QProgressDialog::actionEvent(event0); + QPrintDialog::mouseMoveEvent(event0); } -void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) +void PythonQtShell_QPrintDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); + static PyObject* name = PyUnicode_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -4680,17 +4714,17 @@ if (_wrapper) { } } } - QProgressDialog::changeEvent(event0); + QPrintDialog::mousePressEvent(event0); } -void PythonQtShell_QProgressDialog::childEvent(QChildEvent* event0) +void PythonQtShell_QPrintDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -4702,17 +4736,17 @@ if (_wrapper) { } } } - QProgressDialog::childEvent(event0); + QPrintDialog::mouseReleaseEvent(event0); } -void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) +void PythonQtShell_QPrintDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); + static PyObject* name = PyUnicode_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -4724,39 +4758,83 @@ if (_wrapper) { } } } - QProgressDialog::closeEvent(event0); + QPrintDialog::moveEvent(event0); } -void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) +bool PythonQtShell_QPrintDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + static PyObject* name = PyUnicode_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::contextMenuEvent(arg__1); + return QPrintDialog::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QProgressDialog::customEvent(QEvent* event0) +QPaintEngine* PythonQtShell_QPrintDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::paintEngine(); +} +void PythonQtShell_QPrintDialog::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -4768,28 +4846,28 @@ if (_wrapper) { } } } - QProgressDialog::customEvent(event0); + QPrintDialog::paintEvent(event0); } -int PythonQtShell_QProgressDialog::devType() const +QPaintDevice* PythonQtShell_QPrintDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } @@ -4801,17 +4879,39 @@ if (_wrapper) { } } } - return QProgressDialog::devType(); + return QPrintDialog::redirected(offset0); } -void PythonQtShell_QProgressDialog::done(int arg__1) +void PythonQtShell_QPrintDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("done"); + static PyObject* name = PyUnicode_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintDialog::reject(); +} +void PythonQtShell_QPrintDialog::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -4823,19 +4923,19 @@ if (_wrapper) { } } } - QProgressDialog::done(arg__1); + QPrintDialog::resizeEvent(arg__1); } -void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QPrintDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + static PyObject* name = PyUnicode_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -4845,19 +4945,52 @@ if (_wrapper) { } } } - QProgressDialog::dragEnterEvent(event0); + QPrintDialog::setVisible(visible0); } -void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* event0) +QPainter* PythonQtShell_QPrintDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::sharedPainter(); +} +void PythonQtShell_QPrintDialog::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -4867,17 +5000,50 @@ if (_wrapper) { } } } - QProgressDialog::dragLeaveEvent(event0); + QPrintDialog::showEvent(arg__1); } -void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* event0) +QSize PythonQtShell_QPrintDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPrintDialog::sizeHint(); +} +void PythonQtShell_QPrintDialog::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -4889,17 +5055,17 @@ if (_wrapper) { } } } - QProgressDialog::dragMoveEvent(event0); + QPrintDialog::tabletEvent(event0); } -void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* event0) +void PythonQtShell_QPrintDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -4911,17 +5077,17 @@ if (_wrapper) { } } } - QProgressDialog::dropEvent(event0); + QPrintDialog::timerEvent(event0); } -void PythonQtShell_QProgressDialog::enterEvent(QEvent* event0) +void PythonQtShell_QPrintDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); + static PyObject* name = PyUnicode_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -4933,26 +5099,78 @@ if (_wrapper) { } } } - QProgressDialog::enterEvent(event0); + QPrintDialog::wheelEvent(event0); +} +QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QPrinter* printer, QWidget* parent) +{ +return new PythonQtShell_QPrintDialog(printer, parent); } + +QPrintDialog* PythonQtWrapper_QPrintDialog::new_QPrintDialog(QWidget* parent) +{ +return new PythonQtShell_QPrintDialog(parent); } + +const QMetaObject* PythonQtShell_QPrintDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintDialog::staticMetaObject); + } else { + return &QPrintDialog::staticMetaObject; + } +} +int PythonQtShell_QPrintDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPrintDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QPrintDialog::open(QPrintDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QAbstractPrintDialog::PrintDialogOptions PythonQtWrapper_QPrintDialog::options(QPrintDialog* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +void PythonQtWrapper_QPrintDialog::setOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QPrintDialog::setOptions(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options) +{ + ( theWrappedObject->setOptions(options)); +} + +bool PythonQtWrapper_QPrintDialog::testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const +{ + return ( theWrappedObject->testOption(option)); } -bool PythonQtShell_QProgressDialog::event(QEvent* event0) + + + +PythonQtShell_QPrintEngine::~PythonQtShell_QPrintEngine() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QPrintEngine::abort() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("abort"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("abort", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -4966,28 +5184,28 @@ if (_wrapper) { } } } - return QProgressDialog::event(event0); + return bool(); } -bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg__2) +int PythonQtShell_QPrintEngine::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -4999,28 +5217,28 @@ if (_wrapper) { } } } - return QProgressDialog::eventFilter(arg__1, arg__2); + return int(); } -int PythonQtShell_QProgressDialog::exec() +bool PythonQtShell_QPrintEngine::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("exec"); + static PyObject* name = PyUnicode_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -5032,50 +5250,61 @@ if (_wrapper) { } } } - return QProgressDialog::exec(); + return bool(); } -void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* event0) +QPrinter::PrinterState PythonQtShell_QPrintEngine::printerState() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); + static PyObject* name = PyUnicode_FromString("printerState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QPrinter::PrinterState"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPrinter::PrinterState returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("printerState", methodInfo, result); + } else { + returnValue = *((QPrinter::PrinterState*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::focusInEvent(event0); + return QPrinter::PrinterState(); } -bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) +QVariant PythonQtShell_QPrintEngine::property(QPrintEngine::PrintEnginePropertyKey key0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + static PyObject* name = PyUnicode_FromString("property"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"QVariant" , "QPrintEngine::PrintEnginePropertyKey"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("property", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } @@ -5087,19 +5316,19 @@ if (_wrapper) { } } } - return QProgressDialog::focusNextPrevChild(next0); + return QVariant(); } -void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QPrintEngine::setProperty(QPrintEngine::PrintEnginePropertyKey key0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); + static PyObject* name = PyUnicode_FromString("setProperty"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"" , "QPrintEngine::PrintEnginePropertyKey" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&key0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -5109,83 +5338,79 @@ if (_wrapper) { } } } - QProgressDialog::focusOutEvent(event0); + } -bool PythonQtShell_QProgressDialog::hasHeightForWidth() const +QPrintEngine* PythonQtWrapper_QPrintEngine::new_QPrintEngine() +{ +return new PythonQtShell_QPrintEngine(); } + +bool PythonQtWrapper_QPrintEngine::abort(QPrintEngine* theWrappedObject) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->abort()); } - return QProgressDialog::hasHeightForWidth(); + +int PythonQtWrapper_QPrintEngine::metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const +{ + return ( theWrappedObject->metric(arg__1)); } -int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const + +bool PythonQtWrapper_QPrintEngine::newPage(QPrintEngine* theWrappedObject) +{ + return ( theWrappedObject->newPage()); +} + +QPrinter::PrinterState PythonQtWrapper_QPrintEngine::printerState(QPrintEngine* theWrappedObject) const +{ + return ( theWrappedObject->printerState()); +} + +QVariant PythonQtWrapper_QPrintEngine::property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const +{ + return ( theWrappedObject->property(key)); +} + +void PythonQtWrapper_QPrintEngine::setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) +{ + ( theWrappedObject->setProperty(key, value)); +} + + + +PythonQtShell_QPrintPreviewDialog::~PythonQtShell_QPrintPreviewDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPrintPreviewDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); + static PyObject* name = PyUnicode_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::heightForWidth(arg__1); + QPrintPreviewDialog::accept(); } -void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* event0) +void PythonQtShell_QPrintPreviewDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); + static PyObject* name = PyUnicode_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -5197,19 +5422,19 @@ if (_wrapper) { } } } - QProgressDialog::hideEvent(event0); + QPrintPreviewDialog::actionEvent(event0); } -void PythonQtShell_QProgressDialog::initPainter(QPainter* painter0) const +void PythonQtShell_QPrintPreviewDialog::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); + static PyObject* name = PyUnicode_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -5219,19 +5444,19 @@ if (_wrapper) { } } } - QProgressDialog::initPainter(painter0); + QPrintPreviewDialog::changeEvent(arg__1); } -void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QPrintPreviewDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -5241,50 +5466,39 @@ if (_wrapper) { } } } - QProgressDialog::inputMethodEvent(arg__1); + QPrintPreviewDialog::childEvent(event0); } -QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QPrintPreviewDialog::closeEvent(QCloseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + static PyObject* name = PyUnicode_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::inputMethodQuery(arg__1); + QPrintPreviewDialog::closeEvent(arg__1); } -void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QPrintPreviewDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -5296,17 +5510,17 @@ if (_wrapper) { } } } - QProgressDialog::keyPressEvent(arg__1); + QPrintPreviewDialog::contextMenuEvent(arg__1); } -void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QPrintPreviewDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -5318,105 +5532,94 @@ if (_wrapper) { } } } - QProgressDialog::keyReleaseEvent(event0); + QPrintPreviewDialog::customEvent(event0); } -void PythonQtShell_QProgressDialog::leaveEvent(QEvent* event0) +int PythonQtShell_QPrintPreviewDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::leaveEvent(event0); + return QPrintPreviewDialog::devType(); } -int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QPrintPreviewDialog::done(int result0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&result0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::metric(arg__1); + QPrintPreviewDialog::done(result0); } -QSize PythonQtShell_QProgressDialog::minimumSizeHint() const +void PythonQtShell_QPrintPreviewDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::minimumSizeHint(); + QPrintPreviewDialog::dragEnterEvent(event0); } -void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QPrintPreviewDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -5428,17 +5631,17 @@ if (_wrapper) { } } } - QProgressDialog::mouseDoubleClickEvent(event0); + QPrintPreviewDialog::dragLeaveEvent(event0); } -void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QPrintPreviewDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -5450,17 +5653,17 @@ if (_wrapper) { } } } - QProgressDialog::mouseMoveEvent(event0); + QPrintPreviewDialog::dragMoveEvent(event0); } -void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QPrintPreviewDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -5472,17 +5675,17 @@ if (_wrapper) { } } } - QProgressDialog::mousePressEvent(event0); + QPrintPreviewDialog::dropEvent(event0); } -void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QPrintPreviewDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -5494,48 +5697,59 @@ if (_wrapper) { } } } - QProgressDialog::mouseReleaseEvent(event0); + QPrintPreviewDialog::enterEvent(event0); } -void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* event0) +bool PythonQtShell_QPrintPreviewDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::moveEvent(event0); + return QPrintPreviewDialog::event(event0); } -bool PythonQtShell_QProgressDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QPrintPreviewDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -5549,28 +5763,28 @@ if (_wrapper) { } } } - return QProgressDialog::nativeEvent(eventType0, message1, result2); + return QPrintPreviewDialog::eventFilter(arg__1, arg__2); } -QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const +int PythonQtShell_QPrintPreviewDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((int*)args[0]); } } } @@ -5582,17 +5796,17 @@ if (_wrapper) { } } } - return QProgressDialog::paintEngine(); + return QPrintPreviewDialog::exec(); } -void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* event0) +void PythonQtShell_QPrintPreviewDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -5604,28 +5818,28 @@ if (_wrapper) { } } } - QProgressDialog::paintEvent(event0); + QPrintPreviewDialog::focusInEvent(event0); } -QPaintDevice* PythonQtShell_QProgressDialog::redirected(QPoint* offset0) const +bool PythonQtShell_QPrintPreviewDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -5637,63 +5851,107 @@ if (_wrapper) { } } } - return QProgressDialog::redirected(offset0); + return QPrintPreviewDialog::focusNextPrevChild(next0); } -void PythonQtShell_QProgressDialog::reject() +void PythonQtShell_QPrintPreviewDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("reject"); + static PyObject* name = PyUnicode_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPrintPreviewDialog::focusOutEvent(event0); +} +bool PythonQtShell_QPrintPreviewDialog::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::reject(); + return QPrintPreviewDialog::hasHeightForWidth(); } -void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) +int PythonQtShell_QPrintPreviewDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); + static PyObject* name = PyUnicode_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProgressDialog::resizeEvent(event0); + return QPrintPreviewDialog::heightForWidth(arg__1); } -void PythonQtShell_QProgressDialog::setVisible(bool visible0) +void PythonQtShell_QPrintPreviewDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); + static PyObject* name = PyUnicode_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -5703,52 +5961,41 @@ if (_wrapper) { } } } - QProgressDialog::setVisible(visible0); + QPrintPreviewDialog::hideEvent(event0); } -QPainter* PythonQtShell_QProgressDialog::sharedPainter() const +void PythonQtShell_QPrintPreviewDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProgressDialog::sharedPainter(); + QPrintPreviewDialog::initPainter(painter0); } -void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) +void PythonQtShell_QPrintPreviewDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -5758,28 +6005,28 @@ if (_wrapper) { } } } - QProgressDialog::showEvent(event0); + QPrintPreviewDialog::inputMethodEvent(arg__1); } -QSize PythonQtShell_QProgressDialog::sizeHint() const +QVariant PythonQtShell_QPrintPreviewDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QVariant*)args[0]); } } } @@ -5791,19 +6038,19 @@ if (_wrapper) { } } } - return QProgressDialog::sizeHint(); + return QPrintPreviewDialog::inputMethodQuery(arg__1); } -void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QPrintPreviewDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -5813,17 +6060,17 @@ if (_wrapper) { } } } - QProgressDialog::tabletEvent(event0); + QPrintPreviewDialog::keyPressEvent(arg__1); } -void PythonQtShell_QProgressDialog::timerEvent(QTimerEvent* event0) +void PythonQtShell_QPrintPreviewDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -5835,17 +6082,17 @@ if (_wrapper) { } } } - QProgressDialog::timerEvent(event0); + QPrintPreviewDialog::keyReleaseEvent(event0); } -void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QPrintPreviewDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); + static PyObject* name = PyUnicode_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -5857,160 +6104,85 @@ if (_wrapper) { } } } - QProgressDialog::wheelEvent(event0); -} -QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QProgressDialog(parent, flags); } - -QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent, Qt::WindowFlags flags) -{ -return new PythonQtShell_QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, flags); } - -const QMetaObject* PythonQtShell_QProgressDialog::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProgressDialog::staticMetaObject); - } else { - return &QProgressDialog::staticMetaObject; - } -} -int PythonQtShell_QProgressDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QProgressDialog::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -bool PythonQtWrapper_QProgressDialog::autoClose(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->autoClose()); -} - -bool PythonQtWrapper_QProgressDialog::autoReset(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->autoReset()); -} - -QString PythonQtWrapper_QProgressDialog::labelText(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->labelText()); -} - -int PythonQtWrapper_QProgressDialog::maximum(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->maximum()); -} - -int PythonQtWrapper_QProgressDialog::minimum(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->minimum()); -} - -int PythonQtWrapper_QProgressDialog::minimumDuration(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->minimumDuration()); -} - -void PythonQtWrapper_QProgressDialog::open(QProgressDialog* theWrappedObject, QObject* receiver, const char* member) -{ - ( theWrappedObject->open(receiver, member)); -} - -void PythonQtWrapper_QProgressDialog::setAutoClose(QProgressDialog* theWrappedObject, bool close) -{ - ( theWrappedObject->setAutoClose(close)); -} - -void PythonQtWrapper_QProgressDialog::setAutoReset(QProgressDialog* theWrappedObject, bool reset) -{ - ( theWrappedObject->setAutoReset(reset)); -} - -void PythonQtWrapper_QProgressDialog::setBar(QProgressDialog* theWrappedObject, QProgressBar* bar) -{ - ( theWrappedObject->setBar(bar)); -} - -void PythonQtWrapper_QProgressDialog::setCancelButton(QProgressDialog* theWrappedObject, QPushButton* button) -{ - ( theWrappedObject->setCancelButton(button)); -} - -void PythonQtWrapper_QProgressDialog::setLabel(QProgressDialog* theWrappedObject, QLabel* label) -{ - ( theWrappedObject->setLabel(label)); -} - -int PythonQtWrapper_QProgressDialog::value(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->value()); -} - -bool PythonQtWrapper_QProgressDialog::wasCanceled(QProgressDialog* theWrappedObject) const -{ - return ( theWrappedObject->wasCanceled()); -} - - - -PythonQtShell_QProxyStyle::~PythonQtShell_QProxyStyle() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QPrintPreviewDialog::leaveEvent(event0); } -void PythonQtShell_QProxyStyle::childEvent(QChildEvent* event0) +int PythonQtShell_QPrintPreviewDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProxyStyle::childEvent(event0); + return QPrintPreviewDialog::metric(arg__1); } -void PythonQtShell_QProxyStyle::customEvent(QEvent* event0) +QSize PythonQtShell_QPrintPreviewDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProxyStyle::customEvent(event0); + return QPrintPreviewDialog::minimumSizeHint(); } -void PythonQtShell_QProxyStyle::drawComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, QPainter* painter2, const QWidget* widget3) const +void PythonQtShell_QPrintPreviewDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawComplexControl"); + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {nullptr, (void*)&control0, (void*)&option1, (void*)&painter2, (void*)&widget3}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6020,19 +6192,19 @@ if (_wrapper) { } } } - QProxyStyle::drawComplexControl(control0, option1, painter2, widget3); + QPrintPreviewDialog::mouseDoubleClickEvent(event0); } -void PythonQtShell_QProxyStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const +void PythonQtShell_QPrintPreviewDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawControl"); + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {nullptr, (void*)&element0, (void*)&option1, (void*)&painter2, (void*)&widget3}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6042,19 +6214,19 @@ if (_wrapper) { } } } - QProxyStyle::drawControl(element0, option1, painter2, widget3); + QPrintPreviewDialog::mouseMoveEvent(event0); } -void PythonQtShell_QProxyStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const +void PythonQtShell_QPrintPreviewDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawItemPixmap"); + static PyObject* name = PyUnicode_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&alignment2, (void*)&pixmap3}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6064,19 +6236,19 @@ if (_wrapper) { } } } - QProxyStyle::drawItemPixmap(painter0, rect1, alignment2, pixmap3); + QPrintPreviewDialog::mousePressEvent(event0); } -void PythonQtShell_QProxyStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const +void PythonQtShell_QPrintPreviewDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawItemText"); + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); - void* args[8] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&flags2, (void*)&pal3, (void*)&enabled4, (void*)&text5, (void*)&textRole6}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6086,19 +6258,19 @@ if (_wrapper) { } } } - QProxyStyle::drawItemText(painter0, rect1, flags2, pal3, enabled4, text5, textRole6); + QPrintPreviewDialog::mouseReleaseEvent(event0); } -void PythonQtShell_QProxyStyle::drawPrimitive(QStyle::PrimitiveElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const +void PythonQtShell_QPrintPreviewDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("drawPrimitive"); + static PyObject* name = PyUnicode_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - void* args[5] = {nullptr, (void*)&element0, (void*)&option1, (void*)&painter2, (void*)&widget3}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6108,26 +6280,26 @@ if (_wrapper) { } } } - QProxyStyle::drawPrimitive(element0, option1, painter2, widget3); + QPrintPreviewDialog::moveEvent(event0); } -bool PythonQtShell_QProxyStyle::event(QEvent* e0) +bool PythonQtShell_QPrintPreviewDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -6141,28 +6313,28 @@ if (_wrapper) { } } } - return QProxyStyle::event(e0); + return QPrintPreviewDialog::nativeEvent(eventType0, message1, result2); } -bool PythonQtShell_QProxyStyle::eventFilter(QObject* watched0, QEvent* event1) +QPaintEngine* PythonQtShell_QPrintPreviewDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } @@ -6174,61 +6346,50 @@ if (_wrapper) { } } } - return QProxyStyle::eventFilter(watched0, event1); + return QPrintPreviewDialog::paintEngine(); } -QPixmap PythonQtShell_QProxyStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const +void PythonQtShell_QPrintPreviewDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("generatedIconPixmap"); + static PyObject* name = PyUnicode_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue{}; - void* args[4] = {nullptr, (void*)&iconMode0, (void*)&pixmap1, (void*)&opt2}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::generatedIconPixmap(iconMode0, pixmap1, opt2); + QPrintPreviewDialog::paintEvent(event0); } -QStyle::SubControl PythonQtShell_QProxyStyle::hitTestComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, const QPoint& pos2, const QWidget* widget3) const +QPaintDevice* PythonQtShell_QPrintPreviewDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hitTestComplexControl"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QStyle::SubControl returnValue{}; - void* args[5] = {nullptr, (void*)&control0, (void*)&option1, (void*)&pos2, (void*)&widget3}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QStyle::SubControl*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } @@ -6240,127 +6401,94 @@ if (_wrapper) { } } } - return QProxyStyle::hitTestComplexControl(control0, option1, pos2, widget3); + return QPrintPreviewDialog::redirected(offset0); } -QRect PythonQtShell_QProxyStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const +void PythonQtShell_QPrintPreviewDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("itemPixmapRect"); + static PyObject* name = PyUnicode_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue{}; - void* args[4] = {nullptr, (void*)&r0, (void*)&flags1, (void*)&pixmap2}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::itemPixmapRect(r0, flags1, pixmap2); + QPrintPreviewDialog::reject(); } -QRect PythonQtShell_QProxyStyle::itemTextRect(const QFontMetrics& fm0, const QRect& r1, int flags2, bool enabled3, const QString& text4) const +void PythonQtShell_QPrintPreviewDialog::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("itemTextRect"); + static PyObject* name = PyUnicode_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QFontMetrics&" , "const QRect&" , "int" , "bool" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - QRect returnValue{}; - void* args[6] = {nullptr, (void*)&fm0, (void*)&r1, (void*)&flags2, (void*)&enabled3, (void*)&text4}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("itemTextRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::itemTextRect(fm0, r1, flags2, enabled3, text4); + QPrintPreviewDialog::resizeEvent(arg__1); } -int PythonQtShell_QProxyStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const +void PythonQtShell_QPrintPreviewDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("layoutSpacing"); + static PyObject* name = PyUnicode_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QSizePolicy::ControlType" , "QSizePolicy::ControlType" , "Qt::Orientation" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); - int returnValue{}; - void* args[6] = {nullptr, (void*)&control10, (void*)&control21, (void*)&orientation2, (void*)&option3, (void*)&widget4}; + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("layoutSpacing", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::layoutSpacing(control10, control21, orientation2, option3, widget4); + QPrintPreviewDialog::setVisible(visible0); } -int PythonQtShell_QProxyStyle::pixelMetric(QStyle::PixelMetric metric0, const QStyleOption* option1, const QWidget* widget2) const +QPainter* PythonQtShell_QPrintPreviewDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("pixelMetric"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - int returnValue{}; - void* args[4] = {nullptr, (void*)&metric0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPainter**)args[0]); } } } @@ -6372,19 +6500,19 @@ if (_wrapper) { } } } - return QProxyStyle::pixelMetric(metric0, option1, widget2); + return QPrintPreviewDialog::sharedPainter(); } -void PythonQtShell_QProxyStyle::polish(QApplication* app0) +void PythonQtShell_QPrintPreviewDialog::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("polish"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QApplication*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&app0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6394,41 +6522,52 @@ if (_wrapper) { } } } - QProxyStyle::polish(app0); + QPrintPreviewDialog::showEvent(arg__1); } -void PythonQtShell_QProxyStyle::polish(QPalette& pal0) +QSize PythonQtShell_QPrintPreviewDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("polish"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPalette&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&pal0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProxyStyle::polish(pal0); + return QPrintPreviewDialog::sizeHint(); } -void PythonQtShell_QProxyStyle::polish(QWidget* widget0) +void PythonQtShell_QPrintPreviewDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("polish"); + static PyObject* name = PyUnicode_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6438,248 +6577,208 @@ if (_wrapper) { } } } - QProxyStyle::polish(widget0); + QPrintPreviewDialog::tabletEvent(event0); } -QSize PythonQtShell_QProxyStyle::sizeFromContents(QStyle::ContentsType type0, const QStyleOption* option1, const QSize& size2, const QWidget* widget3) const +void PythonQtShell_QPrintPreviewDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeFromContents"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QSize returnValue{}; - void* args[5] = {nullptr, (void*)&type0, (void*)&option1, (void*)&size2, (void*)&widget3}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::sizeFromContents(type0, option1, size2, widget3); + QPrintPreviewDialog::timerEvent(event0); } -QIcon PythonQtShell_QProxyStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* option1, const QWidget* widget2) const +void PythonQtShell_QPrintPreviewDialog::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("standardIcon"); + static PyObject* name = PyUnicode_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QIcon" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QIcon returnValue{}; - void* args[4] = {nullptr, (void*)&standardIcon0, (void*)&option1, (void*)&widget2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardIcon", methodInfo, result); - } else { - returnValue = *((QIcon*)args[0]); - } - } - } + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::standardIcon(standardIcon0, option1, widget2); + QPrintPreviewDialog::wheelEvent(event0); } -QPalette PythonQtShell_QProxyStyle::standardPalette() const +QPrintPreviewDialog* PythonQtWrapper_QPrintPreviewDialog::new_QPrintPreviewDialog(QPrinter* printer, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QPrintPreviewDialog(printer, parent, flags); } + +QPrintPreviewDialog* PythonQtWrapper_QPrintPreviewDialog::new_QPrintPreviewDialog(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QPrintPreviewDialog(parent, flags); } + +const QMetaObject* PythonQtShell_QPrintPreviewDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintPreviewDialog::staticMetaObject); + } else { + return &QPrintPreviewDialog::staticMetaObject; + } +} +int PythonQtShell_QPrintPreviewDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPrintPreviewDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QPrintPreviewDialog::open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member) +{ + ( theWrappedObject->open(receiver, member)); +} + +QPrinter* PythonQtWrapper_QPrintPreviewDialog::printer(QPrintPreviewDialog* theWrappedObject) +{ + return ( theWrappedObject->printer()); +} + + + +PythonQtShell_QPrintPreviewWidget::~PythonQtShell_QPrintPreviewWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QPrintPreviewWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("standardPalette"); + static PyObject* name = PyUnicode_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPalette"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPalette returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); - } else { - returnValue = *((QPalette*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::standardPalette(); + QPrintPreviewWidget::actionEvent(event0); } -QPixmap PythonQtShell_QProxyStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const +void PythonQtShell_QPrintPreviewWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("standardPixmap"); + static PyObject* name = PyUnicode_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QPixmap returnValue{}; - void* args[4] = {nullptr, (void*)&standardPixmap0, (void*)&opt1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); - } else { - returnValue = *((QPixmap*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::standardPixmap(standardPixmap0, opt1, widget2); + QPrintPreviewWidget::changeEvent(arg__1); } -int PythonQtShell_QProxyStyle::styleHint(QStyle::StyleHint hint0, const QStyleOption* option1, const QWidget* widget2, QStyleHintReturn* returnData3) const +void PythonQtShell_QPrintPreviewWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("styleHint"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - int returnValue{}; - void* args[5] = {nullptr, (void*)&hint0, (void*)&option1, (void*)&widget2, (void*)&returnData3}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::styleHint(hint0, option1, widget2, returnData3); + QPrintPreviewWidget::childEvent(event0); } -QRect PythonQtShell_QProxyStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* widget3) const +void PythonQtShell_QPrintPreviewWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("subControlRect"); + static PyObject* name = PyUnicode_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - QRect returnValue{}; - void* args[5] = {nullptr, (void*)&cc0, (void*)&opt1, (void*)&sc2, (void*)&widget3}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::subControlRect(cc0, opt1, sc2, widget3); + QPrintPreviewWidget::closeEvent(event0); } -QRect PythonQtShell_QProxyStyle::subElementRect(QStyle::SubElement element0, const QStyleOption* option1, const QWidget* widget2) const +void PythonQtShell_QPrintPreviewWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("subElementRect"); + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - QRect returnValue{}; - void* args[4] = {nullptr, (void*)&element0, (void*)&option1, (void*)&widget2}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QProxyStyle::subElementRect(element0, option1, widget2); + QPrintPreviewWidget::contextMenuEvent(event0); } -void PythonQtShell_QProxyStyle::timerEvent(QTimerEvent* event0) +void PythonQtShell_QPrintPreviewWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -6691,41 +6790,52 @@ if (_wrapper) { } } } - QProxyStyle::timerEvent(event0); + QPrintPreviewWidget::customEvent(event0); } -void PythonQtShell_QProxyStyle::unpolish(QApplication* app0) +int PythonQtShell_QPrintPreviewWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("unpolish"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QApplication*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&app0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QProxyStyle::unpolish(app0); + return QPrintPreviewWidget::devType(); } -void PythonQtShell_QProxyStyle::unpolish(QWidget* widget0) +void PythonQtShell_QPrintPreviewWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("unpolish"); + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&widget0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6735,59 +6845,17 @@ if (_wrapper) { } } } - QProxyStyle::unpolish(widget0); -} -QProxyStyle* PythonQtWrapper_QProxyStyle::new_QProxyStyle(QStyle* style) -{ -return new PythonQtShell_QProxyStyle(style); } - -QProxyStyle* PythonQtWrapper_QProxyStyle::new_QProxyStyle(const QString& key) -{ -return new PythonQtShell_QProxyStyle(key); } - -const QMetaObject* PythonQtShell_QProxyStyle::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProxyStyle::staticMetaObject); - } else { - return &QProxyStyle::staticMetaObject; - } -} -int PythonQtShell_QProxyStyle::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QProxyStyle::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QStyle* PythonQtWrapper_QProxyStyle::baseStyle(QProxyStyle* theWrappedObject) const -{ - return ( theWrappedObject->baseStyle()); -} - -QRect PythonQtWrapper_QProxyStyle::itemTextRect(QProxyStyle* theWrappedObject, const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const -{ - return ( theWrappedObject->itemTextRect(fm, r, flags, enabled, text)); -} - -void PythonQtWrapper_QProxyStyle::setBaseStyle(QProxyStyle* theWrappedObject, QStyle* style) -{ - ( theWrappedObject->setBaseStyle(style)); -} - - - -PythonQtShell_QPushButton::~PythonQtShell_QPushButton() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QPrintPreviewWidget::dragEnterEvent(event0); } -void PythonQtShell_QPushButton::actionEvent(QActionEvent* event0) +void PythonQtShell_QPrintPreviewWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -6799,19 +6867,19 @@ if (_wrapper) { } } } - QPushButton::actionEvent(event0); + QPrintPreviewWidget::dragLeaveEvent(event0); } -void PythonQtShell_QPushButton::changeEvent(QEvent* e0) +void PythonQtShell_QPrintPreviewWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6821,19 +6889,19 @@ if (_wrapper) { } } } - QPushButton::changeEvent(e0); + QPrintPreviewWidget::dragMoveEvent(event0); } -void PythonQtShell_QPushButton::checkStateSet() +void PythonQtShell_QPrintPreviewWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("checkStateSet"); + static PyObject* name = PyUnicode_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -6843,17 +6911,17 @@ if (_wrapper) { } } } - QPushButton::checkStateSet(); + QPrintPreviewWidget::dropEvent(event0); } -void PythonQtShell_QPushButton::childEvent(QChildEvent* event0) +void PythonQtShell_QPrintPreviewWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -6865,61 +6933,83 @@ if (_wrapper) { } } } - QPushButton::childEvent(event0); + QPrintPreviewWidget::enterEvent(event0); } -void PythonQtShell_QPushButton::closeEvent(QCloseEvent* event0) +bool PythonQtShell_QPrintPreviewWidget::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::closeEvent(event0); + return QPrintPreviewWidget::event(event0); } -void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* event0) +bool PythonQtShell_QPrintPreviewWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::contextMenuEvent(event0); + return QPrintPreviewWidget::eventFilter(watched0, event1); } -void PythonQtShell_QPushButton::customEvent(QEvent* event0) +void PythonQtShell_QPrintPreviewWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -6931,28 +7021,28 @@ if (_wrapper) { } } } - QPushButton::customEvent(event0); + QPrintPreviewWidget::focusInEvent(event0); } -int PythonQtShell_QPushButton::devType() const +bool PythonQtShell_QPrintPreviewWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -6964,17 +7054,17 @@ if (_wrapper) { } } } - return QPushButton::devType(); + return QPrintPreviewWidget::focusNextPrevChild(next0); } -void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QPrintPreviewWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + static PyObject* name = PyUnicode_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -6986,61 +7076,83 @@ if (_wrapper) { } } } - QPushButton::dragEnterEvent(event0); + QPrintPreviewWidget::focusOutEvent(event0); } -void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* event0) +bool PythonQtShell_QPrintPreviewWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::dragLeaveEvent(event0); + return QPrintPreviewWidget::hasHeightForWidth(); } -void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* event0) +int PythonQtShell_QPrintPreviewWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + static PyObject* name = PyUnicode_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::dragMoveEvent(event0); + return QPrintPreviewWidget::heightForWidth(arg__1); } -void PythonQtShell_QPushButton::dropEvent(QDropEvent* event0) +void PythonQtShell_QPrintPreviewWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); + static PyObject* name = PyUnicode_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -7052,19 +7164,19 @@ if (_wrapper) { } } } - QPushButton::dropEvent(event0); + QPrintPreviewWidget::hideEvent(event0); } -void PythonQtShell_QPushButton::enterEvent(QEvent* event0) +void PythonQtShell_QPrintPreviewWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7074,61 +7186,50 @@ if (_wrapper) { } } } - QPushButton::enterEvent(event0); + QPrintPreviewWidget::initPainter(painter0); } -bool PythonQtShell_QPushButton::event(QEvent* e0) +void PythonQtShell_QPrintPreviewWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPushButton::event(e0); + QPrintPreviewWidget::inputMethodEvent(arg__1); } -bool PythonQtShell_QPushButton::eventFilter(QObject* watched0, QEvent* event1) +QVariant PythonQtShell_QPrintPreviewWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } @@ -7140,19 +7241,19 @@ if (_wrapper) { } } } - return QPushButton::eventFilter(watched0, event1); + return QPrintPreviewWidget::inputMethodQuery(arg__1); } -void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) +void PythonQtShell_QPrintPreviewWidget::keyPressEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); + static PyObject* name = PyUnicode_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7162,52 +7263,41 @@ if (_wrapper) { } } } - QPushButton::focusInEvent(arg__1); + QPrintPreviewWidget::keyPressEvent(event0); } -bool PythonQtShell_QPushButton::focusNextPrevChild(bool next0) +void PythonQtShell_QPrintPreviewWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPushButton::focusNextPrevChild(next0); + QPrintPreviewWidget::keyReleaseEvent(event0); } -void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) +void PythonQtShell_QPrintPreviewWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); + static PyObject* name = PyUnicode_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7217,28 +7307,28 @@ if (_wrapper) { } } } - QPushButton::focusOutEvent(arg__1); + QPrintPreviewWidget::leaveEvent(event0); } -bool PythonQtShell_QPushButton::hasHeightForWidth() const +int PythonQtShell_QPrintPreviewWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -7250,28 +7340,28 @@ if (_wrapper) { } } } - return QPushButton::hasHeightForWidth(); + return QPrintPreviewWidget::metric(arg__1); } -int PythonQtShell_QPushButton::heightForWidth(int arg__1) const +QSize PythonQtShell_QPrintPreviewWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -7283,17 +7373,17 @@ if (_wrapper) { } } } - return QPushButton::heightForWidth(arg__1); + return QPrintPreviewWidget::minimumSizeHint(); } -void PythonQtShell_QPushButton::hideEvent(QHideEvent* event0) +void PythonQtShell_QPrintPreviewWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -7305,52 +7395,41 @@ if (_wrapper) { } } } - QPushButton::hideEvent(event0); + QPrintPreviewWidget::mouseDoubleClickEvent(event0); } -bool PythonQtShell_QPushButton::hitButton(const QPoint& pos0) const +void PythonQtShell_QPrintPreviewWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hitButton"); + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&pos0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPushButton::hitButton(pos0); + QPrintPreviewWidget::mouseMoveEvent(event0); } -void PythonQtShell_QPushButton::initPainter(QPainter* painter0) const +void PythonQtShell_QPrintPreviewWidget::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); + static PyObject* name = PyUnicode_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7360,19 +7439,19 @@ if (_wrapper) { } } } - QPushButton::initPainter(painter0); + QPrintPreviewWidget::mousePressEvent(event0); } -void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QPrintPreviewWidget::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7382,94 +7461,105 @@ if (_wrapper) { } } } - QPushButton::inputMethodEvent(arg__1); + QPrintPreviewWidget::mouseReleaseEvent(event0); } -QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QPrintPreviewWidget::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + static PyObject* name = PyUnicode_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPushButton::inputMethodQuery(arg__1); + QPrintPreviewWidget::moveEvent(event0); } -void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) +bool PythonQtShell_QPrintPreviewWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::keyPressEvent(arg__1); + return QPrintPreviewWidget::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e0) +QPaintEngine* PythonQtShell_QPrintPreviewWidget::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::keyReleaseEvent(e0); + return QPrintPreviewWidget::paintEngine(); } -void PythonQtShell_QPushButton::leaveEvent(QEvent* event0) +void PythonQtShell_QPrintPreviewWidget::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); + static PyObject* name = PyUnicode_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -7481,28 +7571,28 @@ if (_wrapper) { } } } - QPushButton::leaveEvent(event0); + QPrintPreviewWidget::paintEvent(event0); } -int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QPaintDevice* PythonQtShell_QPrintPreviewWidget::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } @@ -7514,52 +7604,41 @@ if (_wrapper) { } } } - return QPushButton::metric(arg__1); + return QPrintPreviewWidget::redirected(offset0); } -QSize PythonQtShell_QPushButton::minimumSizeHint() const +void PythonQtShell_QPrintPreviewWidget::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPushButton::minimumSizeHint(); + QPrintPreviewWidget::resizeEvent(event0); } -void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QPrintPreviewWidget::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyUnicode_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7569,41 +7648,52 @@ if (_wrapper) { } } } - QPushButton::mouseDoubleClickEvent(event0); + QPrintPreviewWidget::setVisible(visible0); } -void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e0) +QPainter* PythonQtShell_QPrintPreviewWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::mouseMoveEvent(e0); + return QPrintPreviewWidget::sharedPainter(); } -void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e0) +void PythonQtShell_QPrintPreviewWidget::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7613,39 +7703,50 @@ if (_wrapper) { } } } - QPushButton::mousePressEvent(e0); + QPrintPreviewWidget::showEvent(event0); } -void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e0) +QSize PythonQtShell_QPrintPreviewWidget::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::mouseReleaseEvent(e0); + return QPrintPreviewWidget::sizeHint(); } -void PythonQtShell_QPushButton::moveEvent(QMoveEvent* event0) +void PythonQtShell_QPrintPreviewWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); + static PyObject* name = PyUnicode_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -7657,52 +7758,41 @@ if (_wrapper) { } } } - QPushButton::moveEvent(event0); + QPrintPreviewWidget::tabletEvent(event0); } -bool PythonQtShell_QPushButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QPrintPreviewWidget::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPushButton::nativeEvent(eventType0, message1, result2); + QPrintPreviewWidget::timerEvent(event0); } -void PythonQtShell_QPushButton::nextCheckState() +void PythonQtShell_QPrintPreviewWidget::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nextCheckState"); + static PyObject* name = PyUnicode_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7712,28 +7802,85 @@ if (_wrapper) { } } } - QPushButton::nextCheckState(); + QPrintPreviewWidget::wheelEvent(event0); } -QPaintEngine* PythonQtShell_QPushButton::paintEngine() const +QPrintPreviewWidget* PythonQtWrapper_QPrintPreviewWidget::new_QPrintPreviewWidget(QPrinter* printer, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QPrintPreviewWidget(printer, parent, flags); } + +QPrintPreviewWidget* PythonQtWrapper_QPrintPreviewWidget::new_QPrintPreviewWidget(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QPrintPreviewWidget(parent, flags); } + +const QMetaObject* PythonQtShell_QPrintPreviewWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPrintPreviewWidget::staticMetaObject); + } else { + return &QPrintPreviewWidget::staticMetaObject; + } +} +int PythonQtShell_QPrintPreviewWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPrintPreviewWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QPrintPreviewWidget::currentPage(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->currentPage()); +} + +QPrinter::Orientation PythonQtWrapper_QPrintPreviewWidget::orientation(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +int PythonQtWrapper_QPrintPreviewWidget::pageCount(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->pageCount()); +} + +QPrintPreviewWidget::ViewMode PythonQtWrapper_QPrintPreviewWidget::viewMode(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->viewMode()); +} + +qreal PythonQtWrapper_QPrintPreviewWidget::zoomFactor(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->zoomFactor()); +} + +QPrintPreviewWidget::ZoomMode PythonQtWrapper_QPrintPreviewWidget::zoomMode(QPrintPreviewWidget* theWrappedObject) const +{ + return ( theWrappedObject->zoomMode()); +} + + + +PythonQtShell_QPrinter::~PythonQtShell_QPrinter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +int PythonQtShell_QPrinter::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((int*)args[0]); } } } @@ -7745,19 +7892,19 @@ if (_wrapper) { } } } - return QPushButton::paintEngine(); + return QPrinter::devType(); } -void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QPrinter::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7767,28 +7914,28 @@ if (_wrapper) { } } } - QPushButton::paintEvent(arg__1); + QPrinter::initPainter(painter0); } -QPaintDevice* PythonQtShell_QPushButton::redirected(QPoint* offset0) const +int PythonQtShell_QPrinter::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } @@ -7800,72 +7947,61 @@ if (_wrapper) { } } } - return QPushButton::redirected(offset0); -} -void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QPushButton::resizeEvent(event0); + return QPrinter::metric(arg__1); } -void PythonQtShell_QPushButton::setVisible(bool visible0) +bool PythonQtShell_QPrinter::newPage() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); + static PyObject* name = PyUnicode_FromString("newPage"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("newPage", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::setVisible(visible0); + return QPrinter::newPage(); } -QPainter* PythonQtShell_QPushButton::sharedPainter() const +QPaintEngine* PythonQtShell_QPrinter::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QPaintEngine*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; + QPaintEngine* returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } @@ -7877,74 +8013,74 @@ if (_wrapper) { } } } - return QPushButton::sharedPainter(); + return QPrinter::paintEngine(); } -void PythonQtShell_QPushButton::showEvent(QShowEvent* event0) +QPaintDevice* PythonQtShell_QPrinter::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::showEvent(event0); + return QPrinter::redirected(offset0); } -QSize PythonQtShell_QPushButton::sizeHint() const +void PythonQtShell_QPrinter::setMargins(const QPagedPaintDevice::Margins& m0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); + static PyObject* name = PyUnicode_FromString("setMargins"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "const QPagedPaintDevice::Margins&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&m0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QPushButton::sizeHint(); + QPrinter::setMargins(m0); } -void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QPrinter::setPageSize(QPagedPaintDevice::PageSize arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("setPageSize"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QPagedPaintDevice::PageSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7954,19 +8090,19 @@ if (_wrapper) { } } } - QPushButton::tabletEvent(event0); + QPrinter::setPageSize(arg__1); } -void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e0) +void PythonQtShell_QPrinter::setPageSizeMM(const QSizeF& size0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("setPageSizeMM"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "const QSizeF&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&size0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7976,495 +8112,761 @@ if (_wrapper) { } } } - QPushButton::timerEvent(e0); + QPrinter::setPageSizeMM(size0); } -void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* event0) +QPainter* PythonQtShell_QPrinter::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QPushButton::wheelEvent(event0); + return QPrinter::sharedPainter(); } -QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(QWidget* parent) +QPrinter* PythonQtWrapper_QPrinter::new_QPrinter(QPrinter::PrinterMode mode) { -return new PythonQtShell_QPushButton(parent); } +return new PythonQtShell_QPrinter(mode); } -QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(const QIcon& icon, const QString& text, QWidget* parent) +QPrinter* PythonQtWrapper_QPrinter::new_QPrinter(const QPrinterInfo& printer, QPrinter::PrinterMode mode) { -return new PythonQtShell_QPushButton(icon, text, parent); } +return new PythonQtShell_QPrinter(printer, mode); } -QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(const QString& text, QWidget* parent) -{ -return new PythonQtShell_QPushButton(text, parent); } +bool PythonQtWrapper_QPrinter::abort(QPrinter* theWrappedObject) +{ + return ( theWrappedObject->abort()); +} -const QMetaObject* PythonQtShell_QPushButton::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPushButton::staticMetaObject); - } else { - return &QPushButton::staticMetaObject; - } +int PythonQtWrapper_QPrinter::actualNumCopies(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->actualNumCopies()); } -int PythonQtShell_QPushButton::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QPushButton::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +bool PythonQtWrapper_QPrinter::collateCopies(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->collateCopies()); } -bool PythonQtWrapper_QPushButton::autoDefault(QPushButton* theWrappedObject) const + +QPrinter::ColorMode PythonQtWrapper_QPrinter::colorMode(QPrinter* theWrappedObject) const { - return ( theWrappedObject->autoDefault()); + return ( theWrappedObject->colorMode()); } -void PythonQtWrapper_QPushButton::initStyleOption(QPushButton* theWrappedObject, QStyleOptionButton* option) const +int PythonQtWrapper_QPrinter::copyCount(QPrinter* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_initStyleOption(option)); + return ( theWrappedObject->copyCount()); } -bool PythonQtWrapper_QPushButton::isDefault(QPushButton* theWrappedObject) const +QString PythonQtWrapper_QPrinter::creator(QPrinter* theWrappedObject) const { - return ( theWrappedObject->isDefault()); + return ( theWrappedObject->creator()); } -bool PythonQtWrapper_QPushButton::isFlat(QPushButton* theWrappedObject) const +QString PythonQtWrapper_QPrinter::docName(QPrinter* theWrappedObject) const { - return ( theWrappedObject->isFlat()); + return ( theWrappedObject->docName()); } -QMenu* PythonQtWrapper_QPushButton::menu(QPushButton* theWrappedObject) const +bool PythonQtWrapper_QPrinter::doubleSidedPrinting(QPrinter* theWrappedObject) const { - return ( theWrappedObject->menu()); + return ( theWrappedObject->doubleSidedPrinting()); } -void PythonQtWrapper_QPushButton::setAutoDefault(QPushButton* theWrappedObject, bool arg__1) +QPrinter::DuplexMode PythonQtWrapper_QPrinter::duplex(QPrinter* theWrappedObject) const { - ( theWrappedObject->setAutoDefault(arg__1)); + return ( theWrappedObject->duplex()); } -void PythonQtWrapper_QPushButton::setDefault(QPushButton* theWrappedObject, bool arg__1) +bool PythonQtWrapper_QPrinter::fontEmbeddingEnabled(QPrinter* theWrappedObject) const { - ( theWrappedObject->setDefault(arg__1)); + return ( theWrappedObject->fontEmbeddingEnabled()); } -void PythonQtWrapper_QPushButton::setFlat(QPushButton* theWrappedObject, bool arg__1) +int PythonQtWrapper_QPrinter::fromPage(QPrinter* theWrappedObject) const { - ( theWrappedObject->setFlat(arg__1)); + return ( theWrappedObject->fromPage()); } -void PythonQtWrapper_QPushButton::setMenu(QPushButton* theWrappedObject, QMenu* menu) +bool PythonQtWrapper_QPrinter::fullPage(QPrinter* theWrappedObject) const { - ( theWrappedObject->setMenu(menu)); + return ( theWrappedObject->fullPage()); } +void PythonQtWrapper_QPrinter::getPageMargins(QPrinter* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom, QPrinter::Unit unit) const +{ + ( theWrappedObject->getPageMargins(left, top, right, bottom, unit)); +} +bool PythonQtWrapper_QPrinter::isValid(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} -QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion() -{ -return new QQuaternion(); } +int PythonQtWrapper_QPrinter::numCopies(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->numCopies()); +} -QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(const QVector4D& vector) -{ -return new QQuaternion(vector); } +QPrinter::Orientation PythonQtWrapper_QPrinter::orientation(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} -QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(float scalar, const QVector3D& vector) -{ -return new QQuaternion(scalar, vector); } +QString PythonQtWrapper_QPrinter::outputFileName(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->outputFileName()); +} -QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(float scalar, float xpos, float ypos, float zpos) -{ -return new QQuaternion(scalar, xpos, ypos, zpos); } +QPrinter::OutputFormat PythonQtWrapper_QPrinter::outputFormat(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->outputFormat()); +} -QQuaternion PythonQtWrapper_QQuaternion::conjugate(QQuaternion* theWrappedObject) const +QPrinter::PageOrder PythonQtWrapper_QPrinter::pageOrder(QPrinter* theWrappedObject) const { - return ( theWrappedObject->conjugate()); + return ( theWrappedObject->pageOrder()); } -QQuaternion PythonQtWrapper_QQuaternion::conjugated(QQuaternion* theWrappedObject) const +QRect PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject) const { - return ( theWrappedObject->conjugated()); + return ( theWrappedObject->pageRect()); +} + +QRectF PythonQtWrapper_QPrinter::pageRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const +{ + return ( theWrappedObject->pageRect(arg__1)); +} + +QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::pageSize(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->pageSize()); +} + +QString PythonQtWrapper_QPrinter::paperName(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->paperName()); +} + +QRect PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->paperRect()); +} + +QRectF PythonQtWrapper_QPrinter::paperRect(QPrinter* theWrappedObject, QPrinter::Unit arg__1) const +{ + return ( theWrappedObject->paperRect(arg__1)); +} + +QPagedPaintDevice::PageSize PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->paperSize()); +} + +QSizeF PythonQtWrapper_QPrinter::paperSize(QPrinter* theWrappedObject, QPrinter::Unit unit) const +{ + return ( theWrappedObject->paperSize(unit)); +} + +QPrinter::PaperSource PythonQtWrapper_QPrinter::paperSource(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->paperSource()); +} + +QPagedPaintDevice::PdfVersion PythonQtWrapper_QPrinter::pdfVersion(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->pdfVersion()); +} + +QPrintEngine* PythonQtWrapper_QPrinter::printEngine(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printEngine()); +} + +QString PythonQtWrapper_QPrinter::printProgram(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printProgram()); +} + +QPrinter::PrintRange PythonQtWrapper_QPrinter::printRange(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printRange()); +} + +QString PythonQtWrapper_QPrinter::printerName(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printerName()); +} + +QPrinter::PrinterState PythonQtWrapper_QPrinter::printerState(QPrinter* theWrappedObject) const +{ + return ( theWrappedObject->printerState()); } -float PythonQtWrapper_QQuaternion::static_QQuaternion_dotProduct(const QQuaternion& q1, const QQuaternion& q2) +int PythonQtWrapper_QPrinter::resolution(QPrinter* theWrappedObject) const { - return (QQuaternion::dotProduct(q1, q2)); + return ( theWrappedObject->resolution()); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxes(const QVector3D& xAxis, const QVector3D& yAxis, const QVector3D& zAxis) +void PythonQtWrapper_QPrinter::setCollateCopies(QPrinter* theWrappedObject, bool collate) { - return (QQuaternion::fromAxes(xAxis, yAxis, zAxis)); + ( theWrappedObject->setCollateCopies(collate)); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxisAndAngle(const QVector3D& axis, float angle) +void PythonQtWrapper_QPrinter::setColorMode(QPrinter* theWrappedObject, QPrinter::ColorMode arg__1) { - return (QQuaternion::fromAxisAndAngle(axis, angle)); + ( theWrappedObject->setColorMode(arg__1)); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxisAndAngle(float x, float y, float z, float angle) +void PythonQtWrapper_QPrinter::setCopyCount(QPrinter* theWrappedObject, int arg__1) { - return (QQuaternion::fromAxisAndAngle(x, y, z, angle)); + ( theWrappedObject->setCopyCount(arg__1)); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromDirection(const QVector3D& direction, const QVector3D& up) +void PythonQtWrapper_QPrinter::setCreator(QPrinter* theWrappedObject, const QString& arg__1) { - return (QQuaternion::fromDirection(direction, up)); + ( theWrappedObject->setCreator(arg__1)); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromEulerAngles(const QVector3D& eulerAngles) +void PythonQtWrapper_QPrinter::setDocName(QPrinter* theWrappedObject, const QString& arg__1) { - return (QQuaternion::fromEulerAngles(eulerAngles)); + ( theWrappedObject->setDocName(arg__1)); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromEulerAngles(float pitch, float yaw, float roll) +void PythonQtWrapper_QPrinter::setDoubleSidedPrinting(QPrinter* theWrappedObject, bool enable) { - return (QQuaternion::fromEulerAngles(pitch, yaw, roll)); + ( theWrappedObject->setDoubleSidedPrinting(enable)); } -void PythonQtWrapper_QQuaternion::getAxes(QQuaternion* theWrappedObject, QVector3D* xAxis, QVector3D* yAxis, QVector3D* zAxis) const +void PythonQtWrapper_QPrinter::setDuplex(QPrinter* theWrappedObject, QPrinter::DuplexMode duplex) { - ( theWrappedObject->getAxes(xAxis, yAxis, zAxis)); + ( theWrappedObject->setDuplex(duplex)); } -void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, QVector3D* axis, float* angle) const +void PythonQtWrapper_QPrinter::setEngines(QPrinter* theWrappedObject, QPrintEngine* printEngine, QPaintEngine* paintEngine) { - ( theWrappedObject->getAxisAndAngle(axis, angle)); + ( ((PythonQtPublicPromoter_QPrinter*)theWrappedObject)->promoted_setEngines(printEngine, paintEngine)); } -void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, float* x, float* y, float* z, float* angle) const +void PythonQtWrapper_QPrinter::setFontEmbeddingEnabled(QPrinter* theWrappedObject, bool enable) { - ( theWrappedObject->getAxisAndAngle(x, y, z, angle)); + ( theWrappedObject->setFontEmbeddingEnabled(enable)); } -void PythonQtWrapper_QQuaternion::getEulerAngles(QQuaternion* theWrappedObject, float* pitch, float* yaw, float* roll) const +void PythonQtWrapper_QPrinter::setFromTo(QPrinter* theWrappedObject, int fromPage, int toPage) { - ( theWrappedObject->getEulerAngles(pitch, yaw, roll)); + ( theWrappedObject->setFromTo(fromPage, toPage)); } -QQuaternion PythonQtWrapper_QQuaternion::inverted(QQuaternion* theWrappedObject) const +void PythonQtWrapper_QPrinter::setFullPage(QPrinter* theWrappedObject, bool arg__1) { - return ( theWrappedObject->inverted()); + ( theWrappedObject->setFullPage(arg__1)); } -bool PythonQtWrapper_QQuaternion::isIdentity(QQuaternion* theWrappedObject) const +void PythonQtWrapper_QPrinter::setNumCopies(QPrinter* theWrappedObject, int arg__1) { - return ( theWrappedObject->isIdentity()); + ( theWrappedObject->setNumCopies(arg__1)); } -bool PythonQtWrapper_QQuaternion::isNull(QQuaternion* theWrappedObject) const +void PythonQtWrapper_QPrinter::setOrientation(QPrinter* theWrappedObject, QPrinter::Orientation arg__1) { - return ( theWrappedObject->isNull()); + ( theWrappedObject->setOrientation(arg__1)); } -float PythonQtWrapper_QQuaternion::length(QQuaternion* theWrappedObject) const +void PythonQtWrapper_QPrinter::setOutputFileName(QPrinter* theWrappedObject, const QString& arg__1) { - return ( theWrappedObject->length()); + ( theWrappedObject->setOutputFileName(arg__1)); } -float PythonQtWrapper_QQuaternion::lengthSquared(QQuaternion* theWrappedObject) const +void PythonQtWrapper_QPrinter::setOutputFormat(QPrinter* theWrappedObject, QPrinter::OutputFormat format) { - return ( theWrappedObject->lengthSquared()); + ( theWrappedObject->setOutputFormat(format)); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_nlerp(const QQuaternion& q1, const QQuaternion& q2, float t) +void PythonQtWrapper_QPrinter::setPageMargins(QPrinter* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit) { - return (QQuaternion::nlerp(q1, q2, t)); + ( theWrappedObject->setPageMargins(left, top, right, bottom, unit)); } -void PythonQtWrapper_QQuaternion::normalize(QQuaternion* theWrappedObject) +void PythonQtWrapper_QPrinter::setPageOrder(QPrinter* theWrappedObject, QPrinter::PageOrder arg__1) { - ( theWrappedObject->normalize()); + ( theWrappedObject->setPageOrder(arg__1)); } -QQuaternion PythonQtWrapper_QQuaternion::normalized(QQuaternion* theWrappedObject) const +void PythonQtWrapper_QPrinter::setPaperName(QPrinter* theWrappedObject, const QString& paperName) { - return ( theWrappedObject->normalized()); + ( theWrappedObject->setPaperName(paperName)); } -bool PythonQtWrapper_QQuaternion::__ne__(QQuaternion* theWrappedObject, const QQuaternion& q2) +void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, QPagedPaintDevice::PageSize arg__1) { - return ( (*theWrappedObject)!= q2); + ( theWrappedObject->setPaperSize(arg__1)); } -const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QQuaternion& q2) +void PythonQtWrapper_QPrinter::setPaperSize(QPrinter* theWrappedObject, const QSizeF& paperSize, QPrinter::Unit unit) { - return ( (*theWrappedObject)* q2); + ( theWrappedObject->setPaperSize(paperSize, unit)); } -QVector3D PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QVector3D& vec) +void PythonQtWrapper_QPrinter::setPaperSource(QPrinter* theWrappedObject, QPrinter::PaperSource arg__1) { - return ( (*theWrappedObject)* vec); + ( theWrappedObject->setPaperSource(arg__1)); } -const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, float factor) +void PythonQtWrapper_QPrinter::setPdfVersion(QPrinter* theWrappedObject, QPagedPaintDevice::PdfVersion version) { - return ( (*theWrappedObject)* factor); + ( theWrappedObject->setPdfVersion(version)); } -QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +void PythonQtWrapper_QPrinter::setPrintProgram(QPrinter* theWrappedObject, const QString& arg__1) { - return &( (*theWrappedObject)*= quaternion); + ( theWrappedObject->setPrintProgram(arg__1)); } -QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, float factor) +void PythonQtWrapper_QPrinter::setPrintRange(QPrinter* theWrappedObject, QPrinter::PrintRange range) { - return &( (*theWrappedObject)*= factor); + ( theWrappedObject->setPrintRange(range)); } -const QQuaternion PythonQtWrapper_QQuaternion::__add__(QQuaternion* theWrappedObject, const QQuaternion& q2) +void PythonQtWrapper_QPrinter::setPrinterName(QPrinter* theWrappedObject, const QString& arg__1) { - return ( (*theWrappedObject)+ q2); + ( theWrappedObject->setPrinterName(arg__1)); } -QQuaternion* PythonQtWrapper_QQuaternion::__iadd__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +void PythonQtWrapper_QPrinter::setResolution(QPrinter* theWrappedObject, int arg__1) { - return &( (*theWrappedObject)+= quaternion); + ( theWrappedObject->setResolution(arg__1)); } -const QQuaternion PythonQtWrapper_QQuaternion::__sub__(QQuaternion* theWrappedObject) +void PythonQtWrapper_QPrinter::setWinPageSize(QPrinter* theWrappedObject, int winPageSize) { - return (- (*theWrappedObject)); + ( theWrappedObject->setWinPageSize(winPageSize)); } -const QQuaternion PythonQtWrapper_QQuaternion::__sub__(QQuaternion* theWrappedObject, const QQuaternion& q2) +QList PythonQtWrapper_QPrinter::supportedResolutions(QPrinter* theWrappedObject) const { - return ( (*theWrappedObject)- q2); + return ( theWrappedObject->supportedResolutions()); } -QQuaternion* PythonQtWrapper_QQuaternion::__isub__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) +bool PythonQtWrapper_QPrinter::supportsMultipleCopies(QPrinter* theWrappedObject) const { - return &( (*theWrappedObject)-= quaternion); + return ( theWrappedObject->supportsMultipleCopies()); } -const QQuaternion PythonQtWrapper_QQuaternion::__div__(QQuaternion* theWrappedObject, float divisor) +int PythonQtWrapper_QPrinter::toPage(QPrinter* theWrappedObject) const { - return ( (*theWrappedObject)/ divisor); + return ( theWrappedObject->toPage()); } -QQuaternion* PythonQtWrapper_QQuaternion::__idiv__(QQuaternion* theWrappedObject, float divisor) +int PythonQtWrapper_QPrinter::winPageSize(QPrinter* theWrappedObject) const { - return &( (*theWrappedObject)/= divisor); + return ( theWrappedObject->winPageSize()); } -void PythonQtWrapper_QQuaternion::writeTo(QQuaternion* theWrappedObject, QDataStream& arg__1) + + +QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo() +{ +return new QPrinterInfo(); } + +QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo(const QPrinter& printer) +{ +return new QPrinterInfo(printer); } + +QPrinterInfo* PythonQtWrapper_QPrinterInfo::new_QPrinterInfo(const QPrinterInfo& other) +{ +return new QPrinterInfo(other); } + +QStringList PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_availablePrinterNames() { - arg__1 << (*theWrappedObject); + return (QPrinterInfo::availablePrinterNames()); } -bool PythonQtWrapper_QQuaternion::__eq__(QQuaternion* theWrappedObject, const QQuaternion& q2) +QList PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_availablePrinters() { - return ( (*theWrappedObject)== q2); + return (QPrinterInfo::availablePrinters()); } -void PythonQtWrapper_QQuaternion::readFrom(QQuaternion* theWrappedObject, QDataStream& arg__1) +QPrinter::DuplexMode PythonQtWrapper_QPrinterInfo::defaultDuplexMode(QPrinterInfo* theWrappedObject) const { - arg__1 >> (*theWrappedObject); + return ( theWrappedObject->defaultDuplexMode()); } -QVector3D PythonQtWrapper_QQuaternion::rotatedVector(QQuaternion* theWrappedObject, const QVector3D& vector) const +QPageSize PythonQtWrapper_QPrinterInfo::defaultPageSize(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->rotatedVector(vector)); + return ( theWrappedObject->defaultPageSize()); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_rotationTo(const QVector3D& from, const QVector3D& to) +QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinter() { - return (QQuaternion::rotationTo(from, to)); + return (QPrinterInfo::defaultPrinter()); } -float PythonQtWrapper_QQuaternion::scalar(QQuaternion* theWrappedObject) const +QString PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_defaultPrinterName() { - return ( theWrappedObject->scalar()); + return (QPrinterInfo::defaultPrinterName()); } -void PythonQtWrapper_QQuaternion::setScalar(QQuaternion* theWrappedObject, float scalar) +QString PythonQtWrapper_QPrinterInfo::description(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->setScalar(scalar)); + return ( theWrappedObject->description()); } -void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, const QVector3D& vector) +bool PythonQtWrapper_QPrinterInfo::isDefault(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->setVector(vector)); + return ( theWrappedObject->isDefault()); } -void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, float x, float y, float z) +bool PythonQtWrapper_QPrinterInfo::isNull(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->setVector(x, y, z)); + return ( theWrappedObject->isNull()); } -void PythonQtWrapper_QQuaternion::setX(QQuaternion* theWrappedObject, float x) +bool PythonQtWrapper_QPrinterInfo::isRemote(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->setX(x)); + return ( theWrappedObject->isRemote()); } -void PythonQtWrapper_QQuaternion::setY(QQuaternion* theWrappedObject, float y) +QString PythonQtWrapper_QPrinterInfo::location(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->setY(y)); + return ( theWrappedObject->location()); } -void PythonQtWrapper_QQuaternion::setZ(QQuaternion* theWrappedObject, float z) +QString PythonQtWrapper_QPrinterInfo::makeAndModel(QPrinterInfo* theWrappedObject) const { - ( theWrappedObject->setZ(z)); + return ( theWrappedObject->makeAndModel()); } -QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_slerp(const QQuaternion& q1, const QQuaternion& q2, float t) +QPageSize PythonQtWrapper_QPrinterInfo::maximumPhysicalPageSize(QPrinterInfo* theWrappedObject) const { - return (QQuaternion::slerp(q1, q2, t)); + return ( theWrappedObject->maximumPhysicalPageSize()); } -QVector3D PythonQtWrapper_QQuaternion::toEulerAngles(QQuaternion* theWrappedObject) const +QPageSize PythonQtWrapper_QPrinterInfo::minimumPhysicalPageSize(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->toEulerAngles()); + return ( theWrappedObject->minimumPhysicalPageSize()); } -QVector4D PythonQtWrapper_QQuaternion::toVector4D(QQuaternion* theWrappedObject) const +QPrinterInfo PythonQtWrapper_QPrinterInfo::static_QPrinterInfo_printerInfo(const QString& printerName) { - return ( theWrappedObject->toVector4D()); + return (QPrinterInfo::printerInfo(printerName)); } -QVector3D PythonQtWrapper_QQuaternion::vector(QQuaternion* theWrappedObject) const +QString PythonQtWrapper_QPrinterInfo::printerName(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->vector()); + return ( theWrappedObject->printerName()); } -float PythonQtWrapper_QQuaternion::x(QQuaternion* theWrappedObject) const +QPrinter::PrinterState PythonQtWrapper_QPrinterInfo::state(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->x()); + return ( theWrappedObject->state()); } -float PythonQtWrapper_QQuaternion::y(QQuaternion* theWrappedObject) const +QList PythonQtWrapper_QPrinterInfo::supportedDuplexModes(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->y()); + return ( theWrappedObject->supportedDuplexModes()); } -float PythonQtWrapper_QQuaternion::z(QQuaternion* theWrappedObject) const +QList PythonQtWrapper_QPrinterInfo::supportedPageSizes(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->z()); + return ( theWrappedObject->supportedPageSizes()); } -QString PythonQtWrapper_QQuaternion::py_toString(QQuaternion* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; +QList PythonQtWrapper_QPrinterInfo::supportedPaperSizes(QPrinterInfo* theWrappedObject) const +{ + return ( theWrappedObject->supportedPaperSizes()); } - - -QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient() -{ -return new QRadialGradient(); } - -QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(const QPointF& center, qreal centerRadius, const QPointF& focalPoint, qreal focalRadius) -{ -return new QRadialGradient(center, centerRadius, focalPoint, focalRadius); } - -QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(const QPointF& center, qreal radius) -{ -return new QRadialGradient(center, radius); } - -QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(const QPointF& center, qreal radius, const QPointF& focalPoint) -{ -return new QRadialGradient(center, radius, focalPoint); } - -QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(qreal cx, qreal cy, qreal centerRadius, qreal fx, qreal fy, qreal focalRadius) -{ -return new QRadialGradient(cx, cy, centerRadius, fx, fy, focalRadius); } - -QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(qreal cx, qreal cy, qreal radius) -{ -return new QRadialGradient(cx, cy, radius); } - -QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(qreal cx, qreal cy, qreal radius, qreal fx, qreal fy) -{ -return new QRadialGradient(cx, cy, radius, fx, fy); } - -QPointF PythonQtWrapper_QRadialGradient::center(QRadialGradient* theWrappedObject) const +QList PythonQtWrapper_QPrinterInfo::supportedResolutions(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->center()); + return ( theWrappedObject->supportedResolutions()); } -qreal PythonQtWrapper_QRadialGradient::centerRadius(QRadialGradient* theWrappedObject) const +QList > PythonQtWrapper_QPrinterInfo::supportedSizesWithNames(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->centerRadius()); + return ( theWrappedObject->supportedSizesWithNames()); } -QPointF PythonQtWrapper_QRadialGradient::focalPoint(QRadialGradient* theWrappedObject) const +bool PythonQtWrapper_QPrinterInfo::supportsCustomPageSizes(QPrinterInfo* theWrappedObject) const { - return ( theWrappedObject->focalPoint()); + return ( theWrappedObject->supportsCustomPageSizes()); } -qreal PythonQtWrapper_QRadialGradient::focalRadius(QRadialGradient* theWrappedObject) const -{ - return ( theWrappedObject->focalRadius()); +QString PythonQtWrapper_QPrinterInfo::py_toString(QPrinterInfo* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; } -qreal PythonQtWrapper_QRadialGradient::radius(QRadialGradient* theWrappedObject) const + + +PythonQtShell_QProgressBar::~PythonQtShell_QProgressBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QProgressBar::actionEvent(QActionEvent* event0) { - return ( theWrappedObject->radius()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, const QPointF& center) + QProgressBar::actionEvent(event0); +} +void PythonQtShell_QProgressBar::changeEvent(QEvent* arg__1) { - ( theWrappedObject->setCenter(center)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y) + QProgressBar::changeEvent(arg__1); +} +void PythonQtShell_QProgressBar::childEvent(QChildEvent* event0) { - ( theWrappedObject->setCenter(x, y)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QRadialGradient::setCenterRadius(QRadialGradient* theWrappedObject, qreal radius) + QProgressBar::childEvent(event0); +} +void PythonQtShell_QProgressBar::closeEvent(QCloseEvent* event0) { - ( theWrappedObject->setCenterRadius(radius)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint) + QProgressBar::closeEvent(event0); +} +void PythonQtShell_QProgressBar::contextMenuEvent(QContextMenuEvent* event0) { - ( theWrappedObject->setFocalPoint(focalPoint)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y) + QProgressBar::contextMenuEvent(event0); +} +void PythonQtShell_QProgressBar::customEvent(QEvent* event0) { - ( theWrappedObject->setFocalPoint(x, y)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QRadialGradient::setFocalRadius(QRadialGradient* theWrappedObject, qreal radius) + QProgressBar::customEvent(event0); +} +int PythonQtShell_QProgressBar::devType() const { - ( theWrappedObject->setFocalRadius(radius)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QRadialGradient::setRadius(QRadialGradient* theWrappedObject, qreal radius) + return QProgressBar::devType(); +} +void PythonQtShell_QProgressBar::dragEnterEvent(QDragEnterEvent* event0) { - ( theWrappedObject->setRadius(radius)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressBar::dragEnterEvent(event0); +} +void PythonQtShell_QProgressBar::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressBar::dragLeaveEvent(event0); +} +void PythonQtShell_QProgressBar::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QRadioButton::~PythonQtShell_QRadioButton() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QProgressBar::dragMoveEvent(event0); } -void PythonQtShell_QRadioButton::actionEvent(QActionEvent* event0) +void PythonQtShell_QProgressBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); + static PyObject* name = PyUnicode_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -8476,19 +8878,19 @@ if (_wrapper) { } } } - QRadioButton::actionEvent(event0); + QProgressBar::dropEvent(event0); } -void PythonQtShell_QRadioButton::changeEvent(QEvent* e0) +void PythonQtShell_QProgressBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); + static PyObject* name = PyUnicode_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8498,61 +8900,83 @@ if (_wrapper) { } } } - QRadioButton::changeEvent(e0); + QProgressBar::enterEvent(event0); } -void PythonQtShell_QRadioButton::checkStateSet() +bool PythonQtShell_QProgressBar::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("checkStateSet"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRadioButton::checkStateSet(); + return QProgressBar::event(e0); } -void PythonQtShell_QRadioButton::childEvent(QChildEvent* event0) +bool PythonQtShell_QProgressBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRadioButton::childEvent(event0); + return QProgressBar::eventFilter(watched0, event1); } -void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* event0) +void PythonQtShell_QProgressBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -8564,39 +8988,50 @@ if (_wrapper) { } } } - QRadioButton::closeEvent(event0); + QProgressBar::focusInEvent(event0); } -void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* event0) +bool PythonQtShell_QProgressBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRadioButton::contextMenuEvent(event0); + return QProgressBar::focusNextPrevChild(next0); } -void PythonQtShell_QRadioButton::customEvent(QEvent* event0) +void PythonQtShell_QProgressBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -8608,26 +9043,59 @@ if (_wrapper) { } } } - QRadioButton::customEvent(event0); + QProgressBar::focusOutEvent(event0); } -int PythonQtShell_QRadioButton::devType() const +bool PythonQtShell_QProgressBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressBar::hasHeightForWidth(); +} +int PythonQtShell_QProgressBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { returnValue = *((int*)args[0]); } @@ -8641,17 +9109,17 @@ if (_wrapper) { } } } - return QRadioButton::devType(); + return QProgressBar::heightForWidth(arg__1); } -void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QProgressBar::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + static PyObject* name = PyUnicode_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -8663,19 +9131,19 @@ if (_wrapper) { } } } - QRadioButton::dragEnterEvent(event0); + QProgressBar::hideEvent(event0); } -void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QProgressBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8685,17 +9153,72 @@ if (_wrapper) { } } } - QRadioButton::dragLeaveEvent(event0); + QProgressBar::initPainter(painter0); } -void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QProgressBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QProgressBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProgressBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QProgressBar::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -8707,17 +9230,17 @@ if (_wrapper) { } } } - QRadioButton::dragMoveEvent(event0); + QProgressBar::keyPressEvent(event0); } -void PythonQtShell_QRadioButton::dropEvent(QDropEvent* event0) +void PythonQtShell_QProgressBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -8729,14 +9252,14 @@ if (_wrapper) { } } } - QRadioButton::dropEvent(event0); + QProgressBar::keyReleaseEvent(event0); } -void PythonQtShell_QRadioButton::enterEvent(QEvent* event0) +void PythonQtShell_QProgressBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); + static PyObject* name = PyUnicode_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; @@ -8751,28 +9274,28 @@ if (_wrapper) { } } } - QRadioButton::enterEvent(event0); + QProgressBar::leaveEvent(event0); } -bool PythonQtShell_QRadioButton::event(QEvent* e0) +int PythonQtShell_QProgressBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -8784,28 +9307,28 @@ if (_wrapper) { } } } - return QRadioButton::event(e0); + return QProgressBar::metric(arg__1); } -bool PythonQtShell_QRadioButton::eventFilter(QObject* watched0, QEvent* event1) +QSize PythonQtShell_QProgressBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -8817,19 +9340,19 @@ if (_wrapper) { } } } - return QRadioButton::eventFilter(watched0, event1); + return QProgressBar::minimumSizeHint(); } -void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e0) +void PythonQtShell_QProgressBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8839,52 +9362,41 @@ if (_wrapper) { } } } - QRadioButton::focusInEvent(e0); + QProgressBar::mouseDoubleClickEvent(event0); } -bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next0) +void PythonQtShell_QProgressBar::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRadioButton::focusNextPrevChild(next0); + QProgressBar::mouseMoveEvent(event0); } -void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e0) +void PythonQtShell_QProgressBar::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); + static PyObject* name = PyUnicode_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8894,83 +9406,39 @@ if (_wrapper) { } } } - QRadioButton::focusOutEvent(e0); -} -bool PythonQtShell_QRadioButton::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QRadioButton::hasHeightForWidth(); + QProgressBar::mousePressEvent(event0); } -int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const +void PythonQtShell_QProgressBar::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRadioButton::heightForWidth(arg__1); + QProgressBar::mouseReleaseEvent(event0); } -void PythonQtShell_QRadioButton::hideEvent(QHideEvent* event0) +void PythonQtShell_QProgressBar::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); + static PyObject* name = PyUnicode_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -8982,26 +9450,26 @@ if (_wrapper) { } } } - QRadioButton::hideEvent(event0); + QProgressBar::moveEvent(event0); } -bool PythonQtShell_QRadioButton::hitButton(const QPoint& arg__1) const +bool PythonQtShell_QProgressBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hitButton"); + static PyObject* name = PyUnicode_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -9015,39 +9483,50 @@ if (_wrapper) { } } } - return QRadioButton::hitButton(arg__1); + return QProgressBar::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QRadioButton::initPainter(QPainter* painter0) const +QPaintEngine* PythonQtShell_QProgressBar::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); + static PyObject* name = PyUnicode_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRadioButton::initPainter(painter0); + return QProgressBar::paintEngine(); } -void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QProgressBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + static PyObject* name = PyUnicode_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -9059,28 +9538,28 @@ if (_wrapper) { } } } - QRadioButton::inputMethodEvent(arg__1); + QProgressBar::paintEvent(arg__1); } -QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QPaintDevice* PythonQtShell_QProgressBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } @@ -9092,19 +9571,19 @@ if (_wrapper) { } } } - return QRadioButton::inputMethodQuery(arg__1); + return QProgressBar::redirected(offset0); } -void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e0) +void PythonQtShell_QProgressBar::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9114,39 +9593,72 @@ if (_wrapper) { } } } - QRadioButton::keyPressEvent(e0); + QProgressBar::resizeEvent(event0); } -void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e0) +void PythonQtShell_QProgressBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return; + } else { + PyErr_Clear(); + } + } +} + QProgressBar::setVisible(visible0); +} +QPainter* PythonQtShell_QProgressBar::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; } else { PyErr_Clear(); } } } - QRadioButton::keyReleaseEvent(e0); + return QProgressBar::sharedPainter(); } -void PythonQtShell_QRadioButton::leaveEvent(QEvent* event0) +void PythonQtShell_QProgressBar::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -9158,28 +9670,28 @@ if (_wrapper) { } } } - QRadioButton::leaveEvent(event0); + QProgressBar::showEvent(event0); } -int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QSize PythonQtShell_QProgressBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -9191,28 +9703,50 @@ if (_wrapper) { } } } - return QRadioButton::metric(arg__1); + return QProgressBar::sizeHint(); } -QSize PythonQtShell_QRadioButton::minimumSizeHint() const +void PythonQtShell_QProgressBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressBar::tabletEvent(event0); +} +QString PythonQtShell_QProgressBar::text() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("text"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + QString returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("text", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QString*)args[0]); } } } @@ -9224,17 +9758,17 @@ if (_wrapper) { } } } - return QRadioButton::minimumSizeHint(); + return QProgressBar::text(); } -void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QProgressBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -9246,19 +9780,19 @@ if (_wrapper) { } } } - QRadioButton::mouseDoubleClickEvent(event0); + QProgressBar::timerEvent(event0); } -void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QProgressBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + static PyObject* name = PyUnicode_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9268,19 +9802,127 @@ if (_wrapper) { } } } - QRadioButton::mouseMoveEvent(arg__1); + QProgressBar::wheelEvent(event0); } -void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e0) +QProgressBar* PythonQtWrapper_QProgressBar::new_QProgressBar(QWidget* parent) +{ +return new PythonQtShell_QProgressBar(parent); } + +const QMetaObject* PythonQtShell_QProgressBar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProgressBar::staticMetaObject); + } else { + return &QProgressBar::staticMetaObject; + } +} +int PythonQtShell_QProgressBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QProgressBar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::Alignment PythonQtWrapper_QProgressBar::alignment(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +QString PythonQtWrapper_QProgressBar::format(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->format()); +} + +void PythonQtWrapper_QProgressBar::initStyleOption(QProgressBar* theWrappedObject, QStyleOptionProgressBar* option) const +{ + ( ((PythonQtPublicPromoter_QProgressBar*)theWrappedObject)->promoted_initStyleOption(option)); +} + +bool PythonQtWrapper_QProgressBar::invertedAppearance(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->invertedAppearance()); +} + +bool PythonQtWrapper_QProgressBar::isTextVisible(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->isTextVisible()); +} + +int PythonQtWrapper_QProgressBar::maximum(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->maximum()); +} + +int PythonQtWrapper_QProgressBar::minimum(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->minimum()); +} + +Qt::Orientation PythonQtWrapper_QProgressBar::orientation(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +void PythonQtWrapper_QProgressBar::resetFormat(QProgressBar* theWrappedObject) +{ + ( theWrappedObject->resetFormat()); +} + +void PythonQtWrapper_QProgressBar::setAlignment(QProgressBar* theWrappedObject, Qt::Alignment alignment) +{ + ( theWrappedObject->setAlignment(alignment)); +} + +void PythonQtWrapper_QProgressBar::setFormat(QProgressBar* theWrappedObject, const QString& format) +{ + ( theWrappedObject->setFormat(format)); +} + +void PythonQtWrapper_QProgressBar::setInvertedAppearance(QProgressBar* theWrappedObject, bool invert) +{ + ( theWrappedObject->setInvertedAppearance(invert)); +} + +void PythonQtWrapper_QProgressBar::setTextDirection(QProgressBar* theWrappedObject, QProgressBar::Direction textDirection) +{ + ( theWrappedObject->setTextDirection(textDirection)); +} + +void PythonQtWrapper_QProgressBar::setTextVisible(QProgressBar* theWrappedObject, bool visible) +{ + ( theWrappedObject->setTextVisible(visible)); +} + +QString PythonQtWrapper_QProgressBar::text(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->text()); +} + +QProgressBar::Direction PythonQtWrapper_QProgressBar::textDirection(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->textDirection()); +} + +int PythonQtWrapper_QProgressBar::value(QProgressBar* theWrappedObject) const +{ + return ( theWrappedObject->value()); +} + + + +PythonQtShell_QProgressDialog::~PythonQtShell_QProgressDialog() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QProgressDialog::accept() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("accept"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9290,19 +9932,19 @@ if (_wrapper) { } } } - QRadioButton::mousePressEvent(e0); + QProgressDialog::accept(); } -void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e0) +void PythonQtShell_QProgressDialog::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9312,17 +9954,17 @@ if (_wrapper) { } } } - QRadioButton::mouseReleaseEvent(e0); + QProgressDialog::actionEvent(event0); } -void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* event0) +void PythonQtShell_QProgressDialog::changeEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); + static PyObject* name = PyUnicode_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -9334,52 +9976,41 @@ if (_wrapper) { } } } - QRadioButton::moveEvent(event0); + QProgressDialog::changeEvent(event0); } -bool PythonQtShell_QRadioButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QProgressDialog::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRadioButton::nativeEvent(eventType0, message1, result2); + QProgressDialog::childEvent(event0); } -void PythonQtShell_QRadioButton::nextCheckState() +void PythonQtShell_QProgressDialog::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nextCheckState"); + static PyObject* name = PyUnicode_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9389,52 +10020,41 @@ if (_wrapper) { } } } - QRadioButton::nextCheckState(); + QProgressDialog::closeEvent(event0); } -QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const +void PythonQtShell_QProgressDialog::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRadioButton::paintEngine(); + QProgressDialog::contextMenuEvent(arg__1); } -void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QProgressDialog::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9444,28 +10064,28 @@ if (_wrapper) { } } } - QRadioButton::paintEvent(arg__1); + QProgressDialog::customEvent(event0); } -QPaintDevice* PythonQtShell_QRadioButton::redirected(QPoint* offset0) const +int PythonQtShell_QProgressDialog::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((int*)args[0]); } } } @@ -9477,19 +10097,19 @@ if (_wrapper) { } } } - return QRadioButton::redirected(offset0); + return QProgressDialog::devType(); } -void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QProgressDialog::done(int arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); + static PyObject* name = PyUnicode_FromString("done"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9499,19 +10119,19 @@ if (_wrapper) { } } } - QRadioButton::resizeEvent(event0); + QProgressDialog::done(arg__1); } -void PythonQtShell_QRadioButton::setVisible(bool visible0) +void PythonQtShell_QProgressDialog::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9521,50 +10141,39 @@ if (_wrapper) { } } } - QRadioButton::setVisible(visible0); + QProgressDialog::dragEnterEvent(event0); } -QPainter* PythonQtShell_QRadioButton::sharedPainter() const +void PythonQtShell_QProgressDialog::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRadioButton::sharedPainter(); + QProgressDialog::dragLeaveEvent(event0); } -void PythonQtShell_QRadioButton::showEvent(QShowEvent* event0) +void PythonQtShell_QProgressDialog::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -9576,50 +10185,39 @@ if (_wrapper) { } } } - QRadioButton::showEvent(event0); + QProgressDialog::dragMoveEvent(event0); } -QSize PythonQtShell_QRadioButton::sizeHint() const +void PythonQtShell_QProgressDialog::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); + static PyObject* name = PyUnicode_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRadioButton::sizeHint(); + QProgressDialog::dropEvent(event0); } -void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QProgressDialog::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -9631,115 +10229,116 @@ if (_wrapper) { } } } - QRadioButton::tabletEvent(event0); + QProgressDialog::enterEvent(event0); } -void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) +bool PythonQtShell_QProgressDialog::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRadioButton::timerEvent(e0); + return QProgressDialog::event(event0); } -void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* event0) +bool PythonQtShell_QProgressDialog::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRadioButton::wheelEvent(event0); -} -QRadioButton* PythonQtWrapper_QRadioButton::new_QRadioButton(QWidget* parent) -{ -return new PythonQtShell_QRadioButton(parent); } - -QRadioButton* PythonQtWrapper_QRadioButton::new_QRadioButton(const QString& text, QWidget* parent) -{ -return new PythonQtShell_QRadioButton(text, parent); } - -const QMetaObject* PythonQtShell_QRadioButton::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRadioButton::staticMetaObject); - } else { - return &QRadioButton::staticMetaObject; - } -} -int PythonQtShell_QRadioButton::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QRadioButton::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QRadioButton::initStyleOption(QRadioButton* theWrappedObject, QStyleOptionButton* button) const -{ - ( ((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->promoted_initStyleOption(button)); -} - - - -PythonQtShell_QRasterWindow::~PythonQtShell_QRasterWindow() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QProgressDialog::eventFilter(arg__1, arg__2); } -void PythonQtShell_QRasterWindow::childEvent(QChildEvent* event0) +int PythonQtShell_QProgressDialog::exec() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("exec"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("exec", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRasterWindow::childEvent(event0); + return QProgressDialog::exec(); } -void PythonQtShell_QRasterWindow::customEvent(QEvent* event0) +void PythonQtShell_QProgressDialog::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -9751,28 +10350,28 @@ if (_wrapper) { } } } - QRasterWindow::customEvent(event0); + QProgressDialog::focusInEvent(event0); } -int PythonQtShell_QRasterWindow::devType() const +bool PythonQtShell_QProgressDialog::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -9784,59 +10383,48 @@ if (_wrapper) { } } } - return QRasterWindow::devType(); + return QProgressDialog::focusNextPrevChild(next0); } -bool PythonQtShell_QRasterWindow::event(QEvent* event0) +void PythonQtShell_QProgressDialog::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRasterWindow::event(event0); + QProgressDialog::focusOutEvent(event0); } -bool PythonQtShell_QRasterWindow::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QProgressDialog::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -9850,41 +10438,52 @@ if (_wrapper) { } } } - return QRasterWindow::eventFilter(watched0, event1); + return QProgressDialog::hasHeightForWidth(); } -void PythonQtShell_QRasterWindow::exposeEvent(QExposeEvent* arg__1) +int PythonQtShell_QProgressDialog::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("exposeEvent"); + static PyObject* name = PyUnicode_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QExposeEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRasterWindow::exposeEvent(arg__1); + return QProgressDialog::heightForWidth(arg__1); } -void PythonQtShell_QRasterWindow::focusInEvent(QFocusEvent* arg__1) +void PythonQtShell_QProgressDialog::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); + static PyObject* name = PyUnicode_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9894,50 +10493,39 @@ if (_wrapper) { } } } - QRasterWindow::focusInEvent(arg__1); + QProgressDialog::hideEvent(event0); } -QObject* PythonQtShell_QRasterWindow::focusObject() const +void PythonQtShell_QProgressDialog::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusObject"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QObject* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); - } else { - returnValue = *((QObject**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRasterWindow::focusObject(); + QProgressDialog::initPainter(painter0); } -void PythonQtShell_QRasterWindow::focusOutEvent(QFocusEvent* arg__1) +void PythonQtShell_QProgressDialog::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -9949,28 +10537,28 @@ if (_wrapper) { } } } - QRasterWindow::focusOutEvent(arg__1); + QProgressDialog::inputMethodEvent(arg__1); } -QSurfaceFormat PythonQtShell_QRasterWindow::format() const +QVariant PythonQtShell_QProgressDialog::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("format"); + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSurfaceFormat"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurfaceFormat returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QSurfaceFormat*)args[0]); + returnValue = *((QVariant*)args[0]); } } } @@ -9982,17 +10570,17 @@ if (_wrapper) { } } } - return QRasterWindow::format(); + return QProgressDialog::inputMethodQuery(arg__1); } -void PythonQtShell_QRasterWindow::hideEvent(QHideEvent* arg__1) +void PythonQtShell_QProgressDialog::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); + static PyObject* name = PyUnicode_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -10004,19 +10592,19 @@ if (_wrapper) { } } } - QRasterWindow::hideEvent(arg__1); + QProgressDialog::keyPressEvent(arg__1); } -void PythonQtShell_QRasterWindow::initPainter(QPainter* painter0) const +void PythonQtShell_QProgressDialog::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10026,19 +10614,19 @@ if (_wrapper) { } } } - QRasterWindow::initPainter(painter0); + QProgressDialog::keyReleaseEvent(event0); } -void PythonQtShell_QRasterWindow::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QProgressDialog::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10048,50 +10636,61 @@ if (_wrapper) { } } } - QRasterWindow::keyPressEvent(arg__1); + QProgressDialog::leaveEvent(event0); } -void PythonQtShell_QRasterWindow::keyReleaseEvent(QKeyEvent* arg__1) +int PythonQtShell_QProgressDialog::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRasterWindow::keyReleaseEvent(arg__1); + return QProgressDialog::metric(arg__1); } -int PythonQtShell_QRasterWindow::metric(QPaintDevice::PaintDeviceMetric metric0) const +QSize PythonQtShell_QProgressDialog::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&metric0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -10103,9 +10702,9 @@ if (_wrapper) { } } } - return QRasterWindow::metric(metric0); + return QProgressDialog::minimumSizeHint(); } -void PythonQtShell_QRasterWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) +void PythonQtShell_QProgressDialog::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10115,7 +10714,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10125,9 +10724,9 @@ if (_wrapper) { } } } - QRasterWindow::mouseDoubleClickEvent(arg__1); + QProgressDialog::mouseDoubleClickEvent(event0); } -void PythonQtShell_QRasterWindow::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QProgressDialog::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10137,7 +10736,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10147,9 +10746,9 @@ if (_wrapper) { } } } - QRasterWindow::mouseMoveEvent(arg__1); + QProgressDialog::mouseMoveEvent(event0); } -void PythonQtShell_QRasterWindow::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QProgressDialog::mousePressEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10159,7 +10758,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10169,9 +10768,9 @@ if (_wrapper) { } } } - QRasterWindow::mousePressEvent(arg__1); + QProgressDialog::mousePressEvent(event0); } -void PythonQtShell_QRasterWindow::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QProgressDialog::mouseReleaseEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10181,7 +10780,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10191,9 +10790,9 @@ if (_wrapper) { } } } - QRasterWindow::mouseReleaseEvent(arg__1); + QProgressDialog::mouseReleaseEvent(event0); } -void PythonQtShell_QRasterWindow::moveEvent(QMoveEvent* arg__1) +void PythonQtShell_QProgressDialog::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10203,38 +10802,71 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProgressDialog::moveEvent(event0); +} +bool PythonQtShell_QProgressDialog::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRasterWindow::moveEvent(arg__1); + return QProgressDialog::nativeEvent(eventType0, message1, result2); } -bool PythonQtShell_QRasterWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +QPaintEngine* PythonQtShell_QProgressDialog::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintEngine**)args[0]); } } } @@ -10246,9 +10878,9 @@ if (_wrapper) { } } } - return QRasterWindow::nativeEvent(eventType0, message1, result2); + return QProgressDialog::paintEngine(); } -void PythonQtShell_QRasterWindow::paintEvent(QPaintEvent* event0) +void PythonQtShell_QProgressDialog::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10268,9 +10900,9 @@ if (_wrapper) { } } } - QRasterWindow::paintEvent(event0); + QProgressDialog::paintEvent(event0); } -QPaintDevice* PythonQtShell_QRasterWindow::redirected(QPoint* arg__1) const +QPaintDevice* PythonQtShell_QProgressDialog::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10281,7 +10913,7 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -10301,74 +10933,41 @@ if (_wrapper) { } } } - return QRasterWindow::redirected(arg__1); -} -void PythonQtShell_QRasterWindow::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QRasterWindow::resizeEvent(arg__1); + return QProgressDialog::redirected(offset0); } -QPainter* PythonQtShell_QRasterWindow::sharedPainter() const +void PythonQtShell_QProgressDialog::reject() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("reject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRasterWindow::sharedPainter(); + QProgressDialog::reject(); } -void PythonQtShell_QRasterWindow::showEvent(QShowEvent* arg__1) +void PythonQtShell_QProgressDialog::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10378,61 +10977,50 @@ if (_wrapper) { } } } - QRasterWindow::showEvent(arg__1); + QProgressDialog::resizeEvent(event0); } -QSize PythonQtShell_QRasterWindow::size() const +void PythonQtShell_QProgressDialog::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("size"); + static PyObject* name = PyUnicode_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRasterWindow::size(); + QProgressDialog::setVisible(visible0); } -QSurface::SurfaceType PythonQtShell_QRasterWindow::surfaceType() const +QPainter* PythonQtShell_QProgressDialog::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("surfaceType"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurface::SurfaceType returnValue{}; + QPainter* returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QSurface::SurfaceType*)args[0]); + returnValue = *((QPainter**)args[0]); } } } @@ -10444,19 +11032,19 @@ if (_wrapper) { } } } - return QRasterWindow::surfaceType(); + return QProgressDialog::sharedPainter(); } -void PythonQtShell_QRasterWindow::tabletEvent(QTabletEvent* arg__1) +void PythonQtShell_QProgressDialog::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10466,41 +11054,52 @@ if (_wrapper) { } } } - QRasterWindow::tabletEvent(arg__1); + QProgressDialog::showEvent(event0); } -void PythonQtShell_QRasterWindow::timerEvent(QTimerEvent* event0) +QSize PythonQtShell_QProgressDialog::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRasterWindow::timerEvent(event0); + return QProgressDialog::sizeHint(); } -void PythonQtShell_QRasterWindow::touchEvent(QTouchEvent* arg__1) +void PythonQtShell_QProgressDialog::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("touchEvent"); + static PyObject* name = PyUnicode_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTouchEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10510,19 +11109,19 @@ if (_wrapper) { } } } - QRasterWindow::touchEvent(arg__1); + QProgressDialog::tabletEvent(event0); } -void PythonQtShell_QRasterWindow::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QProgressDialog::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10532,250 +11131,248 @@ if (_wrapper) { } } } - QRasterWindow::wheelEvent(arg__1); -} -QRasterWindow* PythonQtWrapper_QRasterWindow::new_QRasterWindow(QWindow* parent) -{ -return new PythonQtShell_QRasterWindow(parent); } - -const QMetaObject* PythonQtShell_QRasterWindow::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRasterWindow::staticMetaObject); - } else { - return &QRasterWindow::staticMetaObject; - } -} -int PythonQtShell_QRasterWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QRasterWindow::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} - - -QRawFont* PythonQtWrapper_QRawFont::new_QRawFont() -{ -return new QRawFont(); } - -QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) -{ -return new QRawFont(fontData, pixelSize, hintingPreference); } - -QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QRawFont& other) -{ -return new QRawFont(other); } - -QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference) -{ -return new QRawFont(fileName, pixelSize, hintingPreference); } - -QVector PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes) const -{ - return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes)); -} - -QVector PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes, QRawFont::LayoutFlags layoutFlags) const -{ - return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, layoutFlags)); -} - -bool PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs) const -{ - return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, advances, numGlyphs)); -} - -bool PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs, QRawFont::LayoutFlags layoutFlags) const -{ - return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, advances, numGlyphs, layoutFlags)); -} - -QImage PythonQtWrapper_QRawFont::alphaMapForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex, QRawFont::AntialiasingType antialiasingType, const QTransform& transform) const -{ - return ( theWrappedObject->alphaMapForGlyph(glyphIndex, antialiasingType, transform)); -} - -qreal PythonQtWrapper_QRawFont::ascent(QRawFont* theWrappedObject) const -{ - return ( theWrappedObject->ascent()); -} - -qreal PythonQtWrapper_QRawFont::averageCharWidth(QRawFont* theWrappedObject) const -{ - return ( theWrappedObject->averageCharWidth()); + QProgressDialog::timerEvent(event0); } - -QRectF PythonQtWrapper_QRawFont::boundingRect(QRawFont* theWrappedObject, unsigned int glyphIndex) const +void PythonQtShell_QProgressDialog::wheelEvent(QWheelEvent* event0) { - return ( theWrappedObject->boundingRect(glyphIndex)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QRawFont::capHeight(QRawFont* theWrappedObject) const -{ - return ( theWrappedObject->capHeight()); + QProgressDialog::wheelEvent(event0); } +QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QProgressDialog(parent, flags); } -qreal PythonQtWrapper_QRawFont::descent(QRawFont* theWrappedObject) const -{ - return ( theWrappedObject->descent()); -} +QProgressDialog* PythonQtWrapper_QProgressDialog::new_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent, Qt::WindowFlags flags) +{ +return new PythonQtShell_QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, flags); } -QString PythonQtWrapper_QRawFont::familyName(QRawFont* theWrappedObject) const -{ - return ( theWrappedObject->familyName()); +const QMetaObject* PythonQtShell_QProgressDialog::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProgressDialog::staticMetaObject); + } else { + return &QProgressDialog::staticMetaObject; + } } - -QByteArray PythonQtWrapper_QRawFont::fontTable(QRawFont* theWrappedObject, const char* tagName) const -{ - return ( theWrappedObject->fontTable(tagName)); +int PythonQtShell_QProgressDialog::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QProgressDialog::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -QRawFont PythonQtWrapper_QRawFont::static_QRawFont_fromFont(const QFont& font, QFontDatabase::WritingSystem writingSystem) +bool PythonQtWrapper_QProgressDialog::autoClose(QProgressDialog* theWrappedObject) const { - return (QRawFont::fromFont(font, writingSystem)); + return ( theWrappedObject->autoClose()); } -bool PythonQtWrapper_QRawFont::glyphIndexesForChars(QRawFont* theWrappedObject, const QChar* chars, int numChars, unsigned int* glyphIndexes, int* numGlyphs) const +bool PythonQtWrapper_QProgressDialog::autoReset(QProgressDialog* theWrappedObject) const { - return ( theWrappedObject->glyphIndexesForChars(chars, numChars, glyphIndexes, numGlyphs)); + return ( theWrappedObject->autoReset()); } -QVector PythonQtWrapper_QRawFont::glyphIndexesForString(QRawFont* theWrappedObject, const QString& text) const +QString PythonQtWrapper_QProgressDialog::labelText(QProgressDialog* theWrappedObject) const { - return ( theWrappedObject->glyphIndexesForString(text)); + return ( theWrappedObject->labelText()); } -QFont::HintingPreference PythonQtWrapper_QRawFont::hintingPreference(QRawFont* theWrappedObject) const +int PythonQtWrapper_QProgressDialog::maximum(QProgressDialog* theWrappedObject) const { - return ( theWrappedObject->hintingPreference()); + return ( theWrappedObject->maximum()); } -bool PythonQtWrapper_QRawFont::isValid(QRawFont* theWrappedObject) const +int PythonQtWrapper_QProgressDialog::minimum(QProgressDialog* theWrappedObject) const { - return ( theWrappedObject->isValid()); + return ( theWrappedObject->minimum()); } -qreal PythonQtWrapper_QRawFont::leading(QRawFont* theWrappedObject) const +int PythonQtWrapper_QProgressDialog::minimumDuration(QProgressDialog* theWrappedObject) const { - return ( theWrappedObject->leading()); + return ( theWrappedObject->minimumDuration()); } -qreal PythonQtWrapper_QRawFont::lineThickness(QRawFont* theWrappedObject) const +void PythonQtWrapper_QProgressDialog::open(QProgressDialog* theWrappedObject, QObject* receiver, const char* member) { - return ( theWrappedObject->lineThickness()); + ( theWrappedObject->open(receiver, member)); } -void PythonQtWrapper_QRawFont::loadFromData(QRawFont* theWrappedObject, const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) +void PythonQtWrapper_QProgressDialog::setAutoClose(QProgressDialog* theWrappedObject, bool close) { - ( theWrappedObject->loadFromData(fontData, pixelSize, hintingPreference)); + ( theWrappedObject->setAutoClose(close)); } -void PythonQtWrapper_QRawFont::loadFromFile(QRawFont* theWrappedObject, const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference) +void PythonQtWrapper_QProgressDialog::setAutoReset(QProgressDialog* theWrappedObject, bool reset) { - ( theWrappedObject->loadFromFile(fileName, pixelSize, hintingPreference)); + ( theWrappedObject->setAutoReset(reset)); } -qreal PythonQtWrapper_QRawFont::maxCharWidth(QRawFont* theWrappedObject) const +void PythonQtWrapper_QProgressDialog::setBar(QProgressDialog* theWrappedObject, QProgressBar* bar) { - return ( theWrappedObject->maxCharWidth()); + ( theWrappedObject->setBar(bar)); } -bool PythonQtWrapper_QRawFont::__ne__(QRawFont* theWrappedObject, const QRawFont& other) const +void PythonQtWrapper_QProgressDialog::setCancelButton(QProgressDialog* theWrappedObject, QPushButton* button) { - return ( (*theWrappedObject)!= other); + ( theWrappedObject->setCancelButton(button)); } -QRawFont* PythonQtWrapper_QRawFont::operator_assign(QRawFont* theWrappedObject, const QRawFont& other) +void PythonQtWrapper_QProgressDialog::setLabel(QProgressDialog* theWrappedObject, QLabel* label) { - return &( (*theWrappedObject)= other); + ( theWrappedObject->setLabel(label)); } -bool PythonQtWrapper_QRawFont::__eq__(QRawFont* theWrappedObject, const QRawFont& other) const +int PythonQtWrapper_QProgressDialog::value(QProgressDialog* theWrappedObject) const { - return ( (*theWrappedObject)== other); + return ( theWrappedObject->value()); } -QPainterPath PythonQtWrapper_QRawFont::pathForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex) const +bool PythonQtWrapper_QProgressDialog::wasCanceled(QProgressDialog* theWrappedObject) const { - return ( theWrappedObject->pathForGlyph(glyphIndex)); + return ( theWrappedObject->wasCanceled()); } -qreal PythonQtWrapper_QRawFont::pixelSize(QRawFont* theWrappedObject) const -{ - return ( theWrappedObject->pixelSize()); -} -void PythonQtWrapper_QRawFont::setPixelSize(QRawFont* theWrappedObject, qreal pixelSize) -{ - ( theWrappedObject->setPixelSize(pixelSize)); -} -QFont::Style PythonQtWrapper_QRawFont::style(QRawFont* theWrappedObject) const -{ - return ( theWrappedObject->style()); +PythonQtShell_QProxyStyle::~PythonQtShell_QProxyStyle() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -QString PythonQtWrapper_QRawFont::styleName(QRawFont* theWrappedObject) const +void PythonQtShell_QProxyStyle::childEvent(QChildEvent* event0) { - return ( theWrappedObject->styleName()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QList PythonQtWrapper_QRawFont::supportedWritingSystems(QRawFont* theWrappedObject) const -{ - return ( theWrappedObject->supportedWritingSystems()); + QProxyStyle::childEvent(event0); } - -bool PythonQtWrapper_QRawFont::supportsCharacter(QRawFont* theWrappedObject, QChar character) const +void PythonQtShell_QProxyStyle::customEvent(QEvent* event0) { - return ( theWrappedObject->supportsCharacter(character)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QRawFont::supportsCharacter(QRawFont* theWrappedObject, uint ucs4) const -{ - return ( theWrappedObject->supportsCharacter(ucs4)); + QProxyStyle::customEvent(event0); } - -void PythonQtWrapper_QRawFont::swap(QRawFont* theWrappedObject, QRawFont& other) +void PythonQtShell_QProxyStyle::drawComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, QPainter* painter2, const QWidget* widget3) const { - ( theWrappedObject->swap(other)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawComplexControl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&control0, (void*)&option1, (void*)&painter2, (void*)&widget3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QRawFont::underlinePosition(QRawFont* theWrappedObject) const -{ - return ( theWrappedObject->underlinePosition()); + QProxyStyle::drawComplexControl(control0, option1, painter2, widget3); } - -qreal PythonQtWrapper_QRawFont::unitsPerEm(QRawFont* theWrappedObject) const +void PythonQtShell_QProxyStyle::drawControl(QStyle::ControlElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const { - return ( theWrappedObject->unitsPerEm()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawControl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QStyle::ControlElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&element0, (void*)&option1, (void*)&painter2, (void*)&widget3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QRawFont::weight(QRawFont* theWrappedObject) const -{ - return ( theWrappedObject->weight()); + QProxyStyle::drawControl(element0, option1, painter2, widget3); } - -qreal PythonQtWrapper_QRawFont::xHeight(QRawFont* theWrappedObject) const +void PythonQtShell_QProxyStyle::drawItemPixmap(QPainter* painter0, const QRect& rect1, int alignment2, const QPixmap& pixmap3) const { - return ( theWrappedObject->xHeight()); -} - - - -PythonQtShell_QRegExpValidator::~PythonQtShell_QRegExpValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("drawItemPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&alignment2, (void*)&pixmap3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } -void PythonQtShell_QRegExpValidator::childEvent(QChildEvent* event0) + QProxyStyle::drawItemPixmap(painter0, rect1, alignment2, pixmap3); +} +void PythonQtShell_QProxyStyle::drawItemText(QPainter* painter0, const QRect& rect1, int flags2, const QPalette& pal3, bool enabled4, const QString& text5, QPalette::ColorRole textRole6) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("drawItemText"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QRect&" , "int" , "const QPalette&" , "bool" , "const QString&" , "QPalette::ColorRole"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(8, argumentList); + void* args[8] = {nullptr, (void*)&painter0, (void*)&rect1, (void*)&flags2, (void*)&pal3, (void*)&enabled4, (void*)&text5, (void*)&textRole6}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10785,19 +11382,19 @@ if (_wrapper) { } } } - QRegExpValidator::childEvent(event0); + QProxyStyle::drawItemText(painter0, rect1, flags2, pal3, enabled4, text5, textRole6); } -void PythonQtShell_QRegExpValidator::customEvent(QEvent* event0) +void PythonQtShell_QProxyStyle::drawPrimitive(QStyle::PrimitiveElement element0, const QStyleOption* option1, QPainter* painter2, const QWidget* widget3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("drawPrimitive"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"" , "QStyle::PrimitiveElement" , "const QStyleOption*" , "QPainter*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&element0, (void*)&option1, (void*)&painter2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10807,9 +11404,9 @@ if (_wrapper) { } } } - QRegExpValidator::customEvent(event0); + QProxyStyle::drawPrimitive(element0, option1, painter2, widget3); } -bool PythonQtShell_QRegExpValidator::event(QEvent* event0) +bool PythonQtShell_QProxyStyle::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10820,7 +11417,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -10840,9 +11437,9 @@ if (_wrapper) { } } } - return QRegExpValidator::event(event0); + return QProxyStyle::event(e0); } -bool PythonQtShell_QRegExpValidator::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QProxyStyle::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -10873,19 +11470,239 @@ if (_wrapper) { } } } - return QRegExpValidator::eventFilter(watched0, event1); + return QProxyStyle::eventFilter(watched0, event1); +} +QPixmap PythonQtShell_QProxyStyle::generatedIconPixmap(QIcon::Mode iconMode0, const QPixmap& pixmap1, const QStyleOption* opt2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("generatedIconPixmap"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPixmap" , "QIcon::Mode" , "const QPixmap&" , "const QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue{}; + void* args[4] = {nullptr, (void*)&iconMode0, (void*)&pixmap1, (void*)&opt2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("generatedIconPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::generatedIconPixmap(iconMode0, pixmap1, opt2); +} +QStyle::SubControl PythonQtShell_QProxyStyle::hitTestComplexControl(QStyle::ComplexControl control0, const QStyleOptionComplex* option1, const QPoint& pos2, const QWidget* widget3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hitTestComplexControl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyle::SubControl" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "const QPoint&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QStyle::SubControl returnValue{}; + void* args[5] = {nullptr, (void*)&control0, (void*)&option1, (void*)&pos2, (void*)&widget3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitTestComplexControl", methodInfo, result); + } else { + returnValue = *((QStyle::SubControl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::hitTestComplexControl(control0, option1, pos2, widget3); +} +QRect PythonQtShell_QProxyStyle::itemPixmapRect(const QRect& r0, int flags1, const QPixmap& pixmap2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("itemPixmapRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QRect&" , "int" , "const QPixmap&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue{}; + void* args[4] = {nullptr, (void*)&r0, (void*)&flags1, (void*)&pixmap2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemPixmapRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::itemPixmapRect(r0, flags1, pixmap2); +} +QRect PythonQtShell_QProxyStyle::itemTextRect(const QFontMetrics& fm0, const QRect& r1, int flags2, bool enabled3, const QString& text4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("itemTextRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRect" , "const QFontMetrics&" , "const QRect&" , "int" , "bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + QRect returnValue{}; + void* args[6] = {nullptr, (void*)&fm0, (void*)&r1, (void*)&flags2, (void*)&enabled3, (void*)&text4}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemTextRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::itemTextRect(fm0, r1, flags2, enabled3, text4); +} +int PythonQtShell_QProxyStyle::layoutSpacing(QSizePolicy::ControlType control10, QSizePolicy::ControlType control21, Qt::Orientation orientation2, const QStyleOption* option3, const QWidget* widget4) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("layoutSpacing"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QSizePolicy::ControlType" , "QSizePolicy::ControlType" , "Qt::Orientation" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(6, argumentList); + int returnValue{}; + void* args[6] = {nullptr, (void*)&control10, (void*)&control21, (void*)&orientation2, (void*)&option3, (void*)&widget4}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("layoutSpacing", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::layoutSpacing(control10, control21, orientation2, option3, widget4); +} +int PythonQtShell_QProxyStyle::pixelMetric(QStyle::PixelMetric metric0, const QStyleOption* option1, const QWidget* widget2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("pixelMetric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QStyle::PixelMetric" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + int returnValue{}; + void* args[4] = {nullptr, (void*)&metric0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("pixelMetric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QProxyStyle::pixelMetric(metric0, option1, widget2); +} +void PythonQtShell_QProxyStyle::polish(QApplication* app0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("polish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&app0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProxyStyle::polish(app0); } -void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const +void PythonQtShell_QProxyStyle::polish(QPalette& pal0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("fixup"); + static PyObject* name = PyUnicode_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QString&"}; + static const char* argumentList[] ={"" , "QPalette&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&pal0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10895,19 +11712,19 @@ if (_wrapper) { } } } - QRegExpValidator::fixup(arg__1); + QProxyStyle::polish(pal0); } -void PythonQtShell_QRegExpValidator::timerEvent(QTimerEvent* event0) +void PythonQtShell_QProxyStyle::polish(QWidget* widget0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("polish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10917,28 +11734,28 @@ if (_wrapper) { } } } - QRegExpValidator::timerEvent(event0); + QProxyStyle::polish(widget0); } -QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input0, int& pos1) const +QSize PythonQtShell_QProxyStyle::sizeFromContents(QStyle::ContentsType type0, const QStyleOption* option1, const QSize& size2, const QWidget* widget3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("validate"); + static PyObject* name = PyUnicode_FromString("sizeFromContents"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue{}; - void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; + static const char* argumentList[] ={"QSize" , "QStyle::ContentsType" , "const QStyleOption*" , "const QSize&" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QSize returnValue{}; + void* args[5] = {nullptr, (void*)&type0, (void*)&option1, (void*)&size2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeFromContents", methodInfo, result); } else { - returnValue = *((QValidator::State*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -10950,109 +11767,127 @@ if (_wrapper) { } } } - return QRegExpValidator::validate(input0, pos1); -} -QRegExpValidator* PythonQtWrapper_QRegExpValidator::new_QRegExpValidator(QObject* parent) -{ -return new PythonQtShell_QRegExpValidator(parent); } - -QRegExpValidator* PythonQtWrapper_QRegExpValidator::new_QRegExpValidator(const QRegExp& rx, QObject* parent) -{ -return new PythonQtShell_QRegExpValidator(rx, parent); } - -const QMetaObject* PythonQtShell_QRegExpValidator::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRegExpValidator::staticMetaObject); - } else { - return &QRegExpValidator::staticMetaObject; - } -} -int PythonQtShell_QRegExpValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QRegExpValidator::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -const QRegExp* PythonQtWrapper_QRegExpValidator::regExp(QRegExpValidator* theWrappedObject) const -{ - return &( theWrappedObject->regExp()); + return QProxyStyle::sizeFromContents(type0, option1, size2, widget3); } - -void PythonQtWrapper_QRegExpValidator::setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx) +QIcon PythonQtShell_QProxyStyle::standardIcon(QStyle::StandardPixmap standardIcon0, const QStyleOption* option1, const QWidget* widget2) const { - ( theWrappedObject->setRegExp(rx)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("standardIcon"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QIcon" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QIcon returnValue{}; + void* args[4] = {nullptr, (void*)&standardIcon0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardIcon", methodInfo, result); + } else { + returnValue = *((QIcon*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QRegularExpressionValidator::~PythonQtShell_QRegularExpressionValidator() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QProxyStyle::standardIcon(standardIcon0, option1, widget2); } -void PythonQtShell_QRegularExpressionValidator::childEvent(QChildEvent* event0) +QPalette PythonQtShell_QProxyStyle::standardPalette() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("standardPalette"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QPalette"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPalette returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPalette", methodInfo, result); + } else { + returnValue = *((QPalette*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRegularExpressionValidator::childEvent(event0); + return QProxyStyle::standardPalette(); } -void PythonQtShell_QRegularExpressionValidator::customEvent(QEvent* event0) +QPixmap PythonQtShell_QProxyStyle::standardPixmap(QStyle::StandardPixmap standardPixmap0, const QStyleOption* opt1, const QWidget* widget2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("standardPixmap"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QPixmap" , "QStyle::StandardPixmap" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QPixmap returnValue{}; + void* args[4] = {nullptr, (void*)&standardPixmap0, (void*)&opt1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("standardPixmap", methodInfo, result); + } else { + returnValue = *((QPixmap*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRegularExpressionValidator::customEvent(event0); + return QProxyStyle::standardPixmap(standardPixmap0, opt1, widget2); } -bool PythonQtShell_QRegularExpressionValidator::event(QEvent* event0) +int PythonQtShell_QProxyStyle::styleHint(QStyle::StyleHint hint0, const QStyleOption* option1, const QWidget* widget2, QStyleHintReturn* returnData3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("styleHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int" , "QStyle::StyleHint" , "const QStyleOption*" , "const QWidget*" , "QStyleHintReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + int returnValue{}; + void* args[5] = {nullptr, (void*)&hint0, (void*)&option1, (void*)&widget2, (void*)&returnData3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("styleHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -11064,28 +11899,28 @@ if (_wrapper) { } } } - return QRegularExpressionValidator::event(event0); + return QProxyStyle::styleHint(hint0, option1, widget2, returnData3); } -bool PythonQtShell_QRegularExpressionValidator::eventFilter(QObject* watched0, QEvent* event1) +QRect PythonQtShell_QProxyStyle::subControlRect(QStyle::ComplexControl cc0, const QStyleOptionComplex* opt1, QStyle::SubControl sc2, const QWidget* widget3) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("subControlRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"QRect" , "QStyle::ComplexControl" , "const QStyleOptionComplex*" , "QStyle::SubControl" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QRect returnValue{}; + void* args[5] = {nullptr, (void*)&cc0, (void*)&opt1, (void*)&sc2, (void*)&widget3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("subControlRect", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QRect*)args[0]); } } } @@ -11097,31 +11932,42 @@ if (_wrapper) { } } } - return QRegularExpressionValidator::eventFilter(watched0, event1); + return QProxyStyle::subControlRect(cc0, opt1, sc2, widget3); } -void PythonQtShell_QRegularExpressionValidator::fixup(QString& arg__1) const +QRect PythonQtShell_QProxyStyle::subElementRect(QStyle::SubElement element0, const QStyleOption* option1, const QWidget* widget2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("fixup"); + static PyObject* name = PyUnicode_FromString("subElementRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"QRect" , "QStyle::SubElement" , "const QStyleOption*" , "const QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QRect returnValue{}; + void* args[4] = {nullptr, (void*)&element0, (void*)&option1, (void*)&widget2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("subElementRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRegularExpressionValidator::fixup(arg__1); + return QProxyStyle::subElementRect(element0, option1, widget2); } -void PythonQtShell_QRegularExpressionValidator::timerEvent(QTimerEvent* event0) +void PythonQtShell_QProxyStyle::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11141,215 +11987,95 @@ if (_wrapper) { } } } - QRegularExpressionValidator::timerEvent(event0); + QProxyStyle::timerEvent(event0); } -QValidator::State PythonQtShell_QRegularExpressionValidator::validate(QString& input0, int& pos1) const +void PythonQtShell_QProxyStyle::unpolish(QApplication* app0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("validate"); + static PyObject* name = PyUnicode_FromString("unpolish"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QValidator::State returnValue{}; - void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; + static const char* argumentList[] ={"" , "QApplication*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&app0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QProxyStyle::unpolish(app0); +} +void PythonQtShell_QProxyStyle::unpolish(QWidget* widget0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("unpolish"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&widget0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); - } else { - returnValue = *((QValidator::State*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QRegularExpressionValidator::validate(input0, pos1); + QProxyStyle::unpolish(widget0); } -QRegularExpressionValidator* PythonQtWrapper_QRegularExpressionValidator::new_QRegularExpressionValidator(QObject* parent) +QProxyStyle* PythonQtWrapper_QProxyStyle::new_QProxyStyle(QStyle* style) { -return new PythonQtShell_QRegularExpressionValidator(parent); } +return new PythonQtShell_QProxyStyle(style); } -QRegularExpressionValidator* PythonQtWrapper_QRegularExpressionValidator::new_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent) +QProxyStyle* PythonQtWrapper_QProxyStyle::new_QProxyStyle(const QString& key) { -return new PythonQtShell_QRegularExpressionValidator(re, parent); } +return new PythonQtShell_QProxyStyle(key); } -const QMetaObject* PythonQtShell_QRegularExpressionValidator::metaObject() const { +const QMetaObject* PythonQtShell_QProxyStyle::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRegularExpressionValidator::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QProxyStyle::staticMetaObject); } else { - return &QRegularExpressionValidator::staticMetaObject; + return &QProxyStyle::staticMetaObject; } } -int PythonQtShell_QRegularExpressionValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QRegularExpressionValidator::qt_metacall(call, id, args); +int PythonQtShell_QProxyStyle::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QProxyStyle::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QRegularExpression PythonQtWrapper_QRegularExpressionValidator::regularExpression(QRegularExpressionValidator* theWrappedObject) const -{ - return ( theWrappedObject->regularExpression()); -} - - - -PythonQtShell_QResizeEvent::~PythonQtShell_QResizeEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QResizeEvent* PythonQtWrapper_QResizeEvent::new_QResizeEvent(const QSize& size, const QSize& oldSize) -{ -return new PythonQtShell_QResizeEvent(size, oldSize); } - -const QSize* PythonQtWrapper_QResizeEvent::oldSize(QResizeEvent* theWrappedObject) const -{ - return &( theWrappedObject->oldSize()); -} - -const QSize* PythonQtWrapper_QResizeEvent::size(QResizeEvent* theWrappedObject) const -{ - return &( theWrappedObject->size()); -} - - - -QRgba64* PythonQtWrapper_QRgba64::new_QRgba64() -{ -return new QRgba64(); } - -unsigned short PythonQtWrapper_QRgba64::alpha(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->alpha()); -} - -unsigned char PythonQtWrapper_QRgba64::alpha8(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->alpha8()); -} - -unsigned short PythonQtWrapper_QRgba64::blue(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->blue()); -} - -unsigned char PythonQtWrapper_QRgba64::blue8(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->blue8()); -} - -QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromArgb32(uint rgb) -{ - return (QRgba64::fromArgb32(rgb)); -} - -QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) -{ - return (QRgba64::fromRgba(red, green, blue, alpha)); -} - -QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba64(quint64 c) -{ - return (QRgba64::fromRgba64(c)); -} - -QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba64(unsigned short red, unsigned short green, unsigned short blue, unsigned short alpha) -{ - return (QRgba64::fromRgba64(red, green, blue, alpha)); -} - -unsigned short PythonQtWrapper_QRgba64::green(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->green()); -} - -unsigned char PythonQtWrapper_QRgba64::green8(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->green8()); -} - -bool PythonQtWrapper_QRgba64::isOpaque(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->isOpaque()); -} - -bool PythonQtWrapper_QRgba64::isTransparent(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->isTransparent()); -} - -QRgba64 PythonQtWrapper_QRgba64::operator_assign(QRgba64* theWrappedObject, quint64 _rgba) -{ - return ( (*theWrappedObject)= _rgba); -} - -QRgba64 PythonQtWrapper_QRgba64::premultiplied(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->premultiplied()); -} - -unsigned short PythonQtWrapper_QRgba64::red(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->red()); -} - -unsigned char PythonQtWrapper_QRgba64::red8(QRgba64* theWrappedObject) const -{ - return ( theWrappedObject->red8()); -} - -void PythonQtWrapper_QRgba64::setAlpha(QRgba64* theWrappedObject, unsigned short _alpha) -{ - ( theWrappedObject->setAlpha(_alpha)); -} - -void PythonQtWrapper_QRgba64::setBlue(QRgba64* theWrappedObject, unsigned short _blue) -{ - ( theWrappedObject->setBlue(_blue)); -} - -void PythonQtWrapper_QRgba64::setGreen(QRgba64* theWrappedObject, unsigned short _green) -{ - ( theWrappedObject->setGreen(_green)); -} - -void PythonQtWrapper_QRgba64::setRed(QRgba64* theWrappedObject, unsigned short _red) -{ - ( theWrappedObject->setRed(_red)); -} - -uint PythonQtWrapper_QRgba64::toArgb32(QRgba64* theWrappedObject) const +QStyle* PythonQtWrapper_QProxyStyle::baseStyle(QProxyStyle* theWrappedObject) const { - return ( theWrappedObject->toArgb32()); + return ( theWrappedObject->baseStyle()); } -ushort PythonQtWrapper_QRgba64::toRgb16(QRgba64* theWrappedObject) const +QRect PythonQtWrapper_QProxyStyle::itemTextRect(QProxyStyle* theWrappedObject, const QFontMetrics& fm, const QRect& r, int flags, bool enabled, const QString& text) const { - return ( theWrappedObject->toRgb16()); + return ( theWrappedObject->itemTextRect(fm, r, flags, enabled, text)); } -QRgba64 PythonQtWrapper_QRgba64::unpremultiplied(QRgba64* theWrappedObject) const +void PythonQtWrapper_QProxyStyle::setBaseStyle(QProxyStyle* theWrappedObject, QStyle* style) { - return ( theWrappedObject->unpremultiplied()); + ( theWrappedObject->setBaseStyle(style)); } -PythonQtShell_QRubberBand::~PythonQtShell_QRubberBand() { +PythonQtShell_QPushButton::~PythonQtShell_QPushButton() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QRubberBand::actionEvent(QActionEvent* event0) +void PythonQtShell_QPushButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11369,9 +12095,9 @@ if (_wrapper) { } } } - QRubberBand::actionEvent(event0); + QPushButton::actionEvent(event0); } -void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) +void PythonQtShell_QPushButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11381,7 +12107,29 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::changeEvent(e0); +} +void PythonQtShell_QPushButton::checkStateSet() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("checkStateSet"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11391,9 +12139,9 @@ if (_wrapper) { } } } - QRubberBand::changeEvent(arg__1); + QPushButton::checkStateSet(); } -void PythonQtShell_QRubberBand::childEvent(QChildEvent* event0) +void PythonQtShell_QPushButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11413,9 +12161,9 @@ if (_wrapper) { } } } - QRubberBand::childEvent(event0); + QPushButton::childEvent(event0); } -void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* event0) +void PythonQtShell_QPushButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11435,9 +12183,9 @@ if (_wrapper) { } } } - QRubberBand::closeEvent(event0); + QPushButton::closeEvent(event0); } -void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QPushButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11457,9 +12205,9 @@ if (_wrapper) { } } } - QRubberBand::contextMenuEvent(event0); + QPushButton::contextMenuEvent(event0); } -void PythonQtShell_QRubberBand::customEvent(QEvent* event0) +void PythonQtShell_QPushButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11479,9 +12227,9 @@ if (_wrapper) { } } } - QRubberBand::customEvent(event0); + QPushButton::customEvent(event0); } -int PythonQtShell_QRubberBand::devType() const +int PythonQtShell_QPushButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11512,9 +12260,9 @@ if (_wrapper) { } } } - return QRubberBand::devType(); + return QPushButton::devType(); } -void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QPushButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11534,9 +12282,9 @@ if (_wrapper) { } } } - QRubberBand::dragEnterEvent(event0); + QPushButton::dragEnterEvent(event0); } -void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QPushButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11556,9 +12304,9 @@ if (_wrapper) { } } } - QRubberBand::dragLeaveEvent(event0); + QPushButton::dragLeaveEvent(event0); } -void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QPushButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11578,9 +12326,9 @@ if (_wrapper) { } } } - QRubberBand::dragMoveEvent(event0); + QPushButton::dragMoveEvent(event0); } -void PythonQtShell_QRubberBand::dropEvent(QDropEvent* event0) +void PythonQtShell_QPushButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11600,9 +12348,9 @@ if (_wrapper) { } } } - QRubberBand::dropEvent(event0); + QPushButton::dropEvent(event0); } -void PythonQtShell_QRubberBand::enterEvent(QEvent* event0) +void PythonQtShell_QPushButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11622,9 +12370,9 @@ if (_wrapper) { } } } - QRubberBand::enterEvent(event0); + QPushButton::enterEvent(event0); } -bool PythonQtShell_QRubberBand::event(QEvent* e0) +bool PythonQtShell_QPushButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11655,9 +12403,9 @@ if (_wrapper) { } } } - return QRubberBand::event(e0); + return QPushButton::event(e0); } -bool PythonQtShell_QRubberBand::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QPushButton::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11688,9 +12436,9 @@ if (_wrapper) { } } } - return QRubberBand::eventFilter(watched0, event1); + return QPushButton::eventFilter(watched0, event1); } -void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QPushButton::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11700,7 +12448,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11710,9 +12458,9 @@ if (_wrapper) { } } } - QRubberBand::focusInEvent(event0); + QPushButton::focusInEvent(arg__1); } -bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) +bool PythonQtShell_QPushButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11743,9 +12491,9 @@ if (_wrapper) { } } } - return QRubberBand::focusNextPrevChild(next0); + return QPushButton::focusNextPrevChild(next0); } -void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QPushButton::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11755,7 +12503,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11765,9 +12513,9 @@ if (_wrapper) { } } } - QRubberBand::focusOutEvent(event0); + QPushButton::focusOutEvent(arg__1); } -bool PythonQtShell_QRubberBand::hasHeightForWidth() const +bool PythonQtShell_QPushButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11798,9 +12546,9 @@ if (_wrapper) { } } } - return QRubberBand::hasHeightForWidth(); + return QPushButton::hasHeightForWidth(); } -int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const +int PythonQtShell_QPushButton::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11825,37 +12573,70 @@ if (_wrapper) { } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QPushButton::heightForWidth(arg__1); +} +void PythonQtShell_QPushButton::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; } else { PyErr_Clear(); } } } - return QRubberBand::heightForWidth(arg__1); + QPushButton::hideEvent(event0); } -void PythonQtShell_QRubberBand::hideEvent(QHideEvent* event0) +bool PythonQtShell_QPushButton::hitButton(const QPoint& pos0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); + static PyObject* name = PyUnicode_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"bool" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QRubberBand::hideEvent(event0); + return QPushButton::hitButton(pos0); } -void PythonQtShell_QRubberBand::initPainter(QPainter* painter0) const +void PythonQtShell_QPushButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11875,9 +12656,9 @@ if (_wrapper) { } } } - QRubberBand::initPainter(painter0); + QPushButton::initPainter(painter0); } -void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QPushButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11897,9 +12678,9 @@ if (_wrapper) { } } } - QRubberBand::inputMethodEvent(arg__1); + QPushButton::inputMethodEvent(arg__1); } -QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QVariant PythonQtShell_QPushButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11930,9 +12711,9 @@ if (_wrapper) { } } } - return QRubberBand::inputMethodQuery(arg__1); + return QPushButton::inputMethodQuery(arg__1); } -void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QPushButton::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11942,7 +12723,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11952,9 +12733,9 @@ if (_wrapper) { } } } - QRubberBand::keyPressEvent(event0); + QPushButton::keyPressEvent(arg__1); } -void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QPushButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11964,7 +12745,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11974,9 +12755,9 @@ if (_wrapper) { } } } - QRubberBand::keyReleaseEvent(event0); + QPushButton::keyReleaseEvent(e0); } -void PythonQtShell_QRubberBand::leaveEvent(QEvent* event0) +void PythonQtShell_QPushButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -11996,9 +12777,9 @@ if (_wrapper) { } } } - QRubberBand::leaveEvent(event0); + QPushButton::leaveEvent(event0); } -int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) const +int PythonQtShell_QPushButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12029,9 +12810,9 @@ if (_wrapper) { } } } - return QRubberBand::metric(arg__1); + return QPushButton::metric(arg__1); } -QSize PythonQtShell_QRubberBand::minimumSizeHint() const +QSize PythonQtShell_QPushButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12062,9 +12843,9 @@ if (_wrapper) { } } } - return QRubberBand::minimumSizeHint(); + return QPushButton::minimumSizeHint(); } -void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QPushButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12084,9 +12865,9 @@ if (_wrapper) { } } } - QRubberBand::mouseDoubleClickEvent(event0); + QPushButton::mouseDoubleClickEvent(event0); } -void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* event0) +void PythonQtShell_QPushButton::mouseMoveEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12096,7 +12877,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12106,9 +12887,9 @@ if (_wrapper) { } } } - QRubberBand::mouseMoveEvent(event0); + QPushButton::mouseMoveEvent(e0); } -void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QPushButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12118,7 +12899,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12128,9 +12909,9 @@ if (_wrapper) { } } } - QRubberBand::mousePressEvent(event0); + QPushButton::mousePressEvent(e0); } -void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QPushButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12140,7 +12921,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12150,9 +12931,9 @@ if (_wrapper) { } } } - QRubberBand::mouseReleaseEvent(event0); + QPushButton::mouseReleaseEvent(e0); } -void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) +void PythonQtShell_QPushButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12162,7 +12943,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12172,9 +12953,9 @@ if (_wrapper) { } } } - QRubberBand::moveEvent(arg__1); + QPushButton::moveEvent(event0); } -bool PythonQtShell_QRubberBand::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QPushButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12205,9 +12986,31 @@ if (_wrapper) { } } } - return QRubberBand::nativeEvent(eventType0, message1, result2); + return QPushButton::nativeEvent(eventType0, message1, result2); +} +void PythonQtShell_QPushButton::nextCheckState() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nextCheckState"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QPushButton::nextCheckState(); } -QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const +QPaintEngine* PythonQtShell_QPushButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12238,9 +13041,9 @@ if (_wrapper) { } } } - return QRubberBand::paintEngine(); + return QPushButton::paintEngine(); } -void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QPushButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12260,9 +13063,9 @@ if (_wrapper) { } } } - QRubberBand::paintEvent(arg__1); + QPushButton::paintEvent(arg__1); } -QPaintDevice* PythonQtShell_QRubberBand::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QPushButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12293,9 +13096,9 @@ if (_wrapper) { } } } - return QRubberBand::redirected(offset0); + return QPushButton::redirected(offset0); } -void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QPushButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12305,7 +13108,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12315,9 +13118,9 @@ if (_wrapper) { } } } - QRubberBand::resizeEvent(arg__1); + QPushButton::resizeEvent(event0); } -void PythonQtShell_QRubberBand::setVisible(bool visible0) +void PythonQtShell_QPushButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12337,9 +13140,9 @@ if (_wrapper) { } } } - QRubberBand::setVisible(visible0); + QPushButton::setVisible(visible0); } -QPainter* PythonQtShell_QRubberBand::sharedPainter() const +QPainter* PythonQtShell_QPushButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12370,9 +13173,9 @@ if (_wrapper) { } } } - return QRubberBand::sharedPainter(); + return QPushButton::sharedPainter(); } -void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) +void PythonQtShell_QPushButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12382,7 +13185,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12392,9 +13195,9 @@ if (_wrapper) { } } } - QRubberBand::showEvent(arg__1); + QPushButton::showEvent(event0); } -QSize PythonQtShell_QRubberBand::sizeHint() const +QSize PythonQtShell_QPushButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12425,9 +13228,9 @@ if (_wrapper) { } } } - return QRubberBand::sizeHint(); + return QPushButton::sizeHint(); } -void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QPushButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12447,9 +13250,9 @@ if (_wrapper) { } } } - QRubberBand::tabletEvent(event0); + QPushButton::tabletEvent(event0); } -void PythonQtShell_QRubberBand::timerEvent(QTimerEvent* event0) +void PythonQtShell_QPushButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12459,7 +13262,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12469,9 +13272,9 @@ if (_wrapper) { } } } - QRubberBand::timerEvent(event0); + QPushButton::timerEvent(e0); } -void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QPushButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -12491,618 +13294,497 @@ if (_wrapper) { } } } - QRubberBand::wheelEvent(event0); + QPushButton::wheelEvent(event0); } -QRubberBand* PythonQtWrapper_QRubberBand::new_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2) +QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(QWidget* parent) +{ +return new PythonQtShell_QPushButton(parent); } + +QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(const QIcon& icon, const QString& text, QWidget* parent) +{ +return new PythonQtShell_QPushButton(icon, text, parent); } + +QPushButton* PythonQtWrapper_QPushButton::new_QPushButton(const QString& text, QWidget* parent) { -return new PythonQtShell_QRubberBand(arg__1, arg__2); } +return new PythonQtShell_QPushButton(text, parent); } -const QMetaObject* PythonQtShell_QRubberBand::metaObject() const { +const QMetaObject* PythonQtShell_QPushButton::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRubberBand::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QPushButton::staticMetaObject); } else { - return &QRubberBand::staticMetaObject; + return &QPushButton::staticMetaObject; } } -int PythonQtShell_QRubberBand::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QRubberBand::qt_metacall(call, id, args); +int PythonQtShell_QPushButton::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QPushButton::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QRubberBand::initStyleOption(QRubberBand* theWrappedObject, QStyleOptionRubberBand* option) const +bool PythonQtWrapper_QPushButton::autoDefault(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->autoDefault()); +} + +void PythonQtWrapper_QPushButton::initStyleOption(QPushButton* theWrappedObject, QStyleOptionButton* option) const +{ + ( ((PythonQtPublicPromoter_QPushButton*)theWrappedObject)->promoted_initStyleOption(option)); +} + +bool PythonQtWrapper_QPushButton::isDefault(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->isDefault()); +} + +bool PythonQtWrapper_QPushButton::isFlat(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->isFlat()); +} + +QMenu* PythonQtWrapper_QPushButton::menu(QPushButton* theWrappedObject) const +{ + return ( theWrappedObject->menu()); +} + +void PythonQtWrapper_QPushButton::setAutoDefault(QPushButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setAutoDefault(arg__1)); +} + +void PythonQtWrapper_QPushButton::setDefault(QPushButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setDefault(arg__1)); +} + +void PythonQtWrapper_QPushButton::setFlat(QPushButton* theWrappedObject, bool arg__1) +{ + ( theWrappedObject->setFlat(arg__1)); +} + +void PythonQtWrapper_QPushButton::setMenu(QPushButton* theWrappedObject, QMenu* menu) +{ + ( theWrappedObject->setMenu(menu)); +} + + + +QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion() +{ +return new QQuaternion(); } + +QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(const QVector4D& vector) +{ +return new QQuaternion(vector); } + +QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(float scalar, const QVector3D& vector) +{ +return new QQuaternion(scalar, vector); } + +QQuaternion* PythonQtWrapper_QQuaternion::new_QQuaternion(float scalar, float xpos, float ypos, float zpos) +{ +return new QQuaternion(scalar, xpos, ypos, zpos); } + +QQuaternion PythonQtWrapper_QQuaternion::conjugate(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->conjugate()); +} + +QQuaternion PythonQtWrapper_QQuaternion::conjugated(QQuaternion* theWrappedObject) const +{ + return ( theWrappedObject->conjugated()); +} + +float PythonQtWrapper_QQuaternion::static_QQuaternion_dotProduct(const QQuaternion& q1, const QQuaternion& q2) +{ + return (QQuaternion::dotProduct(q1, q2)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxes(const QVector3D& xAxis, const QVector3D& yAxis, const QVector3D& zAxis) +{ + return (QQuaternion::fromAxes(xAxis, yAxis, zAxis)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxisAndAngle(const QVector3D& axis, float angle) +{ + return (QQuaternion::fromAxisAndAngle(axis, angle)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromAxisAndAngle(float x, float y, float z, float angle) +{ + return (QQuaternion::fromAxisAndAngle(x, y, z, angle)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromDirection(const QVector3D& direction, const QVector3D& up) +{ + return (QQuaternion::fromDirection(direction, up)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromEulerAngles(const QVector3D& eulerAngles) +{ + return (QQuaternion::fromEulerAngles(eulerAngles)); +} + +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_fromEulerAngles(float pitch, float yaw, float roll) +{ + return (QQuaternion::fromEulerAngles(pitch, yaw, roll)); +} + +void PythonQtWrapper_QQuaternion::getAxes(QQuaternion* theWrappedObject, QVector3D* xAxis, QVector3D* yAxis, QVector3D* zAxis) const +{ + ( theWrappedObject->getAxes(xAxis, yAxis, zAxis)); +} + +void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, QVector3D* axis, float* angle) const +{ + ( theWrappedObject->getAxisAndAngle(axis, angle)); +} + +void PythonQtWrapper_QQuaternion::getAxisAndAngle(QQuaternion* theWrappedObject, float* x, float* y, float* z, float* angle) const { - ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_initStyleOption(option)); + ( theWrappedObject->getAxisAndAngle(x, y, z, angle)); } -void PythonQtWrapper_QRubberBand::move(QRubberBand* theWrappedObject, const QPoint& p) +void PythonQtWrapper_QQuaternion::getEulerAngles(QQuaternion* theWrappedObject, float* pitch, float* yaw, float* roll) const { - ( theWrappedObject->move(p)); + ( theWrappedObject->getEulerAngles(pitch, yaw, roll)); } -void PythonQtWrapper_QRubberBand::move(QRubberBand* theWrappedObject, int x, int y) +QQuaternion PythonQtWrapper_QQuaternion::inverted(QQuaternion* theWrappedObject) const { - ( theWrappedObject->move(x, y)); + return ( theWrappedObject->inverted()); } -void PythonQtWrapper_QRubberBand::resize(QRubberBand* theWrappedObject, const QSize& s) +bool PythonQtWrapper_QQuaternion::isIdentity(QQuaternion* theWrappedObject) const { - ( theWrappedObject->resize(s)); + return ( theWrappedObject->isIdentity()); } -void PythonQtWrapper_QRubberBand::resize(QRubberBand* theWrappedObject, int w, int h) +bool PythonQtWrapper_QQuaternion::isNull(QQuaternion* theWrappedObject) const { - ( theWrappedObject->resize(w, h)); + return ( theWrappedObject->isNull()); } -void PythonQtWrapper_QRubberBand::setGeometry(QRubberBand* theWrappedObject, const QRect& r) +float PythonQtWrapper_QQuaternion::length(QQuaternion* theWrappedObject) const { - ( theWrappedObject->setGeometry(r)); + return ( theWrappedObject->length()); } -void PythonQtWrapper_QRubberBand::setGeometry(QRubberBand* theWrappedObject, int x, int y, int w, int h) +float PythonQtWrapper_QQuaternion::lengthSquared(QQuaternion* theWrappedObject) const { - ( theWrappedObject->setGeometry(x, y, w, h)); + return ( theWrappedObject->lengthSquared()); } -QRubberBand::Shape PythonQtWrapper_QRubberBand::shape(QRubberBand* theWrappedObject) const +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_nlerp(const QQuaternion& q1, const QQuaternion& q2, float t) { - return ( theWrappedObject->shape()); + return (QQuaternion::nlerp(q1, q2, t)); } - - -int PythonQtWrapper_QScreen::angleBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b) const +void PythonQtWrapper_QQuaternion::normalize(QQuaternion* theWrappedObject) { - return ( theWrappedObject->angleBetween(a, b)); + ( theWrappedObject->normalize()); } -QRect PythonQtWrapper_QScreen::availableGeometry(QScreen* theWrappedObject) const +QQuaternion PythonQtWrapper_QQuaternion::normalized(QQuaternion* theWrappedObject) const { - return ( theWrappedObject->availableGeometry()); + return ( theWrappedObject->normalized()); } -QSize PythonQtWrapper_QScreen::availableSize(QScreen* theWrappedObject) const +bool PythonQtWrapper_QQuaternion::__ne__(QQuaternion* theWrappedObject, const QQuaternion& q2) { - return ( theWrappedObject->availableSize()); + return ( (*theWrappedObject)!= q2); } -QRect PythonQtWrapper_QScreen::availableVirtualGeometry(QScreen* theWrappedObject) const +const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QQuaternion& q2) { - return ( theWrappedObject->availableVirtualGeometry()); + return ( (*theWrappedObject)* q2); } -QSize PythonQtWrapper_QScreen::availableVirtualSize(QScreen* theWrappedObject) const +QVector3D PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, const QVector3D& vec) { - return ( theWrappedObject->availableVirtualSize()); + return ( (*theWrappedObject)* vec); } -int PythonQtWrapper_QScreen::depth(QScreen* theWrappedObject) const +const QQuaternion PythonQtWrapper_QQuaternion::__mul__(QQuaternion* theWrappedObject, float factor) { - return ( theWrappedObject->depth()); + return ( (*theWrappedObject)* factor); } -qreal PythonQtWrapper_QScreen::devicePixelRatio(QScreen* theWrappedObject) const +QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) { - return ( theWrappedObject->devicePixelRatio()); + return &( (*theWrappedObject)*= quaternion); } -QRect PythonQtWrapper_QScreen::geometry(QScreen* theWrappedObject) const +QQuaternion* PythonQtWrapper_QQuaternion::__imul__(QQuaternion* theWrappedObject, float factor) { - return ( theWrappedObject->geometry()); + return &( (*theWrappedObject)*= factor); } -QPixmap PythonQtWrapper_QScreen::grabWindow(QScreen* theWrappedObject, WId window, int x, int y, int w, int h) +const QQuaternion PythonQtWrapper_QQuaternion::__add__(QQuaternion* theWrappedObject, const QQuaternion& q2) { - return ( theWrappedObject->grabWindow(window, x, y, w, h)); + return ( (*theWrappedObject)+ q2); } -bool PythonQtWrapper_QScreen::isLandscape(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const +QQuaternion* PythonQtWrapper_QQuaternion::__iadd__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) { - return ( theWrappedObject->isLandscape(orientation)); + return &( (*theWrappedObject)+= quaternion); } -bool PythonQtWrapper_QScreen::isPortrait(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const +const QQuaternion PythonQtWrapper_QQuaternion::__sub__(QQuaternion* theWrappedObject) { - return ( theWrappedObject->isPortrait(orientation)); + return (- (*theWrappedObject)); } -qreal PythonQtWrapper_QScreen::logicalDotsPerInch(QScreen* theWrappedObject) const +const QQuaternion PythonQtWrapper_QQuaternion::__sub__(QQuaternion* theWrappedObject, const QQuaternion& q2) { - return ( theWrappedObject->logicalDotsPerInch()); + return ( (*theWrappedObject)- q2); } -qreal PythonQtWrapper_QScreen::logicalDotsPerInchX(QScreen* theWrappedObject) const +QQuaternion* PythonQtWrapper_QQuaternion::__isub__(QQuaternion* theWrappedObject, const QQuaternion& quaternion) { - return ( theWrappedObject->logicalDotsPerInchX()); + return &( (*theWrappedObject)-= quaternion); } -qreal PythonQtWrapper_QScreen::logicalDotsPerInchY(QScreen* theWrappedObject) const +const QQuaternion PythonQtWrapper_QQuaternion::__div__(QQuaternion* theWrappedObject, float divisor) { - return ( theWrappedObject->logicalDotsPerInchY()); + return ( (*theWrappedObject)/ divisor); } -QString PythonQtWrapper_QScreen::manufacturer(QScreen* theWrappedObject) const +QQuaternion* PythonQtWrapper_QQuaternion::__idiv__(QQuaternion* theWrappedObject, float divisor) { - return ( theWrappedObject->manufacturer()); + return &( (*theWrappedObject)/= divisor); } -QRect PythonQtWrapper_QScreen::mapBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& rect) const +void PythonQtWrapper_QQuaternion::writeTo(QQuaternion* theWrappedObject, QDataStream& arg__1) { - return ( theWrappedObject->mapBetween(a, b, rect)); + arg__1 << (*theWrappedObject); } -QString PythonQtWrapper_QScreen::model(QScreen* theWrappedObject) const +bool PythonQtWrapper_QQuaternion::__eq__(QQuaternion* theWrappedObject, const QQuaternion& q2) { - return ( theWrappedObject->model()); + return ( (*theWrappedObject)== q2); } -QString PythonQtWrapper_QScreen::name(QScreen* theWrappedObject) const +void PythonQtWrapper_QQuaternion::readFrom(QQuaternion* theWrappedObject, QDataStream& arg__1) { - return ( theWrappedObject->name()); + arg__1 >> (*theWrappedObject); } -Qt::ScreenOrientation PythonQtWrapper_QScreen::nativeOrientation(QScreen* theWrappedObject) const +QVector3D PythonQtWrapper_QQuaternion::rotatedVector(QQuaternion* theWrappedObject, const QVector3D& vector) const { - return ( theWrappedObject->nativeOrientation()); + return ( theWrappedObject->rotatedVector(vector)); } -Qt::ScreenOrientation PythonQtWrapper_QScreen::orientation(QScreen* theWrappedObject) const +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_rotationTo(const QVector3D& from, const QVector3D& to) { - return ( theWrappedObject->orientation()); + return (QQuaternion::rotationTo(from, to)); } -Qt::ScreenOrientations PythonQtWrapper_QScreen::orientationUpdateMask(QScreen* theWrappedObject) const +float PythonQtWrapper_QQuaternion::scalar(QQuaternion* theWrappedObject) const { - return ( theWrappedObject->orientationUpdateMask()); + return ( theWrappedObject->scalar()); } -qreal PythonQtWrapper_QScreen::physicalDotsPerInch(QScreen* theWrappedObject) const +void PythonQtWrapper_QQuaternion::setScalar(QQuaternion* theWrappedObject, float scalar) { - return ( theWrappedObject->physicalDotsPerInch()); + ( theWrappedObject->setScalar(scalar)); } -qreal PythonQtWrapper_QScreen::physicalDotsPerInchX(QScreen* theWrappedObject) const +void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, const QVector3D& vector) { - return ( theWrappedObject->physicalDotsPerInchX()); + ( theWrappedObject->setVector(vector)); } -qreal PythonQtWrapper_QScreen::physicalDotsPerInchY(QScreen* theWrappedObject) const +void PythonQtWrapper_QQuaternion::setVector(QQuaternion* theWrappedObject, float x, float y, float z) { - return ( theWrappedObject->physicalDotsPerInchY()); + ( theWrappedObject->setVector(x, y, z)); } -QSizeF PythonQtWrapper_QScreen::physicalSize(QScreen* theWrappedObject) const +void PythonQtWrapper_QQuaternion::setX(QQuaternion* theWrappedObject, float x) { - return ( theWrappedObject->physicalSize()); + ( theWrappedObject->setX(x)); } -Qt::ScreenOrientation PythonQtWrapper_QScreen::primaryOrientation(QScreen* theWrappedObject) const +void PythonQtWrapper_QQuaternion::setY(QQuaternion* theWrappedObject, float y) { - return ( theWrappedObject->primaryOrientation()); + ( theWrappedObject->setY(y)); } -qreal PythonQtWrapper_QScreen::refreshRate(QScreen* theWrappedObject) const +void PythonQtWrapper_QQuaternion::setZ(QQuaternion* theWrappedObject, float z) { - return ( theWrappedObject->refreshRate()); + ( theWrappedObject->setZ(z)); } -QString PythonQtWrapper_QScreen::serialNumber(QScreen* theWrappedObject) const +QQuaternion PythonQtWrapper_QQuaternion::static_QQuaternion_slerp(const QQuaternion& q1, const QQuaternion& q2, float t) { - return ( theWrappedObject->serialNumber()); + return (QQuaternion::slerp(q1, q2, t)); } -void PythonQtWrapper_QScreen::setOrientationUpdateMask(QScreen* theWrappedObject, Qt::ScreenOrientations mask) +QVector3D PythonQtWrapper_QQuaternion::toEulerAngles(QQuaternion* theWrappedObject) const { - ( theWrappedObject->setOrientationUpdateMask(mask)); + return ( theWrappedObject->toEulerAngles()); } -QSize PythonQtWrapper_QScreen::size(QScreen* theWrappedObject) const +QVector4D PythonQtWrapper_QQuaternion::toVector4D(QQuaternion* theWrappedObject) const { - return ( theWrappedObject->size()); + return ( theWrappedObject->toVector4D()); } -QTransform PythonQtWrapper_QScreen::transformBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& target) const +QVector3D PythonQtWrapper_QQuaternion::vector(QQuaternion* theWrappedObject) const { - return ( theWrappedObject->transformBetween(a, b, target)); + return ( theWrappedObject->vector()); } -QRect PythonQtWrapper_QScreen::virtualGeometry(QScreen* theWrappedObject) const +float PythonQtWrapper_QQuaternion::x(QQuaternion* theWrappedObject) const { - return ( theWrappedObject->virtualGeometry()); + return ( theWrappedObject->x()); } -QList PythonQtWrapper_QScreen::virtualSiblings(QScreen* theWrappedObject) const +float PythonQtWrapper_QQuaternion::y(QQuaternion* theWrappedObject) const { - return ( theWrappedObject->virtualSiblings()); + return ( theWrappedObject->y()); } -QSize PythonQtWrapper_QScreen::virtualSize(QScreen* theWrappedObject) const +float PythonQtWrapper_QQuaternion::z(QQuaternion* theWrappedObject) const { - return ( theWrappedObject->virtualSize()); + return ( theWrappedObject->z()); } -QString PythonQtWrapper_QScreen::py_toString(QScreen* obj) { +QString PythonQtWrapper_QQuaternion::py_toString(QQuaternion* obj) { QString result; QDebug d(&result); - d << obj; + d << *obj; return result; } -QScreenOrientationChangeEvent* PythonQtWrapper_QScreenOrientationChangeEvent::new_QScreenOrientationChangeEvent(QScreen* screen, Qt::ScreenOrientation orientation) +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient() { -return new QScreenOrientationChangeEvent(screen, orientation); } +return new QRadialGradient(); } -Qt::ScreenOrientation PythonQtWrapper_QScreenOrientationChangeEvent::orientation(QScreenOrientationChangeEvent* theWrappedObject) const -{ - return ( theWrappedObject->orientation()); -} +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(const QPointF& center, qreal centerRadius, const QPointF& focalPoint, qreal focalRadius) +{ +return new QRadialGradient(center, centerRadius, focalPoint, focalRadius); } -QScreen* PythonQtWrapper_QScreenOrientationChangeEvent::screen(QScreenOrientationChangeEvent* theWrappedObject) const -{ - return ( theWrappedObject->screen()); -} +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(const QPointF& center, qreal radius) +{ +return new QRadialGradient(center, radius); } +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(const QPointF& center, qreal radius, const QPointF& focalPoint) +{ +return new QRadialGradient(center, radius, focalPoint); } +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(qreal cx, qreal cy, qreal centerRadius, qreal fx, qreal fy, qreal focalRadius) +{ +return new QRadialGradient(cx, cy, centerRadius, fx, fy, focalRadius); } -PythonQtShell_QScrollArea::~PythonQtShell_QScrollArea() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QScrollArea::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QScrollArea::actionEvent(event0); -} -void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QScrollArea::changeEvent(arg__1); -} -void PythonQtShell_QScrollArea::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QScrollArea::childEvent(event0); -} -void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QScrollArea::closeEvent(event0); -} -void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QScrollArea::contextMenuEvent(arg__1); -} -void PythonQtShell_QScrollArea::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QScrollArea::customEvent(event0); -} -int PythonQtShell_QScrollArea::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QScrollArea::devType(); +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(qreal cx, qreal cy, qreal radius) +{ +return new QRadialGradient(cx, cy, radius); } + +QRadialGradient* PythonQtWrapper_QRadialGradient::new_QRadialGradient(qreal cx, qreal cy, qreal radius, qreal fx, qreal fy) +{ +return new QRadialGradient(cx, cy, radius, fx, fy); } + +QPointF PythonQtWrapper_QRadialGradient::center(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->center()); } -void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) + +qreal PythonQtWrapper_QRadialGradient::centerRadius(QRadialGradient* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->centerRadius()); } - QScrollArea::dragEnterEvent(arg__1); + +QPointF PythonQtWrapper_QRadialGradient::focalPoint(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->focalPoint()); } -void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) + +qreal PythonQtWrapper_QRadialGradient::focalRadius(QRadialGradient* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->focalRadius()); } - QScrollArea::dragLeaveEvent(arg__1); + +qreal PythonQtWrapper_QRadialGradient::radius(QRadialGradient* theWrappedObject) const +{ + return ( theWrappedObject->radius()); } -void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) + +void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, const QPointF& center) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCenter(center)); } - QScrollArea::dragMoveEvent(arg__1); + +void PythonQtWrapper_QRadialGradient::setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y) +{ + ( theWrappedObject->setCenter(x, y)); } -void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) + +void PythonQtWrapper_QRadialGradient::setCenterRadius(QRadialGradient* theWrappedObject, qreal radius) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCenterRadius(radius)); } - QScrollArea::dropEvent(arg__1); + +void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint) +{ + ( theWrappedObject->setFocalPoint(focalPoint)); } -void PythonQtShell_QScrollArea::enterEvent(QEvent* event0) + +void PythonQtWrapper_QRadialGradient::setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setFocalPoint(x, y)); } - QScrollArea::enterEvent(event0); + +void PythonQtWrapper_QRadialGradient::setFocalRadius(QRadialGradient* theWrappedObject, qreal radius) +{ + ( theWrappedObject->setFocalRadius(radius)); } -bool PythonQtShell_QScrollArea::event(QEvent* arg__1) + +void PythonQtWrapper_QRadialGradient::setRadius(QRadialGradient* theWrappedObject, qreal radius) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setRadius(radius)); } - return QScrollArea::event(arg__1); + + + +PythonQtShell_QRadioButton::~PythonQtShell_QRadioButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) +void PythonQtShell_QRadioButton::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::eventFilter(arg__1, arg__2); + QRadioButton::actionEvent(event0); } -void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QRadioButton::changeEvent(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); + static PyObject* name = PyUnicode_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -13112,50 +13794,39 @@ if (_wrapper) { } } } - QScrollArea::focusInEvent(event0); + QRadioButton::changeEvent(e0); } -bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) +void PythonQtShell_QRadioButton::checkStateSet() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + static PyObject* name = PyUnicode_FromString("checkStateSet"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::focusNextPrevChild(next0); + QRadioButton::checkStateSet(); } -void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* event0) +void PythonQtShell_QRadioButton::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -13167,83 +13838,61 @@ if (_wrapper) { } } } - QScrollArea::focusOutEvent(event0); + QRadioButton::childEvent(event0); } -bool PythonQtShell_QScrollArea::hasHeightForWidth() const +void PythonQtShell_QRadioButton::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + static PyObject* name = PyUnicode_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::hasHeightForWidth(); + QRadioButton::closeEvent(event0); } -int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const +void PythonQtShell_QRadioButton::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::heightForWidth(arg__1); + QRadioButton::contextMenuEvent(event0); } -void PythonQtShell_QScrollArea::hideEvent(QHideEvent* event0) +void PythonQtShell_QRadioButton::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -13255,41 +13904,52 @@ if (_wrapper) { } } } - QScrollArea::hideEvent(event0); + QRadioButton::customEvent(event0); } -void PythonQtShell_QScrollArea::initPainter(QPainter* painter0) const +int PythonQtShell_QRadioButton::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::initPainter(painter0); + return QRadioButton::devType(); } -void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QRadioButton::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -13299,52 +13959,41 @@ if (_wrapper) { } } } - QScrollArea::inputMethodEvent(arg__1); + QRadioButton::dragEnterEvent(event0); } -QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const +void PythonQtShell_QRadioButton::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::inputMethodQuery(arg__1); + QRadioButton::dragLeaveEvent(event0); } -void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QRadioButton::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -13354,17 +14003,17 @@ if (_wrapper) { } } } - QScrollArea::keyPressEvent(arg__1); + QRadioButton::dragMoveEvent(event0); } -void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QRadioButton::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -13376,14 +14025,14 @@ if (_wrapper) { } } } - QScrollArea::keyReleaseEvent(event0); + QRadioButton::dropEvent(event0); } -void PythonQtShell_QScrollArea::leaveEvent(QEvent* event0) +void PythonQtShell_QRadioButton::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); + static PyObject* name = PyUnicode_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; @@ -13398,28 +14047,28 @@ if (_wrapper) { } } } - QScrollArea::leaveEvent(event0); + QRadioButton::enterEvent(event0); } -int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +bool PythonQtShell_QRadioButton::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -13431,28 +14080,28 @@ if (_wrapper) { } } } - return QScrollArea::metric(arg__1); + return QRadioButton::event(e0); } -QSize PythonQtShell_QScrollArea::minimumSizeHint() const +bool PythonQtShell_QRadioButton::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -13464,19 +14113,19 @@ if (_wrapper) { } } } - return QScrollArea::minimumSizeHint(); + return QRadioButton::eventFilter(watched0, event1); } -void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +void PythonQtShell_QRadioButton::focusInEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -13486,41 +14135,52 @@ if (_wrapper) { } } } - QScrollArea::mouseDoubleClickEvent(arg__1); + QRadioButton::focusInEvent(e0); } -void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) +bool PythonQtShell_QRadioButton::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::mouseMoveEvent(arg__1); + return QRadioButton::focusNextPrevChild(next0); } -void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QRadioButton::focusOutEvent(QFocusEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -13530,39 +14190,83 @@ if (_wrapper) { } } } - QScrollArea::mousePressEvent(arg__1); + QRadioButton::focusOutEvent(e0); } -void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) +bool PythonQtShell_QRadioButton::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRadioButton::hasHeightForWidth(); +} +int PythonQtShell_QRadioButton::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::mouseReleaseEvent(arg__1); + return QRadioButton::heightForWidth(arg__1); } -void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* event0) +void PythonQtShell_QRadioButton::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); + static PyObject* name = PyUnicode_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -13574,26 +14278,26 @@ if (_wrapper) { } } } - QScrollArea::moveEvent(event0); + QRadioButton::hideEvent(event0); } -bool PythonQtShell_QScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QRadioButton::hitButton(const QPoint& arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("hitButton"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hitButton", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -13607,50 +14311,39 @@ if (_wrapper) { } } } - return QScrollArea::nativeEvent(eventType0, message1, result2); + return QRadioButton::hitButton(arg__1); } -QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const +void PythonQtShell_QRadioButton::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::paintEngine(); + QRadioButton::initPainter(painter0); } -void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QRadioButton::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -13662,28 +14355,28 @@ if (_wrapper) { } } } - QScrollArea::paintEvent(arg__1); + QRadioButton::inputMethodEvent(arg__1); } -QPaintDevice* PythonQtShell_QScrollArea::redirected(QPoint* offset0) const +QVariant PythonQtShell_QRadioButton::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((QVariant*)args[0]); } } } @@ -13695,19 +14388,19 @@ if (_wrapper) { } } } - return QScrollArea::redirected(offset0); + return QRadioButton::inputMethodQuery(arg__1); } -void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QRadioButton::keyPressEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); + static PyObject* name = PyUnicode_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -13717,19 +14410,19 @@ if (_wrapper) { } } } - QScrollArea::resizeEvent(arg__1); + QRadioButton::keyPressEvent(e0); } -void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QRadioButton::keyReleaseEvent(QKeyEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -13739,19 +14432,19 @@ if (_wrapper) { } } } - QScrollArea::scrollContentsBy(dx0, dy1); + QRadioButton::keyReleaseEvent(e0); } -void PythonQtShell_QScrollArea::setVisible(bool visible0) +void PythonQtShell_QRadioButton::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); + static PyObject* name = PyUnicode_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -13761,50 +14454,61 @@ if (_wrapper) { } } } - QScrollArea::setVisible(visible0); + QRadioButton::leaveEvent(event0); } -void PythonQtShell_QScrollArea::setupViewport(QWidget* viewport0) +int PythonQtShell_QRadioButton::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setupViewport"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollArea::setupViewport(viewport0); + return QRadioButton::metric(arg__1); } -QPainter* PythonQtShell_QScrollArea::sharedPainter() const +QSize PythonQtShell_QRadioButton::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"QSize"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; + QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -13816,17 +14520,17 @@ if (_wrapper) { } } } - return QScrollArea::sharedPainter(); + return QRadioButton::minimumSizeHint(); } -void PythonQtShell_QScrollArea::showEvent(QShowEvent* event0) +void PythonQtShell_QRadioButton::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -13838,52 +14542,41 @@ if (_wrapper) { } } } - QScrollArea::showEvent(event0); + QRadioButton::mouseDoubleClickEvent(event0); } -QSize PythonQtShell_QScrollArea::sizeHint() const +void PythonQtShell_QRadioButton::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::sizeHint(); + QRadioButton::mouseMoveEvent(arg__1); } -void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QRadioButton::mousePressEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -13893,19 +14586,19 @@ if (_wrapper) { } } } - QScrollArea::tabletEvent(event0); + QRadioButton::mousePressEvent(e0); } -void PythonQtShell_QScrollArea::timerEvent(QTimerEvent* event0) +void PythonQtShell_QRadioButton::mouseReleaseEvent(QMouseEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -13915,61 +14608,50 @@ if (_wrapper) { } } } - QScrollArea::timerEvent(event0); + QRadioButton::mouseReleaseEvent(e0); } -bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) +void PythonQtShell_QRadioButton::moveEvent(QMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); + static PyObject* name = PyUnicode_FromString("moveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollArea::viewportEvent(arg__1); + QRadioButton::moveEvent(event0); } -QSize PythonQtShell_QScrollArea::viewportSizeHint() const +bool PythonQtShell_QRadioButton::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); + static PyObject* name = PyUnicode_FromString("nativeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -13981,109 +14663,19 @@ if (_wrapper) { } } } - return QScrollArea::viewportSizeHint(); -} -void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QScrollArea::wheelEvent(arg__1); -} -QScrollArea* PythonQtWrapper_QScrollArea::new_QScrollArea(QWidget* parent) -{ -return new PythonQtShell_QScrollArea(parent); } - -const QMetaObject* PythonQtShell_QScrollArea::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QScrollArea::staticMetaObject); - } else { - return &QScrollArea::staticMetaObject; - } -} -int PythonQtShell_QScrollArea::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QScrollArea::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -Qt::Alignment PythonQtWrapper_QScrollArea::alignment(QScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -void PythonQtWrapper_QScrollArea::ensureVisible(QScrollArea* theWrappedObject, int x, int y, int xmargin, int ymargin) -{ - ( theWrappedObject->ensureVisible(x, y, xmargin, ymargin)); -} - -void PythonQtWrapper_QScrollArea::ensureWidgetVisible(QScrollArea* theWrappedObject, QWidget* childWidget, int xmargin, int ymargin) -{ - ( theWrappedObject->ensureWidgetVisible(childWidget, xmargin, ymargin)); -} - -void PythonQtWrapper_QScrollArea::setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1) -{ - ( theWrappedObject->setAlignment(arg__1)); -} - -void PythonQtWrapper_QScrollArea::setWidget(QScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget) -{ - ( theWrappedObject->setWidget(widget)); -} - -void PythonQtWrapper_QScrollArea::setWidgetResizable(QScrollArea* theWrappedObject, bool resizable) -{ - ( theWrappedObject->setWidgetResizable(resizable)); -} - -QWidget* PythonQtWrapper_QScrollArea::takeWidget(QScrollArea* theWrappedObject) -{ - return ( theWrappedObject->takeWidget()); -} - -QWidget* PythonQtWrapper_QScrollArea::widget(QScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->widget()); -} - -bool PythonQtWrapper_QScrollArea::widgetResizable(QScrollArea* theWrappedObject) const -{ - return ( theWrappedObject->widgetResizable()); -} - - - -PythonQtShell_QScrollBar::~PythonQtShell_QScrollBar() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QRadioButton::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QScrollBar::actionEvent(QActionEvent* event0) +void PythonQtShell_QRadioButton::nextCheckState() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); + static PyObject* name = PyUnicode_FromString("nextCheckState"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14093,41 +14685,52 @@ if (_wrapper) { } } } - QScrollBar::actionEvent(event0); + QRadioButton::nextCheckState(); } -void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) +QPaintEngine* PythonQtShell_QRadioButton::paintEngine() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); + static PyObject* name = PyUnicode_FromString("paintEngine"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::changeEvent(e0); + return QRadioButton::paintEngine(); } -void PythonQtShell_QScrollBar::childEvent(QChildEvent* event0) +void PythonQtShell_QRadioButton::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14137,41 +14740,52 @@ if (_wrapper) { } } } - QScrollBar::childEvent(event0); + QRadioButton::paintEvent(arg__1); } -void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* event0) +QPaintDevice* PythonQtShell_QRadioButton::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::closeEvent(event0); + return QRadioButton::redirected(offset0); } -void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) +void PythonQtShell_QRadioButton::resizeEvent(QResizeEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + static PyObject* name = PyUnicode_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14181,19 +14795,19 @@ if (_wrapper) { } } } - QScrollBar::contextMenuEvent(arg__1); + QRadioButton::resizeEvent(event0); } -void PythonQtShell_QScrollBar::customEvent(QEvent* event0) +void PythonQtShell_QRadioButton::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14203,28 +14817,28 @@ if (_wrapper) { } } } - QScrollBar::customEvent(event0); + QRadioButton::setVisible(visible0); } -int PythonQtShell_QScrollBar::devType() const +QPainter* PythonQtShell_QRadioButton::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; + QPainter* returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QPainter**)args[0]); } } } @@ -14236,17 +14850,17 @@ if (_wrapper) { } } } - return QScrollBar::devType(); + return QRadioButton::sharedPainter(); } -void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* event0) +void PythonQtShell_QRadioButton::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -14258,39 +14872,50 @@ if (_wrapper) { } } } - QScrollBar::dragEnterEvent(event0); + QRadioButton::showEvent(event0); } -void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* event0) +QSize PythonQtShell_QRadioButton::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::dragLeaveEvent(event0); + return QRadioButton::sizeHint(); } -void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QRadioButton::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + static PyObject* name = PyUnicode_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -14302,19 +14927,19 @@ if (_wrapper) { } } } - QScrollBar::dragMoveEvent(event0); + QRadioButton::tabletEvent(event0); } -void PythonQtShell_QScrollBar::dropEvent(QDropEvent* event0) +void PythonQtShell_QRadioButton::timerEvent(QTimerEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14324,17 +14949,17 @@ if (_wrapper) { } } } - QScrollBar::dropEvent(event0); + QRadioButton::timerEvent(e0); } -void PythonQtShell_QScrollBar::enterEvent(QEvent* event0) +void PythonQtShell_QRadioButton::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); + static PyObject* name = PyUnicode_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -14346,83 +14971,71 @@ if (_wrapper) { } } } - QScrollBar::enterEvent(event0); + QRadioButton::wheelEvent(event0); } -bool PythonQtShell_QScrollBar::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +QRadioButton* PythonQtWrapper_QRadioButton::new_QRadioButton(QWidget* parent) +{ +return new PythonQtShell_QRadioButton(parent); } + +QRadioButton* PythonQtWrapper_QRadioButton::new_QRadioButton(const QString& text, QWidget* parent) +{ +return new PythonQtShell_QRadioButton(text, parent); } + +const QMetaObject* PythonQtShell_QRadioButton::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRadioButton::staticMetaObject); + } else { + return &QRadioButton::staticMetaObject; } } - return QScrollBar::event(event0); +int PythonQtShell_QRadioButton::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRadioButton::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QRadioButton::initStyleOption(QRadioButton* theWrappedObject, QStyleOptionButton* button) const +{ + ( ((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->promoted_initStyleOption(button)); +} + + + +PythonQtShell_QRasterWindow::~PythonQtShell_QRasterWindow() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QScrollBar::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QRasterWindow::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollBar::eventFilter(watched0, event1); + QRasterWindow::childEvent(event0); } -void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QRasterWindow::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -14434,28 +15047,28 @@ if (_wrapper) { } } } - QScrollBar::focusInEvent(event0); + QRasterWindow::customEvent(event0); } -bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) +int PythonQtShell_QRasterWindow::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -14467,48 +15080,59 @@ if (_wrapper) { } } } - return QScrollBar::focusNextPrevChild(next0); + return QRasterWindow::devType(); } -void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* event0) +bool PythonQtShell_QRasterWindow::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::focusOutEvent(event0); + return QRasterWindow::event(event0); } -bool PythonQtShell_QScrollBar::hasHeightForWidth() const +bool PythonQtShell_QRasterWindow::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[1] = {nullptr}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -14522,50 +15146,39 @@ if (_wrapper) { } } } - return QScrollBar::hasHeightForWidth(); + return QRasterWindow::eventFilter(watched0, event1); } -int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const +void PythonQtShell_QRasterWindow::exposeEvent(QExposeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("exposeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QExposeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollBar::heightForWidth(arg__1); + QRasterWindow::exposeEvent(arg__1); } -void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) +void PythonQtShell_QRasterWindow::focusInEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -14577,39 +15190,50 @@ if (_wrapper) { } } } - QScrollBar::hideEvent(arg__1); + QRasterWindow::focusInEvent(arg__1); } -void PythonQtShell_QScrollBar::initPainter(QPainter* painter0) const +QObject* PythonQtShell_QRasterWindow::focusObject() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); + static PyObject* name = PyUnicode_FromString("focusObject"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + static const char* argumentList[] ={"QObject*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QObject* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusObject", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::initPainter(painter0); + return QRasterWindow::focusObject(); } -void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QRasterWindow::focusOutEvent(QFocusEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + static PyObject* name = PyUnicode_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -14621,28 +15245,28 @@ if (_wrapper) { } } } - QScrollBar::inputMethodEvent(arg__1); + QRasterWindow::focusOutEvent(arg__1); } -QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +QSurfaceFormat PythonQtShell_QRasterWindow::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + static PyObject* name = PyUnicode_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QSurfaceFormat*)args[0]); } } } @@ -14654,19 +15278,19 @@ if (_wrapper) { } } } - return QScrollBar::inputMethodQuery(arg__1); + return QRasterWindow::format(); } -void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) +void PythonQtShell_QRasterWindow::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14676,19 +15300,19 @@ if (_wrapper) { } } } - QScrollBar::keyPressEvent(ev0); + QRasterWindow::hideEvent(arg__1); } -void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QRasterWindow::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14698,19 +15322,19 @@ if (_wrapper) { } } } - QScrollBar::keyReleaseEvent(event0); + QRasterWindow::initPainter(painter0); } -void PythonQtShell_QScrollBar::leaveEvent(QEvent* event0) +void PythonQtShell_QRasterWindow::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); + static PyObject* name = PyUnicode_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14720,61 +15344,50 @@ if (_wrapper) { } } } - QScrollBar::leaveEvent(event0); + QRasterWindow::keyPressEvent(arg__1); } -int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QRasterWindow::keyReleaseEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QScrollBar::metric(arg__1); + QRasterWindow::keyReleaseEvent(arg__1); } -QSize PythonQtShell_QScrollBar::minimumSizeHint() const +int PythonQtShell_QRasterWindow::metric(QPaintDevice::PaintDeviceMetric metric0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&metric0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -14786,9 +15399,9 @@ if (_wrapper) { } } } - return QScrollBar::minimumSizeHint(); + return QRasterWindow::metric(metric0); } -void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QRasterWindow::mouseDoubleClickEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14798,7 +15411,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14808,9 +15421,9 @@ if (_wrapper) { } } } - QScrollBar::mouseDoubleClickEvent(event0); + QRasterWindow::mouseDoubleClickEvent(arg__1); } -void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) +void PythonQtShell_QRasterWindow::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14830,9 +15443,9 @@ if (_wrapper) { } } } - QScrollBar::mouseMoveEvent(arg__1); + QRasterWindow::mouseMoveEvent(arg__1); } -void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QRasterWindow::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14852,9 +15465,9 @@ if (_wrapper) { } } } - QScrollBar::mousePressEvent(arg__1); + QRasterWindow::mousePressEvent(arg__1); } -void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) +void PythonQtShell_QRasterWindow::mouseReleaseEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14874,9 +15487,9 @@ if (_wrapper) { } } } - QScrollBar::mouseReleaseEvent(arg__1); + QRasterWindow::mouseReleaseEvent(arg__1); } -void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* event0) +void PythonQtShell_QRasterWindow::moveEvent(QMoveEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14886,7 +15499,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14896,9 +15509,9 @@ if (_wrapper) { } } } - QScrollBar::moveEvent(event0); + QRasterWindow::moveEvent(arg__1); } -bool PythonQtShell_QScrollBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QRasterWindow::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14929,42 +15542,9 @@ if (_wrapper) { } } } - return QScrollBar::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QScrollBar::paintEngine(); + return QRasterWindow::nativeEvent(eventType0, message1, result2); } -void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QRasterWindow::paintEvent(QPaintEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14974,7 +15554,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14984,9 +15564,9 @@ if (_wrapper) { } } } - QScrollBar::paintEvent(arg__1); + QRasterWindow::paintEvent(event0); } -QPaintDevice* PythonQtShell_QScrollBar::redirected(QPoint* offset0) const +QPaintDevice* PythonQtShell_QRasterWindow::redirected(QPoint* arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -14997,7 +15577,7 @@ if (_wrapper) { static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -15017,9 +15597,9 @@ if (_wrapper) { } } } - return QScrollBar::redirected(offset0); + return QRasterWindow::redirected(arg__1); } -void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* event0) +void PythonQtShell_QRasterWindow::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15029,29 +15609,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QScrollBar::resizeEvent(event0); -} -void PythonQtShell_QScrollBar::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -15061,9 +15619,9 @@ if (_wrapper) { } } } - QScrollBar::setVisible(visible0); + QRasterWindow::resizeEvent(arg__1); } -QPainter* PythonQtShell_QScrollBar::sharedPainter() const +QPainter* PythonQtShell_QRasterWindow::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15094,9 +15652,9 @@ if (_wrapper) { } } } - return QScrollBar::sharedPainter(); + return QRasterWindow::sharedPainter(); } -void PythonQtShell_QScrollBar::showEvent(QShowEvent* event0) +void PythonQtShell_QRasterWindow::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15106,7 +15664,7 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -15116,14 +15674,14 @@ if (_wrapper) { } } } - QScrollBar::showEvent(event0); + QRasterWindow::showEvent(arg__1); } -QSize PythonQtShell_QScrollBar::sizeHint() const +QSize PythonQtShell_QRasterWindow::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); + static PyObject* name = PyUnicode_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize"}; @@ -15135,7 +15693,7 @@ if (_wrapper) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } @@ -15149,31 +15707,42 @@ if (_wrapper) { } } } - return QScrollBar::sizeHint(); + return QRasterWindow::size(); } -void PythonQtShell_QScrollBar::sliderChange(QAbstractSlider::SliderChange change0) +QSurface::SurfaceType PythonQtShell_QRasterWindow::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sliderChange"); + static PyObject* name = PyUnicode_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&change0}; + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + } else { + returnValue = *((QSurface::SurfaceType*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QScrollBar::sliderChange(change0); + return QRasterWindow::surfaceType(); } -void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QRasterWindow::tabletEvent(QTabletEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15183,6 +15752,28 @@ if (_wrapper) { if (obj) { static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRasterWindow::tabletEvent(arg__1); +} +void PythonQtShell_QRasterWindow::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } @@ -15193,17 +15784,17 @@ if (_wrapper) { } } } - QScrollBar::tabletEvent(event0); + QRasterWindow::timerEvent(event0); } -void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) +void PythonQtShell_QRasterWindow::touchEvent(QTouchEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("touchEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QTouchEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -15215,9 +15806,9 @@ if (_wrapper) { } } } - QScrollBar::timerEvent(arg__1); + QRasterWindow::touchEvent(arg__1); } -void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QRasterWindow::wheelEvent(QWheelEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15237,331 +15828,464 @@ if (_wrapper) { } } } - QScrollBar::wheelEvent(arg__1); + QRasterWindow::wheelEvent(arg__1); } -QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(QWidget* parent) -{ -return new PythonQtShell_QScrollBar(parent); } - -QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(Qt::Orientation arg__1, QWidget* parent) +QRasterWindow* PythonQtWrapper_QRasterWindow::new_QRasterWindow(QWindow* parent) { -return new PythonQtShell_QScrollBar(arg__1, parent); } +return new PythonQtShell_QRasterWindow(parent); } -const QMetaObject* PythonQtShell_QScrollBar::metaObject() const { +const QMetaObject* PythonQtShell_QRasterWindow::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QScrollBar::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRasterWindow::staticMetaObject); } else { - return &QScrollBar::staticMetaObject; + return &QRasterWindow::staticMetaObject; } } -int PythonQtShell_QScrollBar::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QScrollBar::qt_metacall(call, id, args); +int PythonQtShell_QRasterWindow::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRasterWindow::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtWrapper_QScrollBar::initStyleOption(QScrollBar* theWrappedObject, QStyleOptionSlider* option) const -{ - ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_initStyleOption(option)); -} +QRawFont* PythonQtWrapper_QRawFont::new_QRawFont() +{ +return new QRawFont(); } + +QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) +{ +return new QRawFont(fontData, pixelSize, hintingPreference); } + +QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QRawFont& other) +{ +return new QRawFont(other); } -QScrollEvent* PythonQtWrapper_QScrollEvent::new_QScrollEvent(const QPointF& contentPos, const QPointF& overshoot, QScrollEvent::ScrollState scrollState) +QRawFont* PythonQtWrapper_QRawFont::new_QRawFont(const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference) { -return new QScrollEvent(contentPos, overshoot, scrollState); } +return new QRawFont(fileName, pixelSize, hintingPreference); } -QPointF PythonQtWrapper_QScrollEvent::contentPos(QScrollEvent* theWrappedObject) const +QVector PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes) const { - return ( theWrappedObject->contentPos()); + return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes)); } -QPointF PythonQtWrapper_QScrollEvent::overshootDistance(QScrollEvent* theWrappedObject) const +QVector PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes, QRawFont::LayoutFlags layoutFlags) const { - return ( theWrappedObject->overshootDistance()); + return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, layoutFlags)); } -QScrollEvent::ScrollState PythonQtWrapper_QScrollEvent::scrollState(QScrollEvent* theWrappedObject) const +bool PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs) const { - return ( theWrappedObject->scrollState()); + return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, advances, numGlyphs)); } - - -QScrollPrepareEvent* PythonQtWrapper_QScrollPrepareEvent::new_QScrollPrepareEvent(const QPointF& startPos) -{ -return new QScrollPrepareEvent(startPos); } - -QPointF PythonQtWrapper_QScrollPrepareEvent::contentPos(QScrollPrepareEvent* theWrappedObject) const +bool PythonQtWrapper_QRawFont::advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs, QRawFont::LayoutFlags layoutFlags) const { - return ( theWrappedObject->contentPos()); + return ( theWrappedObject->advancesForGlyphIndexes(glyphIndexes, advances, numGlyphs, layoutFlags)); } -QRectF PythonQtWrapper_QScrollPrepareEvent::contentPosRange(QScrollPrepareEvent* theWrappedObject) const +QImage PythonQtWrapper_QRawFont::alphaMapForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex, QRawFont::AntialiasingType antialiasingType, const QTransform& transform) const { - return ( theWrappedObject->contentPosRange()); + return ( theWrappedObject->alphaMapForGlyph(glyphIndex, antialiasingType, transform)); } -void PythonQtWrapper_QScrollPrepareEvent::setContentPos(QScrollPrepareEvent* theWrappedObject, const QPointF& pos) +qreal PythonQtWrapper_QRawFont::ascent(QRawFont* theWrappedObject) const { - ( theWrappedObject->setContentPos(pos)); + return ( theWrappedObject->ascent()); } -void PythonQtWrapper_QScrollPrepareEvent::setContentPosRange(QScrollPrepareEvent* theWrappedObject, const QRectF& rect) +qreal PythonQtWrapper_QRawFont::averageCharWidth(QRawFont* theWrappedObject) const { - ( theWrappedObject->setContentPosRange(rect)); + return ( theWrappedObject->averageCharWidth()); } -void PythonQtWrapper_QScrollPrepareEvent::setViewportSize(QScrollPrepareEvent* theWrappedObject, const QSizeF& size) +QRectF PythonQtWrapper_QRawFont::boundingRect(QRawFont* theWrappedObject, unsigned int glyphIndex) const { - ( theWrappedObject->setViewportSize(size)); + return ( theWrappedObject->boundingRect(glyphIndex)); } -QPointF PythonQtWrapper_QScrollPrepareEvent::startPos(QScrollPrepareEvent* theWrappedObject) const +qreal PythonQtWrapper_QRawFont::capHeight(QRawFont* theWrappedObject) const { - return ( theWrappedObject->startPos()); + return ( theWrappedObject->capHeight()); } -QSizeF PythonQtWrapper_QScrollPrepareEvent::viewportSize(QScrollPrepareEvent* theWrappedObject) const +qreal PythonQtWrapper_QRawFont::descent(QRawFont* theWrappedObject) const { - return ( theWrappedObject->viewportSize()); + return ( theWrappedObject->descent()); } - - -QList PythonQtWrapper_QScroller::static_QScroller_activeScrollers() +QString PythonQtWrapper_QRawFont::familyName(QRawFont* theWrappedObject) const { - return (QScroller::activeScrollers()); + return ( theWrappedObject->familyName()); } -QPointF PythonQtWrapper_QScroller::finalPosition(QScroller* theWrappedObject) const +QByteArray PythonQtWrapper_QRawFont::fontTable(QRawFont* theWrappedObject, const char* tagName) const { - return ( theWrappedObject->finalPosition()); + return ( theWrappedObject->fontTable(tagName)); } -Qt::GestureType PythonQtWrapper_QScroller::static_QScroller_grabGesture(QObject* target, QScroller::ScrollerGestureType gestureType) +QRawFont PythonQtWrapper_QRawFont::static_QRawFont_fromFont(const QFont& font, QFontDatabase::WritingSystem writingSystem) { - return (QScroller::grabGesture(target, gestureType)); + return (QRawFont::fromFont(font, writingSystem)); } -Qt::GestureType PythonQtWrapper_QScroller::static_QScroller_grabbedGesture(QObject* target) +bool PythonQtWrapper_QRawFont::glyphIndexesForChars(QRawFont* theWrappedObject, const QChar* chars, int numChars, unsigned int* glyphIndexes, int* numGlyphs) const { - return (QScroller::grabbedGesture(target)); + return ( theWrappedObject->glyphIndexesForChars(chars, numChars, glyphIndexes, numGlyphs)); } -bool PythonQtWrapper_QScroller::handleInput(QScroller* theWrappedObject, QScroller::Input input, const QPointF& position, qint64 timestamp) +QVector PythonQtWrapper_QRawFont::glyphIndexesForString(QRawFont* theWrappedObject, const QString& text) const { - return ( theWrappedObject->handleInput(input, position, timestamp)); + return ( theWrappedObject->glyphIndexesForString(text)); } -bool PythonQtWrapper_QScroller::static_QScroller_hasScroller(QObject* target) +QFont::HintingPreference PythonQtWrapper_QRawFont::hintingPreference(QRawFont* theWrappedObject) const { - return (QScroller::hasScroller(target)); + return ( theWrappedObject->hintingPreference()); } -QPointF PythonQtWrapper_QScroller::pixelPerMeter(QScroller* theWrappedObject) const +bool PythonQtWrapper_QRawFont::isValid(QRawFont* theWrappedObject) const { - return ( theWrappedObject->pixelPerMeter()); + return ( theWrappedObject->isValid()); } -QScroller* PythonQtWrapper_QScroller::static_QScroller_scroller(QObject* target) +qreal PythonQtWrapper_QRawFont::leading(QRawFont* theWrappedObject) const { - return (QScroller::scroller(target)); + return ( theWrappedObject->leading()); } -const QScroller* PythonQtWrapper_QScroller::static_QScroller_scroller(const QObject* target) +qreal PythonQtWrapper_QRawFont::lineThickness(QRawFont* theWrappedObject) const { - return (QScroller::scroller(target)); + return ( theWrappedObject->lineThickness()); } -QScrollerProperties PythonQtWrapper_QScroller::scrollerProperties(QScroller* theWrappedObject) const +void PythonQtWrapper_QRawFont::loadFromData(QRawFont* theWrappedObject, const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) { - return ( theWrappedObject->scrollerProperties()); + ( theWrappedObject->loadFromData(fontData, pixelSize, hintingPreference)); } -void PythonQtWrapper_QScroller::setSnapPositionsX(QScroller* theWrappedObject, const QList& positions) +void PythonQtWrapper_QRawFont::loadFromFile(QRawFont* theWrappedObject, const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference) { - ( theWrappedObject->setSnapPositionsX(positions)); + ( theWrappedObject->loadFromFile(fileName, pixelSize, hintingPreference)); } -void PythonQtWrapper_QScroller::setSnapPositionsX(QScroller* theWrappedObject, qreal first, qreal interval) +qreal PythonQtWrapper_QRawFont::maxCharWidth(QRawFont* theWrappedObject) const { - ( theWrappedObject->setSnapPositionsX(first, interval)); + return ( theWrappedObject->maxCharWidth()); } -void PythonQtWrapper_QScroller::setSnapPositionsY(QScroller* theWrappedObject, const QList& positions) +bool PythonQtWrapper_QRawFont::__ne__(QRawFont* theWrappedObject, const QRawFont& other) const { - ( theWrappedObject->setSnapPositionsY(positions)); + return ( (*theWrappedObject)!= other); } -void PythonQtWrapper_QScroller::setSnapPositionsY(QScroller* theWrappedObject, qreal first, qreal interval) +QRawFont* PythonQtWrapper_QRawFont::operator_assign(QRawFont* theWrappedObject, const QRawFont& other) { - ( theWrappedObject->setSnapPositionsY(first, interval)); + return &( (*theWrappedObject)= other); } -QScroller::State PythonQtWrapper_QScroller::state(QScroller* theWrappedObject) const +bool PythonQtWrapper_QRawFont::__eq__(QRawFont* theWrappedObject, const QRawFont& other) const { - return ( theWrappedObject->state()); + return ( (*theWrappedObject)== other); } -void PythonQtWrapper_QScroller::stop(QScroller* theWrappedObject) +QPainterPath PythonQtWrapper_QRawFont::pathForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex) const { - ( theWrappedObject->stop()); + return ( theWrappedObject->pathForGlyph(glyphIndex)); } -QObject* PythonQtWrapper_QScroller::target(QScroller* theWrappedObject) const +qreal PythonQtWrapper_QRawFont::pixelSize(QRawFont* theWrappedObject) const { - return ( theWrappedObject->target()); + return ( theWrappedObject->pixelSize()); } -void PythonQtWrapper_QScroller::static_QScroller_ungrabGesture(QObject* target) +void PythonQtWrapper_QRawFont::setPixelSize(QRawFont* theWrappedObject, qreal pixelSize) { - (QScroller::ungrabGesture(target)); + ( theWrappedObject->setPixelSize(pixelSize)); } -QPointF PythonQtWrapper_QScroller::velocity(QScroller* theWrappedObject) const +QFont::Style PythonQtWrapper_QRawFont::style(QRawFont* theWrappedObject) const { - return ( theWrappedObject->velocity()); + return ( theWrappedObject->style()); } - - -PythonQtShell_QScrollerProperties::~PythonQtShell_QScrollerProperties() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +QString PythonQtWrapper_QRawFont::styleName(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->styleName()); } -QScrollerProperties* PythonQtWrapper_QScrollerProperties::new_QScrollerProperties() -{ -return new PythonQtShell_QScrollerProperties(); } -QScrollerProperties* PythonQtWrapper_QScrollerProperties::new_QScrollerProperties(const QScrollerProperties& sp) -{ -return new PythonQtShell_QScrollerProperties(sp); } +QList PythonQtWrapper_QRawFont::supportedWritingSystems(QRawFont* theWrappedObject) const +{ + return ( theWrappedObject->supportedWritingSystems()); +} -bool PythonQtWrapper_QScrollerProperties::__ne__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const +bool PythonQtWrapper_QRawFont::supportsCharacter(QRawFont* theWrappedObject, QChar character) const { - return ( (*theWrappedObject)!= sp); + return ( theWrappedObject->supportsCharacter(character)); } -QScrollerProperties* PythonQtWrapper_QScrollerProperties::operator_assign(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) +bool PythonQtWrapper_QRawFont::supportsCharacter(QRawFont* theWrappedObject, uint ucs4) const { - return &( (*theWrappedObject)= sp); + return ( theWrappedObject->supportsCharacter(ucs4)); } -bool PythonQtWrapper_QScrollerProperties::__eq__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const +void PythonQtWrapper_QRawFont::swap(QRawFont* theWrappedObject, QRawFont& other) { - return ( (*theWrappedObject)== sp); + ( theWrappedObject->swap(other)); } -QVariant PythonQtWrapper_QScrollerProperties::scrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric) const +qreal PythonQtWrapper_QRawFont::underlinePosition(QRawFont* theWrappedObject) const { - return ( theWrappedObject->scrollMetric(metric)); + return ( theWrappedObject->underlinePosition()); } -void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_setDefaultScrollerProperties(const QScrollerProperties& sp) +qreal PythonQtWrapper_QRawFont::unitsPerEm(QRawFont* theWrappedObject) const { - (QScrollerProperties::setDefaultScrollerProperties(sp)); + return ( theWrappedObject->unitsPerEm()); } -void PythonQtWrapper_QScrollerProperties::setScrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric, const QVariant& value) +int PythonQtWrapper_QRawFont::weight(QRawFont* theWrappedObject) const { - ( theWrappedObject->setScrollMetric(metric, value)); + return ( theWrappedObject->weight()); } -void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_unsetDefaultScrollerProperties() +qreal PythonQtWrapper_QRawFont::xHeight(QRawFont* theWrappedObject) const { - (QScrollerProperties::unsetDefaultScrollerProperties()); + return ( theWrappedObject->xHeight()); } -bool PythonQtWrapper_QSessionManager::allowsErrorInteraction(QSessionManager* theWrappedObject) -{ - return ( theWrappedObject->allowsErrorInteraction()); +PythonQtShell_QRegExpValidator::~PythonQtShell_QRegExpValidator() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } - -bool PythonQtWrapper_QSessionManager::allowsInteraction(QSessionManager* theWrappedObject) +void PythonQtShell_QRegExpValidator::childEvent(QChildEvent* event0) { - return ( theWrappedObject->allowsInteraction()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QSessionManager::cancel(QSessionManager* theWrappedObject) -{ - ( theWrappedObject->cancel()); + QRegExpValidator::childEvent(event0); } - -QStringList PythonQtWrapper_QSessionManager::discardCommand(QSessionManager* theWrappedObject) const +void PythonQtShell_QRegExpValidator::customEvent(QEvent* event0) { - return ( theWrappedObject->discardCommand()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QSessionManager::isPhase2(QSessionManager* theWrappedObject) const -{ - return ( theWrappedObject->isPhase2()); + QRegExpValidator::customEvent(event0); } - -void PythonQtWrapper_QSessionManager::release(QSessionManager* theWrappedObject) +bool PythonQtShell_QRegExpValidator::event(QEvent* event0) { - ( theWrappedObject->release()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QSessionManager::requestPhase2(QSessionManager* theWrappedObject) + return QRegExpValidator::event(event0); +} +bool PythonQtShell_QRegExpValidator::eventFilter(QObject* watched0, QEvent* event1) { - ( theWrappedObject->requestPhase2()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QStringList PythonQtWrapper_QSessionManager::restartCommand(QSessionManager* theWrappedObject) const + return QRegExpValidator::eventFilter(watched0, event1); +} +void PythonQtShell_QRegExpValidator::fixup(QString& arg__1) const { - return ( theWrappedObject->restartCommand()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRegExpValidator::fixup(arg__1); } - -QSessionManager::RestartHint PythonQtWrapper_QSessionManager::restartHint(QSessionManager* theWrappedObject) const +void PythonQtShell_QRegExpValidator::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->restartHint()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QSessionManager::sessionId(QSessionManager* theWrappedObject) const -{ - return ( theWrappedObject->sessionId()); + QRegExpValidator::timerEvent(event0); } - -QString PythonQtWrapper_QSessionManager::sessionKey(QSessionManager* theWrappedObject) const +QValidator::State PythonQtShell_QRegExpValidator::validate(QString& input0, int& pos1) const { - return ( theWrappedObject->sessionKey()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QSessionManager::setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) -{ - ( theWrappedObject->setDiscardCommand(arg__1)); + return QRegExpValidator::validate(input0, pos1); } +QRegExpValidator* PythonQtWrapper_QRegExpValidator::new_QRegExpValidator(QObject* parent) +{ +return new PythonQtShell_QRegExpValidator(parent); } -void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value) -{ - ( theWrappedObject->setManagerProperty(name, value)); -} +QRegExpValidator* PythonQtWrapper_QRegExpValidator::new_QRegExpValidator(const QRegExp& rx, QObject* parent) +{ +return new PythonQtShell_QRegExpValidator(rx, parent); } -void PythonQtWrapper_QSessionManager::setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value) -{ - ( theWrappedObject->setManagerProperty(name, value)); +const QMetaObject* PythonQtShell_QRegExpValidator::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRegExpValidator::staticMetaObject); + } else { + return &QRegExpValidator::staticMetaObject; + } } - -void PythonQtWrapper_QSessionManager::setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1) +int PythonQtShell_QRegExpValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRegExpValidator::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +const QRegExp* PythonQtWrapper_QRegExpValidator::regExp(QRegExpValidator* theWrappedObject) const { - ( theWrappedObject->setRestartCommand(arg__1)); + return &( theWrappedObject->regExp()); } -void PythonQtWrapper_QSessionManager::setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1) +void PythonQtWrapper_QRegExpValidator::setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx) { - ( theWrappedObject->setRestartHint(arg__1)); + ( theWrappedObject->setRegExp(rx)); } -PythonQtShell_QShortcut::~PythonQtShell_QShortcut() { +PythonQtShell_QRegularExpressionValidator::~PythonQtShell_QRegularExpressionValidator() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QShortcut::childEvent(QChildEvent* event0) +void PythonQtShell_QRegularExpressionValidator::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15581,9 +16305,9 @@ if (_wrapper) { } } } - QShortcut::childEvent(event0); + QRegularExpressionValidator::childEvent(event0); } -void PythonQtShell_QShortcut::customEvent(QEvent* event0) +void PythonQtShell_QRegularExpressionValidator::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15603,9 +16327,9 @@ if (_wrapper) { } } } - QShortcut::customEvent(event0); + QRegularExpressionValidator::customEvent(event0); } -bool PythonQtShell_QShortcut::event(QEvent* e0) +bool PythonQtShell_QRegularExpressionValidator::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15616,7 +16340,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -15636,9 +16360,9 @@ if (_wrapper) { } } } - return QShortcut::event(e0); + return QRegularExpressionValidator::event(event0); } -bool PythonQtShell_QShortcut::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QRegularExpressionValidator::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15669,9 +16393,31 @@ if (_wrapper) { } } } - return QShortcut::eventFilter(watched0, event1); + return QRegularExpressionValidator::eventFilter(watched0, event1); +} +void PythonQtShell_QRegularExpressionValidator::fixup(QString& arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("fixup"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRegularExpressionValidator::fixup(arg__1); } -void PythonQtShell_QShortcut::timerEvent(QTimerEvent* event0) +void PythonQtShell_QRegularExpressionValidator::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15691,118 +16437,206 @@ if (_wrapper) { } } } - QShortcut::timerEvent(event0); + QRegularExpressionValidator::timerEvent(event0); +} +QValidator::State PythonQtShell_QRegularExpressionValidator::validate(QString& input0, int& pos1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("validate"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QValidator::State" , "QString&" , "int&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QValidator::State returnValue{}; + void* args[3] = {nullptr, (void*)&input0, (void*)&pos1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("validate", methodInfo, result); + } else { + returnValue = *((QValidator::State*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRegularExpressionValidator::validate(input0, pos1); } -QShortcut* PythonQtWrapper_QShortcut::new_QShortcut(QWidget* parent) +QRegularExpressionValidator* PythonQtWrapper_QRegularExpressionValidator::new_QRegularExpressionValidator(QObject* parent) { -return new PythonQtShell_QShortcut(parent); } +return new PythonQtShell_QRegularExpressionValidator(parent); } -QShortcut* PythonQtWrapper_QShortcut::new_QShortcut(const QKeySequence& key, QWidget* parent, const char* member, const char* ambiguousMember, Qt::ShortcutContext context) +QRegularExpressionValidator* PythonQtWrapper_QRegularExpressionValidator::new_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent) { -return new PythonQtShell_QShortcut(key, parent, member, ambiguousMember, context); } +return new PythonQtShell_QRegularExpressionValidator(re, parent); } -const QMetaObject* PythonQtShell_QShortcut::metaObject() const { +const QMetaObject* PythonQtShell_QRegularExpressionValidator::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QShortcut::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRegularExpressionValidator::staticMetaObject); } else { - return &QShortcut::staticMetaObject; + return &QRegularExpressionValidator::staticMetaObject; } } -int PythonQtShell_QShortcut::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QShortcut::qt_metacall(call, id, args); +int PythonQtShell_QRegularExpressionValidator::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRegularExpressionValidator::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -bool PythonQtWrapper_QShortcut::autoRepeat(QShortcut* theWrappedObject) const +QRegularExpression PythonQtWrapper_QRegularExpressionValidator::regularExpression(QRegularExpressionValidator* theWrappedObject) const +{ + return ( theWrappedObject->regularExpression()); +} + + + +PythonQtShell_QResizeEvent::~PythonQtShell_QResizeEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QResizeEvent* PythonQtWrapper_QResizeEvent::new_QResizeEvent(const QSize& size, const QSize& oldSize) +{ +return new PythonQtShell_QResizeEvent(size, oldSize); } + +const QSize* PythonQtWrapper_QResizeEvent::oldSize(QResizeEvent* theWrappedObject) const +{ + return &( theWrappedObject->oldSize()); +} + +const QSize* PythonQtWrapper_QResizeEvent::size(QResizeEvent* theWrappedObject) const +{ + return &( theWrappedObject->size()); +} + + + +QRgba64* PythonQtWrapper_QRgba64::new_QRgba64() +{ +return new QRgba64(); } + +unsigned short PythonQtWrapper_QRgba64::alpha(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->alpha()); +} + +unsigned char PythonQtWrapper_QRgba64::alpha8(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->alpha8()); +} + +unsigned short PythonQtWrapper_QRgba64::blue(QRgba64* theWrappedObject) const { - return ( theWrappedObject->autoRepeat()); + return ( theWrappedObject->blue()); } -Qt::ShortcutContext PythonQtWrapper_QShortcut::context(QShortcut* theWrappedObject) const +unsigned char PythonQtWrapper_QRgba64::blue8(QRgba64* theWrappedObject) const { - return ( theWrappedObject->context()); + return ( theWrappedObject->blue8()); } -int PythonQtWrapper_QShortcut::id(QShortcut* theWrappedObject) const +QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromArgb32(uint rgb) { - return ( theWrappedObject->id()); + return (QRgba64::fromArgb32(rgb)); } -bool PythonQtWrapper_QShortcut::isEnabled(QShortcut* theWrappedObject) const +QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) { - return ( theWrappedObject->isEnabled()); + return (QRgba64::fromRgba(red, green, blue, alpha)); } -QKeySequence PythonQtWrapper_QShortcut::key(QShortcut* theWrappedObject) const +QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba64(quint64 c) { - return ( theWrappedObject->key()); + return (QRgba64::fromRgba64(c)); } -QWidget* PythonQtWrapper_QShortcut::parentWidget(QShortcut* theWrappedObject) const +QRgba64 PythonQtWrapper_QRgba64::static_QRgba64_fromRgba64(unsigned short red, unsigned short green, unsigned short blue, unsigned short alpha) { - return ( theWrappedObject->parentWidget()); + return (QRgba64::fromRgba64(red, green, blue, alpha)); } -void PythonQtWrapper_QShortcut::setAutoRepeat(QShortcut* theWrappedObject, bool on) +unsigned short PythonQtWrapper_QRgba64::green(QRgba64* theWrappedObject) const { - ( theWrappedObject->setAutoRepeat(on)); + return ( theWrappedObject->green()); } -void PythonQtWrapper_QShortcut::setContext(QShortcut* theWrappedObject, Qt::ShortcutContext context) +unsigned char PythonQtWrapper_QRgba64::green8(QRgba64* theWrappedObject) const { - ( theWrappedObject->setContext(context)); + return ( theWrappedObject->green8()); } -void PythonQtWrapper_QShortcut::setEnabled(QShortcut* theWrappedObject, bool enable) +bool PythonQtWrapper_QRgba64::isOpaque(QRgba64* theWrappedObject) const { - ( theWrappedObject->setEnabled(enable)); + return ( theWrappedObject->isOpaque()); } -void PythonQtWrapper_QShortcut::setKey(QShortcut* theWrappedObject, const QKeySequence& key) +bool PythonQtWrapper_QRgba64::isTransparent(QRgba64* theWrappedObject) const { - ( theWrappedObject->setKey(key)); + return ( theWrappedObject->isTransparent()); } -void PythonQtWrapper_QShortcut::setWhatsThis(QShortcut* theWrappedObject, const QString& text) +QRgba64 PythonQtWrapper_QRgba64::operator_assign(QRgba64* theWrappedObject, quint64 _rgba) { - ( theWrappedObject->setWhatsThis(text)); + return ( (*theWrappedObject)= _rgba); } -QString PythonQtWrapper_QShortcut::whatsThis(QShortcut* theWrappedObject) const +QRgba64 PythonQtWrapper_QRgba64::premultiplied(QRgba64* theWrappedObject) const { - return ( theWrappedObject->whatsThis()); + return ( theWrappedObject->premultiplied()); } +unsigned short PythonQtWrapper_QRgba64::red(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->red()); +} +unsigned char PythonQtWrapper_QRgba64::red8(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->red8()); +} -PythonQtShell_QShortcutEvent::~PythonQtShell_QShortcutEvent() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } +void PythonQtWrapper_QRgba64::setAlpha(QRgba64* theWrappedObject, unsigned short _alpha) +{ + ( theWrappedObject->setAlpha(_alpha)); } -QShortcutEvent* PythonQtWrapper_QShortcutEvent::new_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous) -{ -return new PythonQtShell_QShortcutEvent(key, id, ambiguous); } -bool PythonQtWrapper_QShortcutEvent::isAmbiguous(QShortcutEvent* theWrappedObject) const +void PythonQtWrapper_QRgba64::setBlue(QRgba64* theWrappedObject, unsigned short _blue) { - return ( theWrappedObject->isAmbiguous()); + ( theWrappedObject->setBlue(_blue)); } -const QKeySequence* PythonQtWrapper_QShortcutEvent::key(QShortcutEvent* theWrappedObject) const +void PythonQtWrapper_QRgba64::setGreen(QRgba64* theWrappedObject, unsigned short _green) { - return &( theWrappedObject->key()); + ( theWrappedObject->setGreen(_green)); } -int PythonQtWrapper_QShortcutEvent::shortcutId(QShortcutEvent* theWrappedObject) const +void PythonQtWrapper_QRgba64::setRed(QRgba64* theWrappedObject, unsigned short _red) { - return ( theWrappedObject->shortcutId()); + ( theWrappedObject->setRed(_red)); } +uint PythonQtWrapper_QRgba64::toArgb32(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->toArgb32()); +} +ushort PythonQtWrapper_QRgba64::toRgb16(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->toRgb16()); +} -QShowEvent* PythonQtWrapper_QShowEvent::new_QShowEvent() -{ -return new QShowEvent(); } +QRgba64 PythonQtWrapper_QRgba64::unpremultiplied(QRgba64* theWrappedObject) const +{ + return ( theWrappedObject->unpremultiplied()); +} diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui7.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui6.h similarity index 63% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui7.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui6.h index 589948064..0241a771f 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui7.h +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui6.h @@ -2,6 +2,8 @@ #include #include #include +#include +#include #include #include #include @@ -11,26 +13,25 @@ #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 @@ -45,11 +46,14 @@ #include #include #include +#include #include #include #include #include +#include #include +#include #include #include #include @@ -60,8 +64,13 @@ #include #include #include +#include +#include +#include #include +#include #include +#include #include #include #include @@ -71,12 +80,17 @@ #include #include #include -#include #include #include #include +#include +#include +#include +#include +#include #include #include +#include #include #include #include @@ -85,114 +99,753 @@ -class PythonQtShell_QPrintPreviewDialog : public QPrintPreviewDialog +class PythonQtShell_QPicture : public QPicture { public: - PythonQtShell_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewDialog(printer, parent, flags),_wrapper(nullptr) {}; - PythonQtShell_QPrintPreviewDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewDialog(parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QPicture(const QPicture& arg__1):QPicture(arg__1),_wrapper(nullptr) {}; + PythonQtShell_QPicture(int formatVersion = -1):QPicture(formatVersion),_wrapper(nullptr) {}; - ~PythonQtShell_QPrintPreviewDialog() override; + ~PythonQtShell_QPicture() override; + +int devType() const override; +void initPainter(QPainter* painter) const override; +int metric(QPaintDevice::PaintDeviceMetric m) const override; +QPaintEngine* paintEngine() const override; +QPaintDevice* redirected(QPoint* offset) const override; +QPainter* sharedPainter() const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPicture : public QPicture +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric m) const { return this->metric(m); } +inline int py_q_devType() const { return QPicture::devType(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric m) const { return QPicture::metric(m); } +inline QPaintEngine* py_q_paintEngine() const { return QPicture::paintEngine(); } +}; + +class PythonQtWrapper_QPicture : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QPicture* new_QPicture(const QPicture& arg__1); +QPicture* new_QPicture(int formatVersion = -1); +void delete_QPicture(QPicture* obj) { delete obj; } + QRect boundingRect(QPicture* theWrappedObject) const; + const char* data(QPicture* theWrappedObject) const; + int py_q_devType(QPicture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPicture*)theWrappedObject)->py_q_devType());} + bool isNull(QPicture* theWrappedObject) const; + bool load(QPicture* theWrappedObject, QIODevice* dev, const char* format = nullptr); + bool load(QPicture* theWrappedObject, const QString& fileName, const char* format = nullptr); + int py_q_metric(QPicture* theWrappedObject, QPaintDevice::PaintDeviceMetric m) const{ return (((PythonQtPublicPromoter_QPicture*)theWrappedObject)->py_q_metric(m));} + void writeTo(QPicture* theWrappedObject, QDataStream& arg__1); + void readFrom(QPicture* theWrappedObject, QDataStream& arg__1); + QPaintEngine* py_q_paintEngine(QPicture* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPicture*)theWrappedObject)->py_q_paintEngine());} + bool play(QPicture* theWrappedObject, QPainter* p); + bool save(QPicture* theWrappedObject, QIODevice* dev, const char* format = nullptr); + bool save(QPicture* theWrappedObject, const QString& fileName, const char* format = nullptr); + void setBoundingRect(QPicture* theWrappedObject, const QRect& r); + uint size(QPicture* theWrappedObject) const; + void swap(QPicture* theWrappedObject, QPicture& other); + bool __nonzero__(QPicture* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QPictureFormatPlugin : public QPictureFormatPlugin +{ +public: + PythonQtShell_QPictureFormatPlugin(QObject* parent = nullptr):QPictureFormatPlugin(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPictureFormatPlugin() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool installIOHandler(const QString& format) override; +bool loadPicture(const QString& format, const QString& filename, QPicture* pic) override; +bool savePicture(const QString& format, const QString& filename, const QPicture& pic) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPictureFormatPlugin : public QPictureFormatPlugin +{ public: +inline bool py_q_installIOHandler(const QString& format) { return this->installIOHandler(format); } +inline bool py_q_loadPicture(const QString& format, const QString& filename, QPicture* pic) { return QPictureFormatPlugin::loadPicture(format, filename, pic); } +inline bool py_q_savePicture(const QString& format, const QString& filename, const QPicture& pic) { return QPictureFormatPlugin::savePicture(format, filename, pic); } +}; + +class PythonQtWrapper_QPictureFormatPlugin : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QPictureFormatPlugin* new_QPictureFormatPlugin(QObject* parent = nullptr); +void delete_QPictureFormatPlugin(QPictureFormatPlugin* obj) { delete obj; } + bool installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format); + bool py_q_installIOHandler(QPictureFormatPlugin* theWrappedObject, const QString& format){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_installIOHandler(format));} + bool loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic); + bool py_q_loadPicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, QPicture* pic){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_loadPicture(format, filename, pic));} + bool savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic); + bool py_q_savePicture(QPictureFormatPlugin* theWrappedObject, const QString& format, const QString& filename, const QPicture& pic){ return (((PythonQtPublicPromoter_QPictureFormatPlugin*)theWrappedObject)->py_q_savePicture(format, filename, pic));} +}; + + + + + +class PythonQtWrapper_QPictureIO : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QPictureIO* new_QPictureIO(); +QPictureIO* new_QPictureIO(QIODevice* ioDevice, const char* format); +QPictureIO* new_QPictureIO(const QString& fileName, const char* format); +void delete_QPictureIO(QPictureIO* obj) { delete obj; } + QString description(QPictureIO* theWrappedObject) const; + QString fileName(QPictureIO* theWrappedObject) const; + const char* format(QPictureIO* theWrappedObject) const; + float gamma(QPictureIO* theWrappedObject) const; + QList static_QPictureIO_inputFormats(); + QIODevice* ioDevice(QPictureIO* theWrappedObject) const; + QList static_QPictureIO_outputFormats(); + const char* parameters(QPictureIO* theWrappedObject) const; + const QPicture* picture(QPictureIO* theWrappedObject) const; + QByteArray static_QPictureIO_pictureFormat(QIODevice* arg__1); + QByteArray static_QPictureIO_pictureFormat(const QString& fileName); + int quality(QPictureIO* theWrappedObject) const; + bool read(QPictureIO* theWrappedObject); + void setDescription(QPictureIO* theWrappedObject, const QString& arg__1); + void setFileName(QPictureIO* theWrappedObject, const QString& arg__1); + void setFormat(QPictureIO* theWrappedObject, const char* arg__1); + void setGamma(QPictureIO* theWrappedObject, float arg__1); + void setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1); + void setParameters(QPictureIO* theWrappedObject, const char* arg__1); + void setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1); + void setQuality(QPictureIO* theWrappedObject, int arg__1); + void setStatus(QPictureIO* theWrappedObject, int arg__1); + int status(QPictureIO* theWrappedObject) const; + bool write(QPictureIO* theWrappedObject); +}; + + + + + +class PythonQtShell_QPinchGesture : public QPinchGesture +{ +public: + PythonQtShell_QPinchGesture(QObject* parent = nullptr):QPinchGesture(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPinchGesture() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPinchGesture : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ChangeFlag ) +Q_FLAGS(ChangeFlags ) +enum ChangeFlag{ + ScaleFactorChanged = QPinchGesture::ScaleFactorChanged, RotationAngleChanged = QPinchGesture::RotationAngleChanged, CenterPointChanged = QPinchGesture::CenterPointChanged}; +Q_DECLARE_FLAGS(ChangeFlags, ChangeFlag) +public Q_SLOTS: +QPinchGesture* new_QPinchGesture(QObject* parent = nullptr); +void delete_QPinchGesture(QPinchGesture* obj) { delete obj; } + QPointF centerPoint(QPinchGesture* theWrappedObject) const; + QPinchGesture::ChangeFlags changeFlags(QPinchGesture* theWrappedObject) const; + QPointF lastCenterPoint(QPinchGesture* theWrappedObject) const; + qreal lastRotationAngle(QPinchGesture* theWrappedObject) const; + qreal lastScaleFactor(QPinchGesture* theWrappedObject) const; + qreal rotationAngle(QPinchGesture* theWrappedObject) const; + qreal scaleFactor(QPinchGesture* theWrappedObject) const; + void setCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); + void setChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value); + void setLastCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); + void setLastRotationAngle(QPinchGesture* theWrappedObject, qreal value); + void setLastScaleFactor(QPinchGesture* theWrappedObject, qreal value); + void setRotationAngle(QPinchGesture* theWrappedObject, qreal value); + void setScaleFactor(QPinchGesture* theWrappedObject, qreal value); + void setStartCenterPoint(QPinchGesture* theWrappedObject, const QPointF& value); + void setTotalChangeFlags(QPinchGesture* theWrappedObject, QPinchGesture::ChangeFlags value); + void setTotalRotationAngle(QPinchGesture* theWrappedObject, qreal value); + void setTotalScaleFactor(QPinchGesture* theWrappedObject, qreal value); + QPointF startCenterPoint(QPinchGesture* theWrappedObject) const; + QPinchGesture::ChangeFlags totalChangeFlags(QPinchGesture* theWrappedObject) const; + qreal totalRotationAngle(QPinchGesture* theWrappedObject) const; + qreal totalScaleFactor(QPinchGesture* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QPixelFormat : public QObject +{ Q_OBJECT +public: +Q_ENUMS(AlphaPosition AlphaPremultiplied AlphaUsage ByteOrder ColorModel TypeInterpretation YUVLayout ) +enum AlphaPosition{ + AtBeginning = QPixelFormat::AtBeginning, AtEnd = QPixelFormat::AtEnd}; +enum AlphaPremultiplied{ + NotPremultiplied = QPixelFormat::NotPremultiplied, Premultiplied = QPixelFormat::Premultiplied}; +enum AlphaUsage{ + UsesAlpha = QPixelFormat::UsesAlpha, IgnoresAlpha = QPixelFormat::IgnoresAlpha}; +enum ByteOrder{ + LittleEndian = QPixelFormat::LittleEndian, BigEndian = QPixelFormat::BigEndian, CurrentSystemEndian = QPixelFormat::CurrentSystemEndian}; +enum ColorModel{ + RGB = QPixelFormat::RGB, BGR = QPixelFormat::BGR, Indexed = QPixelFormat::Indexed, Grayscale = QPixelFormat::Grayscale, CMYK = QPixelFormat::CMYK, HSL = QPixelFormat::HSL, HSV = QPixelFormat::HSV, YUV = QPixelFormat::YUV, Alpha = QPixelFormat::Alpha}; +enum TypeInterpretation{ + UnsignedInteger = QPixelFormat::UnsignedInteger, UnsignedShort = QPixelFormat::UnsignedShort, UnsignedByte = QPixelFormat::UnsignedByte, FloatingPoint = QPixelFormat::FloatingPoint}; +enum YUVLayout{ + YUV444 = QPixelFormat::YUV444, YUV422 = QPixelFormat::YUV422, YUV411 = QPixelFormat::YUV411, YUV420P = QPixelFormat::YUV420P, YUV420SP = QPixelFormat::YUV420SP, YV12 = QPixelFormat::YV12, UYVY = QPixelFormat::UYVY, YUYV = QPixelFormat::YUYV, NV12 = QPixelFormat::NV12, NV21 = QPixelFormat::NV21, IMC1 = QPixelFormat::IMC1, IMC2 = QPixelFormat::IMC2, IMC3 = QPixelFormat::IMC3, IMC4 = QPixelFormat::IMC4, Y8 = QPixelFormat::Y8, Y16 = QPixelFormat::Y16}; +public Q_SLOTS: +QPixelFormat* new_QPixelFormat(); +QPixelFormat* new_QPixelFormat(QPixelFormat::ColorModel colorModel, uchar firstSize, uchar secondSize, uchar thirdSize, uchar fourthSize, uchar fifthSize, uchar alphaSize, QPixelFormat::AlphaUsage alphaUsage, QPixelFormat::AlphaPosition alphaPosition, QPixelFormat::AlphaPremultiplied premultiplied, QPixelFormat::TypeInterpretation typeInterpretation, QPixelFormat::ByteOrder byteOrder = QPixelFormat::CurrentSystemEndian, uchar subEnum = 0); +void delete_QPixelFormat(QPixelFormat* obj) { delete obj; } + QPixelFormat::AlphaPosition alphaPosition(QPixelFormat* theWrappedObject) const; + uchar alphaSize(QPixelFormat* theWrappedObject) const; + QPixelFormat::AlphaUsage alphaUsage(QPixelFormat* theWrappedObject) const; + uchar bitsPerPixel(QPixelFormat* theWrappedObject) const; + uchar blackSize(QPixelFormat* theWrappedObject) const; + uchar blueSize(QPixelFormat* theWrappedObject) const; + uchar brightnessSize(QPixelFormat* theWrappedObject) const; + QPixelFormat::ByteOrder byteOrder(QPixelFormat* theWrappedObject) const; + uchar channelCount(QPixelFormat* theWrappedObject) const; + QPixelFormat::ColorModel colorModel(QPixelFormat* theWrappedObject) const; + uchar cyanSize(QPixelFormat* theWrappedObject) const; + uchar greenSize(QPixelFormat* theWrappedObject) const; + uchar hueSize(QPixelFormat* theWrappedObject) const; + uchar lightnessSize(QPixelFormat* theWrappedObject) const; + uchar magentaSize(QPixelFormat* theWrappedObject) const; + bool __ne__(QPixelFormat* theWrappedObject, QPixelFormat fmt2); + bool __eq__(QPixelFormat* theWrappedObject, QPixelFormat fmt2); + QPixelFormat::AlphaPremultiplied premultiplied(QPixelFormat* theWrappedObject) const; + uchar redSize(QPixelFormat* theWrappedObject) const; + uchar saturationSize(QPixelFormat* theWrappedObject) const; + uchar subEnum(QPixelFormat* theWrappedObject) const; + QPixelFormat::TypeInterpretation typeInterpretation(QPixelFormat* theWrappedObject) const; + uchar yellowSize(QPixelFormat* theWrappedObject) const; + QPixelFormat::YUVLayout yuvLayout(QPixelFormat* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QPixmapCache : public QPixmapCache +{ +public: + PythonQtShell_QPixmapCache():QPixmapCache(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPixmapCache(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPixmapCache : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QPixmapCache* new_QPixmapCache(); +void delete_QPixmapCache(QPixmapCache* obj) { delete obj; } + int static_QPixmapCache_cacheLimit(); + void static_QPixmapCache_clear(); + bool static_QPixmapCache_find(const QPixmapCache::Key& key, QPixmap* pixmap); + QPixmap* static_QPixmapCache_find(const QString& key); + bool static_QPixmapCache_find(const QString& key, QPixmap& pixmap); + bool static_QPixmapCache_find(const QString& key, QPixmap* pixmap); + QPixmapCache::Key static_QPixmapCache_insert(const QPixmap& pixmap); + bool static_QPixmapCache_insert(const QString& key, const QPixmap& pixmap); + void static_QPixmapCache_remove(const QPixmapCache::Key& key); + void static_QPixmapCache_remove(const QString& key); + bool static_QPixmapCache_replace(const QPixmapCache::Key& key, const QPixmap& pixmap); + void static_QPixmapCache_setCacheLimit(int arg__1); +}; + + + + + +class PythonQtWrapper_QPixmapCache__Key : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QPixmapCache::Key* new_QPixmapCache__Key(); +QPixmapCache::Key* new_QPixmapCache__Key(const QPixmapCache::Key& other); +void delete_QPixmapCache__Key(QPixmapCache::Key* obj) { delete obj; } + bool isValid(QPixmapCache::Key* theWrappedObject) const; + bool __ne__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const; + QPixmapCache::Key* operator_assign(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& other); + bool __eq__(QPixmapCache::Key* theWrappedObject, const QPixmapCache::Key& key) const; + void swap(QPixmapCache::Key* theWrappedObject, QPixmapCache::Key& other); + bool __nonzero__(QPixmapCache::Key* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QPlainTextDocumentLayout : public QPlainTextDocumentLayout +{ +public: + PythonQtShell_QPlainTextDocumentLayout(QTextDocument* document):QPlainTextDocumentLayout(document),_wrapper(nullptr) {}; + + ~PythonQtShell_QPlainTextDocumentLayout() override; + +QRectF blockBoundingRect(const QTextBlock& block) const override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +void documentChanged(int from, int arg__2, int charsAdded) override; +QSizeF documentSize() const override; +void draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) override; +void drawInlineObject(QPainter* painter, const QRectF& rect, QTextInlineObject object, int posInDocument, const QTextFormat& format) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QRectF frameBoundingRect(QTextFrame* arg__1) const override; +int hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const override; +int pageCount() const override; +void positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) override; +void resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat& format) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPlainTextDocumentLayout : public QPlainTextDocumentLayout +{ public: +inline void promoted_documentChanged(int from, int arg__2, int charsAdded) { this->documentChanged(from, arg__2, charsAdded); } +inline QRectF py_q_blockBoundingRect(const QTextBlock& block) const { return QPlainTextDocumentLayout::blockBoundingRect(block); } +inline void py_q_documentChanged(int from, int arg__2, int charsAdded) { QPlainTextDocumentLayout::documentChanged(from, arg__2, charsAdded); } +inline QSizeF py_q_documentSize() const { return QPlainTextDocumentLayout::documentSize(); } +inline void py_q_draw(QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2) { QPlainTextDocumentLayout::draw(arg__1, arg__2); } +inline QRectF py_q_frameBoundingRect(QTextFrame* arg__1) const { return QPlainTextDocumentLayout::frameBoundingRect(arg__1); } +inline int py_q_hitTest(const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const { return QPlainTextDocumentLayout::hitTest(arg__1, arg__2); } +inline int py_q_pageCount() const { return QPlainTextDocumentLayout::pageCount(); } +}; + +class PythonQtWrapper_QPlainTextDocumentLayout : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QPlainTextDocumentLayout* new_QPlainTextDocumentLayout(QTextDocument* document); +void delete_QPlainTextDocumentLayout(QPlainTextDocumentLayout* obj) { delete obj; } + QRectF py_q_blockBoundingRect(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_blockBoundingRect(block));} + int cursorWidth(QPlainTextDocumentLayout* theWrappedObject) const; + void py_q_documentChanged(QPlainTextDocumentLayout* theWrappedObject, int from, int arg__2, int charsAdded){ (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_documentChanged(from, arg__2, charsAdded));} + QSizeF py_q_documentSize(QPlainTextDocumentLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_documentSize());} + void py_q_draw(QPlainTextDocumentLayout* theWrappedObject, QPainter* arg__1, const QAbstractTextDocumentLayout::PaintContext& arg__2){ (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_draw(arg__1, arg__2));} + void ensureBlockLayout(QPlainTextDocumentLayout* theWrappedObject, const QTextBlock& block) const; + QRectF py_q_frameBoundingRect(QPlainTextDocumentLayout* theWrappedObject, QTextFrame* arg__1) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_frameBoundingRect(arg__1));} + int py_q_hitTest(QPlainTextDocumentLayout* theWrappedObject, const QPointF& arg__1, Qt::HitTestAccuracy arg__2) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_hitTest(arg__1, arg__2));} + int py_q_pageCount(QPlainTextDocumentLayout* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextDocumentLayout*)theWrappedObject)->py_q_pageCount());} + void requestUpdate(QPlainTextDocumentLayout* theWrappedObject); + void setCursorWidth(QPlainTextDocumentLayout* theWrappedObject, int width); +}; + + + + + +class PythonQtShell_QPlainTextEdit : public QPlainTextEdit +{ +public: + PythonQtShell_QPlainTextEdit(QWidget* parent = nullptr):QPlainTextEdit(parent),_wrapper(nullptr) {}; + PythonQtShell_QPlainTextEdit(const QString& text, QWidget* parent = nullptr):QPlainTextEdit(text, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QPlainTextEdit() override; -void accept() override; void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* arg__1) override; +bool canInsertFromMimeData(const QMimeData* source) const override; +void changeEvent(QEvent* e) override; void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* arg__1) override; -void contextMenuEvent(QContextMenuEvent* arg__1) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* e) override; +QMimeData* createMimeDataFromSelection() const override; void customEvent(QEvent* event) override; int devType() const override; -void done(int result) override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; +void doSetTextCursor(const QTextCursor& cursor) override; +void dragEnterEvent(QDragEnterEvent* e) override; +void dragLeaveEvent(QDragLeaveEvent* e) override; +void dragMoveEvent(QDragMoveEvent* e) override; +void dropEvent(QDropEvent* e) override; void enterEvent(QEvent* event) override; -bool event(QEvent* event) override; +bool event(QEvent* e) override; bool eventFilter(QObject* arg__1, QEvent* arg__2) override; -int exec() override; -void focusInEvent(QFocusEvent* event) override; +void focusInEvent(QFocusEvent* e) override; bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* e) override; bool hasHeightForWidth() const override; int heightForWidth(int arg__1) const override; void hideEvent(QHideEvent* event) override; void initPainter(QPainter* painter) const override; void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* arg__1) override; -void keyReleaseEvent(QKeyEvent* event) override; +QVariant inputMethodQuery(Qt::InputMethodQuery property) const override; +void insertFromMimeData(const QMimeData* source) override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; void leaveEvent(QEvent* event) override; +QVariant loadResource(int type, const QUrl& name) override; int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* event) override; -void mousePressEvent(QMouseEvent* event) override; -void mouseReleaseEvent(QMouseEvent* event) override; +void mouseDoubleClickEvent(QMouseEvent* e) override; +void mouseMoveEvent(QMouseEvent* e) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; void moveEvent(QMoveEvent* event) override; bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* event) override; +void paintEvent(QPaintEvent* e) override; QPaintDevice* redirected(QPoint* offset) const override; -void reject() override; -void resizeEvent(QResizeEvent* arg__1) override; +void resizeEvent(QResizeEvent* e) override; +void scrollContentsBy(int dx, int dy) override; void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; QPainter* sharedPainter() const override; void showEvent(QShowEvent* arg__1) override; QSize sizeHint() const override; void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* event) override; -void wheelEvent(QWheelEvent* event) override; +void timerEvent(QTimerEvent* e) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* e) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QPrintPreviewDialog : public QPrintPreviewDialog +class PythonQtPublicPromoter_QPlainTextEdit : public QPlainTextEdit { public: -inline void py_q_done(int result) { QPrintPreviewDialog::done(result); } -inline void py_q_setVisible(bool visible) { QPrintPreviewDialog::setVisible(visible); } +inline QRectF promoted_blockBoundingGeometry(const QTextBlock& block) const { return this->blockBoundingGeometry(block); } +inline QRectF promoted_blockBoundingRect(const QTextBlock& block) const { return this->blockBoundingRect(block); } +inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return this->canInsertFromMimeData(source); } +inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } +inline QPointF promoted_contentOffset() const { return this->contentOffset(); } +inline void promoted_contextMenuEvent(QContextMenuEvent* e) { this->contextMenuEvent(e); } +inline QMimeData* promoted_createMimeDataFromSelection() const { return this->createMimeDataFromSelection(); } +inline void promoted_doSetTextCursor(const QTextCursor& cursor) { this->doSetTextCursor(cursor); } +inline void promoted_dragEnterEvent(QDragEnterEvent* e) { this->dragEnterEvent(e); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { this->dragLeaveEvent(e); } +inline void promoted_dragMoveEvent(QDragMoveEvent* e) { this->dragMoveEvent(e); } +inline void promoted_dropEvent(QDropEvent* e) { this->dropEvent(e); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline QTextBlock promoted_firstVisibleBlock() const { return this->firstVisibleBlock(); } +inline void promoted_focusInEvent(QFocusEvent* e) { this->focusInEvent(e); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* e) { this->focusOutEvent(e); } +inline QAbstractTextDocumentLayout::PaintContext promoted_getPaintContext() const { return this->getPaintContext(); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } +inline void promoted_insertFromMimeData(const QMimeData* source) { this->insertFromMimeData(source); } +inline void promoted_keyPressEvent(QKeyEvent* e) { this->keyPressEvent(e); } +inline void promoted_keyReleaseEvent(QKeyEvent* e) { this->keyReleaseEvent(e); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { this->mouseDoubleClickEvent(e); } +inline void promoted_mouseMoveEvent(QMouseEvent* e) { this->mouseMoveEvent(e); } +inline void promoted_mousePressEvent(QMouseEvent* e) { this->mousePressEvent(e); } +inline void promoted_mouseReleaseEvent(QMouseEvent* e) { this->mouseReleaseEvent(e); } +inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } +inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void promoted_timerEvent(QTimerEvent* e) { this->timerEvent(e); } +inline void promoted_wheelEvent(QWheelEvent* e) { this->wheelEvent(e); } +inline void promoted_zoomInF(float range) { this->zoomInF(range); } +inline bool py_q_canInsertFromMimeData(const QMimeData* source) const { return QPlainTextEdit::canInsertFromMimeData(source); } +inline void py_q_changeEvent(QEvent* e) { QPlainTextEdit::changeEvent(e); } +inline void py_q_contextMenuEvent(QContextMenuEvent* e) { QPlainTextEdit::contextMenuEvent(e); } +inline QMimeData* py_q_createMimeDataFromSelection() const { return QPlainTextEdit::createMimeDataFromSelection(); } +inline void py_q_doSetTextCursor(const QTextCursor& cursor) { QPlainTextEdit::doSetTextCursor(cursor); } +inline void py_q_dragEnterEvent(QDragEnterEvent* e) { QPlainTextEdit::dragEnterEvent(e); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* e) { QPlainTextEdit::dragLeaveEvent(e); } +inline void py_q_dragMoveEvent(QDragMoveEvent* e) { QPlainTextEdit::dragMoveEvent(e); } +inline void py_q_dropEvent(QDropEvent* e) { QPlainTextEdit::dropEvent(e); } +inline bool py_q_event(QEvent* e) { return QPlainTextEdit::event(e); } +inline void py_q_focusInEvent(QFocusEvent* e) { QPlainTextEdit::focusInEvent(e); } +inline bool py_q_focusNextPrevChild(bool next) { return QPlainTextEdit::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* e) { QPlainTextEdit::focusOutEvent(e); } +inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QPlainTextEdit::inputMethodEvent(arg__1); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery property) const { return QPlainTextEdit::inputMethodQuery(property); } +inline void py_q_insertFromMimeData(const QMimeData* source) { QPlainTextEdit::insertFromMimeData(source); } +inline void py_q_keyPressEvent(QKeyEvent* e) { QPlainTextEdit::keyPressEvent(e); } +inline void py_q_keyReleaseEvent(QKeyEvent* e) { QPlainTextEdit::keyReleaseEvent(e); } +inline QVariant py_q_loadResource(int type, const QUrl& name) { return QPlainTextEdit::loadResource(type, name); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* e) { QPlainTextEdit::mouseDoubleClickEvent(e); } +inline void py_q_mouseMoveEvent(QMouseEvent* e) { QPlainTextEdit::mouseMoveEvent(e); } +inline void py_q_mousePressEvent(QMouseEvent* e) { QPlainTextEdit::mousePressEvent(e); } +inline void py_q_mouseReleaseEvent(QMouseEvent* e) { QPlainTextEdit::mouseReleaseEvent(e); } +inline void py_q_paintEvent(QPaintEvent* e) { QPlainTextEdit::paintEvent(e); } +inline void py_q_resizeEvent(QResizeEvent* e) { QPlainTextEdit::resizeEvent(e); } +inline void py_q_scrollContentsBy(int dx, int dy) { QPlainTextEdit::scrollContentsBy(dx, dy); } +inline void py_q_showEvent(QShowEvent* arg__1) { QPlainTextEdit::showEvent(arg__1); } +inline void py_q_timerEvent(QTimerEvent* e) { QPlainTextEdit::timerEvent(e); } +inline void py_q_wheelEvent(QWheelEvent* e) { QPlainTextEdit::wheelEvent(e); } }; -class PythonQtWrapper_QPrintPreviewDialog : public QObject +class PythonQtWrapper_QPlainTextEdit : public QObject { Q_OBJECT public: public Q_SLOTS: -QPrintPreviewDialog* new_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -QPrintPreviewDialog* new_QPrintPreviewDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); -void delete_QPrintPreviewDialog(QPrintPreviewDialog* obj) { delete obj; } - void py_q_done(QPrintPreviewDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPrintPreviewDialog*)theWrappedObject)->py_q_done(result));} - void open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member); - QPrinter* printer(QPrintPreviewDialog* theWrappedObject); - void py_q_setVisible(QPrintPreviewDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QPrintPreviewDialog*)theWrappedObject)->py_q_setVisible(visible));} +QPlainTextEdit* new_QPlainTextEdit(QWidget* parent = nullptr); +QPlainTextEdit* new_QPlainTextEdit(const QString& text, QWidget* parent = nullptr); +void delete_QPlainTextEdit(QPlainTextEdit* obj) { delete obj; } + QString anchorAt(QPlainTextEdit* theWrappedObject, const QPoint& pos) const; + bool backgroundVisible(QPlainTextEdit* theWrappedObject) const; + QRectF blockBoundingGeometry(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const; + QRectF blockBoundingRect(QPlainTextEdit* theWrappedObject, const QTextBlock& block) const; + int blockCount(QPlainTextEdit* theWrappedObject) const; + bool canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const; + bool py_q_canInsertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_canInsertFromMimeData(source));} + bool canPaste(QPlainTextEdit* theWrappedObject) const; + bool centerOnScroll(QPlainTextEdit* theWrappedObject) const; + void py_q_changeEvent(QPlainTextEdit* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_changeEvent(e));} + QPointF contentOffset(QPlainTextEdit* theWrappedObject) const; + void py_q_contextMenuEvent(QPlainTextEdit* theWrappedObject, QContextMenuEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_contextMenuEvent(e));} + QMimeData* createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const; + QMimeData* py_q_createMimeDataFromSelection(QPlainTextEdit* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_createMimeDataFromSelection());} + QMenu* createStandardContextMenu(QPlainTextEdit* theWrappedObject); + QMenu* createStandardContextMenu(QPlainTextEdit* theWrappedObject, const QPoint& position); + QTextCharFormat currentCharFormat(QPlainTextEdit* theWrappedObject) const; + QTextCursor cursorForPosition(QPlainTextEdit* theWrappedObject, const QPoint& pos) const; + QRect cursorRect(QPlainTextEdit* theWrappedObject) const; + QRect cursorRect(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor) const; + int cursorWidth(QPlainTextEdit* theWrappedObject) const; + void doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor); + void py_q_doSetTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_doSetTextCursor(cursor));} + QTextDocument* document(QPlainTextEdit* theWrappedObject) const; + QString documentTitle(QPlainTextEdit* theWrappedObject) const; + void py_q_dragEnterEvent(QPlainTextEdit* theWrappedObject, QDragEnterEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragEnterEvent(e));} + void py_q_dragLeaveEvent(QPlainTextEdit* theWrappedObject, QDragLeaveEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragLeaveEvent(e));} + void py_q_dragMoveEvent(QPlainTextEdit* theWrappedObject, QDragMoveEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dragMoveEvent(e));} + void py_q_dropEvent(QPlainTextEdit* theWrappedObject, QDropEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_dropEvent(e));} + void ensureCursorVisible(QPlainTextEdit* theWrappedObject); + bool py_q_event(QPlainTextEdit* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_event(e));} + QList extraSelections(QPlainTextEdit* theWrappedObject) const; + bool find(QPlainTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + bool find(QPlainTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); + QTextBlock firstVisibleBlock(QPlainTextEdit* theWrappedObject) const; + void py_q_focusInEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusInEvent(e));} + bool py_q_focusNextPrevChild(QPlainTextEdit* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QPlainTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_focusOutEvent(e));} + QAbstractTextDocumentLayout::PaintContext getPaintContext(QPlainTextEdit* theWrappedObject) const; + void py_q_inputMethodEvent(QPlainTextEdit* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} + QVariant py_q_inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery property) const{ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_inputMethodQuery(property));} + QVariant inputMethodQuery(QPlainTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const; + void insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source); + void py_q_insertFromMimeData(QPlainTextEdit* theWrappedObject, const QMimeData* source){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_insertFromMimeData(source));} + bool isReadOnly(QPlainTextEdit* theWrappedObject) const; + bool isUndoRedoEnabled(QPlainTextEdit* theWrappedObject) const; + void py_q_keyPressEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_keyPressEvent(e));} + void py_q_keyReleaseEvent(QPlainTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_keyReleaseEvent(e));} + QPlainTextEdit::LineWrapMode lineWrapMode(QPlainTextEdit* theWrappedObject) const; + QVariant loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name); + QVariant py_q_loadResource(QPlainTextEdit* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_loadResource(type, name));} + int maximumBlockCount(QPlainTextEdit* theWrappedObject) const; + void mergeCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& modifier); + void py_q_mouseDoubleClickEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseDoubleClickEvent(e));} + void py_q_mouseMoveEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseMoveEvent(e));} + void py_q_mousePressEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mousePressEvent(e));} + void py_q_mouseReleaseEvent(QPlainTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_mouseReleaseEvent(e));} + void moveCursor(QPlainTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); + bool overwriteMode(QPlainTextEdit* theWrappedObject) const; + void py_q_paintEvent(QPlainTextEdit* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_paintEvent(e));} + QString placeholderText(QPlainTextEdit* theWrappedObject) const; + void print(QPlainTextEdit* theWrappedObject, QPagedPaintDevice* printer) const; + void py_q_resizeEvent(QPlainTextEdit* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_resizeEvent(e));} + void py_q_scrollContentsBy(QPlainTextEdit* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void setBackgroundVisible(QPlainTextEdit* theWrappedObject, bool visible); + void setCenterOnScroll(QPlainTextEdit* theWrappedObject, bool enabled); + void setCurrentCharFormat(QPlainTextEdit* theWrappedObject, const QTextCharFormat& format); + void setCursorWidth(QPlainTextEdit* theWrappedObject, int width); + void setDocument(QPlainTextEdit* theWrappedObject, QTextDocument* document); + void setDocumentTitle(QPlainTextEdit* theWrappedObject, const QString& title); + void setExtraSelections(QPlainTextEdit* theWrappedObject, const QList& selections); + void setLineWrapMode(QPlainTextEdit* theWrappedObject, QPlainTextEdit::LineWrapMode mode); + void setMaximumBlockCount(QPlainTextEdit* theWrappedObject, int maximum); + void setOverwriteMode(QPlainTextEdit* theWrappedObject, bool overwrite); + void setPlaceholderText(QPlainTextEdit* theWrappedObject, const QString& placeholderText); + void setReadOnly(QPlainTextEdit* theWrappedObject, bool ro); + void setTabChangesFocus(QPlainTextEdit* theWrappedObject, bool b); + void setTabStopDistance(QPlainTextEdit* theWrappedObject, qreal distance); + void setTabStopWidth(QPlainTextEdit* theWrappedObject, int width); + void setTextCursor(QPlainTextEdit* theWrappedObject, const QTextCursor& cursor); + void setTextInteractionFlags(QPlainTextEdit* theWrappedObject, Qt::TextInteractionFlags flags); + void setUndoRedoEnabled(QPlainTextEdit* theWrappedObject, bool enable); + void setWordWrapMode(QPlainTextEdit* theWrappedObject, QTextOption::WrapMode policy); + void py_q_showEvent(QPlainTextEdit* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_showEvent(arg__1));} + bool tabChangesFocus(QPlainTextEdit* theWrappedObject) const; + qreal tabStopDistance(QPlainTextEdit* theWrappedObject) const; + int tabStopWidth(QPlainTextEdit* theWrappedObject) const; + QTextCursor textCursor(QPlainTextEdit* theWrappedObject) const; + Qt::TextInteractionFlags textInteractionFlags(QPlainTextEdit* theWrappedObject) const; + void py_q_timerEvent(QPlainTextEdit* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_timerEvent(e));} + QString toPlainText(QPlainTextEdit* theWrappedObject) const; + void py_q_wheelEvent(QPlainTextEdit* theWrappedObject, QWheelEvent* e){ (((PythonQtPublicPromoter_QPlainTextEdit*)theWrappedObject)->py_q_wheelEvent(e));} + QTextOption::WrapMode wordWrapMode(QPlainTextEdit* theWrappedObject) const; + void zoomInF(QPlainTextEdit* theWrappedObject, float range); }; -class PythonQtShell_QPrintPreviewWidget : public QPrintPreviewWidget +class PythonQtShell_QPlatformSurfaceEvent : public QPlatformSurfaceEvent { public: - PythonQtShell_QPrintPreviewWidget(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewWidget(printer, parent, flags),_wrapper(nullptr) {}; - PythonQtShell_QPrintPreviewWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewWidget(parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType):QPlatformSurfaceEvent(surfaceEventType),_wrapper(nullptr) {}; - ~PythonQtShell_QPrintPreviewWidget() override; + ~PythonQtShell_QPlatformSurfaceEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QPlatformSurfaceEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SurfaceEventType ) +enum SurfaceEventType{ + SurfaceCreated = QPlatformSurfaceEvent::SurfaceCreated, SurfaceAboutToBeDestroyed = QPlatformSurfaceEvent::SurfaceAboutToBeDestroyed}; +public Q_SLOTS: +QPlatformSurfaceEvent* new_QPlatformSurfaceEvent(QPlatformSurfaceEvent::SurfaceEventType surfaceEventType); +void delete_QPlatformSurfaceEvent(QPlatformSurfaceEvent* obj) { delete obj; } + QPlatformSurfaceEvent::SurfaceEventType surfaceEventType(QPlatformSurfaceEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QPolygonF : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QPolygonF* new_QPolygonF(); +QPolygonF* new_QPolygonF(const QPolygon& a); +QPolygonF* new_QPolygonF(const QPolygonF& a); +QPolygonF* new_QPolygonF(const QRectF& r); +QPolygonF* new_QPolygonF(const QVector& v); +QPolygonF* new_QPolygonF(int size); +void delete_QPolygonF(QPolygonF* obj) { delete obj; } + void append(QPolygonF* theWrappedObject, const QPointF& t); + void append(QPolygonF* theWrappedObject, const QVector& l); + const QPointF* at(QPolygonF* theWrappedObject, int i) const; + QRectF boundingRect(QPolygonF* theWrappedObject) const; + int capacity(QPolygonF* theWrappedObject) const; + void clear(QPolygonF* theWrappedObject); + const QPointF* constFirst(QPolygonF* theWrappedObject) const; + const QPointF* constLast(QPolygonF* theWrappedObject) const; + bool contains(QPolygonF* theWrappedObject, const QPointF& t) const; + bool containsPoint(QPolygonF* theWrappedObject, const QPointF& pt, Qt::FillRule fillRule) const; + int count(QPolygonF* theWrappedObject) const; + int count(QPolygonF* theWrappedObject, const QPointF& t) const; + bool empty(QPolygonF* theWrappedObject) const; + bool endsWith(QPolygonF* theWrappedObject, const QPointF& t) const; + QVector* fill(QPolygonF* theWrappedObject, const QPointF& t, int size = -1); + const QPointF* first(QPolygonF* theWrappedObject) const; + QVector static_QPolygonF_fromList(const QList& list); + int indexOf(QPolygonF* theWrappedObject, const QPointF& t, int from = 0) const; + QPolygonF intersected(QPolygonF* theWrappedObject, const QPolygonF& r) const; + bool intersects(QPolygonF* theWrappedObject, const QPolygonF& r) const; + bool isClosed(QPolygonF* theWrappedObject) const; + bool isEmpty(QPolygonF* theWrappedObject) const; + bool isSharedWith(QPolygonF* theWrappedObject, const QVector& other) const; + const QPointF* last(QPolygonF* theWrappedObject) const; + int lastIndexOf(QPolygonF* theWrappedObject, const QPointF& t, int from = -1) const; + int length(QPolygonF* theWrappedObject) const; + QVector mid(QPolygonF* theWrappedObject, int pos, int len = -1) const; + void move(QPolygonF* theWrappedObject, int from, int to); + bool __ne__(QPolygonF* theWrappedObject, const QVector& v) const; + QPolygonF __mul__(QPolygonF* theWrappedObject, const QMatrix& m); + QPolygonF __mul__(QPolygonF* theWrappedObject, const QTransform& m); + void writeTo(QPolygonF* theWrappedObject, QDataStream& stream); + QPolygonF* operator_assign(QPolygonF* theWrappedObject, const QPolygonF& other); + bool __eq__(QPolygonF* theWrappedObject, const QVector& v) const; + void readFrom(QPolygonF* theWrappedObject, QDataStream& stream); + void pop_back(QPolygonF* theWrappedObject); + void pop_front(QPolygonF* theWrappedObject); + void prepend(QPolygonF* theWrappedObject, const QPointF& t); + void push_back(QPolygonF* theWrappedObject, const QPointF& t); + void push_front(QPolygonF* theWrappedObject, const QPointF& t); + void remove(QPolygonF* theWrappedObject, int i); + void remove(QPolygonF* theWrappedObject, int i, int n); + int removeAll(QPolygonF* theWrappedObject, const QPointF& t); + void removeAt(QPolygonF* theWrappedObject, int i); + void removeFirst(QPolygonF* theWrappedObject); + void removeLast(QPolygonF* theWrappedObject); + bool removeOne(QPolygonF* theWrappedObject, const QPointF& t); + void replace(QPolygonF* theWrappedObject, int i, const QPointF& t); + void reserve(QPolygonF* theWrappedObject, int size); + void resize(QPolygonF* theWrappedObject, int size); + void setSharable(QPolygonF* theWrappedObject, bool sharable); + void shrink_to_fit(QPolygonF* theWrappedObject); + int size(QPolygonF* theWrappedObject) const; + void squeeze(QPolygonF* theWrappedObject); + bool startsWith(QPolygonF* theWrappedObject, const QPointF& t) const; + QPolygonF subtracted(QPolygonF* theWrappedObject, const QPolygonF& r) const; + void swap(QPolygonF* theWrappedObject, QPolygonF& other); + QPointF takeAt(QPolygonF* theWrappedObject, int i); + QPointF takeFirst(QPolygonF* theWrappedObject); + QPointF takeLast(QPolygonF* theWrappedObject); + QList toList(QPolygonF* theWrappedObject) const; + QPolygon toPolygon(QPolygonF* theWrappedObject) const; + void translate(QPolygonF* theWrappedObject, const QPointF& offset); + void translate(QPolygonF* theWrappedObject, qreal dx, qreal dy); + QPolygonF translated(QPolygonF* theWrappedObject, const QPointF& offset) const; + QPolygonF translated(QPolygonF* theWrappedObject, qreal dx, qreal dy) const; + QPolygonF united(QPolygonF* theWrappedObject, const QPolygonF& r) const; + QPointF value(QPolygonF* theWrappedObject, int i) const; + QPointF value(QPolygonF* theWrappedObject, int i, const QPointF& defaultValue) const; + QString py_toString(QPolygonF*); + bool __nonzero__(QPolygonF* obj) { return !obj->isEmpty(); } +}; + + + + + +class PythonQtShell_QPrintDialog : public QPrintDialog +{ +public: + PythonQtShell_QPrintDialog(QPrinter* printer, QWidget* parent = nullptr):QPrintDialog(printer, parent),_wrapper(nullptr) {}; + PythonQtShell_QPrintDialog(QWidget* parent = nullptr):QPrintDialog(parent),_wrapper(nullptr) {}; + ~PythonQtShell_QPrintDialog() override; + +void accept() override; void actionEvent(QActionEvent* event) override; void changeEvent(QEvent* arg__1) override; void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; void customEvent(QEvent* event) override; int devType() const override; +void done(int result) override; void dragEnterEvent(QDragEnterEvent* event) override; void dragLeaveEvent(QDragLeaveEvent* event) override; void dragMoveEvent(QDragMoveEvent* event) override; void dropEvent(QDropEvent* event) override; void enterEvent(QEvent* event) override; bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; void focusInEvent(QFocusEvent* event) override; bool focusNextPrevChild(bool next) override; void focusOutEvent(QFocusEvent* event) override; @@ -202,7 +855,7 @@ void hideEvent(QHideEvent* event) override; void initPainter(QPainter* painter) const override; void inputMethodEvent(QInputMethodEvent* arg__1) override; QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* event) override; +void keyPressEvent(QKeyEvent* arg__1) override; void keyReleaseEvent(QKeyEvent* event) override; void leaveEvent(QEvent* event) override; int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; @@ -216,10 +869,11 @@ bool nativeEvent(const QByteArray& eventType, void* message, long* result) o QPaintEngine* paintEngine() const override; void paintEvent(QPaintEvent* event) override; QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* event) override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; void setVisible(bool visible) override; QPainter* sharedPainter() const override; -void showEvent(QShowEvent* event) override; +void showEvent(QShowEvent* arg__1) override; QSize sizeHint() const override; void tabletEvent(QTabletEvent* event) override; void timerEvent(QTimerEvent* event) override; @@ -230,16 +884,245 @@ void wheelEvent(QWheelEvent* event) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QPrintPreviewWidget : public QPrintPreviewWidget +class PythonQtPublicPromoter_QPrintDialog : public QPrintDialog { public: -inline void py_q_setVisible(bool visible) { QPrintPreviewWidget::setVisible(visible); } +inline void py_q_accept() { QPrintDialog::accept(); } +inline void py_q_done(int result) { QPrintDialog::done(result); } +inline int py_q_exec() { return QPrintDialog::exec(); } +inline void py_q_setVisible(bool visible) { QPrintDialog::setVisible(visible); } }; -class PythonQtWrapper_QPrintPreviewWidget : public QObject +class PythonQtWrapper_QPrintDialog : public QObject { Q_OBJECT public: -Q_ENUMS(ViewMode ZoomMode ) -enum ViewMode{ +public Q_SLOTS: +QPrintDialog* new_QPrintDialog(QPrinter* printer, QWidget* parent = nullptr); +QPrintDialog* new_QPrintDialog(QWidget* parent = nullptr); +void delete_QPrintDialog(QPrintDialog* obj) { delete obj; } + void py_q_accept(QPrintDialog* theWrappedObject){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_accept());} + void py_q_done(QPrintDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_done(result));} + int py_q_exec(QPrintDialog* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_exec());} + void open(QPrintDialog* theWrappedObject, QObject* receiver, const char* member); + QAbstractPrintDialog::PrintDialogOptions options(QPrintDialog* theWrappedObject) const; + void setOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option, bool on = true); + void setOptions(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOptions options); + void py_q_setVisible(QPrintDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QPrintDialog*)theWrappedObject)->py_q_setVisible(visible));} + bool testOption(QPrintDialog* theWrappedObject, QAbstractPrintDialog::PrintDialogOption option) const; +}; + + + + + +class PythonQtShell_QPrintEngine : public QPrintEngine +{ +public: + PythonQtShell_QPrintEngine():QPrintEngine(),_wrapper(nullptr) {}; + + ~PythonQtShell_QPrintEngine() override; + +bool abort() override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +bool newPage() override; +QPrinter::PrinterState printerState() const override; +QVariant property(QPrintEngine::PrintEnginePropertyKey key) const override; +void setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPrintEngine : public QPrintEngine +{ public: +inline bool py_q_abort() { return this->abort(); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric arg__1) const { return this->metric(arg__1); } +inline bool py_q_newPage() { return this->newPage(); } +inline QPrinter::PrinterState py_q_printerState() const { return this->printerState(); } +inline QVariant py_q_property(QPrintEngine::PrintEnginePropertyKey key) const { return this->property(key); } +inline void py_q_setProperty(QPrintEngine::PrintEnginePropertyKey key, const QVariant& value) { this->setProperty(key, value); } +}; + +class PythonQtWrapper_QPrintEngine : public QObject +{ Q_OBJECT +public: +Q_ENUMS(PrintEnginePropertyKey ) +enum PrintEnginePropertyKey{ + PPK_CollateCopies = QPrintEngine::PPK_CollateCopies, PPK_ColorMode = QPrintEngine::PPK_ColorMode, PPK_Creator = QPrintEngine::PPK_Creator, PPK_DocumentName = QPrintEngine::PPK_DocumentName, PPK_FullPage = QPrintEngine::PPK_FullPage, PPK_NumberOfCopies = QPrintEngine::PPK_NumberOfCopies, PPK_Orientation = QPrintEngine::PPK_Orientation, PPK_OutputFileName = QPrintEngine::PPK_OutputFileName, PPK_PageOrder = QPrintEngine::PPK_PageOrder, PPK_PageRect = QPrintEngine::PPK_PageRect, PPK_PageSize = QPrintEngine::PPK_PageSize, PPK_PaperRect = QPrintEngine::PPK_PaperRect, PPK_PaperSource = QPrintEngine::PPK_PaperSource, PPK_PrinterName = QPrintEngine::PPK_PrinterName, PPK_PrinterProgram = QPrintEngine::PPK_PrinterProgram, PPK_Resolution = QPrintEngine::PPK_Resolution, PPK_SelectionOption = QPrintEngine::PPK_SelectionOption, PPK_SupportedResolutions = QPrintEngine::PPK_SupportedResolutions, PPK_WindowsPageSize = QPrintEngine::PPK_WindowsPageSize, PPK_FontEmbedding = QPrintEngine::PPK_FontEmbedding, PPK_Duplex = QPrintEngine::PPK_Duplex, PPK_PaperSources = QPrintEngine::PPK_PaperSources, PPK_CustomPaperSize = QPrintEngine::PPK_CustomPaperSize, PPK_PageMargins = QPrintEngine::PPK_PageMargins, PPK_CopyCount = QPrintEngine::PPK_CopyCount, PPK_SupportsMultipleCopies = QPrintEngine::PPK_SupportsMultipleCopies, PPK_PaperName = QPrintEngine::PPK_PaperName, PPK_QPageSize = QPrintEngine::PPK_QPageSize, PPK_QPageMargins = QPrintEngine::PPK_QPageMargins, PPK_QPageLayout = QPrintEngine::PPK_QPageLayout, PPK_PaperSize = QPrintEngine::PPK_PaperSize, PPK_CustomBase = QPrintEngine::PPK_CustomBase}; +public Q_SLOTS: +QPrintEngine* new_QPrintEngine(); +void delete_QPrintEngine(QPrintEngine* obj) { delete obj; } + bool abort(QPrintEngine* theWrappedObject); + bool py_q_abort(QPrintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_abort());} + int metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const; + int py_q_metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_metric(arg__1));} + bool newPage(QPrintEngine* theWrappedObject); + bool py_q_newPage(QPrintEngine* theWrappedObject){ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_newPage());} + QPrinter::PrinterState printerState(QPrintEngine* theWrappedObject) const; + QPrinter::PrinterState py_q_printerState(QPrintEngine* theWrappedObject) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_printerState());} + QVariant property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const; + QVariant py_q_property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const{ return (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_property(key));} + void setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value); + void py_q_setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value){ (((PythonQtPublicPromoter_QPrintEngine*)theWrappedObject)->py_q_setProperty(key, value));} +}; + + + + + +class PythonQtShell_QPrintPreviewDialog : public QPrintPreviewDialog +{ +public: + PythonQtShell_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewDialog(printer, parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QPrintPreviewDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewDialog(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QPrintPreviewDialog() override; + +void accept() override; +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void done(int result) override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +int exec() override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void reject() override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPrintPreviewDialog : public QPrintPreviewDialog +{ public: +inline void py_q_done(int result) { QPrintPreviewDialog::done(result); } +inline void py_q_setVisible(bool visible) { QPrintPreviewDialog::setVisible(visible); } +}; + +class PythonQtWrapper_QPrintPreviewDialog : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QPrintPreviewDialog* new_QPrintPreviewDialog(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); +QPrintPreviewDialog* new_QPrintPreviewDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); +void delete_QPrintPreviewDialog(QPrintPreviewDialog* obj) { delete obj; } + void py_q_done(QPrintPreviewDialog* theWrappedObject, int result){ (((PythonQtPublicPromoter_QPrintPreviewDialog*)theWrappedObject)->py_q_done(result));} + void open(QPrintPreviewDialog* theWrappedObject, QObject* receiver, const char* member); + QPrinter* printer(QPrintPreviewDialog* theWrappedObject); + void py_q_setVisible(QPrintPreviewDialog* theWrappedObject, bool visible){ (((PythonQtPublicPromoter_QPrintPreviewDialog*)theWrappedObject)->py_q_setVisible(visible));} +}; + + + + + +class PythonQtShell_QPrintPreviewWidget : public QPrintPreviewWidget +{ +public: + PythonQtShell_QPrintPreviewWidget(QPrinter* printer, QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewWidget(printer, parent, flags),_wrapper(nullptr) {}; + PythonQtShell_QPrintPreviewWidget(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()):QPrintPreviewWidget(parent, flags),_wrapper(nullptr) {}; + + ~PythonQtShell_QPrintPreviewWidget() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QPrintPreviewWidget : public QPrintPreviewWidget +{ public: +inline void py_q_setVisible(bool visible) { QPrintPreviewWidget::setVisible(visible); } +}; + +class PythonQtWrapper_QPrintPreviewWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ViewMode ZoomMode ) +enum ViewMode{ SinglePageView = QPrintPreviewWidget::SinglePageView, FacingPagesView = QPrintPreviewWidget::FacingPagesView, AllPagesView = QPrintPreviewWidget::AllPagesView}; enum ZoomMode{ CustomZoom = QPrintPreviewWidget::CustomZoom, FitToWidth = QPrintPreviewWidget::FitToWidth, FitInView = QPrintPreviewWidget::FitInView}; @@ -965,681 +1848,40 @@ QRadialGradient* new_QRadialGradient(qreal cx, qreal cy, qreal radius, qreal QRadialGradient* new_QRadialGradient(const QRadialGradient& other) { QRadialGradient* a = new QRadialGradient(); *((QRadialGradient*)a) = other; -return a; } -void delete_QRadialGradient(QRadialGradient* obj) { delete obj; } - QPointF center(QRadialGradient* theWrappedObject) const; - qreal centerRadius(QRadialGradient* theWrappedObject) const; - QPointF focalPoint(QRadialGradient* theWrappedObject) const; - qreal focalRadius(QRadialGradient* theWrappedObject) const; - qreal radius(QRadialGradient* theWrappedObject) const; - void setCenter(QRadialGradient* theWrappedObject, const QPointF& center); - void setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y); - void setCenterRadius(QRadialGradient* theWrappedObject, qreal radius); - void setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint); - void setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y); - void setFocalRadius(QRadialGradient* theWrappedObject, qreal radius); - void setRadius(QRadialGradient* theWrappedObject, qreal radius); -}; - - - - - -class PythonQtShell_QRadioButton : public QRadioButton -{ -public: - PythonQtShell_QRadioButton(QWidget* parent = nullptr):QRadioButton(parent),_wrapper(nullptr) {}; - PythonQtShell_QRadioButton(const QString& text, QWidget* parent = nullptr):QRadioButton(text, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QRadioButton() override; - -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* e) override; -void checkStateSet() override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* event) override; -void customEvent(QEvent* event) override; -int devType() const override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* e) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void focusInEvent(QFocusEvent* e) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* e) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -bool hitButton(const QPoint& arg__1) const override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* e) override; -void keyReleaseEvent(QKeyEvent* e) override; -void leaveEvent(QEvent* event) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* arg__1) override; -void mousePressEvent(QMouseEvent* e) override; -void mouseReleaseEvent(QMouseEvent* e) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -void nextCheckState() override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* arg__1) override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* event) override; -void setVisible(bool visible) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* event) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* e) override; -void wheelEvent(QWheelEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRadioButton : public QRadioButton -{ public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline bool promoted_hitButton(const QPoint& arg__1) const { return this->hitButton(arg__1); } -inline void promoted_initStyleOption(QStyleOptionButton* button) const { this->initStyleOption(button); } -inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline bool py_q_event(QEvent* e) { return QRadioButton::event(e); } -inline bool py_q_hitButton(const QPoint& arg__1) const { return QRadioButton::hitButton(arg__1); } -inline QSize py_q_minimumSizeHint() const { return QRadioButton::minimumSizeHint(); } -inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QRadioButton::mouseMoveEvent(arg__1); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QRadioButton::paintEvent(arg__1); } -inline QSize py_q_sizeHint() const { return QRadioButton::sizeHint(); } -}; - -class PythonQtWrapper_QRadioButton : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QRadioButton* new_QRadioButton(QWidget* parent = nullptr); -QRadioButton* new_QRadioButton(const QString& text, QWidget* parent = nullptr); -void delete_QRadioButton(QRadioButton* obj) { delete obj; } - bool py_q_event(QRadioButton* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_event(e));} - bool py_q_hitButton(QRadioButton* theWrappedObject, const QPoint& arg__1) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_hitButton(arg__1));} - void initStyleOption(QRadioButton* theWrappedObject, QStyleOptionButton* button) const; - QSize py_q_minimumSizeHint(QRadioButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_minimumSizeHint());} - void py_q_mouseMoveEvent(QRadioButton* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} - void py_q_paintEvent(QRadioButton* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_paintEvent(arg__1));} - QSize py_q_sizeHint(QRadioButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_sizeHint());} -}; - - - - - -class PythonQtShell_QRasterWindow : public QRasterWindow -{ -public: - PythonQtShell_QRasterWindow(QWindow* parent = nullptr):QRasterWindow(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QRasterWindow() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -int devType() const override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void exposeEvent(QExposeEvent* arg__1) override; -void focusInEvent(QFocusEvent* arg__1) override; -QObject* focusObject() const override; -void focusOutEvent(QFocusEvent* arg__1) override; -QSurfaceFormat format() const override; -void hideEvent(QHideEvent* arg__1) override; -void initPainter(QPainter* painter) const override; -void keyPressEvent(QKeyEvent* arg__1) override; -void keyReleaseEvent(QKeyEvent* arg__1) override; -int metric(QPaintDevice::PaintDeviceMetric metric) const override; -void mouseDoubleClickEvent(QMouseEvent* arg__1) override; -void mouseMoveEvent(QMouseEvent* arg__1) override; -void mousePressEvent(QMouseEvent* arg__1) override; -void mouseReleaseEvent(QMouseEvent* arg__1) override; -void moveEvent(QMoveEvent* arg__1) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -void paintEvent(QPaintEvent* event) override; -QPaintDevice* redirected(QPoint* arg__1) const override; -void resizeEvent(QResizeEvent* arg__1) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* arg__1) override; -QSize size() const override; -QSurface::SurfaceType surfaceType() const override; -void tabletEvent(QTabletEvent* arg__1) override; -void timerEvent(QTimerEvent* event) override; -void touchEvent(QTouchEvent* arg__1) override; -void wheelEvent(QWheelEvent* arg__1) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRasterWindow : public QRasterWindow -{ public: -inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } -inline QPaintDevice* promoted_redirected(QPoint* arg__1) const { return this->redirected(arg__1); } -inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QRasterWindow::metric(metric); } -inline QPaintDevice* py_q_redirected(QPoint* arg__1) const { return QRasterWindow::redirected(arg__1); } -}; - -class PythonQtWrapper_QRasterWindow : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QRasterWindow* new_QRasterWindow(QWindow* parent = nullptr); -void delete_QRasterWindow(QRasterWindow* obj) { delete obj; } - int py_q_metric(QRasterWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_metric(metric));} - QPaintDevice* py_q_redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_redirected(arg__1));} -}; - - - - - -class PythonQtWrapper_QRawFont : public QObject -{ Q_OBJECT -public: -Q_ENUMS(AntialiasingType LayoutFlag ) -Q_FLAGS(LayoutFlags ) -enum AntialiasingType{ - PixelAntialiasing = QRawFont::PixelAntialiasing, SubPixelAntialiasing = QRawFont::SubPixelAntialiasing}; -enum LayoutFlag{ - SeparateAdvances = QRawFont::SeparateAdvances, KernedAdvances = QRawFont::KernedAdvances, UseDesignMetrics = QRawFont::UseDesignMetrics}; -Q_DECLARE_FLAGS(LayoutFlags, LayoutFlag) -public Q_SLOTS: -QRawFont* new_QRawFont(); -QRawFont* new_QRawFont(const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference = QFont::PreferDefaultHinting); -QRawFont* new_QRawFont(const QRawFont& other); -QRawFont* new_QRawFont(const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference = QFont::PreferDefaultHinting); -void delete_QRawFont(QRawFont* obj) { delete obj; } - QVector advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes) const; - QVector advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes, QRawFont::LayoutFlags layoutFlags) const; - bool advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs) const; - bool advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs, QRawFont::LayoutFlags layoutFlags) const; - QImage alphaMapForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex, QRawFont::AntialiasingType antialiasingType = QRawFont::SubPixelAntialiasing, const QTransform& transform = QTransform()) const; - qreal ascent(QRawFont* theWrappedObject) const; - qreal averageCharWidth(QRawFont* theWrappedObject) const; - QRectF boundingRect(QRawFont* theWrappedObject, unsigned int glyphIndex) const; - qreal capHeight(QRawFont* theWrappedObject) const; - qreal descent(QRawFont* theWrappedObject) const; - QString familyName(QRawFont* theWrappedObject) const; - QByteArray fontTable(QRawFont* theWrappedObject, const char* tagName) const; - QRawFont static_QRawFont_fromFont(const QFont& font, QFontDatabase::WritingSystem writingSystem = QFontDatabase::Any); - bool glyphIndexesForChars(QRawFont* theWrappedObject, const QChar* chars, int numChars, unsigned int* glyphIndexes, int* numGlyphs) const; - QVector glyphIndexesForString(QRawFont* theWrappedObject, const QString& text) const; - QFont::HintingPreference hintingPreference(QRawFont* theWrappedObject) const; - bool isValid(QRawFont* theWrappedObject) const; - qreal leading(QRawFont* theWrappedObject) const; - qreal lineThickness(QRawFont* theWrappedObject) const; - void loadFromData(QRawFont* theWrappedObject, const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference); - void loadFromFile(QRawFont* theWrappedObject, const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference); - qreal maxCharWidth(QRawFont* theWrappedObject) const; - bool __ne__(QRawFont* theWrappedObject, const QRawFont& other) const; - QRawFont* operator_assign(QRawFont* theWrappedObject, const QRawFont& other); - bool __eq__(QRawFont* theWrappedObject, const QRawFont& other) const; - QPainterPath pathForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex) const; - qreal pixelSize(QRawFont* theWrappedObject) const; - void setPixelSize(QRawFont* theWrappedObject, qreal pixelSize); - QFont::Style style(QRawFont* theWrappedObject) const; - QString styleName(QRawFont* theWrappedObject) const; - QList supportedWritingSystems(QRawFont* theWrappedObject) const; - bool supportsCharacter(QRawFont* theWrappedObject, QChar character) const; - bool supportsCharacter(QRawFont* theWrappedObject, uint ucs4) const; - void swap(QRawFont* theWrappedObject, QRawFont& other); - qreal underlinePosition(QRawFont* theWrappedObject) const; - qreal unitsPerEm(QRawFont* theWrappedObject) const; - int weight(QRawFont* theWrappedObject) const; - qreal xHeight(QRawFont* theWrappedObject) const; - bool __nonzero__(QRawFont* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtShell_QRegExpValidator : public QRegExpValidator -{ -public: - PythonQtShell_QRegExpValidator(QObject* parent = nullptr):QRegExpValidator(parent),_wrapper(nullptr) {}; - PythonQtShell_QRegExpValidator(const QRegExp& rx, QObject* parent = nullptr):QRegExpValidator(rx, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QRegExpValidator() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void fixup(QString& arg__1) const override; -void timerEvent(QTimerEvent* event) override; -QValidator::State validate(QString& input, int& pos) const override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRegExpValidator : public QRegExpValidator -{ public: -inline QValidator::State py_q_validate(QString& input, int& pos) const { return QRegExpValidator::validate(input, pos); } -}; - -class PythonQtWrapper_QRegExpValidator : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QRegExpValidator* new_QRegExpValidator(QObject* parent = nullptr); -QRegExpValidator* new_QRegExpValidator(const QRegExp& rx, QObject* parent = nullptr); -void delete_QRegExpValidator(QRegExpValidator* obj) { delete obj; } - const QRegExp* regExp(QRegExpValidator* theWrappedObject) const; - void setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx); - QValidator::State py_q_validate(QRegExpValidator* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QRegExpValidator*)theWrappedObject)->py_q_validate(input, pos));} -}; - - - - - -class PythonQtShell_QRegularExpressionValidator : public QRegularExpressionValidator -{ -public: - PythonQtShell_QRegularExpressionValidator(QObject* parent = nullptr):QRegularExpressionValidator(parent),_wrapper(nullptr) {}; - PythonQtShell_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent = nullptr):QRegularExpressionValidator(re, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QRegularExpressionValidator() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void fixup(QString& arg__1) const override; -void timerEvent(QTimerEvent* event) override; -QValidator::State validate(QString& input, int& pos) const override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRegularExpressionValidator : public QRegularExpressionValidator -{ public: -inline QValidator::State py_q_validate(QString& input, int& pos) const { return QRegularExpressionValidator::validate(input, pos); } -}; - -class PythonQtWrapper_QRegularExpressionValidator : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QRegularExpressionValidator* new_QRegularExpressionValidator(QObject* parent = nullptr); -QRegularExpressionValidator* new_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent = nullptr); -void delete_QRegularExpressionValidator(QRegularExpressionValidator* obj) { delete obj; } - QRegularExpression regularExpression(QRegularExpressionValidator* theWrappedObject) const; - QValidator::State py_q_validate(QRegularExpressionValidator* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QRegularExpressionValidator*)theWrappedObject)->py_q_validate(input, pos));} -}; - - - - - -class PythonQtShell_QResizeEvent : public QResizeEvent -{ -public: - PythonQtShell_QResizeEvent(const QSize& size, const QSize& oldSize):QResizeEvent(size, oldSize),_wrapper(nullptr) {}; - - ~PythonQtShell_QResizeEvent() override; - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QResizeEvent : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QResizeEvent* new_QResizeEvent(const QSize& size, const QSize& oldSize); -void delete_QResizeEvent(QResizeEvent* obj) { delete obj; } - const QSize* oldSize(QResizeEvent* theWrappedObject) const; - const QSize* size(QResizeEvent* theWrappedObject) const; -}; - - - - - -class PythonQtWrapper_QRgba64 : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QRgba64* new_QRgba64(); -QRgba64* new_QRgba64(const QRgba64& other) { -QRgba64* a = new QRgba64(); -*((QRgba64*)a) = other; -return a; } -void delete_QRgba64(QRgba64* obj) { delete obj; } - unsigned short alpha(QRgba64* theWrappedObject) const; - unsigned char alpha8(QRgba64* theWrappedObject) const; - unsigned short blue(QRgba64* theWrappedObject) const; - unsigned char blue8(QRgba64* theWrappedObject) const; - QRgba64 static_QRgba64_fromArgb32(uint rgb); - QRgba64 static_QRgba64_fromRgba(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha); - QRgba64 static_QRgba64_fromRgba64(quint64 c); - QRgba64 static_QRgba64_fromRgba64(unsigned short red, unsigned short green, unsigned short blue, unsigned short alpha); - unsigned short green(QRgba64* theWrappedObject) const; - unsigned char green8(QRgba64* theWrappedObject) const; - bool isOpaque(QRgba64* theWrappedObject) const; - bool isTransparent(QRgba64* theWrappedObject) const; - QRgba64 operator_assign(QRgba64* theWrappedObject, quint64 _rgba); - QRgba64 premultiplied(QRgba64* theWrappedObject) const; - unsigned short red(QRgba64* theWrappedObject) const; - unsigned char red8(QRgba64* theWrappedObject) const; - void setAlpha(QRgba64* theWrappedObject, unsigned short _alpha); - void setBlue(QRgba64* theWrappedObject, unsigned short _blue); - void setGreen(QRgba64* theWrappedObject, unsigned short _green); - void setRed(QRgba64* theWrappedObject, unsigned short _red); - uint toArgb32(QRgba64* theWrappedObject) const; - ushort toRgb16(QRgba64* theWrappedObject) const; - QRgba64 unpremultiplied(QRgba64* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QRubberBand : public QRubberBand -{ -public: - PythonQtShell_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2 = nullptr):QRubberBand(arg__1, arg__2),_wrapper(nullptr) {}; - - ~PythonQtShell_QRubberBand() override; - -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* arg__1) override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* event) override; -void customEvent(QEvent* event) override; -int devType() const override; -void dragEnterEvent(QDragEnterEvent* event) override; -void dragLeaveEvent(QDragLeaveEvent* event) override; -void dragMoveEvent(QDragMoveEvent* event) override; -void dropEvent(QDropEvent* event) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* e) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void focusInEvent(QFocusEvent* event) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* event) override; -void keyReleaseEvent(QKeyEvent* event) override; -void leaveEvent(QEvent* event) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* event) override; -void mouseMoveEvent(QMouseEvent* event) override; -void mousePressEvent(QMouseEvent* event) override; -void mouseReleaseEvent(QMouseEvent* event) override; -void moveEvent(QMoveEvent* arg__1) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* arg__1) override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* arg__1) override; -void setVisible(bool visible) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* arg__1) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* event) override; -void wheelEvent(QWheelEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QRubberBand : public QRubberBand -{ public: -inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_initStyleOption(QStyleOptionRubberBand* option) const { this->initStyleOption(option); } -inline void promoted_moveEvent(QMoveEvent* arg__1) { this->moveEvent(arg__1); } -inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } -inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } -inline void py_q_changeEvent(QEvent* arg__1) { QRubberBand::changeEvent(arg__1); } -inline bool py_q_event(QEvent* e) { return QRubberBand::event(e); } -inline void py_q_moveEvent(QMoveEvent* arg__1) { QRubberBand::moveEvent(arg__1); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QRubberBand::paintEvent(arg__1); } -inline void py_q_resizeEvent(QResizeEvent* arg__1) { QRubberBand::resizeEvent(arg__1); } -inline void py_q_showEvent(QShowEvent* arg__1) { QRubberBand::showEvent(arg__1); } -}; - -class PythonQtWrapper_QRubberBand : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Shape ) -enum Shape{ - Line = QRubberBand::Line, Rectangle = QRubberBand::Rectangle}; -public Q_SLOTS: -QRubberBand* new_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2 = nullptr); -void delete_QRubberBand(QRubberBand* obj) { delete obj; } - void py_q_changeEvent(QRubberBand* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_changeEvent(arg__1));} - bool py_q_event(QRubberBand* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_event(e));} - void initStyleOption(QRubberBand* theWrappedObject, QStyleOptionRubberBand* option) const; - void move(QRubberBand* theWrappedObject, const QPoint& p); - void move(QRubberBand* theWrappedObject, int x, int y); - void py_q_moveEvent(QRubberBand* theWrappedObject, QMoveEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_moveEvent(arg__1));} - void py_q_paintEvent(QRubberBand* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_paintEvent(arg__1));} - void resize(QRubberBand* theWrappedObject, const QSize& s); - void resize(QRubberBand* theWrappedObject, int w, int h); - void py_q_resizeEvent(QRubberBand* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_resizeEvent(arg__1));} - void setGeometry(QRubberBand* theWrappedObject, const QRect& r); - void setGeometry(QRubberBand* theWrappedObject, int x, int y, int w, int h); - QRubberBand::Shape shape(QRubberBand* theWrappedObject) const; - void py_q_showEvent(QRubberBand* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_showEvent(arg__1));} -}; - - - - - -class PythonQtWrapper_QScreen : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -void delete_QScreen(QScreen* obj) { delete obj; } - int angleBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b) const; - QRect availableGeometry(QScreen* theWrappedObject) const; - QSize availableSize(QScreen* theWrappedObject) const; - QRect availableVirtualGeometry(QScreen* theWrappedObject) const; - QSize availableVirtualSize(QScreen* theWrappedObject) const; - int depth(QScreen* theWrappedObject) const; - qreal devicePixelRatio(QScreen* theWrappedObject) const; - QRect geometry(QScreen* theWrappedObject) const; - QPixmap grabWindow(QScreen* theWrappedObject, WId window, int x = 0, int y = 0, int w = -1, int h = -1); - bool isLandscape(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const; - bool isPortrait(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const; - qreal logicalDotsPerInch(QScreen* theWrappedObject) const; - qreal logicalDotsPerInchX(QScreen* theWrappedObject) const; - qreal logicalDotsPerInchY(QScreen* theWrappedObject) const; - QString manufacturer(QScreen* theWrappedObject) const; - QRect mapBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& rect) const; - QString model(QScreen* theWrappedObject) const; - QString name(QScreen* theWrappedObject) const; - Qt::ScreenOrientation nativeOrientation(QScreen* theWrappedObject) const; - Qt::ScreenOrientation orientation(QScreen* theWrappedObject) const; - Qt::ScreenOrientations orientationUpdateMask(QScreen* theWrappedObject) const; - qreal physicalDotsPerInch(QScreen* theWrappedObject) const; - qreal physicalDotsPerInchX(QScreen* theWrappedObject) const; - qreal physicalDotsPerInchY(QScreen* theWrappedObject) const; - QSizeF physicalSize(QScreen* theWrappedObject) const; - Qt::ScreenOrientation primaryOrientation(QScreen* theWrappedObject) const; - qreal refreshRate(QScreen* theWrappedObject) const; - QString serialNumber(QScreen* theWrappedObject) const; - void setOrientationUpdateMask(QScreen* theWrappedObject, Qt::ScreenOrientations mask); - QSize size(QScreen* theWrappedObject) const; - QTransform transformBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& target) const; - QRect virtualGeometry(QScreen* theWrappedObject) const; - QList virtualSiblings(QScreen* theWrappedObject) const; - QSize virtualSize(QScreen* theWrappedObject) const; - QString py_toString(QScreen*); -}; - - - - - -class PythonQtWrapper_QScreenOrientationChangeEvent : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QScreenOrientationChangeEvent* new_QScreenOrientationChangeEvent(QScreen* screen, Qt::ScreenOrientation orientation); -void delete_QScreenOrientationChangeEvent(QScreenOrientationChangeEvent* obj) { delete obj; } - Qt::ScreenOrientation orientation(QScreenOrientationChangeEvent* theWrappedObject) const; - QScreen* screen(QScreenOrientationChangeEvent* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QScrollArea : public QScrollArea -{ -public: - PythonQtShell_QScrollArea(QWidget* parent = nullptr):QScrollArea(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QScrollArea() override; - -void actionEvent(QActionEvent* event) override; -void changeEvent(QEvent* arg__1) override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* arg__1) override; -void customEvent(QEvent* event) override; -int devType() const override; -void dragEnterEvent(QDragEnterEvent* arg__1) override; -void dragLeaveEvent(QDragLeaveEvent* arg__1) override; -void dragMoveEvent(QDragMoveEvent* arg__1) override; -void dropEvent(QDropEvent* arg__1) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* arg__1) override; -bool eventFilter(QObject* arg__1, QEvent* arg__2) override; -void focusInEvent(QFocusEvent* event) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* arg__1) override; -void keyReleaseEvent(QKeyEvent* event) override; -void leaveEvent(QEvent* event) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* arg__1) override; -void mouseMoveEvent(QMouseEvent* arg__1) override; -void mousePressEvent(QMouseEvent* arg__1) override; -void mouseReleaseEvent(QMouseEvent* arg__1) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* arg__1) override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* arg__1) override; -void scrollContentsBy(int dx, int dy) override; -void setVisible(bool visible) override; -void setupViewport(QWidget* viewport) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* event) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* event) override; -bool viewportEvent(QEvent* arg__1) override; -QSize viewportSizeHint() const override; -void wheelEvent(QWheelEvent* arg__1) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QScrollArea : public QScrollArea -{ public: -inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } -inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } -inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } -inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } -inline QSize promoted_viewportSizeHint() const { return this->viewportSizeHint(); } -inline bool py_q_event(QEvent* arg__1) { return QScrollArea::event(arg__1); } -inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QScrollArea::eventFilter(arg__1, arg__2); } -inline bool py_q_focusNextPrevChild(bool next) { return QScrollArea::focusNextPrevChild(next); } -inline void py_q_resizeEvent(QResizeEvent* arg__1) { QScrollArea::resizeEvent(arg__1); } -inline void py_q_scrollContentsBy(int dx, int dy) { QScrollArea::scrollContentsBy(dx, dy); } -inline QSize py_q_sizeHint() const { return QScrollArea::sizeHint(); } -inline QSize py_q_viewportSizeHint() const { return QScrollArea::viewportSizeHint(); } -}; - -class PythonQtWrapper_QScrollArea : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QScrollArea* new_QScrollArea(QWidget* parent = nullptr); -void delete_QScrollArea(QScrollArea* obj) { delete obj; } - Qt::Alignment alignment(QScrollArea* theWrappedObject) const; - void ensureVisible(QScrollArea* theWrappedObject, int x, int y, int xmargin = 50, int ymargin = 50); - void ensureWidgetVisible(QScrollArea* theWrappedObject, QWidget* childWidget, int xmargin = 50, int ymargin = 50); - bool py_q_event(QScrollArea* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_event(arg__1));} - bool py_q_eventFilter(QScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} - bool py_q_focusNextPrevChild(QScrollArea* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_focusNextPrevChild(next));} - void py_q_resizeEvent(QScrollArea* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_resizeEvent(arg__1));} - void py_q_scrollContentsBy(QScrollArea* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} - void setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1); - void setWidget(QScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget); - void setWidgetResizable(QScrollArea* theWrappedObject, bool resizable); - QSize py_q_sizeHint(QScrollArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_sizeHint());} - QWidget* takeWidget(QScrollArea* theWrappedObject); - QSize py_q_viewportSizeHint(QScrollArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_viewportSizeHint());} - QWidget* widget(QScrollArea* theWrappedObject) const; - bool widgetResizable(QScrollArea* theWrappedObject) const; +return a; } +void delete_QRadialGradient(QRadialGradient* obj) { delete obj; } + QPointF center(QRadialGradient* theWrappedObject) const; + qreal centerRadius(QRadialGradient* theWrappedObject) const; + QPointF focalPoint(QRadialGradient* theWrappedObject) const; + qreal focalRadius(QRadialGradient* theWrappedObject) const; + qreal radius(QRadialGradient* theWrappedObject) const; + void setCenter(QRadialGradient* theWrappedObject, const QPointF& center); + void setCenter(QRadialGradient* theWrappedObject, qreal x, qreal y); + void setCenterRadius(QRadialGradient* theWrappedObject, qreal radius); + void setFocalPoint(QRadialGradient* theWrappedObject, const QPointF& focalPoint); + void setFocalPoint(QRadialGradient* theWrappedObject, qreal x, qreal y); + void setFocalRadius(QRadialGradient* theWrappedObject, qreal radius); + void setRadius(QRadialGradient* theWrappedObject, qreal radius); }; -class PythonQtShell_QScrollBar : public QScrollBar +class PythonQtShell_QRadioButton : public QRadioButton { public: - PythonQtShell_QScrollBar(QWidget* parent = nullptr):QScrollBar(parent),_wrapper(nullptr) {}; - PythonQtShell_QScrollBar(Qt::Orientation arg__1, QWidget* parent = nullptr):QScrollBar(arg__1, parent),_wrapper(nullptr) {}; + PythonQtShell_QRadioButton(QWidget* parent = nullptr):QRadioButton(parent),_wrapper(nullptr) {}; + PythonQtShell_QRadioButton(const QString& text, QWidget* parent = nullptr):QRadioButton(text, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QScrollBar() override; + ~PythonQtShell_QRadioButton() override; void actionEvent(QActionEvent* event) override; void changeEvent(QEvent* e) override; +void checkStateSet() override; void childEvent(QChildEvent* event) override; void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* arg__1) override; +void contextMenuEvent(QContextMenuEvent* event) override; void customEvent(QEvent* event) override; int devType() const override; void dragEnterEvent(QDragEnterEvent* event) override; @@ -1647,28 +1889,30 @@ void dragLeaveEvent(QDragLeaveEvent* event) override; void dragMoveEvent(QDragMoveEvent* event) override; void dropEvent(QDropEvent* event) override; void enterEvent(QEvent* event) override; -bool event(QEvent* event) override; +bool event(QEvent* e) override; bool eventFilter(QObject* watched, QEvent* event) override; -void focusInEvent(QFocusEvent* event) override; +void focusInEvent(QFocusEvent* e) override; bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* event) override; +void focusOutEvent(QFocusEvent* e) override; bool hasHeightForWidth() const override; int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* arg__1) override; +void hideEvent(QHideEvent* event) override; +bool hitButton(const QPoint& arg__1) const override; void initPainter(QPainter* painter) const override; void inputMethodEvent(QInputMethodEvent* arg__1) override; QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; -void keyPressEvent(QKeyEvent* ev) override; -void keyReleaseEvent(QKeyEvent* event) override; +void keyPressEvent(QKeyEvent* e) override; +void keyReleaseEvent(QKeyEvent* e) override; void leaveEvent(QEvent* event) override; int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; QSize minimumSizeHint() const override; void mouseDoubleClickEvent(QMouseEvent* event) override; void mouseMoveEvent(QMouseEvent* arg__1) override; -void mousePressEvent(QMouseEvent* arg__1) override; -void mouseReleaseEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* e) override; +void mouseReleaseEvent(QMouseEvent* e) override; void moveEvent(QMoveEvent* event) override; bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void nextCheckState() override; QPaintEngine* paintEngine() const override; void paintEvent(QPaintEvent* arg__1) override; QPaintDevice* redirected(QPoint* offset) const override; @@ -1677,285 +1921,319 @@ void setVisible(bool visible) override; QPainter* sharedPainter() const override; void showEvent(QShowEvent* event) override; QSize sizeHint() const override; -void sliderChange(QAbstractSlider::SliderChange change) override; void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* arg__1) override; -void wheelEvent(QWheelEvent* arg__1) override; +void timerEvent(QTimerEvent* e) override; +void wheelEvent(QWheelEvent* event) override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QScrollBar : public QScrollBar +class PythonQtPublicPromoter_QRadioButton : public QRadioButton { public: -inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { this->contextMenuEvent(arg__1); } -inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } -inline void promoted_initStyleOption(QStyleOptionSlider* option) const { this->initStyleOption(option); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool promoted_hitButton(const QPoint& arg__1) const { return this->hitButton(arg__1); } +inline void promoted_initStyleOption(QStyleOptionButton* button) const { this->initStyleOption(button); } inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } -inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } -inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } -inline void promoted_sliderChange(int change) { this->sliderChange((QAbstractSlider::SliderChange)change); } -inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } -inline void py_q_contextMenuEvent(QContextMenuEvent* arg__1) { QScrollBar::contextMenuEvent(arg__1); } -inline bool py_q_event(QEvent* event) { return QScrollBar::event(event); } -inline void py_q_hideEvent(QHideEvent* arg__1) { QScrollBar::hideEvent(arg__1); } -inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QScrollBar::mouseMoveEvent(arg__1); } -inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QScrollBar::mousePressEvent(arg__1); } -inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QScrollBar::mouseReleaseEvent(arg__1); } -inline void py_q_paintEvent(QPaintEvent* arg__1) { QScrollBar::paintEvent(arg__1); } -inline QSize py_q_sizeHint() const { return QScrollBar::sizeHint(); } -inline void py_q_sliderChange(int change) { QScrollBar::sliderChange((QAbstractSlider::SliderChange)change); } -inline void py_q_wheelEvent(QWheelEvent* arg__1) { QScrollBar::wheelEvent(arg__1); } -}; - -class PythonQtWrapper_QScrollBar : public QObject +inline bool py_q_event(QEvent* e) { return QRadioButton::event(e); } +inline bool py_q_hitButton(const QPoint& arg__1) const { return QRadioButton::hitButton(arg__1); } +inline QSize py_q_minimumSizeHint() const { return QRadioButton::minimumSizeHint(); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QRadioButton::mouseMoveEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QRadioButton::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QRadioButton::sizeHint(); } +}; + +class PythonQtWrapper_QRadioButton : public QObject { Q_OBJECT public: public Q_SLOTS: -QScrollBar* new_QScrollBar(QWidget* parent = nullptr); -QScrollBar* new_QScrollBar(Qt::Orientation arg__1, QWidget* parent = nullptr); -void delete_QScrollBar(QScrollBar* obj) { delete obj; } - void py_q_contextMenuEvent(QScrollBar* theWrappedObject, QContextMenuEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_contextMenuEvent(arg__1));} - bool py_q_event(QScrollBar* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_event(event));} - void py_q_hideEvent(QScrollBar* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_hideEvent(arg__1));} - void initStyleOption(QScrollBar* theWrappedObject, QStyleOptionSlider* option) const; - void py_q_mouseMoveEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} - void py_q_mousePressEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mousePressEvent(arg__1));} - void py_q_mouseReleaseEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} - void py_q_paintEvent(QScrollBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_paintEvent(arg__1));} - QSize py_q_sizeHint(QScrollBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_sizeHint());} - void py_q_sliderChange(QScrollBar* theWrappedObject, int change){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_sliderChange(change));} - void py_q_wheelEvent(QScrollBar* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_wheelEvent(arg__1));} +QRadioButton* new_QRadioButton(QWidget* parent = nullptr); +QRadioButton* new_QRadioButton(const QString& text, QWidget* parent = nullptr); +void delete_QRadioButton(QRadioButton* obj) { delete obj; } + bool py_q_event(QRadioButton* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_event(e));} + bool py_q_hitButton(QRadioButton* theWrappedObject, const QPoint& arg__1) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_hitButton(arg__1));} + void initStyleOption(QRadioButton* theWrappedObject, QStyleOptionButton* button) const; + QSize py_q_minimumSizeHint(QRadioButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_minimumSizeHint());} + void py_q_mouseMoveEvent(QRadioButton* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_paintEvent(QRadioButton* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_paintEvent(arg__1));} + QSize py_q_sizeHint(QRadioButton* theWrappedObject) const{ return (((PythonQtPublicPromoter_QRadioButton*)theWrappedObject)->py_q_sizeHint());} }; -class PythonQtWrapper_QScrollEvent : public QObject -{ Q_OBJECT +class PythonQtShell_QRasterWindow : public QRasterWindow +{ public: -Q_ENUMS(ScrollState ) -enum ScrollState{ - ScrollStarted = QScrollEvent::ScrollStarted, ScrollUpdated = QScrollEvent::ScrollUpdated, ScrollFinished = QScrollEvent::ScrollFinished}; -public Q_SLOTS: -QScrollEvent* new_QScrollEvent(const QPointF& contentPos, const QPointF& overshoot, QScrollEvent::ScrollState scrollState); -void delete_QScrollEvent(QScrollEvent* obj) { delete obj; } - QPointF contentPos(QScrollEvent* theWrappedObject) const; - QPointF overshootDistance(QScrollEvent* theWrappedObject) const; - QScrollEvent::ScrollState scrollState(QScrollEvent* theWrappedObject) const; -}; + PythonQtShell_QRasterWindow(QWindow* parent = nullptr):QRasterWindow(parent),_wrapper(nullptr) {}; + ~PythonQtShell_QRasterWindow() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void exposeEvent(QExposeEvent* arg__1) override; +void focusInEvent(QFocusEvent* arg__1) override; +QObject* focusObject() const override; +void focusOutEvent(QFocusEvent* arg__1) override; +QSurfaceFormat format() const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +int metric(QPaintDevice::PaintDeviceMetric metric) const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* arg__1) const override; +void resizeEvent(QResizeEvent* arg__1) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize size() const override; +QSurface::SurfaceType surfaceType() const override; +void tabletEvent(QTabletEvent* arg__1) override; +void timerEvent(QTimerEvent* event) override; +void touchEvent(QTouchEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; +class PythonQtPublicPromoter_QRasterWindow : public QRasterWindow +{ public: +inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return this->metric(metric); } +inline QPaintDevice* promoted_redirected(QPoint* arg__1) const { return this->redirected(arg__1); } +inline int py_q_metric(QPaintDevice::PaintDeviceMetric metric) const { return QRasterWindow::metric(metric); } +inline QPaintDevice* py_q_redirected(QPoint* arg__1) const { return QRasterWindow::redirected(arg__1); } +}; -class PythonQtWrapper_QScrollPrepareEvent : public QObject +class PythonQtWrapper_QRasterWindow : public QObject { Q_OBJECT public: public Q_SLOTS: -QScrollPrepareEvent* new_QScrollPrepareEvent(const QPointF& startPos); -void delete_QScrollPrepareEvent(QScrollPrepareEvent* obj) { delete obj; } - QPointF contentPos(QScrollPrepareEvent* theWrappedObject) const; - QRectF contentPosRange(QScrollPrepareEvent* theWrappedObject) const; - void setContentPos(QScrollPrepareEvent* theWrappedObject, const QPointF& pos); - void setContentPosRange(QScrollPrepareEvent* theWrappedObject, const QRectF& rect); - void setViewportSize(QScrollPrepareEvent* theWrappedObject, const QSizeF& size); - QPointF startPos(QScrollPrepareEvent* theWrappedObject) const; - QSizeF viewportSize(QScrollPrepareEvent* theWrappedObject) const; +QRasterWindow* new_QRasterWindow(QWindow* parent = nullptr); +void delete_QRasterWindow(QRasterWindow* obj) { delete obj; } + int py_q_metric(QRasterWindow* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_metric(metric));} + QPaintDevice* py_q_redirected(QRasterWindow* theWrappedObject, QPoint* arg__1) const{ return (((PythonQtPublicPromoter_QRasterWindow*)theWrappedObject)->py_q_redirected(arg__1));} }; -class PythonQtWrapper_QScroller : public QObject +class PythonQtWrapper_QRawFont : public QObject { Q_OBJECT public: -Q_ENUMS(Input ScrollerGestureType ) -enum Input{ - InputPress = QScroller::InputPress, InputMove = QScroller::InputMove, InputRelease = QScroller::InputRelease}; -enum ScrollerGestureType{ - TouchGesture = QScroller::TouchGesture, LeftMouseButtonGesture = QScroller::LeftMouseButtonGesture, RightMouseButtonGesture = QScroller::RightMouseButtonGesture, MiddleMouseButtonGesture = QScroller::MiddleMouseButtonGesture}; +Q_ENUMS(AntialiasingType LayoutFlag ) +Q_FLAGS(LayoutFlags ) +enum AntialiasingType{ + PixelAntialiasing = QRawFont::PixelAntialiasing, SubPixelAntialiasing = QRawFont::SubPixelAntialiasing}; +enum LayoutFlag{ + SeparateAdvances = QRawFont::SeparateAdvances, KernedAdvances = QRawFont::KernedAdvances, UseDesignMetrics = QRawFont::UseDesignMetrics}; +Q_DECLARE_FLAGS(LayoutFlags, LayoutFlag) public Q_SLOTS: - QList static_QScroller_activeScrollers(); - QPointF finalPosition(QScroller* theWrappedObject) const; - Qt::GestureType static_QScroller_grabGesture(QObject* target, QScroller::ScrollerGestureType gestureType = QScroller::TouchGesture); - Qt::GestureType static_QScroller_grabbedGesture(QObject* target); - bool handleInput(QScroller* theWrappedObject, QScroller::Input input, const QPointF& position, qint64 timestamp = 0); - bool static_QScroller_hasScroller(QObject* target); - QPointF pixelPerMeter(QScroller* theWrappedObject) const; - QScroller* static_QScroller_scroller(QObject* target); - const QScroller* static_QScroller_scroller(const QObject* target); - QScrollerProperties scrollerProperties(QScroller* theWrappedObject) const; - void setSnapPositionsX(QScroller* theWrappedObject, const QList& positions); - void setSnapPositionsX(QScroller* theWrappedObject, qreal first, qreal interval); - void setSnapPositionsY(QScroller* theWrappedObject, const QList& positions); - void setSnapPositionsY(QScroller* theWrappedObject, qreal first, qreal interval); - QScroller::State state(QScroller* theWrappedObject) const; - void stop(QScroller* theWrappedObject); - QObject* target(QScroller* theWrappedObject) const; - void static_QScroller_ungrabGesture(QObject* target); - QPointF velocity(QScroller* theWrappedObject) const; +QRawFont* new_QRawFont(); +QRawFont* new_QRawFont(const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference = QFont::PreferDefaultHinting); +QRawFont* new_QRawFont(const QRawFont& other); +QRawFont* new_QRawFont(const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference = QFont::PreferDefaultHinting); +void delete_QRawFont(QRawFont* obj) { delete obj; } + QVector advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes) const; + QVector advancesForGlyphIndexes(QRawFont* theWrappedObject, const QVector& glyphIndexes, QRawFont::LayoutFlags layoutFlags) const; + bool advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs) const; + bool advancesForGlyphIndexes(QRawFont* theWrappedObject, const unsigned int* glyphIndexes, QPointF* advances, int numGlyphs, QRawFont::LayoutFlags layoutFlags) const; + QImage alphaMapForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex, QRawFont::AntialiasingType antialiasingType = QRawFont::SubPixelAntialiasing, const QTransform& transform = QTransform()) const; + qreal ascent(QRawFont* theWrappedObject) const; + qreal averageCharWidth(QRawFont* theWrappedObject) const; + QRectF boundingRect(QRawFont* theWrappedObject, unsigned int glyphIndex) const; + qreal capHeight(QRawFont* theWrappedObject) const; + qreal descent(QRawFont* theWrappedObject) const; + QString familyName(QRawFont* theWrappedObject) const; + QByteArray fontTable(QRawFont* theWrappedObject, const char* tagName) const; + QRawFont static_QRawFont_fromFont(const QFont& font, QFontDatabase::WritingSystem writingSystem = QFontDatabase::Any); + bool glyphIndexesForChars(QRawFont* theWrappedObject, const QChar* chars, int numChars, unsigned int* glyphIndexes, int* numGlyphs) const; + QVector glyphIndexesForString(QRawFont* theWrappedObject, const QString& text) const; + QFont::HintingPreference hintingPreference(QRawFont* theWrappedObject) const; + bool isValid(QRawFont* theWrappedObject) const; + qreal leading(QRawFont* theWrappedObject) const; + qreal lineThickness(QRawFont* theWrappedObject) const; + void loadFromData(QRawFont* theWrappedObject, const QByteArray& fontData, qreal pixelSize, QFont::HintingPreference hintingPreference); + void loadFromFile(QRawFont* theWrappedObject, const QString& fileName, qreal pixelSize, QFont::HintingPreference hintingPreference); + qreal maxCharWidth(QRawFont* theWrappedObject) const; + bool __ne__(QRawFont* theWrappedObject, const QRawFont& other) const; + QRawFont* operator_assign(QRawFont* theWrappedObject, const QRawFont& other); + bool __eq__(QRawFont* theWrappedObject, const QRawFont& other) const; + QPainterPath pathForGlyph(QRawFont* theWrappedObject, unsigned int glyphIndex) const; + qreal pixelSize(QRawFont* theWrappedObject) const; + void setPixelSize(QRawFont* theWrappedObject, qreal pixelSize); + QFont::Style style(QRawFont* theWrappedObject) const; + QString styleName(QRawFont* theWrappedObject) const; + QList supportedWritingSystems(QRawFont* theWrappedObject) const; + bool supportsCharacter(QRawFont* theWrappedObject, QChar character) const; + bool supportsCharacter(QRawFont* theWrappedObject, uint ucs4) const; + void swap(QRawFont* theWrappedObject, QRawFont& other); + qreal underlinePosition(QRawFont* theWrappedObject) const; + qreal unitsPerEm(QRawFont* theWrappedObject) const; + int weight(QRawFont* theWrappedObject) const; + qreal xHeight(QRawFont* theWrappedObject) const; + bool __nonzero__(QRawFont* obj) { return obj->isValid(); } }; -class PythonQtShell_QScrollerProperties : public QScrollerProperties +class PythonQtShell_QRegExpValidator : public QRegExpValidator { public: - PythonQtShell_QScrollerProperties():QScrollerProperties(),_wrapper(nullptr) {}; - PythonQtShell_QScrollerProperties(const QScrollerProperties& sp):QScrollerProperties(sp),_wrapper(nullptr) {}; + PythonQtShell_QRegExpValidator(QObject* parent = nullptr):QRegExpValidator(parent),_wrapper(nullptr) {}; + PythonQtShell_QRegExpValidator(const QRegExp& rx, QObject* parent = nullptr):QRegExpValidator(rx, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QScrollerProperties() override; + ~PythonQtShell_QRegExpValidator() override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& arg__1) const override; +void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtWrapper_QScrollerProperties : public QObject -{ Q_OBJECT -public: -Q_ENUMS(FrameRates OvershootPolicy ScrollMetric ) -enum FrameRates{ - Standard = QScrollerProperties::Standard, Fps60 = QScrollerProperties::Fps60, Fps30 = QScrollerProperties::Fps30, Fps20 = QScrollerProperties::Fps20}; -enum OvershootPolicy{ - OvershootWhenScrollable = QScrollerProperties::OvershootWhenScrollable, OvershootAlwaysOff = QScrollerProperties::OvershootAlwaysOff, OvershootAlwaysOn = QScrollerProperties::OvershootAlwaysOn}; -enum ScrollMetric{ - MousePressEventDelay = QScrollerProperties::MousePressEventDelay, DragStartDistance = QScrollerProperties::DragStartDistance, DragVelocitySmoothingFactor = QScrollerProperties::DragVelocitySmoothingFactor, AxisLockThreshold = QScrollerProperties::AxisLockThreshold, ScrollingCurve = QScrollerProperties::ScrollingCurve, DecelerationFactor = QScrollerProperties::DecelerationFactor, MinimumVelocity = QScrollerProperties::MinimumVelocity, MaximumVelocity = QScrollerProperties::MaximumVelocity, MaximumClickThroughVelocity = QScrollerProperties::MaximumClickThroughVelocity, AcceleratingFlickMaximumTime = QScrollerProperties::AcceleratingFlickMaximumTime, AcceleratingFlickSpeedupFactor = QScrollerProperties::AcceleratingFlickSpeedupFactor, SnapPositionRatio = QScrollerProperties::SnapPositionRatio, SnapTime = QScrollerProperties::SnapTime, OvershootDragResistanceFactor = QScrollerProperties::OvershootDragResistanceFactor, OvershootDragDistanceFactor = QScrollerProperties::OvershootDragDistanceFactor, OvershootScrollDistanceFactor = QScrollerProperties::OvershootScrollDistanceFactor, OvershootScrollTime = QScrollerProperties::OvershootScrollTime, HorizontalOvershootPolicy = QScrollerProperties::HorizontalOvershootPolicy, VerticalOvershootPolicy = QScrollerProperties::VerticalOvershootPolicy, FrameRate = QScrollerProperties::FrameRate, ScrollMetricCount = QScrollerProperties::ScrollMetricCount}; -public Q_SLOTS: -QScrollerProperties* new_QScrollerProperties(); -QScrollerProperties* new_QScrollerProperties(const QScrollerProperties& sp); -void delete_QScrollerProperties(QScrollerProperties* obj) { delete obj; } - bool __ne__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const; - QScrollerProperties* operator_assign(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp); - bool __eq__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const; - QVariant scrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric) const; - void static_QScrollerProperties_setDefaultScrollerProperties(const QScrollerProperties& sp); - void setScrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric, const QVariant& value); - void static_QScrollerProperties_unsetDefaultScrollerProperties(); +class PythonQtPublicPromoter_QRegExpValidator : public QRegExpValidator +{ public: +inline QValidator::State py_q_validate(QString& input, int& pos) const { return QRegExpValidator::validate(input, pos); } }; - - - - -class PythonQtWrapper_QSessionManager : public QObject +class PythonQtWrapper_QRegExpValidator : public QObject { Q_OBJECT public: -Q_ENUMS(RestartHint ) -enum RestartHint{ - RestartIfRunning = QSessionManager::RestartIfRunning, RestartAnyway = QSessionManager::RestartAnyway, RestartImmediately = QSessionManager::RestartImmediately, RestartNever = QSessionManager::RestartNever}; public Q_SLOTS: - bool allowsErrorInteraction(QSessionManager* theWrappedObject); - bool allowsInteraction(QSessionManager* theWrappedObject); - void cancel(QSessionManager* theWrappedObject); - QStringList discardCommand(QSessionManager* theWrappedObject) const; - bool isPhase2(QSessionManager* theWrappedObject) const; - void release(QSessionManager* theWrappedObject); - void requestPhase2(QSessionManager* theWrappedObject); - QStringList restartCommand(QSessionManager* theWrappedObject) const; - QSessionManager::RestartHint restartHint(QSessionManager* theWrappedObject) const; - QString sessionId(QSessionManager* theWrappedObject) const; - QString sessionKey(QSessionManager* theWrappedObject) const; - void setDiscardCommand(QSessionManager* theWrappedObject, const QStringList& arg__1); - void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QString& value); - void setManagerProperty(QSessionManager* theWrappedObject, const QString& name, const QStringList& value); - void setRestartCommand(QSessionManager* theWrappedObject, const QStringList& arg__1); - void setRestartHint(QSessionManager* theWrappedObject, QSessionManager::RestartHint arg__1); +QRegExpValidator* new_QRegExpValidator(QObject* parent = nullptr); +QRegExpValidator* new_QRegExpValidator(const QRegExp& rx, QObject* parent = nullptr); +void delete_QRegExpValidator(QRegExpValidator* obj) { delete obj; } + const QRegExp* regExp(QRegExpValidator* theWrappedObject) const; + void setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx); + QValidator::State py_q_validate(QRegExpValidator* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QRegExpValidator*)theWrappedObject)->py_q_validate(input, pos));} }; -class PythonQtShell_QShortcut : public QShortcut +class PythonQtShell_QRegularExpressionValidator : public QRegularExpressionValidator { public: - PythonQtShell_QShortcut(QWidget* parent):QShortcut(parent),_wrapper(nullptr) {}; - PythonQtShell_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = nullptr, const char* ambiguousMember = nullptr, Qt::ShortcutContext context = Qt::WindowShortcut):QShortcut(key, parent, member, ambiguousMember, context),_wrapper(nullptr) {}; + PythonQtShell_QRegularExpressionValidator(QObject* parent = nullptr):QRegularExpressionValidator(parent),_wrapper(nullptr) {}; + PythonQtShell_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent = nullptr):QRegularExpressionValidator(re, parent),_wrapper(nullptr) {}; - ~PythonQtShell_QShortcut() override; + ~PythonQtShell_QRegularExpressionValidator() override; void childEvent(QChildEvent* event) override; void customEvent(QEvent* event) override; -bool event(QEvent* e) override; +bool event(QEvent* event) override; bool eventFilter(QObject* watched, QEvent* event) override; +void fixup(QString& arg__1) const override; void timerEvent(QTimerEvent* event) override; +QValidator::State validate(QString& input, int& pos) const override; const QMetaObject* metaObject() const override; int qt_metacall(QMetaObject::Call call, int id, void** args) override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtPublicPromoter_QShortcut : public QShortcut +class PythonQtPublicPromoter_QRegularExpressionValidator : public QRegularExpressionValidator { public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline bool py_q_event(QEvent* e) { return QShortcut::event(e); } +inline QValidator::State py_q_validate(QString& input, int& pos) const { return QRegularExpressionValidator::validate(input, pos); } }; -class PythonQtWrapper_QShortcut : public QObject +class PythonQtWrapper_QRegularExpressionValidator : public QObject { Q_OBJECT public: public Q_SLOTS: -QShortcut* new_QShortcut(QWidget* parent); -QShortcut* new_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = nullptr, const char* ambiguousMember = nullptr, Qt::ShortcutContext context = Qt::WindowShortcut); -void delete_QShortcut(QShortcut* obj) { delete obj; } - bool autoRepeat(QShortcut* theWrappedObject) const; - Qt::ShortcutContext context(QShortcut* theWrappedObject) const; - bool py_q_event(QShortcut* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QShortcut*)theWrappedObject)->py_q_event(e));} - int id(QShortcut* theWrappedObject) const; - bool isEnabled(QShortcut* theWrappedObject) const; - QKeySequence key(QShortcut* theWrappedObject) const; - QWidget* parentWidget(QShortcut* theWrappedObject) const; - void setAutoRepeat(QShortcut* theWrappedObject, bool on); - void setContext(QShortcut* theWrappedObject, Qt::ShortcutContext context); - void setEnabled(QShortcut* theWrappedObject, bool enable); - void setKey(QShortcut* theWrappedObject, const QKeySequence& key); - void setWhatsThis(QShortcut* theWrappedObject, const QString& text); - QString whatsThis(QShortcut* theWrappedObject) const; +QRegularExpressionValidator* new_QRegularExpressionValidator(QObject* parent = nullptr); +QRegularExpressionValidator* new_QRegularExpressionValidator(const QRegularExpression& re, QObject* parent = nullptr); +void delete_QRegularExpressionValidator(QRegularExpressionValidator* obj) { delete obj; } + QRegularExpression regularExpression(QRegularExpressionValidator* theWrappedObject) const; + QValidator::State py_q_validate(QRegularExpressionValidator* theWrappedObject, QString& input, int& pos) const{ return (((PythonQtPublicPromoter_QRegularExpressionValidator*)theWrappedObject)->py_q_validate(input, pos));} }; -class PythonQtShell_QShortcutEvent : public QShortcutEvent +class PythonQtShell_QResizeEvent : public QResizeEvent { public: - PythonQtShell_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false):QShortcutEvent(key, id, ambiguous),_wrapper(nullptr) {}; + PythonQtShell_QResizeEvent(const QSize& size, const QSize& oldSize):QResizeEvent(size, oldSize),_wrapper(nullptr) {}; - ~PythonQtShell_QShortcutEvent() override; + ~PythonQtShell_QResizeEvent() override; PythonQtInstanceWrapper* _wrapper; }; -class PythonQtWrapper_QShortcutEvent : public QObject +class PythonQtWrapper_QResizeEvent : public QObject { Q_OBJECT public: public Q_SLOTS: -QShortcutEvent* new_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false); -void delete_QShortcutEvent(QShortcutEvent* obj) { delete obj; } - bool isAmbiguous(QShortcutEvent* theWrappedObject) const; - const QKeySequence* key(QShortcutEvent* theWrappedObject) const; - int shortcutId(QShortcutEvent* theWrappedObject) const; +QResizeEvent* new_QResizeEvent(const QSize& size, const QSize& oldSize); +void delete_QResizeEvent(QResizeEvent* obj) { delete obj; } + const QSize* oldSize(QResizeEvent* theWrappedObject) const; + const QSize* size(QResizeEvent* theWrappedObject) const; }; -class PythonQtWrapper_QShowEvent : public QObject +class PythonQtWrapper_QRgba64 : public QObject { Q_OBJECT public: public Q_SLOTS: -QShowEvent* new_QShowEvent(); -void delete_QShowEvent(QShowEvent* obj) { delete obj; } +QRgba64* new_QRgba64(); +QRgba64* new_QRgba64(const QRgba64& other) { +QRgba64* a = new QRgba64(); +*((QRgba64*)a) = other; +return a; } +void delete_QRgba64(QRgba64* obj) { delete obj; } + unsigned short alpha(QRgba64* theWrappedObject) const; + unsigned char alpha8(QRgba64* theWrappedObject) const; + unsigned short blue(QRgba64* theWrappedObject) const; + unsigned char blue8(QRgba64* theWrappedObject) const; + QRgba64 static_QRgba64_fromArgb32(uint rgb); + QRgba64 static_QRgba64_fromRgba(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha); + QRgba64 static_QRgba64_fromRgba64(quint64 c); + QRgba64 static_QRgba64_fromRgba64(unsigned short red, unsigned short green, unsigned short blue, unsigned short alpha); + unsigned short green(QRgba64* theWrappedObject) const; + unsigned char green8(QRgba64* theWrappedObject) const; + bool isOpaque(QRgba64* theWrappedObject) const; + bool isTransparent(QRgba64* theWrappedObject) const; + QRgba64 operator_assign(QRgba64* theWrappedObject, quint64 _rgba); + QRgba64 premultiplied(QRgba64* theWrappedObject) const; + unsigned short red(QRgba64* theWrappedObject) const; + unsigned char red8(QRgba64* theWrappedObject) const; + void setAlpha(QRgba64* theWrappedObject, unsigned short _alpha); + void setBlue(QRgba64* theWrappedObject, unsigned short _blue); + void setGreen(QRgba64* theWrappedObject, unsigned short _green); + void setRed(QRgba64* theWrappedObject, unsigned short _red); + uint toArgb32(QRgba64* theWrappedObject) const; + ushort toRgb16(QRgba64* theWrappedObject) const; + QRgba64 unpremultiplied(QRgba64* theWrappedObject) const; }; diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp similarity index 79% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp index 08af7357c..5f777a0cf 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui7.cpp @@ -1,4 +1,4 @@ -#include "com_trolltech_qt_gui8.h" +#include "com_trolltech_qt_gui7.h" #include #include #include @@ -13,6 +13,10 @@ #include #include #include +#include +#include +#include +#include #include #include #include @@ -56,6 +60,7 @@ #include #include #include +#include #include #include #include @@ -69,6 +74,4386 @@ #include #include +PythonQtShell_QRubberBand::~PythonQtShell_QRubberBand() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QRubberBand::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::actionEvent(event0); +} +void PythonQtShell_QRubberBand::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::changeEvent(arg__1); +} +void PythonQtShell_QRubberBand::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::childEvent(event0); +} +void PythonQtShell_QRubberBand::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::closeEvent(event0); +} +void PythonQtShell_QRubberBand::contextMenuEvent(QContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::contextMenuEvent(event0); +} +void PythonQtShell_QRubberBand::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::customEvent(event0); +} +int PythonQtShell_QRubberBand::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::devType(); +} +void PythonQtShell_QRubberBand::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::dragEnterEvent(event0); +} +void PythonQtShell_QRubberBand::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::dragLeaveEvent(event0); +} +void PythonQtShell_QRubberBand::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::dragMoveEvent(event0); +} +void PythonQtShell_QRubberBand::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::dropEvent(event0); +} +void PythonQtShell_QRubberBand::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::enterEvent(event0); +} +bool PythonQtShell_QRubberBand::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::event(e0); +} +bool PythonQtShell_QRubberBand::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::eventFilter(watched0, event1); +} +void PythonQtShell_QRubberBand::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::focusInEvent(event0); +} +bool PythonQtShell_QRubberBand::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::focusNextPrevChild(next0); +} +void PythonQtShell_QRubberBand::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::focusOutEvent(event0); +} +bool PythonQtShell_QRubberBand::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::hasHeightForWidth(); +} +int PythonQtShell_QRubberBand::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::heightForWidth(arg__1); +} +void PythonQtShell_QRubberBand::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::hideEvent(event0); +} +void PythonQtShell_QRubberBand::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::initPainter(painter0); +} +void PythonQtShell_QRubberBand::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QRubberBand::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::inputMethodQuery(arg__1); +} +void PythonQtShell_QRubberBand::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::keyPressEvent(event0); +} +void PythonQtShell_QRubberBand::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::keyReleaseEvent(event0); +} +void PythonQtShell_QRubberBand::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::leaveEvent(event0); +} +int PythonQtShell_QRubberBand::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::metric(arg__1); +} +QSize PythonQtShell_QRubberBand::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::minimumSizeHint(); +} +void PythonQtShell_QRubberBand::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QRubberBand::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::mouseMoveEvent(event0); +} +void PythonQtShell_QRubberBand::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::mousePressEvent(event0); +} +void PythonQtShell_QRubberBand::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::mouseReleaseEvent(event0); +} +void PythonQtShell_QRubberBand::moveEvent(QMoveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::moveEvent(arg__1); +} +bool PythonQtShell_QRubberBand::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QRubberBand::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::paintEngine(); +} +void PythonQtShell_QRubberBand::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QRubberBand::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::redirected(offset0); +} +void PythonQtShell_QRubberBand::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::resizeEvent(arg__1); +} +void PythonQtShell_QRubberBand::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::setVisible(visible0); +} +QPainter* PythonQtShell_QRubberBand::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::sharedPainter(); +} +void PythonQtShell_QRubberBand::showEvent(QShowEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::showEvent(arg__1); +} +QSize PythonQtShell_QRubberBand::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QRubberBand::sizeHint(); +} +void PythonQtShell_QRubberBand::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::tabletEvent(event0); +} +void PythonQtShell_QRubberBand::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::timerEvent(event0); +} +void PythonQtShell_QRubberBand::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QRubberBand::wheelEvent(event0); +} +QRubberBand* PythonQtWrapper_QRubberBand::new_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2) +{ +return new PythonQtShell_QRubberBand(arg__1, arg__2); } + +const QMetaObject* PythonQtShell_QRubberBand::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QRubberBand::staticMetaObject); + } else { + return &QRubberBand::staticMetaObject; + } +} +int PythonQtShell_QRubberBand::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QRubberBand::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QRubberBand::initStyleOption(QRubberBand* theWrappedObject, QStyleOptionRubberBand* option) const +{ + ( ((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->promoted_initStyleOption(option)); +} + +void PythonQtWrapper_QRubberBand::move(QRubberBand* theWrappedObject, const QPoint& p) +{ + ( theWrappedObject->move(p)); +} + +void PythonQtWrapper_QRubberBand::move(QRubberBand* theWrappedObject, int x, int y) +{ + ( theWrappedObject->move(x, y)); +} + +void PythonQtWrapper_QRubberBand::resize(QRubberBand* theWrappedObject, const QSize& s) +{ + ( theWrappedObject->resize(s)); +} + +void PythonQtWrapper_QRubberBand::resize(QRubberBand* theWrappedObject, int w, int h) +{ + ( theWrappedObject->resize(w, h)); +} + +void PythonQtWrapper_QRubberBand::setGeometry(QRubberBand* theWrappedObject, const QRect& r) +{ + ( theWrappedObject->setGeometry(r)); +} + +void PythonQtWrapper_QRubberBand::setGeometry(QRubberBand* theWrappedObject, int x, int y, int w, int h) +{ + ( theWrappedObject->setGeometry(x, y, w, h)); +} + +QRubberBand::Shape PythonQtWrapper_QRubberBand::shape(QRubberBand* theWrappedObject) const +{ + return ( theWrappedObject->shape()); +} + + + +int PythonQtWrapper_QScreen::angleBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b) const +{ + return ( theWrappedObject->angleBetween(a, b)); +} + +QRect PythonQtWrapper_QScreen::availableGeometry(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->availableGeometry()); +} + +QSize PythonQtWrapper_QScreen::availableSize(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->availableSize()); +} + +QRect PythonQtWrapper_QScreen::availableVirtualGeometry(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->availableVirtualGeometry()); +} + +QSize PythonQtWrapper_QScreen::availableVirtualSize(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->availableVirtualSize()); +} + +int PythonQtWrapper_QScreen::depth(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->depth()); +} + +qreal PythonQtWrapper_QScreen::devicePixelRatio(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->devicePixelRatio()); +} + +QRect PythonQtWrapper_QScreen::geometry(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +QPixmap PythonQtWrapper_QScreen::grabWindow(QScreen* theWrappedObject, WId window, int x, int y, int w, int h) +{ + return ( theWrappedObject->grabWindow(window, x, y, w, h)); +} + +bool PythonQtWrapper_QScreen::isLandscape(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const +{ + return ( theWrappedObject->isLandscape(orientation)); +} + +bool PythonQtWrapper_QScreen::isPortrait(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const +{ + return ( theWrappedObject->isPortrait(orientation)); +} + +qreal PythonQtWrapper_QScreen::logicalDotsPerInch(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->logicalDotsPerInch()); +} + +qreal PythonQtWrapper_QScreen::logicalDotsPerInchX(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->logicalDotsPerInchX()); +} + +qreal PythonQtWrapper_QScreen::logicalDotsPerInchY(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->logicalDotsPerInchY()); +} + +QString PythonQtWrapper_QScreen::manufacturer(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->manufacturer()); +} + +QRect PythonQtWrapper_QScreen::mapBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& rect) const +{ + return ( theWrappedObject->mapBetween(a, b, rect)); +} + +QString PythonQtWrapper_QScreen::model(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +QString PythonQtWrapper_QScreen::name(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +Qt::ScreenOrientation PythonQtWrapper_QScreen::nativeOrientation(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->nativeOrientation()); +} + +Qt::ScreenOrientation PythonQtWrapper_QScreen::orientation(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +Qt::ScreenOrientations PythonQtWrapper_QScreen::orientationUpdateMask(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->orientationUpdateMask()); +} + +qreal PythonQtWrapper_QScreen::physicalDotsPerInch(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->physicalDotsPerInch()); +} + +qreal PythonQtWrapper_QScreen::physicalDotsPerInchX(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->physicalDotsPerInchX()); +} + +qreal PythonQtWrapper_QScreen::physicalDotsPerInchY(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->physicalDotsPerInchY()); +} + +QSizeF PythonQtWrapper_QScreen::physicalSize(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->physicalSize()); +} + +Qt::ScreenOrientation PythonQtWrapper_QScreen::primaryOrientation(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->primaryOrientation()); +} + +qreal PythonQtWrapper_QScreen::refreshRate(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->refreshRate()); +} + +QString PythonQtWrapper_QScreen::serialNumber(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->serialNumber()); +} + +void PythonQtWrapper_QScreen::setOrientationUpdateMask(QScreen* theWrappedObject, Qt::ScreenOrientations mask) +{ + ( theWrappedObject->setOrientationUpdateMask(mask)); +} + +QSize PythonQtWrapper_QScreen::size(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + +QTransform PythonQtWrapper_QScreen::transformBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& target) const +{ + return ( theWrappedObject->transformBetween(a, b, target)); +} + +QRect PythonQtWrapper_QScreen::virtualGeometry(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->virtualGeometry()); +} + +QList PythonQtWrapper_QScreen::virtualSiblings(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->virtualSiblings()); +} + +QSize PythonQtWrapper_QScreen::virtualSize(QScreen* theWrappedObject) const +{ + return ( theWrappedObject->virtualSize()); +} + +QString PythonQtWrapper_QScreen::py_toString(QScreen* obj) { + QString result; + QDebug d(&result); + d << obj; + return result; +} + + + +QScreenOrientationChangeEvent* PythonQtWrapper_QScreenOrientationChangeEvent::new_QScreenOrientationChangeEvent(QScreen* screen, Qt::ScreenOrientation orientation) +{ +return new QScreenOrientationChangeEvent(screen, orientation); } + +Qt::ScreenOrientation PythonQtWrapper_QScreenOrientationChangeEvent::orientation(QScreenOrientationChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->orientation()); +} + +QScreen* PythonQtWrapper_QScreenOrientationChangeEvent::screen(QScreenOrientationChangeEvent* theWrappedObject) const +{ + return ( theWrappedObject->screen()); +} + + + +PythonQtShell_QScrollArea::~PythonQtShell_QScrollArea() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QScrollArea::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::actionEvent(event0); +} +void PythonQtShell_QScrollArea::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::changeEvent(arg__1); +} +void PythonQtShell_QScrollArea::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::childEvent(event0); +} +void PythonQtShell_QScrollArea::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::closeEvent(event0); +} +void PythonQtShell_QScrollArea::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::contextMenuEvent(arg__1); +} +void PythonQtShell_QScrollArea::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::customEvent(event0); +} +int PythonQtShell_QScrollArea::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::devType(); +} +void PythonQtShell_QScrollArea::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::dragEnterEvent(arg__1); +} +void PythonQtShell_QScrollArea::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::dragLeaveEvent(arg__1); +} +void PythonQtShell_QScrollArea::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::dragMoveEvent(arg__1); +} +void PythonQtShell_QScrollArea::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::dropEvent(arg__1); +} +void PythonQtShell_QScrollArea::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::enterEvent(event0); +} +bool PythonQtShell_QScrollArea::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::event(arg__1); +} +bool PythonQtShell_QScrollArea::eventFilter(QObject* arg__1, QEvent* arg__2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::eventFilter(arg__1, arg__2); +} +void PythonQtShell_QScrollArea::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::focusInEvent(event0); +} +bool PythonQtShell_QScrollArea::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::focusNextPrevChild(next0); +} +void PythonQtShell_QScrollArea::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::focusOutEvent(event0); +} +bool PythonQtShell_QScrollArea::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::hasHeightForWidth(); +} +int PythonQtShell_QScrollArea::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::heightForWidth(arg__1); +} +void PythonQtShell_QScrollArea::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::hideEvent(event0); +} +void PythonQtShell_QScrollArea::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::initPainter(painter0); +} +void PythonQtShell_QScrollArea::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QScrollArea::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::inputMethodQuery(arg__1); +} +void PythonQtShell_QScrollArea::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::keyPressEvent(arg__1); +} +void PythonQtShell_QScrollArea::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::keyReleaseEvent(event0); +} +void PythonQtShell_QScrollArea::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::leaveEvent(event0); +} +int PythonQtShell_QScrollArea::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::metric(arg__1); +} +QSize PythonQtShell_QScrollArea::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::minimumSizeHint(); +} +void PythonQtShell_QScrollArea::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QScrollArea::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::mouseMoveEvent(arg__1); +} +void PythonQtShell_QScrollArea::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::mousePressEvent(arg__1); +} +void PythonQtShell_QScrollArea::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QScrollArea::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::moveEvent(event0); +} +bool PythonQtShell_QScrollArea::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QScrollArea::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::paintEngine(); +} +void PythonQtShell_QScrollArea::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QScrollArea::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::redirected(offset0); +} +void PythonQtShell_QScrollArea::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::resizeEvent(arg__1); +} +void PythonQtShell_QScrollArea::scrollContentsBy(int dx0, int dy1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::scrollContentsBy(dx0, dy1); +} +void PythonQtShell_QScrollArea::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::setVisible(visible0); +} +void PythonQtShell_QScrollArea::setupViewport(QWidget* viewport0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::setupViewport(viewport0); +} +QPainter* PythonQtShell_QScrollArea::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::sharedPainter(); +} +void PythonQtShell_QScrollArea::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::showEvent(event0); +} +QSize PythonQtShell_QScrollArea::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::sizeHint(); +} +void PythonQtShell_QScrollArea::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::tabletEvent(event0); +} +void PythonQtShell_QScrollArea::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::timerEvent(event0); +} +bool PythonQtShell_QScrollArea::viewportEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("viewportEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::viewportEvent(arg__1); +} +QSize PythonQtShell_QScrollArea::viewportSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("viewportSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollArea::viewportSizeHint(); +} +void PythonQtShell_QScrollArea::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollArea::wheelEvent(arg__1); +} +QScrollArea* PythonQtWrapper_QScrollArea::new_QScrollArea(QWidget* parent) +{ +return new PythonQtShell_QScrollArea(parent); } + +const QMetaObject* PythonQtShell_QScrollArea::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QScrollArea::staticMetaObject); + } else { + return &QScrollArea::staticMetaObject; + } +} +int PythonQtShell_QScrollArea::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QScrollArea::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +Qt::Alignment PythonQtWrapper_QScrollArea::alignment(QScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->alignment()); +} + +void PythonQtWrapper_QScrollArea::ensureVisible(QScrollArea* theWrappedObject, int x, int y, int xmargin, int ymargin) +{ + ( theWrappedObject->ensureVisible(x, y, xmargin, ymargin)); +} + +void PythonQtWrapper_QScrollArea::ensureWidgetVisible(QScrollArea* theWrappedObject, QWidget* childWidget, int xmargin, int ymargin) +{ + ( theWrappedObject->ensureWidgetVisible(childWidget, xmargin, ymargin)); +} + +void PythonQtWrapper_QScrollArea::setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1) +{ + ( theWrappedObject->setAlignment(arg__1)); +} + +void PythonQtWrapper_QScrollArea::setWidget(QScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->setWidget(widget)); +} + +void PythonQtWrapper_QScrollArea::setWidgetResizable(QScrollArea* theWrappedObject, bool resizable) +{ + ( theWrappedObject->setWidgetResizable(resizable)); +} + +QWidget* PythonQtWrapper_QScrollArea::takeWidget(QScrollArea* theWrappedObject) +{ + return ( theWrappedObject->takeWidget()); +} + +QWidget* PythonQtWrapper_QScrollArea::widget(QScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->widget()); +} + +bool PythonQtWrapper_QScrollArea::widgetResizable(QScrollArea* theWrappedObject) const +{ + return ( theWrappedObject->widgetResizable()); +} + + + +PythonQtShell_QScrollBar::~PythonQtShell_QScrollBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QScrollBar::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::actionEvent(event0); +} +void PythonQtShell_QScrollBar::changeEvent(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::changeEvent(e0); +} +void PythonQtShell_QScrollBar::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::childEvent(event0); +} +void PythonQtShell_QScrollBar::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::closeEvent(event0); +} +void PythonQtShell_QScrollBar::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::contextMenuEvent(arg__1); +} +void PythonQtShell_QScrollBar::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::customEvent(event0); +} +int PythonQtShell_QScrollBar::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::devType(); +} +void PythonQtShell_QScrollBar::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::dragEnterEvent(event0); +} +void PythonQtShell_QScrollBar::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::dragLeaveEvent(event0); +} +void PythonQtShell_QScrollBar::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::dragMoveEvent(event0); +} +void PythonQtShell_QScrollBar::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::dropEvent(event0); +} +void PythonQtShell_QScrollBar::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::enterEvent(event0); +} +bool PythonQtShell_QScrollBar::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::event(event0); +} +bool PythonQtShell_QScrollBar::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::eventFilter(watched0, event1); +} +void PythonQtShell_QScrollBar::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::focusInEvent(event0); +} +bool PythonQtShell_QScrollBar::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::focusNextPrevChild(next0); +} +void PythonQtShell_QScrollBar::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::focusOutEvent(event0); +} +bool PythonQtShell_QScrollBar::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::hasHeightForWidth(); +} +int PythonQtShell_QScrollBar::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::heightForWidth(arg__1); +} +void PythonQtShell_QScrollBar::hideEvent(QHideEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::hideEvent(arg__1); +} +void PythonQtShell_QScrollBar::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::initPainter(painter0); +} +void PythonQtShell_QScrollBar::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QScrollBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::inputMethodQuery(arg__1); +} +void PythonQtShell_QScrollBar::keyPressEvent(QKeyEvent* ev0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&ev0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::keyPressEvent(ev0); +} +void PythonQtShell_QScrollBar::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::keyReleaseEvent(event0); +} +void PythonQtShell_QScrollBar::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::leaveEvent(event0); +} +int PythonQtShell_QScrollBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::metric(arg__1); +} +QSize PythonQtShell_QScrollBar::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::minimumSizeHint(); +} +void PythonQtShell_QScrollBar::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QScrollBar::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::mouseMoveEvent(arg__1); +} +void PythonQtShell_QScrollBar::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::mousePressEvent(arg__1); +} +void PythonQtShell_QScrollBar::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QScrollBar::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::moveEvent(event0); +} +bool PythonQtShell_QScrollBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QScrollBar::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::paintEngine(); +} +void PythonQtShell_QScrollBar::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QScrollBar::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::redirected(offset0); +} +void PythonQtShell_QScrollBar::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::resizeEvent(event0); +} +void PythonQtShell_QScrollBar::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::setVisible(visible0); +} +QPainter* PythonQtShell_QScrollBar::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::sharedPainter(); +} +void PythonQtShell_QScrollBar::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::showEvent(event0); +} +QSize PythonQtShell_QScrollBar::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QScrollBar::sizeHint(); +} +void PythonQtShell_QScrollBar::sliderChange(QAbstractSlider::SliderChange change0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sliderChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractSlider::SliderChange"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&change0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::sliderChange(change0); +} +void PythonQtShell_QScrollBar::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::tabletEvent(event0); +} +void PythonQtShell_QScrollBar::timerEvent(QTimerEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::timerEvent(arg__1); +} +void PythonQtShell_QScrollBar::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QScrollBar::wheelEvent(arg__1); +} +QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(QWidget* parent) +{ +return new PythonQtShell_QScrollBar(parent); } + +QScrollBar* PythonQtWrapper_QScrollBar::new_QScrollBar(Qt::Orientation arg__1, QWidget* parent) +{ +return new PythonQtShell_QScrollBar(arg__1, parent); } + +const QMetaObject* PythonQtShell_QScrollBar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QScrollBar::staticMetaObject); + } else { + return &QScrollBar::staticMetaObject; + } +} +int PythonQtShell_QScrollBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QScrollBar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QScrollBar::initStyleOption(QScrollBar* theWrappedObject, QStyleOptionSlider* option) const +{ + ( ((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->promoted_initStyleOption(option)); +} + + + +QScrollEvent* PythonQtWrapper_QScrollEvent::new_QScrollEvent(const QPointF& contentPos, const QPointF& overshoot, QScrollEvent::ScrollState scrollState) +{ +return new QScrollEvent(contentPos, overshoot, scrollState); } + +QPointF PythonQtWrapper_QScrollEvent::contentPos(QScrollEvent* theWrappedObject) const +{ + return ( theWrappedObject->contentPos()); +} + +QPointF PythonQtWrapper_QScrollEvent::overshootDistance(QScrollEvent* theWrappedObject) const +{ + return ( theWrappedObject->overshootDistance()); +} + +QScrollEvent::ScrollState PythonQtWrapper_QScrollEvent::scrollState(QScrollEvent* theWrappedObject) const +{ + return ( theWrappedObject->scrollState()); +} + + + +QScrollPrepareEvent* PythonQtWrapper_QScrollPrepareEvent::new_QScrollPrepareEvent(const QPointF& startPos) +{ +return new QScrollPrepareEvent(startPos); } + +QPointF PythonQtWrapper_QScrollPrepareEvent::contentPos(QScrollPrepareEvent* theWrappedObject) const +{ + return ( theWrappedObject->contentPos()); +} + +QRectF PythonQtWrapper_QScrollPrepareEvent::contentPosRange(QScrollPrepareEvent* theWrappedObject) const +{ + return ( theWrappedObject->contentPosRange()); +} + +void PythonQtWrapper_QScrollPrepareEvent::setContentPos(QScrollPrepareEvent* theWrappedObject, const QPointF& pos) +{ + ( theWrappedObject->setContentPos(pos)); +} + +void PythonQtWrapper_QScrollPrepareEvent::setContentPosRange(QScrollPrepareEvent* theWrappedObject, const QRectF& rect) +{ + ( theWrappedObject->setContentPosRange(rect)); +} + +void PythonQtWrapper_QScrollPrepareEvent::setViewportSize(QScrollPrepareEvent* theWrappedObject, const QSizeF& size) +{ + ( theWrappedObject->setViewportSize(size)); +} + +QPointF PythonQtWrapper_QScrollPrepareEvent::startPos(QScrollPrepareEvent* theWrappedObject) const +{ + return ( theWrappedObject->startPos()); +} + +QSizeF PythonQtWrapper_QScrollPrepareEvent::viewportSize(QScrollPrepareEvent* theWrappedObject) const +{ + return ( theWrappedObject->viewportSize()); +} + + + +QList PythonQtWrapper_QScroller::static_QScroller_activeScrollers() +{ + return (QScroller::activeScrollers()); +} + +QPointF PythonQtWrapper_QScroller::finalPosition(QScroller* theWrappedObject) const +{ + return ( theWrappedObject->finalPosition()); +} + +Qt::GestureType PythonQtWrapper_QScroller::static_QScroller_grabGesture(QObject* target, QScroller::ScrollerGestureType gestureType) +{ + return (QScroller::grabGesture(target, gestureType)); +} + +Qt::GestureType PythonQtWrapper_QScroller::static_QScroller_grabbedGesture(QObject* target) +{ + return (QScroller::grabbedGesture(target)); +} + +bool PythonQtWrapper_QScroller::handleInput(QScroller* theWrappedObject, QScroller::Input input, const QPointF& position, qint64 timestamp) +{ + return ( theWrappedObject->handleInput(input, position, timestamp)); +} + +bool PythonQtWrapper_QScroller::static_QScroller_hasScroller(QObject* target) +{ + return (QScroller::hasScroller(target)); +} + +QPointF PythonQtWrapper_QScroller::pixelPerMeter(QScroller* theWrappedObject) const +{ + return ( theWrappedObject->pixelPerMeter()); +} + +QScroller* PythonQtWrapper_QScroller::static_QScroller_scroller(QObject* target) +{ + return (QScroller::scroller(target)); +} + +const QScroller* PythonQtWrapper_QScroller::static_QScroller_scroller(const QObject* target) +{ + return (QScroller::scroller(target)); +} + +QScrollerProperties PythonQtWrapper_QScroller::scrollerProperties(QScroller* theWrappedObject) const +{ + return ( theWrappedObject->scrollerProperties()); +} + +void PythonQtWrapper_QScroller::setSnapPositionsX(QScroller* theWrappedObject, const QList& positions) +{ + ( theWrappedObject->setSnapPositionsX(positions)); +} + +void PythonQtWrapper_QScroller::setSnapPositionsX(QScroller* theWrappedObject, qreal first, qreal interval) +{ + ( theWrappedObject->setSnapPositionsX(first, interval)); +} + +void PythonQtWrapper_QScroller::setSnapPositionsY(QScroller* theWrappedObject, const QList& positions) +{ + ( theWrappedObject->setSnapPositionsY(positions)); +} + +void PythonQtWrapper_QScroller::setSnapPositionsY(QScroller* theWrappedObject, qreal first, qreal interval) +{ + ( theWrappedObject->setSnapPositionsY(first, interval)); +} + +QScroller::State PythonQtWrapper_QScroller::state(QScroller* theWrappedObject) const +{ + return ( theWrappedObject->state()); +} + +void PythonQtWrapper_QScroller::stop(QScroller* theWrappedObject) +{ + ( theWrappedObject->stop()); +} + +QObject* PythonQtWrapper_QScroller::target(QScroller* theWrappedObject) const +{ + return ( theWrappedObject->target()); +} + +void PythonQtWrapper_QScroller::static_QScroller_ungrabGesture(QObject* target) +{ + (QScroller::ungrabGesture(target)); +} + +QPointF PythonQtWrapper_QScroller::velocity(QScroller* theWrappedObject) const +{ + return ( theWrappedObject->velocity()); +} + + + +PythonQtShell_QScrollerProperties::~PythonQtShell_QScrollerProperties() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QScrollerProperties* PythonQtWrapper_QScrollerProperties::new_QScrollerProperties() +{ +return new PythonQtShell_QScrollerProperties(); } + +QScrollerProperties* PythonQtWrapper_QScrollerProperties::new_QScrollerProperties(const QScrollerProperties& sp) +{ +return new PythonQtShell_QScrollerProperties(sp); } + +bool PythonQtWrapper_QScrollerProperties::__ne__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const +{ + return ( (*theWrappedObject)!= sp); +} + +QScrollerProperties* PythonQtWrapper_QScrollerProperties::operator_assign(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) +{ + return &( (*theWrappedObject)= sp); +} + +bool PythonQtWrapper_QScrollerProperties::__eq__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const +{ + return ( (*theWrappedObject)== sp); +} + +QVariant PythonQtWrapper_QScrollerProperties::scrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric) const +{ + return ( theWrappedObject->scrollMetric(metric)); +} + +void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_setDefaultScrollerProperties(const QScrollerProperties& sp) +{ + (QScrollerProperties::setDefaultScrollerProperties(sp)); +} + +void PythonQtWrapper_QScrollerProperties::setScrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric, const QVariant& value) +{ + ( theWrappedObject->setScrollMetric(metric, value)); +} + +void PythonQtWrapper_QScrollerProperties::static_QScrollerProperties_unsetDefaultScrollerProperties() +{ + (QScrollerProperties::unsetDefaultScrollerProperties()); +} + + + +PythonQtShell_QShortcut::~PythonQtShell_QShortcut() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QShortcut::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QShortcut::childEvent(event0); +} +void PythonQtShell_QShortcut::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QShortcut::customEvent(event0); +} +bool PythonQtShell_QShortcut::event(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QShortcut::event(e0); +} +bool PythonQtShell_QShortcut::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QShortcut::eventFilter(watched0, event1); +} +void PythonQtShell_QShortcut::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QShortcut::timerEvent(event0); +} +QShortcut* PythonQtWrapper_QShortcut::new_QShortcut(QWidget* parent) +{ +return new PythonQtShell_QShortcut(parent); } + +QShortcut* PythonQtWrapper_QShortcut::new_QShortcut(const QKeySequence& key, QWidget* parent, const char* member, const char* ambiguousMember, Qt::ShortcutContext context) +{ +return new PythonQtShell_QShortcut(key, parent, member, ambiguousMember, context); } + +const QMetaObject* PythonQtShell_QShortcut::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QShortcut::staticMetaObject); + } else { + return &QShortcut::staticMetaObject; + } +} +int PythonQtShell_QShortcut::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QShortcut::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QShortcut::autoRepeat(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->autoRepeat()); +} + +Qt::ShortcutContext PythonQtWrapper_QShortcut::context(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->context()); +} + +int PythonQtWrapper_QShortcut::id(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->id()); +} + +bool PythonQtWrapper_QShortcut::isEnabled(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->isEnabled()); +} + +QKeySequence PythonQtWrapper_QShortcut::key(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->key()); +} + +QWidget* PythonQtWrapper_QShortcut::parentWidget(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->parentWidget()); +} + +void PythonQtWrapper_QShortcut::setAutoRepeat(QShortcut* theWrappedObject, bool on) +{ + ( theWrappedObject->setAutoRepeat(on)); +} + +void PythonQtWrapper_QShortcut::setContext(QShortcut* theWrappedObject, Qt::ShortcutContext context) +{ + ( theWrappedObject->setContext(context)); +} + +void PythonQtWrapper_QShortcut::setEnabled(QShortcut* theWrappedObject, bool enable) +{ + ( theWrappedObject->setEnabled(enable)); +} + +void PythonQtWrapper_QShortcut::setKey(QShortcut* theWrappedObject, const QKeySequence& key) +{ + ( theWrappedObject->setKey(key)); +} + +void PythonQtWrapper_QShortcut::setWhatsThis(QShortcut* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setWhatsThis(text)); +} + +QString PythonQtWrapper_QShortcut::whatsThis(QShortcut* theWrappedObject) const +{ + return ( theWrappedObject->whatsThis()); +} + + + +PythonQtShell_QShortcutEvent::~PythonQtShell_QShortcutEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QShortcutEvent* PythonQtWrapper_QShortcutEvent::new_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous) +{ +return new PythonQtShell_QShortcutEvent(key, id, ambiguous); } + +bool PythonQtWrapper_QShortcutEvent::isAmbiguous(QShortcutEvent* theWrappedObject) const +{ + return ( theWrappedObject->isAmbiguous()); +} + +const QKeySequence* PythonQtWrapper_QShortcutEvent::key(QShortcutEvent* theWrappedObject) const +{ + return &( theWrappedObject->key()); +} + +int PythonQtWrapper_QShortcutEvent::shortcutId(QShortcutEvent* theWrappedObject) const +{ + return ( theWrappedObject->shortcutId()); +} + + + +QShowEvent* PythonQtWrapper_QShowEvent::new_QShowEvent() +{ +return new QShowEvent(); } + + + PythonQtShell_QSizeGrip::~PythonQtShell_QSizeGrip() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } @@ -16458,316 +20843,3 @@ QStringList PythonQtWrapper_QStyleFactory::static_QStyleFactory_keys() } - -PythonQtShell_QStyleHintReturn::~PythonQtShell_QStyleHintReturn() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleHintReturn* PythonQtWrapper_QStyleHintReturn::new_QStyleHintReturn(int version, int type) -{ -return new PythonQtShell_QStyleHintReturn(version, type); } - - - -PythonQtShell_QStyleHintReturnMask::~PythonQtShell_QStyleHintReturnMask() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleHintReturnMask* PythonQtWrapper_QStyleHintReturnMask::new_QStyleHintReturnMask() -{ -return new PythonQtShell_QStyleHintReturnMask(); } - - - -PythonQtShell_QStyleHintReturnVariant::~PythonQtShell_QStyleHintReturnVariant() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleHintReturnVariant* PythonQtWrapper_QStyleHintReturnVariant::new_QStyleHintReturnVariant() -{ -return new PythonQtShell_QStyleHintReturnVariant(); } - - - -int PythonQtWrapper_QStyleHints::cursorFlashTime(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->cursorFlashTime()); -} - -qreal PythonQtWrapper_QStyleHints::fontSmoothingGamma(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->fontSmoothingGamma()); -} - -int PythonQtWrapper_QStyleHints::keyboardAutoRepeatRate(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->keyboardAutoRepeatRate()); -} - -int PythonQtWrapper_QStyleHints::keyboardInputInterval(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->keyboardInputInterval()); -} - -int PythonQtWrapper_QStyleHints::mouseDoubleClickInterval(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->mouseDoubleClickInterval()); -} - -int PythonQtWrapper_QStyleHints::mousePressAndHoldInterval(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->mousePressAndHoldInterval()); -} - -QChar PythonQtWrapper_QStyleHints::passwordMaskCharacter(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->passwordMaskCharacter()); -} - -int PythonQtWrapper_QStyleHints::passwordMaskDelay(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->passwordMaskDelay()); -} - -void PythonQtWrapper_QStyleHints::setCursorFlashTime(QStyleHints* theWrappedObject, int cursorFlashTime) -{ - ( theWrappedObject->setCursorFlashTime(cursorFlashTime)); -} - -bool PythonQtWrapper_QStyleHints::setFocusOnTouchRelease(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->setFocusOnTouchRelease()); -} - -void PythonQtWrapper_QStyleHints::setKeyboardInputInterval(QStyleHints* theWrappedObject, int keyboardInputInterval) -{ - ( theWrappedObject->setKeyboardInputInterval(keyboardInputInterval)); -} - -void PythonQtWrapper_QStyleHints::setMouseDoubleClickInterval(QStyleHints* theWrappedObject, int mouseDoubleClickInterval) -{ - ( theWrappedObject->setMouseDoubleClickInterval(mouseDoubleClickInterval)); -} - -void PythonQtWrapper_QStyleHints::setMousePressAndHoldInterval(QStyleHints* theWrappedObject, int mousePressAndHoldInterval) -{ - ( theWrappedObject->setMousePressAndHoldInterval(mousePressAndHoldInterval)); -} - -void PythonQtWrapper_QStyleHints::setStartDragDistance(QStyleHints* theWrappedObject, int startDragDistance) -{ - ( theWrappedObject->setStartDragDistance(startDragDistance)); -} - -void PythonQtWrapper_QStyleHints::setStartDragTime(QStyleHints* theWrappedObject, int startDragTime) -{ - ( theWrappedObject->setStartDragTime(startDragTime)); -} - -void PythonQtWrapper_QStyleHints::setTabFocusBehavior(QStyleHints* theWrappedObject, Qt::TabFocusBehavior tabFocusBehavior) -{ - ( theWrappedObject->setTabFocusBehavior(tabFocusBehavior)); -} - -void PythonQtWrapper_QStyleHints::setUseHoverEffects(QStyleHints* theWrappedObject, bool useHoverEffects) -{ - ( theWrappedObject->setUseHoverEffects(useHoverEffects)); -} - -void PythonQtWrapper_QStyleHints::setWheelScrollLines(QStyleHints* theWrappedObject, int scrollLines) -{ - ( theWrappedObject->setWheelScrollLines(scrollLines)); -} - -bool PythonQtWrapper_QStyleHints::showIsFullScreen(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->showIsFullScreen()); -} - -bool PythonQtWrapper_QStyleHints::showIsMaximized(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->showIsMaximized()); -} - -bool PythonQtWrapper_QStyleHints::showShortcutsInContextMenus(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->showShortcutsInContextMenus()); -} - -bool PythonQtWrapper_QStyleHints::singleClickActivation(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->singleClickActivation()); -} - -int PythonQtWrapper_QStyleHints::startDragDistance(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->startDragDistance()); -} - -int PythonQtWrapper_QStyleHints::startDragTime(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->startDragTime()); -} - -int PythonQtWrapper_QStyleHints::startDragVelocity(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->startDragVelocity()); -} - -Qt::TabFocusBehavior PythonQtWrapper_QStyleHints::tabFocusBehavior(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->tabFocusBehavior()); -} - -bool PythonQtWrapper_QStyleHints::useHoverEffects(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->useHoverEffects()); -} - -bool PythonQtWrapper_QStyleHints::useRtlExtensions(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->useRtlExtensions()); -} - -int PythonQtWrapper_QStyleHints::wheelScrollLines(QStyleHints* theWrappedObject) const -{ - return ( theWrappedObject->wheelScrollLines()); -} - - - -PythonQtShell_QStyleOption::~PythonQtShell_QStyleOption() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOption* PythonQtWrapper_QStyleOption::new_QStyleOption(const QStyleOption& other) -{ -return new PythonQtShell_QStyleOption(other); } - -QStyleOption* PythonQtWrapper_QStyleOption::new_QStyleOption(int version, int type) -{ -return new PythonQtShell_QStyleOption(version, type); } - -void PythonQtWrapper_QStyleOption::initFrom(QStyleOption* theWrappedObject, const QWidget* w) -{ - ( theWrappedObject->initFrom(w)); -} - -QString PythonQtWrapper_QStyleOption::py_toString(QStyleOption* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -PythonQtShell_QStyleOptionButton::~PythonQtShell_QStyleOptionButton() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton() -{ -return new PythonQtShell_QStyleOptionButton(); } - -QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton(const QStyleOptionButton& other) -{ -return new PythonQtShell_QStyleOptionButton(other); } - -QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton(int version) -{ -return new PythonQtShell_QStyleOptionButton(version); } - - - -PythonQtShell_QStyleOptionComboBox::~PythonQtShell_QStyleOptionComboBox() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox() -{ -return new PythonQtShell_QStyleOptionComboBox(); } - -QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox(const QStyleOptionComboBox& other) -{ -return new PythonQtShell_QStyleOptionComboBox(other); } - -QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox(int version) -{ -return new PythonQtShell_QStyleOptionComboBox(version); } - - - -PythonQtShell_QStyleOptionDockWidget::~PythonQtShell_QStyleOptionDockWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget() -{ -return new PythonQtShell_QStyleOptionDockWidget(); } - -QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other) -{ -return new PythonQtShell_QStyleOptionDockWidget(other); } - -QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget(int version) -{ -return new PythonQtShell_QStyleOptionDockWidget(version); } - - - -PythonQtShell_QStyleOptionDockWidgetV2::~PythonQtShell_QStyleOptionDockWidgetV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionDockWidgetV2* PythonQtWrapper_QStyleOptionDockWidgetV2::new_QStyleOptionDockWidgetV2() -{ -return new PythonQtShell_QStyleOptionDockWidgetV2(); } - - - -PythonQtShell_QStyleOptionFocusRect::~PythonQtShell_QStyleOptionFocusRect() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect() -{ -return new PythonQtShell_QStyleOptionFocusRect(); } - -QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other) -{ -return new PythonQtShell_QStyleOptionFocusRect(other); } - -QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect(int version) -{ -return new PythonQtShell_QStyleOptionFocusRect(version); } - - - -PythonQtShell_QStyleOptionFrame::~PythonQtShell_QStyleOptionFrame() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame() -{ -return new PythonQtShell_QStyleOptionFrame(); } - -QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame(const QStyleOptionFrame& other) -{ -return new PythonQtShell_QStyleOptionFrame(other); } - -QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame(int version) -{ -return new PythonQtShell_QStyleOptionFrame(version); } - - - -PythonQtShell_QStyleOptionFrameV2::~PythonQtShell_QStyleOptionFrameV2() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV2() -{ -return new PythonQtShell_QStyleOptionFrameV2(); } - - diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui8.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui7.h similarity index 80% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui8.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui7.h index 18c808d75..655825492 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui8.h +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui7.h @@ -11,6 +11,12 @@ #include #include #include +#include +#include +#include +#include +#include +#include #include #include #include @@ -55,13 +61,13 @@ #include #include #include +#include #include #include #include #include #include #include -#include #include #include #include @@ -71,6 +77,582 @@ +class PythonQtShell_QRubberBand : public QRubberBand +{ +public: + PythonQtShell_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2 = nullptr):QRubberBand(arg__1, arg__2),_wrapper(nullptr) {}; + + ~PythonQtShell_QRubberBand() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* arg__1) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* arg__1) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QRubberBand : public QRubberBand +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline void promoted_initStyleOption(QStyleOptionRubberBand* option) const { this->initStyleOption(option); } +inline void promoted_moveEvent(QMoveEvent* arg__1) { this->moveEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QRubberBand::changeEvent(arg__1); } +inline bool py_q_event(QEvent* e) { return QRubberBand::event(e); } +inline void py_q_moveEvent(QMoveEvent* arg__1) { QRubberBand::moveEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QRubberBand::paintEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QRubberBand::resizeEvent(arg__1); } +inline void py_q_showEvent(QShowEvent* arg__1) { QRubberBand::showEvent(arg__1); } +}; + +class PythonQtWrapper_QRubberBand : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Shape ) +enum Shape{ + Line = QRubberBand::Line, Rectangle = QRubberBand::Rectangle}; +public Q_SLOTS: +QRubberBand* new_QRubberBand(QRubberBand::Shape arg__1, QWidget* arg__2 = nullptr); +void delete_QRubberBand(QRubberBand* obj) { delete obj; } + void py_q_changeEvent(QRubberBand* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_changeEvent(arg__1));} + bool py_q_event(QRubberBand* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_event(e));} + void initStyleOption(QRubberBand* theWrappedObject, QStyleOptionRubberBand* option) const; + void move(QRubberBand* theWrappedObject, const QPoint& p); + void move(QRubberBand* theWrappedObject, int x, int y); + void py_q_moveEvent(QRubberBand* theWrappedObject, QMoveEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_moveEvent(arg__1));} + void py_q_paintEvent(QRubberBand* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_paintEvent(arg__1));} + void resize(QRubberBand* theWrappedObject, const QSize& s); + void resize(QRubberBand* theWrappedObject, int w, int h); + void py_q_resizeEvent(QRubberBand* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_resizeEvent(arg__1));} + void setGeometry(QRubberBand* theWrappedObject, const QRect& r); + void setGeometry(QRubberBand* theWrappedObject, int x, int y, int w, int h); + QRubberBand::Shape shape(QRubberBand* theWrappedObject) const; + void py_q_showEvent(QRubberBand* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QRubberBand*)theWrappedObject)->py_q_showEvent(arg__1));} +}; + + + + + +class PythonQtWrapper_QScreen : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +void delete_QScreen(QScreen* obj) { delete obj; } + int angleBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b) const; + QRect availableGeometry(QScreen* theWrappedObject) const; + QSize availableSize(QScreen* theWrappedObject) const; + QRect availableVirtualGeometry(QScreen* theWrappedObject) const; + QSize availableVirtualSize(QScreen* theWrappedObject) const; + int depth(QScreen* theWrappedObject) const; + qreal devicePixelRatio(QScreen* theWrappedObject) const; + QRect geometry(QScreen* theWrappedObject) const; + QPixmap grabWindow(QScreen* theWrappedObject, WId window, int x = 0, int y = 0, int w = -1, int h = -1); + bool isLandscape(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const; + bool isPortrait(QScreen* theWrappedObject, Qt::ScreenOrientation orientation) const; + qreal logicalDotsPerInch(QScreen* theWrappedObject) const; + qreal logicalDotsPerInchX(QScreen* theWrappedObject) const; + qreal logicalDotsPerInchY(QScreen* theWrappedObject) const; + QString manufacturer(QScreen* theWrappedObject) const; + QRect mapBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& rect) const; + QString model(QScreen* theWrappedObject) const; + QString name(QScreen* theWrappedObject) const; + Qt::ScreenOrientation nativeOrientation(QScreen* theWrappedObject) const; + Qt::ScreenOrientation orientation(QScreen* theWrappedObject) const; + Qt::ScreenOrientations orientationUpdateMask(QScreen* theWrappedObject) const; + qreal physicalDotsPerInch(QScreen* theWrappedObject) const; + qreal physicalDotsPerInchX(QScreen* theWrappedObject) const; + qreal physicalDotsPerInchY(QScreen* theWrappedObject) const; + QSizeF physicalSize(QScreen* theWrappedObject) const; + Qt::ScreenOrientation primaryOrientation(QScreen* theWrappedObject) const; + qreal refreshRate(QScreen* theWrappedObject) const; + QString serialNumber(QScreen* theWrappedObject) const; + void setOrientationUpdateMask(QScreen* theWrappedObject, Qt::ScreenOrientations mask); + QSize size(QScreen* theWrappedObject) const; + QTransform transformBetween(QScreen* theWrappedObject, Qt::ScreenOrientation a, Qt::ScreenOrientation b, const QRect& target) const; + QRect virtualGeometry(QScreen* theWrappedObject) const; + QList virtualSiblings(QScreen* theWrappedObject) const; + QSize virtualSize(QScreen* theWrappedObject) const; + QString py_toString(QScreen*); +}; + + + + + +class PythonQtWrapper_QScreenOrientationChangeEvent : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QScreenOrientationChangeEvent* new_QScreenOrientationChangeEvent(QScreen* screen, Qt::ScreenOrientation orientation); +void delete_QScreenOrientationChangeEvent(QScreenOrientationChangeEvent* obj) { delete obj; } + Qt::ScreenOrientation orientation(QScreenOrientationChangeEvent* theWrappedObject) const; + QScreen* screen(QScreenOrientationChangeEvent* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QScrollArea : public QScrollArea +{ +public: + PythonQtShell_QScrollArea(QWidget* parent = nullptr):QScrollArea(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QScrollArea() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* arg__1, QEvent* arg__2) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void scrollContentsBy(int dx, int dy) override; +void setVisible(bool visible) override; +void setupViewport(QWidget* viewport) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +bool viewportEvent(QEvent* arg__1) override; +QSize viewportSizeHint() const override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QScrollArea : public QScrollArea +{ public: +inline bool promoted_event(QEvent* arg__1) { return this->event(arg__1); } +inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return this->eventFilter(arg__1, arg__2); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } +inline QSize promoted_viewportSizeHint() const { return this->viewportSizeHint(); } +inline bool py_q_event(QEvent* arg__1) { return QScrollArea::event(arg__1); } +inline bool py_q_eventFilter(QObject* arg__1, QEvent* arg__2) { return QScrollArea::eventFilter(arg__1, arg__2); } +inline bool py_q_focusNextPrevChild(bool next) { return QScrollArea::focusNextPrevChild(next); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QScrollArea::resizeEvent(arg__1); } +inline void py_q_scrollContentsBy(int dx, int dy) { QScrollArea::scrollContentsBy(dx, dy); } +inline QSize py_q_sizeHint() const { return QScrollArea::sizeHint(); } +inline QSize py_q_viewportSizeHint() const { return QScrollArea::viewportSizeHint(); } +}; + +class PythonQtWrapper_QScrollArea : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QScrollArea* new_QScrollArea(QWidget* parent = nullptr); +void delete_QScrollArea(QScrollArea* obj) { delete obj; } + Qt::Alignment alignment(QScrollArea* theWrappedObject) const; + void ensureVisible(QScrollArea* theWrappedObject, int x, int y, int xmargin = 50, int ymargin = 50); + void ensureWidgetVisible(QScrollArea* theWrappedObject, QWidget* childWidget, int xmargin = 50, int ymargin = 50); + bool py_q_event(QScrollArea* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_event(arg__1));} + bool py_q_eventFilter(QScrollArea* theWrappedObject, QObject* arg__1, QEvent* arg__2){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_eventFilter(arg__1, arg__2));} + bool py_q_focusNextPrevChild(QScrollArea* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_resizeEvent(QScrollArea* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_resizeEvent(arg__1));} + void py_q_scrollContentsBy(QScrollArea* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_scrollContentsBy(dx, dy));} + void setAlignment(QScrollArea* theWrappedObject, Qt::Alignment arg__1); + void setWidget(QScrollArea* theWrappedObject, PythonQtPassOwnershipToCPP widget); + void setWidgetResizable(QScrollArea* theWrappedObject, bool resizable); + QSize py_q_sizeHint(QScrollArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_sizeHint());} + QWidget* takeWidget(QScrollArea* theWrappedObject); + QSize py_q_viewportSizeHint(QScrollArea* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollArea*)theWrappedObject)->py_q_viewportSizeHint());} + QWidget* widget(QScrollArea* theWrappedObject) const; + bool widgetResizable(QScrollArea* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QScrollBar : public QScrollBar +{ +public: + PythonQtShell_QScrollBar(QWidget* parent = nullptr):QScrollBar(parent),_wrapper(nullptr) {}; + PythonQtShell_QScrollBar(Qt::Orientation arg__1, QWidget* parent = nullptr):QScrollBar(arg__1, parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QScrollBar() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* e) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* arg__1) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* ev) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void sliderChange(QAbstractSlider::SliderChange change) override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* arg__1) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QScrollBar : public QScrollBar +{ public: +inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { this->contextMenuEvent(arg__1); } +inline void promoted_hideEvent(QHideEvent* arg__1) { this->hideEvent(arg__1); } +inline void promoted_initStyleOption(QStyleOptionSlider* option) const { this->initStyleOption(option); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_sliderChange(int change) { this->sliderChange((QAbstractSlider::SliderChange)change); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } +inline void py_q_contextMenuEvent(QContextMenuEvent* arg__1) { QScrollBar::contextMenuEvent(arg__1); } +inline bool py_q_event(QEvent* event) { return QScrollBar::event(event); } +inline void py_q_hideEvent(QHideEvent* arg__1) { QScrollBar::hideEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QScrollBar::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QScrollBar::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QScrollBar::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QScrollBar::paintEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QScrollBar::sizeHint(); } +inline void py_q_sliderChange(int change) { QScrollBar::sliderChange((QAbstractSlider::SliderChange)change); } +inline void py_q_wheelEvent(QWheelEvent* arg__1) { QScrollBar::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QScrollBar : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QScrollBar* new_QScrollBar(QWidget* parent = nullptr); +QScrollBar* new_QScrollBar(Qt::Orientation arg__1, QWidget* parent = nullptr); +void delete_QScrollBar(QScrollBar* obj) { delete obj; } + void py_q_contextMenuEvent(QScrollBar* theWrappedObject, QContextMenuEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_contextMenuEvent(arg__1));} + bool py_q_event(QScrollBar* theWrappedObject, QEvent* event){ return (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_event(event));} + void py_q_hideEvent(QScrollBar* theWrappedObject, QHideEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_hideEvent(arg__1));} + void initStyleOption(QScrollBar* theWrappedObject, QStyleOptionSlider* option) const; + void py_q_mouseMoveEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QScrollBar* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + void py_q_paintEvent(QScrollBar* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_paintEvent(arg__1));} + QSize py_q_sizeHint(QScrollBar* theWrappedObject) const{ return (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_sizeHint());} + void py_q_sliderChange(QScrollBar* theWrappedObject, int change){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_sliderChange(change));} + void py_q_wheelEvent(QScrollBar* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QScrollBar*)theWrappedObject)->py_q_wheelEvent(arg__1));} +}; + + + + + +class PythonQtWrapper_QScrollEvent : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ScrollState ) +enum ScrollState{ + ScrollStarted = QScrollEvent::ScrollStarted, ScrollUpdated = QScrollEvent::ScrollUpdated, ScrollFinished = QScrollEvent::ScrollFinished}; +public Q_SLOTS: +QScrollEvent* new_QScrollEvent(const QPointF& contentPos, const QPointF& overshoot, QScrollEvent::ScrollState scrollState); +void delete_QScrollEvent(QScrollEvent* obj) { delete obj; } + QPointF contentPos(QScrollEvent* theWrappedObject) const; + QPointF overshootDistance(QScrollEvent* theWrappedObject) const; + QScrollEvent::ScrollState scrollState(QScrollEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QScrollPrepareEvent : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QScrollPrepareEvent* new_QScrollPrepareEvent(const QPointF& startPos); +void delete_QScrollPrepareEvent(QScrollPrepareEvent* obj) { delete obj; } + QPointF contentPos(QScrollPrepareEvent* theWrappedObject) const; + QRectF contentPosRange(QScrollPrepareEvent* theWrappedObject) const; + void setContentPos(QScrollPrepareEvent* theWrappedObject, const QPointF& pos); + void setContentPosRange(QScrollPrepareEvent* theWrappedObject, const QRectF& rect); + void setViewportSize(QScrollPrepareEvent* theWrappedObject, const QSizeF& size); + QPointF startPos(QScrollPrepareEvent* theWrappedObject) const; + QSizeF viewportSize(QScrollPrepareEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QScroller : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Input ScrollerGestureType ) +enum Input{ + InputPress = QScroller::InputPress, InputMove = QScroller::InputMove, InputRelease = QScroller::InputRelease}; +enum ScrollerGestureType{ + TouchGesture = QScroller::TouchGesture, LeftMouseButtonGesture = QScroller::LeftMouseButtonGesture, RightMouseButtonGesture = QScroller::RightMouseButtonGesture, MiddleMouseButtonGesture = QScroller::MiddleMouseButtonGesture}; +public Q_SLOTS: + QList static_QScroller_activeScrollers(); + QPointF finalPosition(QScroller* theWrappedObject) const; + Qt::GestureType static_QScroller_grabGesture(QObject* target, QScroller::ScrollerGestureType gestureType = QScroller::TouchGesture); + Qt::GestureType static_QScroller_grabbedGesture(QObject* target); + bool handleInput(QScroller* theWrappedObject, QScroller::Input input, const QPointF& position, qint64 timestamp = 0); + bool static_QScroller_hasScroller(QObject* target); + QPointF pixelPerMeter(QScroller* theWrappedObject) const; + QScroller* static_QScroller_scroller(QObject* target); + const QScroller* static_QScroller_scroller(const QObject* target); + QScrollerProperties scrollerProperties(QScroller* theWrappedObject) const; + void setSnapPositionsX(QScroller* theWrappedObject, const QList& positions); + void setSnapPositionsX(QScroller* theWrappedObject, qreal first, qreal interval); + void setSnapPositionsY(QScroller* theWrappedObject, const QList& positions); + void setSnapPositionsY(QScroller* theWrappedObject, qreal first, qreal interval); + QScroller::State state(QScroller* theWrappedObject) const; + void stop(QScroller* theWrappedObject); + QObject* target(QScroller* theWrappedObject) const; + void static_QScroller_ungrabGesture(QObject* target); + QPointF velocity(QScroller* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QScrollerProperties : public QScrollerProperties +{ +public: + PythonQtShell_QScrollerProperties():QScrollerProperties(),_wrapper(nullptr) {}; + PythonQtShell_QScrollerProperties(const QScrollerProperties& sp):QScrollerProperties(sp),_wrapper(nullptr) {}; + + ~PythonQtShell_QScrollerProperties() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QScrollerProperties : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FrameRates OvershootPolicy ScrollMetric ) +enum FrameRates{ + Standard = QScrollerProperties::Standard, Fps60 = QScrollerProperties::Fps60, Fps30 = QScrollerProperties::Fps30, Fps20 = QScrollerProperties::Fps20}; +enum OvershootPolicy{ + OvershootWhenScrollable = QScrollerProperties::OvershootWhenScrollable, OvershootAlwaysOff = QScrollerProperties::OvershootAlwaysOff, OvershootAlwaysOn = QScrollerProperties::OvershootAlwaysOn}; +enum ScrollMetric{ + MousePressEventDelay = QScrollerProperties::MousePressEventDelay, DragStartDistance = QScrollerProperties::DragStartDistance, DragVelocitySmoothingFactor = QScrollerProperties::DragVelocitySmoothingFactor, AxisLockThreshold = QScrollerProperties::AxisLockThreshold, ScrollingCurve = QScrollerProperties::ScrollingCurve, DecelerationFactor = QScrollerProperties::DecelerationFactor, MinimumVelocity = QScrollerProperties::MinimumVelocity, MaximumVelocity = QScrollerProperties::MaximumVelocity, MaximumClickThroughVelocity = QScrollerProperties::MaximumClickThroughVelocity, AcceleratingFlickMaximumTime = QScrollerProperties::AcceleratingFlickMaximumTime, AcceleratingFlickSpeedupFactor = QScrollerProperties::AcceleratingFlickSpeedupFactor, SnapPositionRatio = QScrollerProperties::SnapPositionRatio, SnapTime = QScrollerProperties::SnapTime, OvershootDragResistanceFactor = QScrollerProperties::OvershootDragResistanceFactor, OvershootDragDistanceFactor = QScrollerProperties::OvershootDragDistanceFactor, OvershootScrollDistanceFactor = QScrollerProperties::OvershootScrollDistanceFactor, OvershootScrollTime = QScrollerProperties::OvershootScrollTime, HorizontalOvershootPolicy = QScrollerProperties::HorizontalOvershootPolicy, VerticalOvershootPolicy = QScrollerProperties::VerticalOvershootPolicy, FrameRate = QScrollerProperties::FrameRate, ScrollMetricCount = QScrollerProperties::ScrollMetricCount}; +public Q_SLOTS: +QScrollerProperties* new_QScrollerProperties(); +QScrollerProperties* new_QScrollerProperties(const QScrollerProperties& sp); +void delete_QScrollerProperties(QScrollerProperties* obj) { delete obj; } + bool __ne__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const; + QScrollerProperties* operator_assign(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp); + bool __eq__(QScrollerProperties* theWrappedObject, const QScrollerProperties& sp) const; + QVariant scrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric) const; + void static_QScrollerProperties_setDefaultScrollerProperties(const QScrollerProperties& sp); + void setScrollMetric(QScrollerProperties* theWrappedObject, QScrollerProperties::ScrollMetric metric, const QVariant& value); + void static_QScrollerProperties_unsetDefaultScrollerProperties(); +}; + + + + + +class PythonQtShell_QShortcut : public QShortcut +{ +public: + PythonQtShell_QShortcut(QWidget* parent):QShortcut(parent),_wrapper(nullptr) {}; + PythonQtShell_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = nullptr, const char* ambiguousMember = nullptr, Qt::ShortcutContext context = Qt::WindowShortcut):QShortcut(key, parent, member, ambiguousMember, context),_wrapper(nullptr) {}; + + ~PythonQtShell_QShortcut() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* e) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QShortcut : public QShortcut +{ public: +inline bool promoted_event(QEvent* e) { return this->event(e); } +inline bool py_q_event(QEvent* e) { return QShortcut::event(e); } +}; + +class PythonQtWrapper_QShortcut : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QShortcut* new_QShortcut(QWidget* parent); +QShortcut* new_QShortcut(const QKeySequence& key, QWidget* parent, const char* member = nullptr, const char* ambiguousMember = nullptr, Qt::ShortcutContext context = Qt::WindowShortcut); +void delete_QShortcut(QShortcut* obj) { delete obj; } + bool autoRepeat(QShortcut* theWrappedObject) const; + Qt::ShortcutContext context(QShortcut* theWrappedObject) const; + bool py_q_event(QShortcut* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QShortcut*)theWrappedObject)->py_q_event(e));} + int id(QShortcut* theWrappedObject) const; + bool isEnabled(QShortcut* theWrappedObject) const; + QKeySequence key(QShortcut* theWrappedObject) const; + QWidget* parentWidget(QShortcut* theWrappedObject) const; + void setAutoRepeat(QShortcut* theWrappedObject, bool on); + void setContext(QShortcut* theWrappedObject, Qt::ShortcutContext context); + void setEnabled(QShortcut* theWrappedObject, bool enable); + void setKey(QShortcut* theWrappedObject, const QKeySequence& key); + void setWhatsThis(QShortcut* theWrappedObject, const QString& text); + QString whatsThis(QShortcut* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QShortcutEvent : public QShortcutEvent +{ +public: + PythonQtShell_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false):QShortcutEvent(key, id, ambiguous),_wrapper(nullptr) {}; + + ~PythonQtShell_QShortcutEvent() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QShortcutEvent : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QShortcutEvent* new_QShortcutEvent(const QKeySequence& key, int id, bool ambiguous = false); +void delete_QShortcutEvent(QShortcutEvent* obj) { delete obj; } + bool isAmbiguous(QShortcutEvent* theWrappedObject) const; + const QKeySequence* key(QShortcutEvent* theWrappedObject) const; + int shortcutId(QShortcutEvent* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QShowEvent : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QShowEvent* new_QShowEvent(); +void delete_QShowEvent(QShowEvent* obj) { delete obj; } +}; + + + + + class PythonQtShell_QSizeGrip : public QSizeGrip { public: @@ -1749,449 +2331,3 @@ void delete_QStyleFactory(QStyleFactory* obj) { delete obj; } }; - - - -class PythonQtShell_QStyleHintReturn : public QStyleHintReturn -{ -public: - PythonQtShell_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default):QStyleHintReturn(version, type),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleHintReturn(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleHintReturn : public QObject -{ Q_OBJECT -public: -Q_ENUMS(HintReturnType StyleOptionType StyleOptionVersion ) -enum HintReturnType{ - SH_Default = QStyleHintReturn::SH_Default, SH_Mask = QStyleHintReturn::SH_Mask, SH_Variant = QStyleHintReturn::SH_Variant}; -enum StyleOptionType{ - Type = QStyleHintReturn::Type}; -enum StyleOptionVersion{ - Version = QStyleHintReturn::Version}; -public Q_SLOTS: -QStyleHintReturn* new_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default); -void delete_QStyleHintReturn(QStyleHintReturn* obj) { delete obj; } -void py_set_type(QStyleHintReturn* theWrappedObject, int type){ theWrappedObject->type = type; } -int py_get_type(QStyleHintReturn* theWrappedObject){ return theWrappedObject->type; } -void py_set_version(QStyleHintReturn* theWrappedObject, int version){ theWrappedObject->version = version; } -int py_get_version(QStyleHintReturn* theWrappedObject){ return theWrappedObject->version; } -}; - - - - - -class PythonQtShell_QStyleHintReturnMask : public QStyleHintReturnMask -{ -public: - PythonQtShell_QStyleHintReturnMask():QStyleHintReturnMask(),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleHintReturnMask(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleHintReturnMask : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionType StyleOptionVersion ) -enum StyleOptionType{ - Type = QStyleHintReturnMask::Type}; -enum StyleOptionVersion{ - Version = QStyleHintReturnMask::Version}; -public Q_SLOTS: -QStyleHintReturnMask* new_QStyleHintReturnMask(); -void delete_QStyleHintReturnMask(QStyleHintReturnMask* obj) { delete obj; } -void py_set_region(QStyleHintReturnMask* theWrappedObject, QRegion region){ theWrappedObject->region = region; } -QRegion py_get_region(QStyleHintReturnMask* theWrappedObject){ return theWrappedObject->region; } -}; - - - - - -class PythonQtShell_QStyleHintReturnVariant : public QStyleHintReturnVariant -{ -public: - PythonQtShell_QStyleHintReturnVariant():QStyleHintReturnVariant(),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleHintReturnVariant(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleHintReturnVariant : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionType StyleOptionVersion ) -enum StyleOptionType{ - Type = QStyleHintReturnVariant::Type}; -enum StyleOptionVersion{ - Version = QStyleHintReturnVariant::Version}; -public Q_SLOTS: -QStyleHintReturnVariant* new_QStyleHintReturnVariant(); -void delete_QStyleHintReturnVariant(QStyleHintReturnVariant* obj) { delete obj; } -void py_set_variant(QStyleHintReturnVariant* theWrappedObject, QVariant variant){ theWrappedObject->variant = variant; } -QVariant py_get_variant(QStyleHintReturnVariant* theWrappedObject){ return theWrappedObject->variant; } -}; - - - - - -class PythonQtWrapper_QStyleHints : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -void delete_QStyleHints(QStyleHints* obj) { delete obj; } - int cursorFlashTime(QStyleHints* theWrappedObject) const; - qreal fontSmoothingGamma(QStyleHints* theWrappedObject) const; - int keyboardAutoRepeatRate(QStyleHints* theWrappedObject) const; - int keyboardInputInterval(QStyleHints* theWrappedObject) const; - int mouseDoubleClickInterval(QStyleHints* theWrappedObject) const; - int mousePressAndHoldInterval(QStyleHints* theWrappedObject) const; - QChar passwordMaskCharacter(QStyleHints* theWrappedObject) const; - int passwordMaskDelay(QStyleHints* theWrappedObject) const; - void setCursorFlashTime(QStyleHints* theWrappedObject, int cursorFlashTime); - bool setFocusOnTouchRelease(QStyleHints* theWrappedObject) const; - void setKeyboardInputInterval(QStyleHints* theWrappedObject, int keyboardInputInterval); - void setMouseDoubleClickInterval(QStyleHints* theWrappedObject, int mouseDoubleClickInterval); - void setMousePressAndHoldInterval(QStyleHints* theWrappedObject, int mousePressAndHoldInterval); - void setStartDragDistance(QStyleHints* theWrappedObject, int startDragDistance); - void setStartDragTime(QStyleHints* theWrappedObject, int startDragTime); - void setTabFocusBehavior(QStyleHints* theWrappedObject, Qt::TabFocusBehavior tabFocusBehavior); - void setUseHoverEffects(QStyleHints* theWrappedObject, bool useHoverEffects); - void setWheelScrollLines(QStyleHints* theWrappedObject, int scrollLines); - bool showIsFullScreen(QStyleHints* theWrappedObject) const; - bool showIsMaximized(QStyleHints* theWrappedObject) const; - bool showShortcutsInContextMenus(QStyleHints* theWrappedObject) const; - bool singleClickActivation(QStyleHints* theWrappedObject) const; - int startDragDistance(QStyleHints* theWrappedObject) const; - int startDragTime(QStyleHints* theWrappedObject) const; - int startDragVelocity(QStyleHints* theWrappedObject) const; - Qt::TabFocusBehavior tabFocusBehavior(QStyleHints* theWrappedObject) const; - bool useHoverEffects(QStyleHints* theWrappedObject) const; - bool useRtlExtensions(QStyleHints* theWrappedObject) const; - int wheelScrollLines(QStyleHints* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QStyleOption : public QStyleOption -{ -public: - PythonQtShell_QStyleOption(const QStyleOption& other):QStyleOption(other),_wrapper(nullptr) {}; - PythonQtShell_QStyleOption(int version = QStyleOption::Version, int type = SO_Default):QStyleOption(version, type),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOption(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOption : public QObject -{ Q_OBJECT -public: -Q_ENUMS(OptionType StyleOptionType StyleOptionVersion ) -enum OptionType{ - SO_Default = QStyleOption::SO_Default, SO_FocusRect = QStyleOption::SO_FocusRect, SO_Button = QStyleOption::SO_Button, SO_Tab = QStyleOption::SO_Tab, SO_MenuItem = QStyleOption::SO_MenuItem, SO_Frame = QStyleOption::SO_Frame, SO_ProgressBar = QStyleOption::SO_ProgressBar, SO_ToolBox = QStyleOption::SO_ToolBox, SO_Header = QStyleOption::SO_Header, SO_DockWidget = QStyleOption::SO_DockWidget, SO_ViewItem = QStyleOption::SO_ViewItem, SO_TabWidgetFrame = QStyleOption::SO_TabWidgetFrame, SO_TabBarBase = QStyleOption::SO_TabBarBase, SO_RubberBand = QStyleOption::SO_RubberBand, SO_ToolBar = QStyleOption::SO_ToolBar, SO_GraphicsItem = QStyleOption::SO_GraphicsItem, SO_Complex = QStyleOption::SO_Complex, SO_Slider = QStyleOption::SO_Slider, SO_SpinBox = QStyleOption::SO_SpinBox, SO_ToolButton = QStyleOption::SO_ToolButton, SO_ComboBox = QStyleOption::SO_ComboBox, SO_TitleBar = QStyleOption::SO_TitleBar, SO_GroupBox = QStyleOption::SO_GroupBox, SO_SizeGrip = QStyleOption::SO_SizeGrip, SO_CustomBase = QStyleOption::SO_CustomBase, SO_ComplexCustomBase = QStyleOption::SO_ComplexCustomBase}; -enum StyleOptionType{ - Type = QStyleOption::Type}; -enum StyleOptionVersion{ - Version = QStyleOption::Version}; -public Q_SLOTS: -QStyleOption* new_QStyleOption(const QStyleOption& other); -QStyleOption* new_QStyleOption(int version = QStyleOption::Version, int type = SO_Default); -void delete_QStyleOption(QStyleOption* obj) { delete obj; } - void initFrom(QStyleOption* theWrappedObject, const QWidget* w); - QString py_toString(QStyleOption*); -void py_set_direction(QStyleOption* theWrappedObject, Qt::LayoutDirection direction){ theWrappedObject->direction = direction; } -Qt::LayoutDirection py_get_direction(QStyleOption* theWrappedObject){ return theWrappedObject->direction; } -void py_set_fontMetrics(QStyleOption* theWrappedObject, QFontMetrics fontMetrics){ theWrappedObject->fontMetrics = fontMetrics; } -QFontMetrics py_get_fontMetrics(QStyleOption* theWrappedObject){ return theWrappedObject->fontMetrics; } -void py_set_palette(QStyleOption* theWrappedObject, QPalette palette){ theWrappedObject->palette = palette; } -QPalette py_get_palette(QStyleOption* theWrappedObject){ return theWrappedObject->palette; } -void py_set_rect(QStyleOption* theWrappedObject, QRect rect){ theWrappedObject->rect = rect; } -QRect py_get_rect(QStyleOption* theWrappedObject){ return theWrappedObject->rect; } -void py_set_state(QStyleOption* theWrappedObject, QStyle::State state){ theWrappedObject->state = state; } -QStyle::State py_get_state(QStyleOption* theWrappedObject){ return theWrappedObject->state; } -void py_set_styleObject(QStyleOption* theWrappedObject, QObject* styleObject){ theWrappedObject->styleObject = styleObject; } -QObject* py_get_styleObject(QStyleOption* theWrappedObject){ return theWrappedObject->styleObject; } -void py_set_type(QStyleOption* theWrappedObject, int type){ theWrappedObject->type = type; } -int py_get_type(QStyleOption* theWrappedObject){ return theWrappedObject->type; } -void py_set_version(QStyleOption* theWrappedObject, int version){ theWrappedObject->version = version; } -int py_get_version(QStyleOption* theWrappedObject){ return theWrappedObject->version; } -}; - - - - - -class PythonQtShell_QStyleOptionButton : public QStyleOptionButton -{ -public: - PythonQtShell_QStyleOptionButton():QStyleOptionButton(),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionButton(const QStyleOptionButton& other):QStyleOptionButton(other),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionButton(int version):QStyleOptionButton(version),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionButton(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionButton : public QObject -{ Q_OBJECT -public: -Q_ENUMS(ButtonFeature StyleOptionType StyleOptionVersion ) -Q_FLAGS(ButtonFeatures ) -enum ButtonFeature{ - None = QStyleOptionButton::None, Flat = QStyleOptionButton::Flat, HasMenu = QStyleOptionButton::HasMenu, DefaultButton = QStyleOptionButton::DefaultButton, AutoDefaultButton = QStyleOptionButton::AutoDefaultButton, CommandLinkButton = QStyleOptionButton::CommandLinkButton}; -enum StyleOptionType{ - Type = QStyleOptionButton::Type}; -enum StyleOptionVersion{ - Version = QStyleOptionButton::Version}; -Q_DECLARE_FLAGS(ButtonFeatures, ButtonFeature) -public Q_SLOTS: -QStyleOptionButton* new_QStyleOptionButton(); -QStyleOptionButton* new_QStyleOptionButton(const QStyleOptionButton& other); -QStyleOptionButton* new_QStyleOptionButton(int version); -void delete_QStyleOptionButton(QStyleOptionButton* obj) { delete obj; } -void py_set_features(QStyleOptionButton* theWrappedObject, QStyleOptionButton::ButtonFeatures features){ theWrappedObject->features = features; } -QStyleOptionButton::ButtonFeatures py_get_features(QStyleOptionButton* theWrappedObject){ return theWrappedObject->features; } -void py_set_icon(QStyleOptionButton* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } -QIcon py_get_icon(QStyleOptionButton* theWrappedObject){ return theWrappedObject->icon; } -void py_set_iconSize(QStyleOptionButton* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } -QSize py_get_iconSize(QStyleOptionButton* theWrappedObject){ return theWrappedObject->iconSize; } -void py_set_text(QStyleOptionButton* theWrappedObject, QString text){ theWrappedObject->text = text; } -QString py_get_text(QStyleOptionButton* theWrappedObject){ return theWrappedObject->text; } -}; - - - - - -class PythonQtShell_QStyleOptionComboBox : public QStyleOptionComboBox -{ -public: - PythonQtShell_QStyleOptionComboBox():QStyleOptionComboBox(),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionComboBox(const QStyleOptionComboBox& other):QStyleOptionComboBox(other),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionComboBox(int version):QStyleOptionComboBox(version),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionComboBox(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionComboBox : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionType StyleOptionVersion ) -enum StyleOptionType{ - Type = QStyleOptionComboBox::Type}; -enum StyleOptionVersion{ - Version = QStyleOptionComboBox::Version}; -public Q_SLOTS: -QStyleOptionComboBox* new_QStyleOptionComboBox(); -QStyleOptionComboBox* new_QStyleOptionComboBox(const QStyleOptionComboBox& other); -QStyleOptionComboBox* new_QStyleOptionComboBox(int version); -void delete_QStyleOptionComboBox(QStyleOptionComboBox* obj) { delete obj; } -void py_set_currentIcon(QStyleOptionComboBox* theWrappedObject, QIcon currentIcon){ theWrappedObject->currentIcon = currentIcon; } -QIcon py_get_currentIcon(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->currentIcon; } -void py_set_currentText(QStyleOptionComboBox* theWrappedObject, QString currentText){ theWrappedObject->currentText = currentText; } -QString py_get_currentText(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->currentText; } -void py_set_editable(QStyleOptionComboBox* theWrappedObject, bool editable){ theWrappedObject->editable = editable; } -bool py_get_editable(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->editable; } -void py_set_frame(QStyleOptionComboBox* theWrappedObject, bool frame){ theWrappedObject->frame = frame; } -bool py_get_frame(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->frame; } -void py_set_iconSize(QStyleOptionComboBox* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } -QSize py_get_iconSize(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->iconSize; } -void py_set_popupRect(QStyleOptionComboBox* theWrappedObject, QRect popupRect){ theWrappedObject->popupRect = popupRect; } -QRect py_get_popupRect(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->popupRect; } -}; - - - - - -class PythonQtShell_QStyleOptionDockWidget : public QStyleOptionDockWidget -{ -public: - PythonQtShell_QStyleOptionDockWidget():QStyleOptionDockWidget(),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionDockWidget(const QStyleOptionDockWidget& other):QStyleOptionDockWidget(other),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionDockWidget(int version):QStyleOptionDockWidget(version),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionDockWidget(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionDockWidget : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionType StyleOptionVersion ) -enum StyleOptionType{ - Type = QStyleOptionDockWidget::Type}; -enum StyleOptionVersion{ - Version = QStyleOptionDockWidget::Version}; -public Q_SLOTS: -QStyleOptionDockWidget* new_QStyleOptionDockWidget(); -QStyleOptionDockWidget* new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other); -QStyleOptionDockWidget* new_QStyleOptionDockWidget(int version); -void delete_QStyleOptionDockWidget(QStyleOptionDockWidget* obj) { delete obj; } -void py_set_closable(QStyleOptionDockWidget* theWrappedObject, bool closable){ theWrappedObject->closable = closable; } -bool py_get_closable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->closable; } -void py_set_floatable(QStyleOptionDockWidget* theWrappedObject, bool floatable){ theWrappedObject->floatable = floatable; } -bool py_get_floatable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->floatable; } -void py_set_movable(QStyleOptionDockWidget* theWrappedObject, bool movable){ theWrappedObject->movable = movable; } -bool py_get_movable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->movable; } -void py_set_title(QStyleOptionDockWidget* theWrappedObject, QString title){ theWrappedObject->title = title; } -QString py_get_title(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->title; } -void py_set_verticalTitleBar(QStyleOptionDockWidget* theWrappedObject, bool verticalTitleBar){ theWrappedObject->verticalTitleBar = verticalTitleBar; } -bool py_get_verticalTitleBar(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->verticalTitleBar; } -}; - - - - - -class PythonQtShell_QStyleOptionDockWidgetV2 : public QStyleOptionDockWidgetV2 -{ -public: - PythonQtShell_QStyleOptionDockWidgetV2():QStyleOptionDockWidgetV2(),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionDockWidgetV2(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionDockWidgetV2 : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(); -QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2& other) { -PythonQtShell_QStyleOptionDockWidgetV2* a = new PythonQtShell_QStyleOptionDockWidgetV2(); -*((QStyleOptionDockWidgetV2*)a) = other; -return a; } -void delete_QStyleOptionDockWidgetV2(QStyleOptionDockWidgetV2* obj) { delete obj; } -}; - - - - - -class PythonQtShell_QStyleOptionFocusRect : public QStyleOptionFocusRect -{ -public: - PythonQtShell_QStyleOptionFocusRect():QStyleOptionFocusRect(),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionFocusRect(const QStyleOptionFocusRect& other):QStyleOptionFocusRect(other),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionFocusRect(int version):QStyleOptionFocusRect(version),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionFocusRect(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionFocusRect : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionType StyleOptionVersion ) -enum StyleOptionType{ - Type = QStyleOptionFocusRect::Type}; -enum StyleOptionVersion{ - Version = QStyleOptionFocusRect::Version}; -public Q_SLOTS: -QStyleOptionFocusRect* new_QStyleOptionFocusRect(); -QStyleOptionFocusRect* new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other); -QStyleOptionFocusRect* new_QStyleOptionFocusRect(int version); -void delete_QStyleOptionFocusRect(QStyleOptionFocusRect* obj) { delete obj; } -void py_set_backgroundColor(QStyleOptionFocusRect* theWrappedObject, QColor backgroundColor){ theWrappedObject->backgroundColor = backgroundColor; } -QColor py_get_backgroundColor(QStyleOptionFocusRect* theWrappedObject){ return theWrappedObject->backgroundColor; } -}; - - - - - -class PythonQtShell_QStyleOptionFrame : public QStyleOptionFrame -{ -public: - PythonQtShell_QStyleOptionFrame():QStyleOptionFrame(),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionFrame(const QStyleOptionFrame& other):QStyleOptionFrame(other),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionFrame(int version):QStyleOptionFrame(version),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionFrame(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionFrame : public QObject -{ Q_OBJECT -public: -Q_ENUMS(FrameFeature StyleOptionType StyleOptionVersion ) -Q_FLAGS(FrameFeatures ) -enum FrameFeature{ - None = QStyleOptionFrame::None, Flat = QStyleOptionFrame::Flat, Rounded = QStyleOptionFrame::Rounded}; -enum StyleOptionType{ - Type = QStyleOptionFrame::Type}; -enum StyleOptionVersion{ - Version = QStyleOptionFrame::Version}; -Q_DECLARE_FLAGS(FrameFeatures, FrameFeature) -public Q_SLOTS: -QStyleOptionFrame* new_QStyleOptionFrame(); -QStyleOptionFrame* new_QStyleOptionFrame(const QStyleOptionFrame& other); -QStyleOptionFrame* new_QStyleOptionFrame(int version); -void delete_QStyleOptionFrame(QStyleOptionFrame* obj) { delete obj; } -void py_set_features(QStyleOptionFrame* theWrappedObject, QStyleOptionFrame::FrameFeatures features){ theWrappedObject->features = features; } -QStyleOptionFrame::FrameFeatures py_get_features(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->features; } -void py_set_frameShape(QStyleOptionFrame* theWrappedObject, QFrame::Shape frameShape){ theWrappedObject->frameShape = frameShape; } -QFrame::Shape py_get_frameShape(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->frameShape; } -void py_set_lineWidth(QStyleOptionFrame* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } -int py_get_lineWidth(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->lineWidth; } -void py_set_midLineWidth(QStyleOptionFrame* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } -int py_get_midLineWidth(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->midLineWidth; } -}; - - - - - -class PythonQtShell_QStyleOptionFrameV2 : public QStyleOptionFrameV2 -{ -public: - PythonQtShell_QStyleOptionFrameV2():QStyleOptionFrameV2(),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionFrameV2(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionFrameV2 : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QStyleOptionFrameV2* new_QStyleOptionFrameV2(); -QStyleOptionFrameV2* new_QStyleOptionFrameV2(const QStyleOptionFrameV2& other) { -PythonQtShell_QStyleOptionFrameV2* a = new PythonQtShell_QStyleOptionFrameV2(); -*((QStyleOptionFrameV2*)a) = other; -return a; } -void delete_QStyleOptionFrameV2(QStyleOptionFrameV2* obj) { delete obj; } -}; - - diff --git a/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp new file mode 100644 index 000000000..2b6bbd863 --- /dev/null +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui8.cpp @@ -0,0 +1,608 @@ +#include "com_trolltech_qt_gui8.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +PythonQtShell_QStyleHintReturn::~PythonQtShell_QStyleHintReturn() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleHintReturn* PythonQtWrapper_QStyleHintReturn::new_QStyleHintReturn(int version, int type) +{ +return new PythonQtShell_QStyleHintReturn(version, type); } + + + +PythonQtShell_QStyleHintReturnMask::~PythonQtShell_QStyleHintReturnMask() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleHintReturnMask* PythonQtWrapper_QStyleHintReturnMask::new_QStyleHintReturnMask() +{ +return new PythonQtShell_QStyleHintReturnMask(); } + + + +PythonQtShell_QStyleHintReturnVariant::~PythonQtShell_QStyleHintReturnVariant() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleHintReturnVariant* PythonQtWrapper_QStyleHintReturnVariant::new_QStyleHintReturnVariant() +{ +return new PythonQtShell_QStyleHintReturnVariant(); } + + + +int PythonQtWrapper_QStyleHints::cursorFlashTime(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->cursorFlashTime()); +} + +qreal PythonQtWrapper_QStyleHints::fontSmoothingGamma(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->fontSmoothingGamma()); +} + +int PythonQtWrapper_QStyleHints::keyboardAutoRepeatRate(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->keyboardAutoRepeatRate()); +} + +int PythonQtWrapper_QStyleHints::keyboardInputInterval(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->keyboardInputInterval()); +} + +int PythonQtWrapper_QStyleHints::mouseDoubleClickInterval(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->mouseDoubleClickInterval()); +} + +int PythonQtWrapper_QStyleHints::mousePressAndHoldInterval(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->mousePressAndHoldInterval()); +} + +QChar PythonQtWrapper_QStyleHints::passwordMaskCharacter(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->passwordMaskCharacter()); +} + +int PythonQtWrapper_QStyleHints::passwordMaskDelay(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->passwordMaskDelay()); +} + +void PythonQtWrapper_QStyleHints::setCursorFlashTime(QStyleHints* theWrappedObject, int cursorFlashTime) +{ + ( theWrappedObject->setCursorFlashTime(cursorFlashTime)); +} + +bool PythonQtWrapper_QStyleHints::setFocusOnTouchRelease(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->setFocusOnTouchRelease()); +} + +void PythonQtWrapper_QStyleHints::setKeyboardInputInterval(QStyleHints* theWrappedObject, int keyboardInputInterval) +{ + ( theWrappedObject->setKeyboardInputInterval(keyboardInputInterval)); +} + +void PythonQtWrapper_QStyleHints::setMouseDoubleClickInterval(QStyleHints* theWrappedObject, int mouseDoubleClickInterval) +{ + ( theWrappedObject->setMouseDoubleClickInterval(mouseDoubleClickInterval)); +} + +void PythonQtWrapper_QStyleHints::setMousePressAndHoldInterval(QStyleHints* theWrappedObject, int mousePressAndHoldInterval) +{ + ( theWrappedObject->setMousePressAndHoldInterval(mousePressAndHoldInterval)); +} + +void PythonQtWrapper_QStyleHints::setStartDragDistance(QStyleHints* theWrappedObject, int startDragDistance) +{ + ( theWrappedObject->setStartDragDistance(startDragDistance)); +} + +void PythonQtWrapper_QStyleHints::setStartDragTime(QStyleHints* theWrappedObject, int startDragTime) +{ + ( theWrappedObject->setStartDragTime(startDragTime)); +} + +void PythonQtWrapper_QStyleHints::setTabFocusBehavior(QStyleHints* theWrappedObject, Qt::TabFocusBehavior tabFocusBehavior) +{ + ( theWrappedObject->setTabFocusBehavior(tabFocusBehavior)); +} + +void PythonQtWrapper_QStyleHints::setUseHoverEffects(QStyleHints* theWrappedObject, bool useHoverEffects) +{ + ( theWrappedObject->setUseHoverEffects(useHoverEffects)); +} + +void PythonQtWrapper_QStyleHints::setWheelScrollLines(QStyleHints* theWrappedObject, int scrollLines) +{ + ( theWrappedObject->setWheelScrollLines(scrollLines)); +} + +bool PythonQtWrapper_QStyleHints::showIsFullScreen(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->showIsFullScreen()); +} + +bool PythonQtWrapper_QStyleHints::showIsMaximized(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->showIsMaximized()); +} + +bool PythonQtWrapper_QStyleHints::showShortcutsInContextMenus(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->showShortcutsInContextMenus()); +} + +bool PythonQtWrapper_QStyleHints::singleClickActivation(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->singleClickActivation()); +} + +int PythonQtWrapper_QStyleHints::startDragDistance(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->startDragDistance()); +} + +int PythonQtWrapper_QStyleHints::startDragTime(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->startDragTime()); +} + +int PythonQtWrapper_QStyleHints::startDragVelocity(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->startDragVelocity()); +} + +Qt::TabFocusBehavior PythonQtWrapper_QStyleHints::tabFocusBehavior(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->tabFocusBehavior()); +} + +bool PythonQtWrapper_QStyleHints::useHoverEffects(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->useHoverEffects()); +} + +bool PythonQtWrapper_QStyleHints::useRtlExtensions(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->useRtlExtensions()); +} + +int PythonQtWrapper_QStyleHints::wheelScrollLines(QStyleHints* theWrappedObject) const +{ + return ( theWrappedObject->wheelScrollLines()); +} + + + +PythonQtShell_QStyleOption::~PythonQtShell_QStyleOption() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOption* PythonQtWrapper_QStyleOption::new_QStyleOption(const QStyleOption& other) +{ +return new PythonQtShell_QStyleOption(other); } + +QStyleOption* PythonQtWrapper_QStyleOption::new_QStyleOption(int version, int type) +{ +return new PythonQtShell_QStyleOption(version, type); } + +void PythonQtWrapper_QStyleOption::initFrom(QStyleOption* theWrappedObject, const QWidget* w) +{ + ( theWrappedObject->initFrom(w)); +} + +QString PythonQtWrapper_QStyleOption::py_toString(QStyleOption* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QStyleOptionButton::~PythonQtShell_QStyleOptionButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton() +{ +return new PythonQtShell_QStyleOptionButton(); } + +QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton(const QStyleOptionButton& other) +{ +return new PythonQtShell_QStyleOptionButton(other); } + +QStyleOptionButton* PythonQtWrapper_QStyleOptionButton::new_QStyleOptionButton(int version) +{ +return new PythonQtShell_QStyleOptionButton(version); } + + + +PythonQtShell_QStyleOptionComboBox::~PythonQtShell_QStyleOptionComboBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox() +{ +return new PythonQtShell_QStyleOptionComboBox(); } + +QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox(const QStyleOptionComboBox& other) +{ +return new PythonQtShell_QStyleOptionComboBox(other); } + +QStyleOptionComboBox* PythonQtWrapper_QStyleOptionComboBox::new_QStyleOptionComboBox(int version) +{ +return new PythonQtShell_QStyleOptionComboBox(version); } + + + +PythonQtShell_QStyleOptionDockWidget::~PythonQtShell_QStyleOptionDockWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget() +{ +return new PythonQtShell_QStyleOptionDockWidget(); } + +QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other) +{ +return new PythonQtShell_QStyleOptionDockWidget(other); } + +QStyleOptionDockWidget* PythonQtWrapper_QStyleOptionDockWidget::new_QStyleOptionDockWidget(int version) +{ +return new PythonQtShell_QStyleOptionDockWidget(version); } + + + +PythonQtShell_QStyleOptionDockWidgetV2::~PythonQtShell_QStyleOptionDockWidgetV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionDockWidgetV2* PythonQtWrapper_QStyleOptionDockWidgetV2::new_QStyleOptionDockWidgetV2() +{ +return new PythonQtShell_QStyleOptionDockWidgetV2(); } + + + +PythonQtShell_QStyleOptionFocusRect::~PythonQtShell_QStyleOptionFocusRect() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect() +{ +return new PythonQtShell_QStyleOptionFocusRect(); } + +QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other) +{ +return new PythonQtShell_QStyleOptionFocusRect(other); } + +QStyleOptionFocusRect* PythonQtWrapper_QStyleOptionFocusRect::new_QStyleOptionFocusRect(int version) +{ +return new PythonQtShell_QStyleOptionFocusRect(version); } + + + +PythonQtShell_QStyleOptionFrame::~PythonQtShell_QStyleOptionFrame() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame() +{ +return new PythonQtShell_QStyleOptionFrame(); } + +QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame(const QStyleOptionFrame& other) +{ +return new PythonQtShell_QStyleOptionFrame(other); } + +QStyleOptionFrame* PythonQtWrapper_QStyleOptionFrame::new_QStyleOptionFrame(int version) +{ +return new PythonQtShell_QStyleOptionFrame(version); } + + + +PythonQtShell_QStyleOptionFrameV2::~PythonQtShell_QStyleOptionFrameV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionFrameV2* PythonQtWrapper_QStyleOptionFrameV2::new_QStyleOptionFrameV2() +{ +return new PythonQtShell_QStyleOptionFrameV2(); } + + + +PythonQtShell_QStyleOptionFrameV3::~PythonQtShell_QStyleOptionFrameV3() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionFrameV3* PythonQtWrapper_QStyleOptionFrameV3::new_QStyleOptionFrameV3() +{ +return new PythonQtShell_QStyleOptionFrameV3(); } + + + +PythonQtShell_QStyleOptionGraphicsItem::~PythonQtShell_QStyleOptionGraphicsItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem() +{ +return new PythonQtShell_QStyleOptionGraphicsItem(); } + +QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem& other) +{ +return new PythonQtShell_QStyleOptionGraphicsItem(other); } + +QStyleOptionGraphicsItem* PythonQtWrapper_QStyleOptionGraphicsItem::new_QStyleOptionGraphicsItem(int version) +{ +return new PythonQtShell_QStyleOptionGraphicsItem(version); } + +qreal PythonQtWrapper_QStyleOptionGraphicsItem::static_QStyleOptionGraphicsItem_levelOfDetailFromTransform(const QTransform& worldTransform) +{ + return (QStyleOptionGraphicsItem::levelOfDetailFromTransform(worldTransform)); +} + + + +PythonQtShell_QStyleOptionGroupBox::~PythonQtShell_QStyleOptionGroupBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox() +{ +return new PythonQtShell_QStyleOptionGroupBox(); } + +QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox(const QStyleOptionGroupBox& other) +{ +return new PythonQtShell_QStyleOptionGroupBox(other); } + +QStyleOptionGroupBox* PythonQtWrapper_QStyleOptionGroupBox::new_QStyleOptionGroupBox(int version) +{ +return new PythonQtShell_QStyleOptionGroupBox(version); } + + + +PythonQtShell_QStyleOptionHeader::~PythonQtShell_QStyleOptionHeader() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader() +{ +return new PythonQtShell_QStyleOptionHeader(); } + +QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader(const QStyleOptionHeader& other) +{ +return new PythonQtShell_QStyleOptionHeader(other); } + +QStyleOptionHeader* PythonQtWrapper_QStyleOptionHeader::new_QStyleOptionHeader(int version) +{ +return new PythonQtShell_QStyleOptionHeader(version); } + + + +PythonQtShell_QStyleOptionMenuItem::~PythonQtShell_QStyleOptionMenuItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem() +{ +return new PythonQtShell_QStyleOptionMenuItem(); } + +QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem(const QStyleOptionMenuItem& other) +{ +return new PythonQtShell_QStyleOptionMenuItem(other); } + +QStyleOptionMenuItem* PythonQtWrapper_QStyleOptionMenuItem::new_QStyleOptionMenuItem(int version) +{ +return new PythonQtShell_QStyleOptionMenuItem(version); } + + + +PythonQtShell_QStyleOptionProgressBar::~PythonQtShell_QStyleOptionProgressBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar() +{ +return new PythonQtShell_QStyleOptionProgressBar(); } + +QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar(const QStyleOptionProgressBar& other) +{ +return new PythonQtShell_QStyleOptionProgressBar(other); } + +QStyleOptionProgressBar* PythonQtWrapper_QStyleOptionProgressBar::new_QStyleOptionProgressBar(int version) +{ +return new PythonQtShell_QStyleOptionProgressBar(version); } + + + +PythonQtShell_QStyleOptionProgressBarV2::~PythonQtShell_QStyleOptionProgressBarV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionProgressBarV2* PythonQtWrapper_QStyleOptionProgressBarV2::new_QStyleOptionProgressBarV2() +{ +return new PythonQtShell_QStyleOptionProgressBarV2(); } + + + +PythonQtShell_QStyleOptionRubberBand::~PythonQtShell_QStyleOptionRubberBand() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand() +{ +return new PythonQtShell_QStyleOptionRubberBand(); } + +QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand(const QStyleOptionRubberBand& other) +{ +return new PythonQtShell_QStyleOptionRubberBand(other); } + +QStyleOptionRubberBand* PythonQtWrapper_QStyleOptionRubberBand::new_QStyleOptionRubberBand(int version) +{ +return new PythonQtShell_QStyleOptionRubberBand(version); } + + + +PythonQtShell_QStyleOptionSizeGrip::~PythonQtShell_QStyleOptionSizeGrip() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip() +{ +return new PythonQtShell_QStyleOptionSizeGrip(); } + +QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip(const QStyleOptionSizeGrip& other) +{ +return new PythonQtShell_QStyleOptionSizeGrip(other); } + +QStyleOptionSizeGrip* PythonQtWrapper_QStyleOptionSizeGrip::new_QStyleOptionSizeGrip(int version) +{ +return new PythonQtShell_QStyleOptionSizeGrip(version); } + + + +PythonQtShell_QStyleOptionSlider::~PythonQtShell_QStyleOptionSlider() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider() +{ +return new PythonQtShell_QStyleOptionSlider(); } + +QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider(const QStyleOptionSlider& other) +{ +return new PythonQtShell_QStyleOptionSlider(other); } + +QStyleOptionSlider* PythonQtWrapper_QStyleOptionSlider::new_QStyleOptionSlider(int version) +{ +return new PythonQtShell_QStyleOptionSlider(version); } + + + +PythonQtShell_QStyleOptionSpinBox::~PythonQtShell_QStyleOptionSpinBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox() +{ +return new PythonQtShell_QStyleOptionSpinBox(); } + +QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other) +{ +return new PythonQtShell_QStyleOptionSpinBox(other); } + +QStyleOptionSpinBox* PythonQtWrapper_QStyleOptionSpinBox::new_QStyleOptionSpinBox(int version) +{ +return new PythonQtShell_QStyleOptionSpinBox(version); } + + + +PythonQtShell_QStyleOptionTab::~PythonQtShell_QStyleOptionTab() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab() +{ +return new PythonQtShell_QStyleOptionTab(); } + +QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab(const QStyleOptionTab& other) +{ +return new PythonQtShell_QStyleOptionTab(other); } + +QStyleOptionTab* PythonQtWrapper_QStyleOptionTab::new_QStyleOptionTab(int version) +{ +return new PythonQtShell_QStyleOptionTab(version); } + + + +PythonQtShell_QStyleOptionTabBarBase::~PythonQtShell_QStyleOptionTabBarBase() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase() +{ +return new PythonQtShell_QStyleOptionTabBarBase(); } + +QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other) +{ +return new PythonQtShell_QStyleOptionTabBarBase(other); } + +QStyleOptionTabBarBase* PythonQtWrapper_QStyleOptionTabBarBase::new_QStyleOptionTabBarBase(int version) +{ +return new PythonQtShell_QStyleOptionTabBarBase(version); } + + + +PythonQtShell_QStyleOptionTabBarBaseV2::~PythonQtShell_QStyleOptionTabBarBaseV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabBarBaseV2* PythonQtWrapper_QStyleOptionTabBarBaseV2::new_QStyleOptionTabBarBaseV2() +{ +return new PythonQtShell_QStyleOptionTabBarBaseV2(); } + + + +PythonQtShell_QStyleOptionTabV2::~PythonQtShell_QStyleOptionTabV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabV2* PythonQtWrapper_QStyleOptionTabV2::new_QStyleOptionTabV2() +{ +return new PythonQtShell_QStyleOptionTabV2(); } + + + +PythonQtShell_QStyleOptionTabV3::~PythonQtShell_QStyleOptionTabV3() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabV3* PythonQtWrapper_QStyleOptionTabV3::new_QStyleOptionTabV3() +{ +return new PythonQtShell_QStyleOptionTabV3(); } + + + +PythonQtShell_QStyleOptionTabWidgetFrame::~PythonQtShell_QStyleOptionTabWidgetFrame() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame() +{ +return new PythonQtShell_QStyleOptionTabWidgetFrame(); } + +QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other) +{ +return new PythonQtShell_QStyleOptionTabWidgetFrame(other); } + +QStyleOptionTabWidgetFrame* PythonQtWrapper_QStyleOptionTabWidgetFrame::new_QStyleOptionTabWidgetFrame(int version) +{ +return new PythonQtShell_QStyleOptionTabWidgetFrame(version); } + + + +PythonQtShell_QStyleOptionTabWidgetFrameV2::~PythonQtShell_QStyleOptionTabWidgetFrameV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionTabWidgetFrameV2* PythonQtWrapper_QStyleOptionTabWidgetFrameV2::new_QStyleOptionTabWidgetFrameV2() +{ +return new PythonQtShell_QStyleOptionTabWidgetFrameV2(); } + + diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui9.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui8.h similarity index 58% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui9.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui8.h index 21a61741e..d4fd1527f 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui9.h +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui8.h @@ -1,49 +1,462 @@ #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_QStyleHintReturn : public QStyleHintReturn +{ +public: + PythonQtShell_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default):QStyleHintReturn(version, type),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleHintReturn(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleHintReturn : public QObject +{ Q_OBJECT +public: +Q_ENUMS(HintReturnType StyleOptionType StyleOptionVersion ) +enum HintReturnType{ + SH_Default = QStyleHintReturn::SH_Default, SH_Mask = QStyleHintReturn::SH_Mask, SH_Variant = QStyleHintReturn::SH_Variant}; +enum StyleOptionType{ + Type = QStyleHintReturn::Type}; +enum StyleOptionVersion{ + Version = QStyleHintReturn::Version}; +public Q_SLOTS: +QStyleHintReturn* new_QStyleHintReturn(int version = QStyleOption::Version, int type = SH_Default); +void delete_QStyleHintReturn(QStyleHintReturn* obj) { delete obj; } +void py_set_type(QStyleHintReturn* theWrappedObject, int type){ theWrappedObject->type = type; } +int py_get_type(QStyleHintReturn* theWrappedObject){ return theWrappedObject->type; } +void py_set_version(QStyleHintReturn* theWrappedObject, int version){ theWrappedObject->version = version; } +int py_get_version(QStyleHintReturn* theWrappedObject){ return theWrappedObject->version; } +}; + + + + + +class PythonQtShell_QStyleHintReturnMask : public QStyleHintReturnMask +{ +public: + PythonQtShell_QStyleHintReturnMask():QStyleHintReturnMask(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleHintReturnMask(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleHintReturnMask : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleHintReturnMask::Type}; +enum StyleOptionVersion{ + Version = QStyleHintReturnMask::Version}; +public Q_SLOTS: +QStyleHintReturnMask* new_QStyleHintReturnMask(); +void delete_QStyleHintReturnMask(QStyleHintReturnMask* obj) { delete obj; } +void py_set_region(QStyleHintReturnMask* theWrappedObject, QRegion region){ theWrappedObject->region = region; } +QRegion py_get_region(QStyleHintReturnMask* theWrappedObject){ return theWrappedObject->region; } +}; + + + + + +class PythonQtShell_QStyleHintReturnVariant : public QStyleHintReturnVariant +{ +public: + PythonQtShell_QStyleHintReturnVariant():QStyleHintReturnVariant(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleHintReturnVariant(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleHintReturnVariant : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleHintReturnVariant::Type}; +enum StyleOptionVersion{ + Version = QStyleHintReturnVariant::Version}; +public Q_SLOTS: +QStyleHintReturnVariant* new_QStyleHintReturnVariant(); +void delete_QStyleHintReturnVariant(QStyleHintReturnVariant* obj) { delete obj; } +void py_set_variant(QStyleHintReturnVariant* theWrappedObject, QVariant variant){ theWrappedObject->variant = variant; } +QVariant py_get_variant(QStyleHintReturnVariant* theWrappedObject){ return theWrappedObject->variant; } +}; + + + + + +class PythonQtWrapper_QStyleHints : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +void delete_QStyleHints(QStyleHints* obj) { delete obj; } + int cursorFlashTime(QStyleHints* theWrappedObject) const; + qreal fontSmoothingGamma(QStyleHints* theWrappedObject) const; + int keyboardAutoRepeatRate(QStyleHints* theWrappedObject) const; + int keyboardInputInterval(QStyleHints* theWrappedObject) const; + int mouseDoubleClickInterval(QStyleHints* theWrappedObject) const; + int mousePressAndHoldInterval(QStyleHints* theWrappedObject) const; + QChar passwordMaskCharacter(QStyleHints* theWrappedObject) const; + int passwordMaskDelay(QStyleHints* theWrappedObject) const; + void setCursorFlashTime(QStyleHints* theWrappedObject, int cursorFlashTime); + bool setFocusOnTouchRelease(QStyleHints* theWrappedObject) const; + void setKeyboardInputInterval(QStyleHints* theWrappedObject, int keyboardInputInterval); + void setMouseDoubleClickInterval(QStyleHints* theWrappedObject, int mouseDoubleClickInterval); + void setMousePressAndHoldInterval(QStyleHints* theWrappedObject, int mousePressAndHoldInterval); + void setStartDragDistance(QStyleHints* theWrappedObject, int startDragDistance); + void setStartDragTime(QStyleHints* theWrappedObject, int startDragTime); + void setTabFocusBehavior(QStyleHints* theWrappedObject, Qt::TabFocusBehavior tabFocusBehavior); + void setUseHoverEffects(QStyleHints* theWrappedObject, bool useHoverEffects); + void setWheelScrollLines(QStyleHints* theWrappedObject, int scrollLines); + bool showIsFullScreen(QStyleHints* theWrappedObject) const; + bool showIsMaximized(QStyleHints* theWrappedObject) const; + bool showShortcutsInContextMenus(QStyleHints* theWrappedObject) const; + bool singleClickActivation(QStyleHints* theWrappedObject) const; + int startDragDistance(QStyleHints* theWrappedObject) const; + int startDragTime(QStyleHints* theWrappedObject) const; + int startDragVelocity(QStyleHints* theWrappedObject) const; + Qt::TabFocusBehavior tabFocusBehavior(QStyleHints* theWrappedObject) const; + bool useHoverEffects(QStyleHints* theWrappedObject) const; + bool useRtlExtensions(QStyleHints* theWrappedObject) const; + int wheelScrollLines(QStyleHints* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QStyleOption : public QStyleOption +{ +public: + PythonQtShell_QStyleOption(const QStyleOption& other):QStyleOption(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOption(int version = QStyleOption::Version, int type = SO_Default):QStyleOption(version, type),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOption(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOption : public QObject +{ Q_OBJECT +public: +Q_ENUMS(OptionType StyleOptionType StyleOptionVersion ) +enum OptionType{ + SO_Default = QStyleOption::SO_Default, SO_FocusRect = QStyleOption::SO_FocusRect, SO_Button = QStyleOption::SO_Button, SO_Tab = QStyleOption::SO_Tab, SO_MenuItem = QStyleOption::SO_MenuItem, SO_Frame = QStyleOption::SO_Frame, SO_ProgressBar = QStyleOption::SO_ProgressBar, SO_ToolBox = QStyleOption::SO_ToolBox, SO_Header = QStyleOption::SO_Header, SO_DockWidget = QStyleOption::SO_DockWidget, SO_ViewItem = QStyleOption::SO_ViewItem, SO_TabWidgetFrame = QStyleOption::SO_TabWidgetFrame, SO_TabBarBase = QStyleOption::SO_TabBarBase, SO_RubberBand = QStyleOption::SO_RubberBand, SO_ToolBar = QStyleOption::SO_ToolBar, SO_GraphicsItem = QStyleOption::SO_GraphicsItem, SO_Complex = QStyleOption::SO_Complex, SO_Slider = QStyleOption::SO_Slider, SO_SpinBox = QStyleOption::SO_SpinBox, SO_ToolButton = QStyleOption::SO_ToolButton, SO_ComboBox = QStyleOption::SO_ComboBox, SO_TitleBar = QStyleOption::SO_TitleBar, SO_GroupBox = QStyleOption::SO_GroupBox, SO_SizeGrip = QStyleOption::SO_SizeGrip, SO_CustomBase = QStyleOption::SO_CustomBase, SO_ComplexCustomBase = QStyleOption::SO_ComplexCustomBase}; +enum StyleOptionType{ + Type = QStyleOption::Type}; +enum StyleOptionVersion{ + Version = QStyleOption::Version}; +public Q_SLOTS: +QStyleOption* new_QStyleOption(const QStyleOption& other); +QStyleOption* new_QStyleOption(int version = QStyleOption::Version, int type = SO_Default); +void delete_QStyleOption(QStyleOption* obj) { delete obj; } + void initFrom(QStyleOption* theWrappedObject, const QWidget* w); + QString py_toString(QStyleOption*); +void py_set_direction(QStyleOption* theWrappedObject, Qt::LayoutDirection direction){ theWrappedObject->direction = direction; } +Qt::LayoutDirection py_get_direction(QStyleOption* theWrappedObject){ return theWrappedObject->direction; } +void py_set_fontMetrics(QStyleOption* theWrappedObject, QFontMetrics fontMetrics){ theWrappedObject->fontMetrics = fontMetrics; } +QFontMetrics py_get_fontMetrics(QStyleOption* theWrappedObject){ return theWrappedObject->fontMetrics; } +void py_set_palette(QStyleOption* theWrappedObject, QPalette palette){ theWrappedObject->palette = palette; } +QPalette py_get_palette(QStyleOption* theWrappedObject){ return theWrappedObject->palette; } +void py_set_rect(QStyleOption* theWrappedObject, QRect rect){ theWrappedObject->rect = rect; } +QRect py_get_rect(QStyleOption* theWrappedObject){ return theWrappedObject->rect; } +void py_set_state(QStyleOption* theWrappedObject, QStyle::State state){ theWrappedObject->state = state; } +QStyle::State py_get_state(QStyleOption* theWrappedObject){ return theWrappedObject->state; } +void py_set_styleObject(QStyleOption* theWrappedObject, QObject* styleObject){ theWrappedObject->styleObject = styleObject; } +QObject* py_get_styleObject(QStyleOption* theWrappedObject){ return theWrappedObject->styleObject; } +void py_set_type(QStyleOption* theWrappedObject, int type){ theWrappedObject->type = type; } +int py_get_type(QStyleOption* theWrappedObject){ return theWrappedObject->type; } +void py_set_version(QStyleOption* theWrappedObject, int version){ theWrappedObject->version = version; } +int py_get_version(QStyleOption* theWrappedObject){ return theWrappedObject->version; } +}; + + + + + +class PythonQtShell_QStyleOptionButton : public QStyleOptionButton +{ +public: + PythonQtShell_QStyleOptionButton():QStyleOptionButton(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionButton(const QStyleOptionButton& other):QStyleOptionButton(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionButton(int version):QStyleOptionButton(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionButton(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionButton : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ButtonFeature StyleOptionType StyleOptionVersion ) +Q_FLAGS(ButtonFeatures ) +enum ButtonFeature{ + None = QStyleOptionButton::None, Flat = QStyleOptionButton::Flat, HasMenu = QStyleOptionButton::HasMenu, DefaultButton = QStyleOptionButton::DefaultButton, AutoDefaultButton = QStyleOptionButton::AutoDefaultButton, CommandLinkButton = QStyleOptionButton::CommandLinkButton}; +enum StyleOptionType{ + Type = QStyleOptionButton::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionButton::Version}; +Q_DECLARE_FLAGS(ButtonFeatures, ButtonFeature) +public Q_SLOTS: +QStyleOptionButton* new_QStyleOptionButton(); +QStyleOptionButton* new_QStyleOptionButton(const QStyleOptionButton& other); +QStyleOptionButton* new_QStyleOptionButton(int version); +void delete_QStyleOptionButton(QStyleOptionButton* obj) { delete obj; } +void py_set_features(QStyleOptionButton* theWrappedObject, QStyleOptionButton::ButtonFeatures features){ theWrappedObject->features = features; } +QStyleOptionButton::ButtonFeatures py_get_features(QStyleOptionButton* theWrappedObject){ return theWrappedObject->features; } +void py_set_icon(QStyleOptionButton* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionButton* theWrappedObject){ return theWrappedObject->icon; } +void py_set_iconSize(QStyleOptionButton* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionButton* theWrappedObject){ return theWrappedObject->iconSize; } +void py_set_text(QStyleOptionButton* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionButton* theWrappedObject){ return theWrappedObject->text; } +}; + + + + + +class PythonQtShell_QStyleOptionComboBox : public QStyleOptionComboBox +{ +public: + PythonQtShell_QStyleOptionComboBox():QStyleOptionComboBox(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionComboBox(const QStyleOptionComboBox& other):QStyleOptionComboBox(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionComboBox(int version):QStyleOptionComboBox(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionComboBox(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionComboBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionComboBox::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionComboBox::Version}; +public Q_SLOTS: +QStyleOptionComboBox* new_QStyleOptionComboBox(); +QStyleOptionComboBox* new_QStyleOptionComboBox(const QStyleOptionComboBox& other); +QStyleOptionComboBox* new_QStyleOptionComboBox(int version); +void delete_QStyleOptionComboBox(QStyleOptionComboBox* obj) { delete obj; } +void py_set_currentIcon(QStyleOptionComboBox* theWrappedObject, QIcon currentIcon){ theWrappedObject->currentIcon = currentIcon; } +QIcon py_get_currentIcon(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->currentIcon; } +void py_set_currentText(QStyleOptionComboBox* theWrappedObject, QString currentText){ theWrappedObject->currentText = currentText; } +QString py_get_currentText(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->currentText; } +void py_set_editable(QStyleOptionComboBox* theWrappedObject, bool editable){ theWrappedObject->editable = editable; } +bool py_get_editable(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->editable; } +void py_set_frame(QStyleOptionComboBox* theWrappedObject, bool frame){ theWrappedObject->frame = frame; } +bool py_get_frame(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->frame; } +void py_set_iconSize(QStyleOptionComboBox* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->iconSize; } +void py_set_popupRect(QStyleOptionComboBox* theWrappedObject, QRect popupRect){ theWrappedObject->popupRect = popupRect; } +QRect py_get_popupRect(QStyleOptionComboBox* theWrappedObject){ return theWrappedObject->popupRect; } +}; + + + + + +class PythonQtShell_QStyleOptionDockWidget : public QStyleOptionDockWidget +{ +public: + PythonQtShell_QStyleOptionDockWidget():QStyleOptionDockWidget(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionDockWidget(const QStyleOptionDockWidget& other):QStyleOptionDockWidget(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionDockWidget(int version):QStyleOptionDockWidget(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionDockWidget(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionDockWidget : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionDockWidget::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionDockWidget::Version}; +public Q_SLOTS: +QStyleOptionDockWidget* new_QStyleOptionDockWidget(); +QStyleOptionDockWidget* new_QStyleOptionDockWidget(const QStyleOptionDockWidget& other); +QStyleOptionDockWidget* new_QStyleOptionDockWidget(int version); +void delete_QStyleOptionDockWidget(QStyleOptionDockWidget* obj) { delete obj; } +void py_set_closable(QStyleOptionDockWidget* theWrappedObject, bool closable){ theWrappedObject->closable = closable; } +bool py_get_closable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->closable; } +void py_set_floatable(QStyleOptionDockWidget* theWrappedObject, bool floatable){ theWrappedObject->floatable = floatable; } +bool py_get_floatable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->floatable; } +void py_set_movable(QStyleOptionDockWidget* theWrappedObject, bool movable){ theWrappedObject->movable = movable; } +bool py_get_movable(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->movable; } +void py_set_title(QStyleOptionDockWidget* theWrappedObject, QString title){ theWrappedObject->title = title; } +QString py_get_title(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->title; } +void py_set_verticalTitleBar(QStyleOptionDockWidget* theWrappedObject, bool verticalTitleBar){ theWrappedObject->verticalTitleBar = verticalTitleBar; } +bool py_get_verticalTitleBar(QStyleOptionDockWidget* theWrappedObject){ return theWrappedObject->verticalTitleBar; } +}; + + + + + +class PythonQtShell_QStyleOptionDockWidgetV2 : public QStyleOptionDockWidgetV2 +{ +public: + PythonQtShell_QStyleOptionDockWidgetV2():QStyleOptionDockWidgetV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionDockWidgetV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionDockWidgetV2 : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(); +QStyleOptionDockWidgetV2* new_QStyleOptionDockWidgetV2(const QStyleOptionDockWidgetV2& other) { +PythonQtShell_QStyleOptionDockWidgetV2* a = new PythonQtShell_QStyleOptionDockWidgetV2(); +*((QStyleOptionDockWidgetV2*)a) = other; +return a; } +void delete_QStyleOptionDockWidgetV2(QStyleOptionDockWidgetV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionFocusRect : public QStyleOptionFocusRect +{ +public: + PythonQtShell_QStyleOptionFocusRect():QStyleOptionFocusRect(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFocusRect(const QStyleOptionFocusRect& other):QStyleOptionFocusRect(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFocusRect(int version):QStyleOptionFocusRect(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionFocusRect(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionFocusRect : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionFocusRect::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionFocusRect::Version}; +public Q_SLOTS: +QStyleOptionFocusRect* new_QStyleOptionFocusRect(); +QStyleOptionFocusRect* new_QStyleOptionFocusRect(const QStyleOptionFocusRect& other); +QStyleOptionFocusRect* new_QStyleOptionFocusRect(int version); +void delete_QStyleOptionFocusRect(QStyleOptionFocusRect* obj) { delete obj; } +void py_set_backgroundColor(QStyleOptionFocusRect* theWrappedObject, QColor backgroundColor){ theWrappedObject->backgroundColor = backgroundColor; } +QColor py_get_backgroundColor(QStyleOptionFocusRect* theWrappedObject){ return theWrappedObject->backgroundColor; } +}; + + + + + +class PythonQtShell_QStyleOptionFrame : public QStyleOptionFrame +{ +public: + PythonQtShell_QStyleOptionFrame():QStyleOptionFrame(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFrame(const QStyleOptionFrame& other):QStyleOptionFrame(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionFrame(int version):QStyleOptionFrame(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionFrame(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionFrame : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FrameFeature StyleOptionType StyleOptionVersion ) +Q_FLAGS(FrameFeatures ) +enum FrameFeature{ + None = QStyleOptionFrame::None, Flat = QStyleOptionFrame::Flat, Rounded = QStyleOptionFrame::Rounded}; +enum StyleOptionType{ + Type = QStyleOptionFrame::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionFrame::Version}; +Q_DECLARE_FLAGS(FrameFeatures, FrameFeature) +public Q_SLOTS: +QStyleOptionFrame* new_QStyleOptionFrame(); +QStyleOptionFrame* new_QStyleOptionFrame(const QStyleOptionFrame& other); +QStyleOptionFrame* new_QStyleOptionFrame(int version); +void delete_QStyleOptionFrame(QStyleOptionFrame* obj) { delete obj; } +void py_set_features(QStyleOptionFrame* theWrappedObject, QStyleOptionFrame::FrameFeatures features){ theWrappedObject->features = features; } +QStyleOptionFrame::FrameFeatures py_get_features(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->features; } +void py_set_frameShape(QStyleOptionFrame* theWrappedObject, QFrame::Shape frameShape){ theWrappedObject->frameShape = frameShape; } +QFrame::Shape py_get_frameShape(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->frameShape; } +void py_set_lineWidth(QStyleOptionFrame* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } +int py_get_lineWidth(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->lineWidth; } +void py_set_midLineWidth(QStyleOptionFrame* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } +int py_get_midLineWidth(QStyleOptionFrame* theWrappedObject){ return theWrappedObject->midLineWidth; } +}; + + + + + +class PythonQtShell_QStyleOptionFrameV2 : public QStyleOptionFrameV2 +{ +public: + PythonQtShell_QStyleOptionFrameV2():QStyleOptionFrameV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionFrameV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionFrameV2 : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QStyleOptionFrameV2* new_QStyleOptionFrameV2(); +QStyleOptionFrameV2* new_QStyleOptionFrameV2(const QStyleOptionFrameV2& other) { +PythonQtShell_QStyleOptionFrameV2* a = new PythonQtShell_QStyleOptionFrameV2(); +*((QStyleOptionFrameV2*)a) = other; +return a; } +void delete_QStyleOptionFrameV2(QStyleOptionFrameV2* obj) { delete obj; } +}; + + @@ -769,501 +1182,3 @@ void delete_QStyleOptionTabWidgetFrameV2(QStyleOptionTabWidgetFrameV2* obj) { de }; - - - -class PythonQtShell_QStyleOptionTitleBar : public QStyleOptionTitleBar -{ -public: - PythonQtShell_QStyleOptionTitleBar():QStyleOptionTitleBar(),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionTitleBar(const QStyleOptionTitleBar& other):QStyleOptionTitleBar(other),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionTitleBar(int version):QStyleOptionTitleBar(version),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionTitleBar(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionTitleBar : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionType StyleOptionVersion ) -enum StyleOptionType{ - Type = QStyleOptionTitleBar::Type}; -enum StyleOptionVersion{ - Version = QStyleOptionTitleBar::Version}; -public Q_SLOTS: -QStyleOptionTitleBar* new_QStyleOptionTitleBar(); -QStyleOptionTitleBar* new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other); -QStyleOptionTitleBar* new_QStyleOptionTitleBar(int version); -void delete_QStyleOptionTitleBar(QStyleOptionTitleBar* obj) { delete obj; } -void py_set_icon(QStyleOptionTitleBar* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } -QIcon py_get_icon(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->icon; } -void py_set_text(QStyleOptionTitleBar* theWrappedObject, QString text){ theWrappedObject->text = text; } -QString py_get_text(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->text; } -void py_set_titleBarFlags(QStyleOptionTitleBar* theWrappedObject, Qt::WindowFlags titleBarFlags){ theWrappedObject->titleBarFlags = titleBarFlags; } -Qt::WindowFlags py_get_titleBarFlags(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->titleBarFlags; } -void py_set_titleBarState(QStyleOptionTitleBar* theWrappedObject, int titleBarState){ theWrappedObject->titleBarState = titleBarState; } -int py_get_titleBarState(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->titleBarState; } -}; - - - - - -class PythonQtShell_QStyleOptionToolBar : public QStyleOptionToolBar -{ -public: - PythonQtShell_QStyleOptionToolBar():QStyleOptionToolBar(),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionToolBar(const QStyleOptionToolBar& other):QStyleOptionToolBar(other),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionToolBar(int version):QStyleOptionToolBar(version),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionToolBar(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionToolBar : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionType StyleOptionVersion ToolBarFeature ToolBarPosition ) -Q_FLAGS(ToolBarFeatures ) -enum StyleOptionType{ - Type = QStyleOptionToolBar::Type}; -enum StyleOptionVersion{ - Version = QStyleOptionToolBar::Version}; -enum ToolBarFeature{ - None = QStyleOptionToolBar::None, Movable = QStyleOptionToolBar::Movable}; -enum ToolBarPosition{ - Beginning = QStyleOptionToolBar::Beginning, Middle = QStyleOptionToolBar::Middle, End = QStyleOptionToolBar::End, OnlyOne = QStyleOptionToolBar::OnlyOne}; -Q_DECLARE_FLAGS(ToolBarFeatures, ToolBarFeature) -public Q_SLOTS: -QStyleOptionToolBar* new_QStyleOptionToolBar(); -QStyleOptionToolBar* new_QStyleOptionToolBar(const QStyleOptionToolBar& other); -QStyleOptionToolBar* new_QStyleOptionToolBar(int version); -void delete_QStyleOptionToolBar(QStyleOptionToolBar* obj) { delete obj; } -void py_set_features(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarFeatures features){ theWrappedObject->features = features; } -QStyleOptionToolBar::ToolBarFeatures py_get_features(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->features; } -void py_set_lineWidth(QStyleOptionToolBar* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } -int py_get_lineWidth(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->lineWidth; } -void py_set_midLineWidth(QStyleOptionToolBar* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } -int py_get_midLineWidth(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->midLineWidth; } -void py_set_positionOfLine(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarPosition positionOfLine){ theWrappedObject->positionOfLine = positionOfLine; } -QStyleOptionToolBar::ToolBarPosition py_get_positionOfLine(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->positionOfLine; } -void py_set_positionWithinLine(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarPosition positionWithinLine){ theWrappedObject->positionWithinLine = positionWithinLine; } -QStyleOptionToolBar::ToolBarPosition py_get_positionWithinLine(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->positionWithinLine; } -void py_set_toolBarArea(QStyleOptionToolBar* theWrappedObject, Qt::ToolBarArea toolBarArea){ theWrappedObject->toolBarArea = toolBarArea; } -Qt::ToolBarArea py_get_toolBarArea(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->toolBarArea; } -}; - - - - - -class PythonQtShell_QStyleOptionToolBox : public QStyleOptionToolBox -{ -public: - PythonQtShell_QStyleOptionToolBox():QStyleOptionToolBox(),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionToolBox(const QStyleOptionToolBox& other):QStyleOptionToolBox(other),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionToolBox(int version):QStyleOptionToolBox(version),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionToolBox(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionToolBox : public QObject -{ Q_OBJECT -public: -Q_ENUMS(SelectedPosition StyleOptionType StyleOptionVersion TabPosition ) -enum SelectedPosition{ - NotAdjacent = QStyleOptionToolBox::NotAdjacent, NextIsSelected = QStyleOptionToolBox::NextIsSelected, PreviousIsSelected = QStyleOptionToolBox::PreviousIsSelected}; -enum StyleOptionType{ - Type = QStyleOptionToolBox::Type}; -enum StyleOptionVersion{ - Version = QStyleOptionToolBox::Version}; -enum TabPosition{ - Beginning = QStyleOptionToolBox::Beginning, Middle = QStyleOptionToolBox::Middle, End = QStyleOptionToolBox::End, OnlyOneTab = QStyleOptionToolBox::OnlyOneTab}; -public Q_SLOTS: -QStyleOptionToolBox* new_QStyleOptionToolBox(); -QStyleOptionToolBox* new_QStyleOptionToolBox(const QStyleOptionToolBox& other); -QStyleOptionToolBox* new_QStyleOptionToolBox(int version); -void delete_QStyleOptionToolBox(QStyleOptionToolBox* obj) { delete obj; } -void py_set_icon(QStyleOptionToolBox* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } -QIcon py_get_icon(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->icon; } -void py_set_position(QStyleOptionToolBox* theWrappedObject, QStyleOptionToolBox::TabPosition position){ theWrappedObject->position = position; } -QStyleOptionToolBox::TabPosition py_get_position(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->position; } -void py_set_selectedPosition(QStyleOptionToolBox* theWrappedObject, QStyleOptionToolBox::SelectedPosition selectedPosition){ theWrappedObject->selectedPosition = selectedPosition; } -QStyleOptionToolBox::SelectedPosition py_get_selectedPosition(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->selectedPosition; } -void py_set_text(QStyleOptionToolBox* theWrappedObject, QString text){ theWrappedObject->text = text; } -QString py_get_text(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->text; } -}; - - - - - -class PythonQtShell_QStyleOptionToolBoxV2 : public QStyleOptionToolBoxV2 -{ -public: - PythonQtShell_QStyleOptionToolBoxV2():QStyleOptionToolBoxV2(),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionToolBoxV2(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionToolBoxV2 : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(); -QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2& other) { -PythonQtShell_QStyleOptionToolBoxV2* a = new PythonQtShell_QStyleOptionToolBoxV2(); -*((QStyleOptionToolBoxV2*)a) = other; -return a; } -void delete_QStyleOptionToolBoxV2(QStyleOptionToolBoxV2* obj) { delete obj; } -}; - - - - - -class PythonQtShell_QStyleOptionToolButton : public QStyleOptionToolButton -{ -public: - PythonQtShell_QStyleOptionToolButton():QStyleOptionToolButton(),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionToolButton(const QStyleOptionToolButton& other):QStyleOptionToolButton(other),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionToolButton(int version):QStyleOptionToolButton(version),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionToolButton(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionToolButton : public QObject -{ Q_OBJECT -public: -Q_ENUMS(StyleOptionType StyleOptionVersion ToolButtonFeature ) -Q_FLAGS(ToolButtonFeatures ) -enum StyleOptionType{ - Type = QStyleOptionToolButton::Type}; -enum StyleOptionVersion{ - Version = QStyleOptionToolButton::Version}; -enum ToolButtonFeature{ - None = QStyleOptionToolButton::None, Arrow = QStyleOptionToolButton::Arrow, Menu = QStyleOptionToolButton::Menu, MenuButtonPopup = QStyleOptionToolButton::MenuButtonPopup, PopupDelay = QStyleOptionToolButton::PopupDelay, HasMenu = QStyleOptionToolButton::HasMenu}; -Q_DECLARE_FLAGS(ToolButtonFeatures, ToolButtonFeature) -public Q_SLOTS: -QStyleOptionToolButton* new_QStyleOptionToolButton(); -QStyleOptionToolButton* new_QStyleOptionToolButton(const QStyleOptionToolButton& other); -QStyleOptionToolButton* new_QStyleOptionToolButton(int version); -void delete_QStyleOptionToolButton(QStyleOptionToolButton* obj) { delete obj; } -void py_set_arrowType(QStyleOptionToolButton* theWrappedObject, Qt::ArrowType arrowType){ theWrappedObject->arrowType = arrowType; } -Qt::ArrowType py_get_arrowType(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->arrowType; } -void py_set_features(QStyleOptionToolButton* theWrappedObject, QStyleOptionToolButton::ToolButtonFeatures features){ theWrappedObject->features = features; } -QStyleOptionToolButton::ToolButtonFeatures py_get_features(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->features; } -void py_set_font(QStyleOptionToolButton* theWrappedObject, QFont font){ theWrappedObject->font = font; } -QFont py_get_font(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->font; } -void py_set_icon(QStyleOptionToolButton* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } -QIcon py_get_icon(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->icon; } -void py_set_iconSize(QStyleOptionToolButton* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } -QSize py_get_iconSize(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->iconSize; } -void py_set_pos(QStyleOptionToolButton* theWrappedObject, QPoint pos){ theWrappedObject->pos = pos; } -QPoint py_get_pos(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->pos; } -void py_set_text(QStyleOptionToolButton* theWrappedObject, QString text){ theWrappedObject->text = text; } -QString py_get_text(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->text; } -void py_set_toolButtonStyle(QStyleOptionToolButton* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle){ theWrappedObject->toolButtonStyle = toolButtonStyle; } -Qt::ToolButtonStyle py_get_toolButtonStyle(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->toolButtonStyle; } -}; - - - - - -class PythonQtShell_QStyleOptionViewItem : public QStyleOptionViewItem -{ -public: - PythonQtShell_QStyleOptionViewItem():QStyleOptionViewItem(),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionViewItem(const QStyleOptionViewItem& other):QStyleOptionViewItem(other),_wrapper(nullptr) {}; - PythonQtShell_QStyleOptionViewItem(int version):QStyleOptionViewItem(version),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionViewItem(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionViewItem : public QObject -{ Q_OBJECT -public: -Q_ENUMS(Position StyleOptionType StyleOptionVersion ViewItemFeature ViewItemPosition ) -Q_FLAGS(ViewItemFeatures ) -enum Position{ - Left = QStyleOptionViewItem::Left, Right = QStyleOptionViewItem::Right, Top = QStyleOptionViewItem::Top, Bottom = QStyleOptionViewItem::Bottom}; -enum StyleOptionType{ - Type = QStyleOptionViewItem::Type}; -enum StyleOptionVersion{ - Version = QStyleOptionViewItem::Version}; -enum ViewItemFeature{ - None = QStyleOptionViewItem::None, WrapText = QStyleOptionViewItem::WrapText, Alternate = QStyleOptionViewItem::Alternate, HasCheckIndicator = QStyleOptionViewItem::HasCheckIndicator, HasDisplay = QStyleOptionViewItem::HasDisplay, HasDecoration = QStyleOptionViewItem::HasDecoration}; -enum ViewItemPosition{ - Invalid = QStyleOptionViewItem::Invalid, Beginning = QStyleOptionViewItem::Beginning, Middle = QStyleOptionViewItem::Middle, End = QStyleOptionViewItem::End, OnlyOne = QStyleOptionViewItem::OnlyOne}; -Q_DECLARE_FLAGS(ViewItemFeatures, ViewItemFeature) -public Q_SLOTS: -QStyleOptionViewItem* new_QStyleOptionViewItem(); -QStyleOptionViewItem* new_QStyleOptionViewItem(const QStyleOptionViewItem& other); -QStyleOptionViewItem* new_QStyleOptionViewItem(int version); -void delete_QStyleOptionViewItem(QStyleOptionViewItem* obj) { delete obj; } -void py_set_backgroundBrush(QStyleOptionViewItem* theWrappedObject, QBrush backgroundBrush){ theWrappedObject->backgroundBrush = backgroundBrush; } -QBrush py_get_backgroundBrush(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->backgroundBrush; } -void py_set_checkState(QStyleOptionViewItem* theWrappedObject, Qt::CheckState checkState){ theWrappedObject->checkState = checkState; } -Qt::CheckState py_get_checkState(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->checkState; } -void py_set_decorationAlignment(QStyleOptionViewItem* theWrappedObject, Qt::Alignment decorationAlignment){ theWrappedObject->decorationAlignment = decorationAlignment; } -Qt::Alignment py_get_decorationAlignment(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationAlignment; } -void py_set_decorationPosition(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::Position decorationPosition){ theWrappedObject->decorationPosition = decorationPosition; } -QStyleOptionViewItem::Position py_get_decorationPosition(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationPosition; } -void py_set_decorationSize(QStyleOptionViewItem* theWrappedObject, QSize decorationSize){ theWrappedObject->decorationSize = decorationSize; } -QSize py_get_decorationSize(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationSize; } -void py_set_displayAlignment(QStyleOptionViewItem* theWrappedObject, Qt::Alignment displayAlignment){ theWrappedObject->displayAlignment = displayAlignment; } -Qt::Alignment py_get_displayAlignment(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->displayAlignment; } -void py_set_features(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::ViewItemFeatures features){ theWrappedObject->features = features; } -QStyleOptionViewItem::ViewItemFeatures py_get_features(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->features; } -void py_set_font(QStyleOptionViewItem* theWrappedObject, QFont font){ theWrappedObject->font = font; } -QFont py_get_font(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->font; } -void py_set_icon(QStyleOptionViewItem* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } -QIcon py_get_icon(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->icon; } -void py_set_index(QStyleOptionViewItem* theWrappedObject, QModelIndex index){ theWrappedObject->index = index; } -QModelIndex py_get_index(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->index; } -void py_set_locale(QStyleOptionViewItem* theWrappedObject, QLocale locale){ theWrappedObject->locale = locale; } -QLocale py_get_locale(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->locale; } -void py_set_showDecorationSelected(QStyleOptionViewItem* theWrappedObject, bool showDecorationSelected){ theWrappedObject->showDecorationSelected = showDecorationSelected; } -bool py_get_showDecorationSelected(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->showDecorationSelected; } -void py_set_text(QStyleOptionViewItem* theWrappedObject, QString text){ theWrappedObject->text = text; } -QString py_get_text(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->text; } -void py_set_textElideMode(QStyleOptionViewItem* theWrappedObject, Qt::TextElideMode textElideMode){ theWrappedObject->textElideMode = textElideMode; } -Qt::TextElideMode py_get_textElideMode(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->textElideMode; } -void py_set_viewItemPosition(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::ViewItemPosition viewItemPosition){ theWrappedObject->viewItemPosition = viewItemPosition; } -QStyleOptionViewItem::ViewItemPosition py_get_viewItemPosition(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->viewItemPosition; } -const QWidget* py_get_widget(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->widget; } -}; - - - - - -class PythonQtShell_QStyleOptionViewItemV2 : public QStyleOptionViewItemV2 -{ -public: - PythonQtShell_QStyleOptionViewItemV2():QStyleOptionViewItemV2(),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionViewItemV2(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionViewItemV2 : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(); -QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(const QStyleOptionViewItemV2& other) { -PythonQtShell_QStyleOptionViewItemV2* a = new PythonQtShell_QStyleOptionViewItemV2(); -*((QStyleOptionViewItemV2*)a) = other; -return a; } -void delete_QStyleOptionViewItemV2(QStyleOptionViewItemV2* obj) { delete obj; } -}; - - - - - -class PythonQtShell_QStyleOptionViewItemV3 : public QStyleOptionViewItemV3 -{ -public: - PythonQtShell_QStyleOptionViewItemV3():QStyleOptionViewItemV3(),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionViewItemV3(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionViewItemV3 : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(); -QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(const QStyleOptionViewItemV3& other) { -PythonQtShell_QStyleOptionViewItemV3* a = new PythonQtShell_QStyleOptionViewItemV3(); -*((QStyleOptionViewItemV3*)a) = other; -return a; } -void delete_QStyleOptionViewItemV3(QStyleOptionViewItemV3* obj) { delete obj; } -}; - - - - - -class PythonQtShell_QStyleOptionViewItemV4 : public QStyleOptionViewItemV4 -{ -public: - PythonQtShell_QStyleOptionViewItemV4():QStyleOptionViewItemV4(),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyleOptionViewItemV4(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QStyleOptionViewItemV4 : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(); -QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(const QStyleOptionViewItemV4& other) { -PythonQtShell_QStyleOptionViewItemV4* a = new PythonQtShell_QStyleOptionViewItemV4(); -*((QStyleOptionViewItemV4*)a) = other; -return a; } -void delete_QStyleOptionViewItemV4(QStyleOptionViewItemV4* obj) { delete obj; } -}; - - - - - -class PythonQtWrapper_QStylePainter : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QStylePainter* new_QStylePainter(); -QStylePainter* new_QStylePainter(QPaintDevice* pd, QWidget* w); -QStylePainter* new_QStylePainter(QWidget* w); -void delete_QStylePainter(QStylePainter* obj) { delete obj; } - bool begin(QStylePainter* theWrappedObject, QPaintDevice* pd, QWidget* w); - bool begin(QStylePainter* theWrappedObject, QWidget* w); - void drawComplexControl(QStylePainter* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex& opt); - void drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt); - void drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap); - void drawItemText(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole); - void drawPrimitive(QStylePainter* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption& opt); - QStyle* style(QStylePainter* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QStylePlugin : public QStylePlugin -{ -public: - PythonQtShell_QStylePlugin(QObject* parent = nullptr):QStylePlugin(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QStylePlugin() override; - -void childEvent(QChildEvent* event) override; -QStyle* create(const QString& key) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QStylePlugin : public QStylePlugin -{ public: -inline QStyle* py_q_create(const QString& key) { return this->create(key); } -}; - -class PythonQtWrapper_QStylePlugin : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QStylePlugin* new_QStylePlugin(QObject* parent = nullptr); -void delete_QStylePlugin(QStylePlugin* obj) { delete obj; } - QStyle* create(QStylePlugin* theWrappedObject, const QString& key); - QStyle* py_q_create(QStylePlugin* theWrappedObject, const QString& key){ return (((PythonQtPublicPromoter_QStylePlugin*)theWrappedObject)->py_q_create(key));} -}; - - - - - -class PythonQtShell_QStyledItemDelegate : public QStyledItemDelegate -{ -public: - PythonQtShell_QStyledItemDelegate(QObject* parent = nullptr):QStyledItemDelegate(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QStyledItemDelegate() override; - -void childEvent(QChildEvent* event) override; -QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const override; -void customEvent(QEvent* event) override; -void destroyEditor(QWidget* editor, const QModelIndex& index) const override; -QString displayText(const QVariant& value, const QLocale& locale) const override; -bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* object, QEvent* event) override; -bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index) override; -void initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const override; -void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override; -QVector paintingRoles() const override; -void setEditorData(QWidget* editor, const QModelIndex& index) const override; -void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const override; -QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override; -void timerEvent(QTimerEvent* event) override; -void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QStyledItemDelegate : public QStyledItemDelegate -{ public: -inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return this->editorEvent(event, model, option, index); } -inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } -inline void promoted_initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const { this->initStyleOption(option, index); } -inline QWidget* py_q_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::createEditor(parent, option, index); } -inline QString py_q_displayText(const QVariant& value, const QLocale& locale) const { return QStyledItemDelegate::displayText(value, locale); } -inline bool py_q_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QStyledItemDelegate::editorEvent(event, model, option, index); } -inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QStyledItemDelegate::eventFilter(object, event); } -inline void py_q_initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const { QStyledItemDelegate::initStyleOption(option, index); } -inline void py_q_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::paint(painter, option, index); } -inline void py_q_setEditorData(QWidget* editor, const QModelIndex& index) const { QStyledItemDelegate::setEditorData(editor, index); } -inline void py_q_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QStyledItemDelegate::setModelData(editor, model, index); } -inline QSize py_q_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::sizeHint(option, index); } -inline void py_q_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::updateEditorGeometry(editor, option, index); } -}; - -class PythonQtWrapper_QStyledItemDelegate : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QStyledItemDelegate* new_QStyledItemDelegate(QObject* parent = nullptr); -void delete_QStyledItemDelegate(QStyledItemDelegate* obj) { delete obj; } - QWidget* py_q_createEditor(QStyledItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_createEditor(parent, option, index));} - QString displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const; - QString py_q_displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_displayText(value, locale));} - bool py_q_editorEvent(QStyledItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index){ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_editorEvent(event, model, option, index));} - bool py_q_eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_eventFilter(object, event));} - void initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const; - void py_q_initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_initStyleOption(option, index));} - QItemEditorFactory* itemEditorFactory(QStyledItemDelegate* theWrappedObject) const; - void py_q_paint(QStyledItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_paint(painter, option, index));} - void py_q_setEditorData(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_setEditorData(editor, index));} - void setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory); - void py_q_setModelData(QStyledItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_setModelData(editor, model, index));} - QSize py_q_sizeHint(QStyledItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_sizeHint(option, index));} - void py_q_updateEditorGeometry(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_updateEditorGeometry(editor, option, index));} -}; - - diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp similarity index 70% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp index 50bb4b7e1..25ea6f86c 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui10.cpp +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui9.cpp @@ -1,35 +1,32 @@ -#include "com_trolltech_qt_gui10.h" +#include "com_trolltech_qt_gui9.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 -#include -#include #include #include -#include #include #include #include @@ -45,105 +42,275 @@ #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 -PythonQtShell_QSurface::~PythonQtShell_QSurface() { +PythonQtShell_QStyleOptionTitleBar::~PythonQtShell_QStyleOptionTitleBar() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QSurfaceFormat PythonQtShell_QSurface::format() const +QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar() +{ +return new PythonQtShell_QStyleOptionTitleBar(); } + +QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other) +{ +return new PythonQtShell_QStyleOptionTitleBar(other); } + +QStyleOptionTitleBar* PythonQtWrapper_QStyleOptionTitleBar::new_QStyleOptionTitleBar(int version) +{ +return new PythonQtShell_QStyleOptionTitleBar(version); } + + + +PythonQtShell_QStyleOptionToolBar::~PythonQtShell_QStyleOptionToolBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar() +{ +return new PythonQtShell_QStyleOptionToolBar(); } + +QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar(const QStyleOptionToolBar& other) +{ +return new PythonQtShell_QStyleOptionToolBar(other); } + +QStyleOptionToolBar* PythonQtWrapper_QStyleOptionToolBar::new_QStyleOptionToolBar(int version) +{ +return new PythonQtShell_QStyleOptionToolBar(version); } + + + +PythonQtShell_QStyleOptionToolBox::~PythonQtShell_QStyleOptionToolBox() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox() +{ +return new PythonQtShell_QStyleOptionToolBox(); } + +QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox(const QStyleOptionToolBox& other) +{ +return new PythonQtShell_QStyleOptionToolBox(other); } + +QStyleOptionToolBox* PythonQtWrapper_QStyleOptionToolBox::new_QStyleOptionToolBox(int version) +{ +return new PythonQtShell_QStyleOptionToolBox(version); } + + + +PythonQtShell_QStyleOptionToolBoxV2::~PythonQtShell_QStyleOptionToolBoxV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionToolBoxV2* PythonQtWrapper_QStyleOptionToolBoxV2::new_QStyleOptionToolBoxV2() +{ +return new PythonQtShell_QStyleOptionToolBoxV2(); } + + + +PythonQtShell_QStyleOptionToolButton::~PythonQtShell_QStyleOptionToolButton() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton() +{ +return new PythonQtShell_QStyleOptionToolButton(); } + +QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton(const QStyleOptionToolButton& other) +{ +return new PythonQtShell_QStyleOptionToolButton(other); } + +QStyleOptionToolButton* PythonQtWrapper_QStyleOptionToolButton::new_QStyleOptionToolButton(int version) +{ +return new PythonQtShell_QStyleOptionToolButton(version); } + + + +PythonQtShell_QStyleOptionViewItem::~PythonQtShell_QStyleOptionViewItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem() +{ +return new PythonQtShell_QStyleOptionViewItem(); } + +QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem(const QStyleOptionViewItem& other) +{ +return new PythonQtShell_QStyleOptionViewItem(other); } + +QStyleOptionViewItem* PythonQtWrapper_QStyleOptionViewItem::new_QStyleOptionViewItem(int version) +{ +return new PythonQtShell_QStyleOptionViewItem(version); } + + + +PythonQtShell_QStyleOptionViewItemV2::~PythonQtShell_QStyleOptionViewItemV2() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionViewItemV2* PythonQtWrapper_QStyleOptionViewItemV2::new_QStyleOptionViewItemV2() +{ +return new PythonQtShell_QStyleOptionViewItemV2(); } + + + +PythonQtShell_QStyleOptionViewItemV3::~PythonQtShell_QStyleOptionViewItemV3() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionViewItemV3* PythonQtWrapper_QStyleOptionViewItemV3::new_QStyleOptionViewItemV3() +{ +return new PythonQtShell_QStyleOptionViewItemV3(); } + + + +PythonQtShell_QStyleOptionViewItemV4::~PythonQtShell_QStyleOptionViewItemV4() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QStyleOptionViewItemV4* PythonQtWrapper_QStyleOptionViewItemV4::new_QStyleOptionViewItemV4() +{ +return new PythonQtShell_QStyleOptionViewItemV4(); } + + + +QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter() +{ +return new QStylePainter(); } + +QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter(QPaintDevice* pd, QWidget* w) +{ +return new QStylePainter(pd, w); } + +QStylePainter* PythonQtWrapper_QStylePainter::new_QStylePainter(QWidget* w) +{ +return new QStylePainter(w); } + +bool PythonQtWrapper_QStylePainter::begin(QStylePainter* theWrappedObject, QPaintDevice* pd, QWidget* w) +{ + return ( theWrappedObject->begin(pd, w)); +} + +bool PythonQtWrapper_QStylePainter::begin(QStylePainter* theWrappedObject, QWidget* w) +{ + return ( theWrappedObject->begin(w)); +} + +void PythonQtWrapper_QStylePainter::drawComplexControl(QStylePainter* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex& opt) +{ + ( theWrappedObject->drawComplexControl(cc, opt)); +} + +void PythonQtWrapper_QStylePainter::drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt) +{ + ( theWrappedObject->drawControl(ce, opt)); +} + +void PythonQtWrapper_QStylePainter::drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap) +{ + ( theWrappedObject->drawItemPixmap(r, flags, pixmap)); +} + +void PythonQtWrapper_QStylePainter::drawItemText(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole) +{ + ( theWrappedObject->drawItemText(r, flags, pal, enabled, text, textRole)); +} + +void PythonQtWrapper_QStylePainter::drawPrimitive(QStylePainter* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption& opt) +{ + ( theWrappedObject->drawPrimitive(pe, opt)); +} + +QStyle* PythonQtWrapper_QStylePainter::style(QStylePainter* theWrappedObject) const +{ + return ( theWrappedObject->style()); +} + + + +PythonQtShell_QStylePlugin::~PythonQtShell_QStylePlugin() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QStylePlugin::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("format"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSurfaceFormat"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurfaceFormat returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); - } else { - returnValue = *((QSurfaceFormat*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QSurfaceFormat(); + QStylePlugin::childEvent(event0); } -QSize PythonQtShell_QSurface::size() const +QStyle* PythonQtShell_QStylePlugin::create(const QString& key0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("size"); + static PyObject* name = PyUnicode_FromString("create"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"QStyle*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QStyle* returnValue{}; + void* args[2] = {nullptr, (void*)&key0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QStyle**)args[0]); } } } @@ -155,28 +322,50 @@ if (_wrapper) { } } } - return QSize(); + return nullptr; } -QPlatformSurface* PythonQtShell_QSurface::surfaceHandle() const +void PythonQtShell_QStylePlugin::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("surfaceHandle"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPlatformSurface*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPlatformSurface* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStylePlugin::customEvent(event0); +} +bool PythonQtShell_QStylePlugin::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("surfaceHandle", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPlatformSurface**)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -188,28 +377,28 @@ if (_wrapper) { } } } - return nullptr; + return QStylePlugin::event(event0); } -QSurface::SurfaceType PythonQtShell_QSurface::surfaceType() const +bool PythonQtShell_QStylePlugin::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("surfaceType"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSurface::SurfaceType"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSurface::SurfaceType returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSurface::SurfaceType*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -221,290 +410,59 @@ if (_wrapper) { } } } - return QSurface::SurfaceType(); -} -QSurface* PythonQtWrapper_QSurface::new_QSurface(QSurface::SurfaceClass type) -{ -return new PythonQtShell_QSurface(type); } - -QSurfaceFormat PythonQtWrapper_QSurface::format(QSurface* theWrappedObject) const -{ - return ( theWrappedObject->format()); + return QStylePlugin::eventFilter(watched0, event1); } - -QSize PythonQtWrapper_QSurface::size(QSurface* theWrappedObject) const +void PythonQtShell_QStylePlugin::timerEvent(QTimerEvent* event0) { - return ( theWrappedObject->size()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QSurface::supportsOpenGL(QSurface* theWrappedObject) const -{ - return ( theWrappedObject->supportsOpenGL()); + QStylePlugin::timerEvent(event0); } +QStylePlugin* PythonQtWrapper_QStylePlugin::new_QStylePlugin(QObject* parent) +{ +return new PythonQtShell_QStylePlugin(parent); } -QSurface::SurfaceClass PythonQtWrapper_QSurface::surfaceClass(QSurface* theWrappedObject) const -{ - return ( theWrappedObject->surfaceClass()); +const QMetaObject* PythonQtShell_QStylePlugin::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStylePlugin::staticMetaObject); + } else { + return &QStylePlugin::staticMetaObject; + } } - -QPlatformSurface* PythonQtWrapper_QSurface::surfaceHandle(QSurface* theWrappedObject) const -{ - return ( theWrappedObject->surfaceHandle()); +int PythonQtShell_QStylePlugin::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QStylePlugin::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -QSurface::SurfaceType PythonQtWrapper_QSurface::surfaceType(QSurface* theWrappedObject) const +QStyle* PythonQtWrapper_QStylePlugin::create(QStylePlugin* theWrappedObject, const QString& key) { - return ( theWrappedObject->surfaceType()); + return ( theWrappedObject->create(key)); } -QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat() -{ -return new QSurfaceFormat(); } - -QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat(QSurfaceFormat::FormatOptions options) -{ -return new QSurfaceFormat(options); } - -QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat(const QSurfaceFormat& other) -{ -return new QSurfaceFormat(other); } - -int PythonQtWrapper_QSurfaceFormat::alphaBufferSize(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->alphaBufferSize()); -} - -int PythonQtWrapper_QSurfaceFormat::blueBufferSize(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->blueBufferSize()); -} - -QSurfaceFormat::ColorSpace PythonQtWrapper_QSurfaceFormat::colorSpace(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->colorSpace()); -} - -QSurfaceFormat PythonQtWrapper_QSurfaceFormat::static_QSurfaceFormat_defaultFormat() -{ - return (QSurfaceFormat::defaultFormat()); -} - -int PythonQtWrapper_QSurfaceFormat::depthBufferSize(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->depthBufferSize()); -} - -int PythonQtWrapper_QSurfaceFormat::greenBufferSize(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->greenBufferSize()); -} - -bool PythonQtWrapper_QSurfaceFormat::hasAlpha(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->hasAlpha()); -} - -int PythonQtWrapper_QSurfaceFormat::majorVersion(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->majorVersion()); -} - -int PythonQtWrapper_QSurfaceFormat::minorVersion(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->minorVersion()); -} - -bool PythonQtWrapper_QSurfaceFormat::__ne__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2) -{ - return ( (*theWrappedObject)!= arg__2); -} - -QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::operator_assign(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& other) -{ - return &( (*theWrappedObject)= other); -} - -bool PythonQtWrapper_QSurfaceFormat::__eq__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2) -{ - return ( (*theWrappedObject)== arg__2); -} - -QSurfaceFormat::FormatOptions PythonQtWrapper_QSurfaceFormat::options(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->options()); -} - -QSurfaceFormat::OpenGLContextProfile PythonQtWrapper_QSurfaceFormat::profile(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->profile()); -} - -int PythonQtWrapper_QSurfaceFormat::redBufferSize(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->redBufferSize()); -} - -QSurfaceFormat::RenderableType PythonQtWrapper_QSurfaceFormat::renderableType(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->renderableType()); -} - -int PythonQtWrapper_QSurfaceFormat::samples(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->samples()); -} - -void PythonQtWrapper_QSurfaceFormat::setAlphaBufferSize(QSurfaceFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setAlphaBufferSize(size)); -} - -void PythonQtWrapper_QSurfaceFormat::setBlueBufferSize(QSurfaceFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setBlueBufferSize(size)); -} - -void PythonQtWrapper_QSurfaceFormat::setColorSpace(QSurfaceFormat* theWrappedObject, QSurfaceFormat::ColorSpace colorSpace) -{ - ( theWrappedObject->setColorSpace(colorSpace)); -} - -void PythonQtWrapper_QSurfaceFormat::static_QSurfaceFormat_setDefaultFormat(const QSurfaceFormat& format) -{ - (QSurfaceFormat::setDefaultFormat(format)); -} - -void PythonQtWrapper_QSurfaceFormat::setDepthBufferSize(QSurfaceFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setDepthBufferSize(size)); -} - -void PythonQtWrapper_QSurfaceFormat::setGreenBufferSize(QSurfaceFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setGreenBufferSize(size)); -} - -void PythonQtWrapper_QSurfaceFormat::setMajorVersion(QSurfaceFormat* theWrappedObject, int majorVersion) -{ - ( theWrappedObject->setMajorVersion(majorVersion)); -} - -void PythonQtWrapper_QSurfaceFormat::setMinorVersion(QSurfaceFormat* theWrappedObject, int minorVersion) -{ - ( theWrappedObject->setMinorVersion(minorVersion)); -} - -void PythonQtWrapper_QSurfaceFormat::setOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions opt) -{ - ( theWrappedObject->setOption(opt)); -} - -void PythonQtWrapper_QSurfaceFormat::setOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOption option, bool on) -{ - ( theWrappedObject->setOption(option, on)); -} - -void PythonQtWrapper_QSurfaceFormat::setOptions(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions options) -{ - ( theWrappedObject->setOptions(options)); -} - -void PythonQtWrapper_QSurfaceFormat::setProfile(QSurfaceFormat* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile) -{ - ( theWrappedObject->setProfile(profile)); -} - -void PythonQtWrapper_QSurfaceFormat::setRedBufferSize(QSurfaceFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setRedBufferSize(size)); -} - -void PythonQtWrapper_QSurfaceFormat::setRenderableType(QSurfaceFormat* theWrappedObject, QSurfaceFormat::RenderableType type) -{ - ( theWrappedObject->setRenderableType(type)); -} - -void PythonQtWrapper_QSurfaceFormat::setSamples(QSurfaceFormat* theWrappedObject, int numSamples) -{ - ( theWrappedObject->setSamples(numSamples)); -} - -void PythonQtWrapper_QSurfaceFormat::setStencilBufferSize(QSurfaceFormat* theWrappedObject, int size) -{ - ( theWrappedObject->setStencilBufferSize(size)); -} - -void PythonQtWrapper_QSurfaceFormat::setStereo(QSurfaceFormat* theWrappedObject, bool enable) -{ - ( theWrappedObject->setStereo(enable)); -} - -void PythonQtWrapper_QSurfaceFormat::setSwapBehavior(QSurfaceFormat* theWrappedObject, QSurfaceFormat::SwapBehavior behavior) -{ - ( theWrappedObject->setSwapBehavior(behavior)); -} - -void PythonQtWrapper_QSurfaceFormat::setSwapInterval(QSurfaceFormat* theWrappedObject, int interval) -{ - ( theWrappedObject->setSwapInterval(interval)); -} - -void PythonQtWrapper_QSurfaceFormat::setVersion(QSurfaceFormat* theWrappedObject, int major, int minor) -{ - ( theWrappedObject->setVersion(major, minor)); -} - -int PythonQtWrapper_QSurfaceFormat::stencilBufferSize(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->stencilBufferSize()); -} - -bool PythonQtWrapper_QSurfaceFormat::stereo(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->stereo()); -} - -QSurfaceFormat::SwapBehavior PythonQtWrapper_QSurfaceFormat::swapBehavior(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->swapBehavior()); -} - -int PythonQtWrapper_QSurfaceFormat::swapInterval(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->swapInterval()); -} - -bool PythonQtWrapper_QSurfaceFormat::testOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions opt) const -{ - return ( theWrappedObject->testOption(opt)); -} - -bool PythonQtWrapper_QSurfaceFormat::testOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOption option) const -{ - return ( theWrappedObject->testOption(option)); -} - -QPair PythonQtWrapper_QSurfaceFormat::version(QSurfaceFormat* theWrappedObject) const -{ - return ( theWrappedObject->version()); -} - -QString PythonQtWrapper_QSurfaceFormat::py_toString(QSurfaceFormat* obj) { - QString result; - QDebug d(&result); - d << *obj; - return result; -} - - - -PythonQtShell_QSwipeGesture::~PythonQtShell_QSwipeGesture() { +PythonQtShell_QStyledItemDelegate::~PythonQtShell_QStyledItemDelegate() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QSwipeGesture::childEvent(QChildEvent* event0) +void PythonQtShell_QStyledItemDelegate::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -524,31 +482,152 @@ if (_wrapper) { } } } - QSwipeGesture::childEvent(event0); + QStyledItemDelegate::childEvent(event0); } -void PythonQtShell_QSwipeGesture::customEvent(QEvent* event0) +QWidget* PythonQtShell_QStyledItemDelegate::createEditor(QWidget* parent0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("createEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QWidget*" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + QWidget* returnValue{}; + void* args[4] = {nullptr, (void*)&parent0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createEditor", methodInfo, result); + } else { + returnValue = *((QWidget**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSwipeGesture::customEvent(event0); + return QStyledItemDelegate::createEditor(parent0, option1, index2); } -bool PythonQtShell_QSwipeGesture::event(QEvent* event0) +void PythonQtShell_QStyledItemDelegate::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::customEvent(event0); +} +void PythonQtShell_QStyledItemDelegate::destroyEditor(QWidget* editor0, const QModelIndex& index1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("destroyEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::destroyEditor(editor0, index1); +} +QString PythonQtShell_QStyledItemDelegate::displayText(const QVariant& value0, const QLocale& locale1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("displayText"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QVariant&" , "const QLocale&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue{}; + void* args[3] = {nullptr, (void*)&value0, (void*)&locale1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("displayText", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::displayText(value0, locale1); +} +bool PythonQtShell_QStyledItemDelegate::editorEvent(QEvent* event0, QAbstractItemModel* model1, const QStyleOptionViewItem& option2, const QModelIndex& index3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("editorEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*" , "QAbstractItemModel*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue{}; + void* args[5] = {nullptr, (void*)&event0, (void*)&model1, (void*)&option2, (void*)&index3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("editorEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QStyledItemDelegate::editorEvent(event0, model1, option2, index3); +} +bool PythonQtShell_QStyledItemDelegate::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -579,9 +658,9 @@ if (_wrapper) { } } } - return QSwipeGesture::event(event0); + return QStyledItemDelegate::event(event0); } -bool PythonQtShell_QSwipeGesture::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QStyledItemDelegate::eventFilter(QObject* object0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -592,7 +671,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&object0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -612,84 +691,52 @@ if (_wrapper) { } } } - return QSwipeGesture::eventFilter(watched0, event1); + return QStyledItemDelegate::eventFilter(object0, event1); } -void PythonQtShell_QSwipeGesture::timerEvent(QTimerEvent* event0) +bool PythonQtShell_QStyledItemDelegate::helpEvent(QHelpEvent* event0, QAbstractItemView* view1, const QStyleOptionViewItem& option2, const QModelIndex& index3) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("helpEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QHelpEvent*" , "QAbstractItemView*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue{}; + void* args[5] = {nullptr, (void*)&event0, (void*)&view1, (void*)&option2, (void*)&index3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("helpEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSwipeGesture::timerEvent(event0); -} -QSwipeGesture* PythonQtWrapper_QSwipeGesture::new_QSwipeGesture(QObject* parent) -{ -return new PythonQtShell_QSwipeGesture(parent); } - -const QMetaObject* PythonQtShell_QSwipeGesture::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSwipeGesture::staticMetaObject); - } else { - return &QSwipeGesture::staticMetaObject; - } -} -int PythonQtShell_QSwipeGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSwipeGesture::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QSwipeGesture::SwipeDirection PythonQtWrapper_QSwipeGesture::horizontalDirection(QSwipeGesture* theWrappedObject) const -{ - return ( theWrappedObject->horizontalDirection()); -} - -void PythonQtWrapper_QSwipeGesture::setSwipeAngle(QSwipeGesture* theWrappedObject, qreal value) -{ - ( theWrappedObject->setSwipeAngle(value)); -} - -qreal PythonQtWrapper_QSwipeGesture::swipeAngle(QSwipeGesture* theWrappedObject) const -{ - return ( theWrappedObject->swipeAngle()); -} - -QSwipeGesture::SwipeDirection PythonQtWrapper_QSwipeGesture::verticalDirection(QSwipeGesture* theWrappedObject) const -{ - return ( theWrappedObject->verticalDirection()); -} - - - -PythonQtShell_QSyntaxHighlighter::~PythonQtShell_QSyntaxHighlighter() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QStyledItemDelegate::helpEvent(event0, view1, option2, index3); } -void PythonQtShell_QSyntaxHighlighter::childEvent(QChildEvent* event0) +void PythonQtShell_QStyledItemDelegate::initStyleOption(QStyleOptionViewItem* option0, const QModelIndex& index1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("initStyleOption"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"" , "QStyleOptionViewItem*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -699,19 +746,19 @@ if (_wrapper) { } } } - QSyntaxHighlighter::childEvent(event0); + QStyledItemDelegate::initStyleOption(option0, index1); } -void PythonQtShell_QSyntaxHighlighter::customEvent(QEvent* event0) +void PythonQtShell_QStyledItemDelegate::paint(QPainter* painter0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("paint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -721,28 +768,28 @@ if (_wrapper) { } } } - QSyntaxHighlighter::customEvent(event0); + QStyledItemDelegate::paint(painter0, option1, index2); } -bool PythonQtShell_QSyntaxHighlighter::event(QEvent* event0) +QVector PythonQtShell_QStyledItemDelegate::paintingRoles() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("paintingRoles"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QVector"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QVector returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("paintingRoles", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVector*)args[0]); } } } @@ -754,28 +801,72 @@ if (_wrapper) { } } } - return QSyntaxHighlighter::event(event0); + return QStyledItemDelegate::paintingRoles(); } -bool PythonQtShell_QSyntaxHighlighter::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QStyledItemDelegate::setEditorData(QWidget* editor0, const QModelIndex& index1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("setEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const char* argumentList[] ={"" , "QWidget*" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&editor0, (void*)&index1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::setEditorData(editor0, index1); +} +void PythonQtShell_QStyledItemDelegate::setModelData(QWidget* editor0, QAbstractItemModel* model1, const QModelIndex& index2) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setModelData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemModel*" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&editor0, (void*)&model1, (void*)&index2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QStyledItemDelegate::setModelData(editor0, model1, index2); +} +QSize PythonQtShell_QStyledItemDelegate::sizeHint(const QStyleOptionViewItem& option0, const QModelIndex& index1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSize returnValue{}; + void* args[3] = {nullptr, (void*)&option0, (void*)&index1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -787,19 +878,19 @@ if (_wrapper) { } } } - return QSyntaxHighlighter::eventFilter(watched0, event1); + return QStyledItemDelegate::sizeHint(option0, index1); } -void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text0) +void PythonQtShell_QStyledItemDelegate::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("highlightBlock"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&text0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -809,19 +900,19 @@ if (_wrapper) { } } } - + QStyledItemDelegate::timerEvent(event0); } -void PythonQtShell_QSyntaxHighlighter::timerEvent(QTimerEvent* event0) +void PythonQtShell_QStyledItemDelegate::updateEditorGeometry(QWidget* editor0, const QStyleOptionViewItem& option1, const QModelIndex& index2) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("updateEditorGeometry"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"" , "QWidget*" , "const QStyleOptionViewItem&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&editor0, (void*)&option1, (void*)&index2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -831,164 +922,137 @@ if (_wrapper) { } } } - QSyntaxHighlighter::timerEvent(event0); + QStyledItemDelegate::updateEditorGeometry(editor0, option1, index2); } -QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QObject* parent) -{ -return new PythonQtShell_QSyntaxHighlighter(parent); } - -QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QTextDocument* parent) +QStyledItemDelegate* PythonQtWrapper_QStyledItemDelegate::new_QStyledItemDelegate(QObject* parent) { -return new PythonQtShell_QSyntaxHighlighter(parent); } +return new PythonQtShell_QStyledItemDelegate(parent); } -const QMetaObject* PythonQtShell_QSyntaxHighlighter::metaObject() const { +const QMetaObject* PythonQtShell_QStyledItemDelegate::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSyntaxHighlighter::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QStyledItemDelegate::staticMetaObject); } else { - return &QSyntaxHighlighter::staticMetaObject; + return &QStyledItemDelegate::staticMetaObject; } } -int PythonQtShell_QSyntaxHighlighter::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSyntaxHighlighter::qt_metacall(call, id, args); +int PythonQtShell_QStyledItemDelegate::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QStyledItemDelegate::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QTextBlock PythonQtWrapper_QSyntaxHighlighter::currentBlock(QSyntaxHighlighter* theWrappedObject) const +QString PythonQtWrapper_QStyledItemDelegate::displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const { - return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlock()); + return ( theWrappedObject->displayText(value, locale)); } -int PythonQtWrapper_QSyntaxHighlighter::currentBlockState(QSyntaxHighlighter* theWrappedObject) const +void PythonQtWrapper_QStyledItemDelegate::initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const { - return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlockState()); -} - -QTextBlockUserData* PythonQtWrapper_QSyntaxHighlighter::currentBlockUserData(QSyntaxHighlighter* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlockUserData()); -} - -QTextDocument* PythonQtWrapper_QSyntaxHighlighter::document(QSyntaxHighlighter* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -QTextCharFormat PythonQtWrapper_QSyntaxHighlighter::format(QSyntaxHighlighter* theWrappedObject, int pos) const -{ - return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_format(pos)); -} - -void PythonQtWrapper_QSyntaxHighlighter::highlightBlock(QSyntaxHighlighter* theWrappedObject, const QString& text) -{ - ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_highlightBlock(text)); -} - -int PythonQtWrapper_QSyntaxHighlighter::previousBlockState(QSyntaxHighlighter* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_previousBlockState()); -} - -void PythonQtWrapper_QSyntaxHighlighter::setCurrentBlockState(QSyntaxHighlighter* theWrappedObject, int newState) -{ - ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setCurrentBlockState(newState)); -} - -void PythonQtWrapper_QSyntaxHighlighter::setCurrentBlockUserData(QSyntaxHighlighter* theWrappedObject, QTextBlockUserData* data) -{ - ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setCurrentBlockUserData(data)); -} - -void PythonQtWrapper_QSyntaxHighlighter::setDocument(QSyntaxHighlighter* theWrappedObject, QTextDocument* doc) -{ - ( theWrappedObject->setDocument(doc)); -} - -void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QColor& color) -{ - ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, color)); + ( ((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->promoted_initStyleOption(option, index)); } -void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QFont& font) +QItemEditorFactory* PythonQtWrapper_QStyledItemDelegate::itemEditorFactory(QStyledItemDelegate* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, font)); + return ( theWrappedObject->itemEditorFactory()); } -void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QTextCharFormat& format) +void PythonQtWrapper_QStyledItemDelegate::setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory) { - ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, format)); + ( theWrappedObject->setItemEditorFactory(factory)); } -PythonQtShell_QSystemTrayIcon::~PythonQtShell_QSystemTrayIcon() { +PythonQtShell_QSurface::~PythonQtShell_QSurface() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QSystemTrayIcon::childEvent(QChildEvent* event0) +QSurfaceFormat PythonQtShell_QSurface::format() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("format"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QSurfaceFormat"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurfaceFormat returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("format", methodInfo, result); + } else { + returnValue = *((QSurfaceFormat*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSystemTrayIcon::childEvent(event0); + return QSurfaceFormat(); } -void PythonQtShell_QSystemTrayIcon::customEvent(QEvent* event0) +QSize PythonQtShell_QSurface::size() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("size"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("size", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QSystemTrayIcon::customEvent(event0); + return QSize(); } -bool PythonQtShell_QSystemTrayIcon::event(QEvent* event0) +QPlatformSurface* PythonQtShell_QSurface::surfaceHandle() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("surfaceHandle"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QPlatformSurface*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPlatformSurface* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceHandle", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPlatformSurface**)args[0]); } } } @@ -1000,28 +1064,28 @@ if (_wrapper) { } } } - return QSystemTrayIcon::event(event0); + return nullptr; } -bool PythonQtShell_QSystemTrayIcon::eventFilter(QObject* watched0, QEvent* event1) +QSurface::SurfaceType PythonQtShell_QSurface::surfaceType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("surfaceType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"QSurface::SurfaceType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSurface::SurfaceType returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("surfaceType", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSurface::SurfaceType*)args[0]); } } } @@ -1033,116 +1097,298 @@ if (_wrapper) { } } } - return QSystemTrayIcon::eventFilter(watched0, event1); + return QSurface::SurfaceType(); } -void PythonQtShell_QSystemTrayIcon::timerEvent(QTimerEvent* event0) +QSurface* PythonQtWrapper_QSurface::new_QSurface(QSurface::SurfaceClass type) +{ +return new PythonQtShell_QSurface(type); } + +QSurfaceFormat PythonQtWrapper_QSurface::format(QSurface* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QSystemTrayIcon::timerEvent(event0); + return ( theWrappedObject->format()); } -QSystemTrayIcon* PythonQtWrapper_QSystemTrayIcon::new_QSystemTrayIcon(QObject* parent) -{ -return new PythonQtShell_QSystemTrayIcon(parent); } -QSystemTrayIcon* PythonQtWrapper_QSystemTrayIcon::new_QSystemTrayIcon(const QIcon& icon, QObject* parent) -{ -return new PythonQtShell_QSystemTrayIcon(icon, parent); } +QSize PythonQtWrapper_QSurface::size(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} -const QMetaObject* PythonQtShell_QSystemTrayIcon::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSystemTrayIcon::staticMetaObject); - } else { - return &QSystemTrayIcon::staticMetaObject; - } +bool PythonQtWrapper_QSurface::supportsOpenGL(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->supportsOpenGL()); } -int PythonQtShell_QSystemTrayIcon::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QSystemTrayIcon::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + +QSurface::SurfaceClass PythonQtWrapper_QSurface::surfaceClass(QSurface* theWrappedObject) const +{ + return ( theWrappedObject->surfaceClass()); } -QMenu* PythonQtWrapper_QSystemTrayIcon::contextMenu(QSystemTrayIcon* theWrappedObject) const + +QPlatformSurface* PythonQtWrapper_QSurface::surfaceHandle(QSurface* theWrappedObject) const { - return ( theWrappedObject->contextMenu()); + return ( theWrappedObject->surfaceHandle()); } -QRect PythonQtWrapper_QSystemTrayIcon::geometry(QSystemTrayIcon* theWrappedObject) const +QSurface::SurfaceType PythonQtWrapper_QSurface::surfaceType(QSurface* theWrappedObject) const { - return ( theWrappedObject->geometry()); + return ( theWrappedObject->surfaceType()); } -QIcon PythonQtWrapper_QSystemTrayIcon::icon(QSystemTrayIcon* theWrappedObject) const + + +QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat() +{ +return new QSurfaceFormat(); } + +QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat(QSurfaceFormat::FormatOptions options) +{ +return new QSurfaceFormat(options); } + +QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::new_QSurfaceFormat(const QSurfaceFormat& other) +{ +return new QSurfaceFormat(other); } + +int PythonQtWrapper_QSurfaceFormat::alphaBufferSize(QSurfaceFormat* theWrappedObject) const { - return ( theWrappedObject->icon()); + return ( theWrappedObject->alphaBufferSize()); } -bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_isSystemTrayAvailable() +int PythonQtWrapper_QSurfaceFormat::blueBufferSize(QSurfaceFormat* theWrappedObject) const { - return (QSystemTrayIcon::isSystemTrayAvailable()); + return ( theWrappedObject->blueBufferSize()); } -bool PythonQtWrapper_QSystemTrayIcon::isVisible(QSystemTrayIcon* theWrappedObject) const +QSurfaceFormat::ColorSpace PythonQtWrapper_QSurfaceFormat::colorSpace(QSurfaceFormat* theWrappedObject) const { - return ( theWrappedObject->isVisible()); + return ( theWrappedObject->colorSpace()); } -void PythonQtWrapper_QSystemTrayIcon::setContextMenu(QSystemTrayIcon* theWrappedObject, QMenu* menu) +QSurfaceFormat PythonQtWrapper_QSurfaceFormat::static_QSurfaceFormat_defaultFormat() { - ( theWrappedObject->setContextMenu(menu)); + return (QSurfaceFormat::defaultFormat()); } -void PythonQtWrapper_QSystemTrayIcon::setIcon(QSystemTrayIcon* theWrappedObject, const QIcon& icon) +int PythonQtWrapper_QSurfaceFormat::depthBufferSize(QSurfaceFormat* theWrappedObject) const { - ( theWrappedObject->setIcon(icon)); + return ( theWrappedObject->depthBufferSize()); } -void PythonQtWrapper_QSystemTrayIcon::setToolTip(QSystemTrayIcon* theWrappedObject, const QString& tip) +int PythonQtWrapper_QSurfaceFormat::greenBufferSize(QSurfaceFormat* theWrappedObject) const { - ( theWrappedObject->setToolTip(tip)); + return ( theWrappedObject->greenBufferSize()); } -bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_supportsMessages() +bool PythonQtWrapper_QSurfaceFormat::hasAlpha(QSurfaceFormat* theWrappedObject) const { - return (QSystemTrayIcon::supportsMessages()); + return ( theWrappedObject->hasAlpha()); } -QString PythonQtWrapper_QSystemTrayIcon::toolTip(QSystemTrayIcon* theWrappedObject) const +int PythonQtWrapper_QSurfaceFormat::majorVersion(QSurfaceFormat* theWrappedObject) const { - return ( theWrappedObject->toolTip()); + return ( theWrappedObject->majorVersion()); } +int PythonQtWrapper_QSurfaceFormat::minorVersion(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->minorVersion()); +} +bool PythonQtWrapper_QSurfaceFormat::__ne__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2) +{ + return ( (*theWrappedObject)!= arg__2); +} -PythonQtShell_QTabBar::~PythonQtShell_QTabBar() { +QSurfaceFormat* PythonQtWrapper_QSurfaceFormat::operator_assign(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& other) +{ + return &( (*theWrappedObject)= other); +} + +bool PythonQtWrapper_QSurfaceFormat::__eq__(QSurfaceFormat* theWrappedObject, const QSurfaceFormat& arg__2) +{ + return ( (*theWrappedObject)== arg__2); +} + +QSurfaceFormat::FormatOptions PythonQtWrapper_QSurfaceFormat::options(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->options()); +} + +QSurfaceFormat::OpenGLContextProfile PythonQtWrapper_QSurfaceFormat::profile(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->profile()); +} + +int PythonQtWrapper_QSurfaceFormat::redBufferSize(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->redBufferSize()); +} + +QSurfaceFormat::RenderableType PythonQtWrapper_QSurfaceFormat::renderableType(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->renderableType()); +} + +int PythonQtWrapper_QSurfaceFormat::samples(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->samples()); +} + +void PythonQtWrapper_QSurfaceFormat::setAlphaBufferSize(QSurfaceFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setAlphaBufferSize(size)); +} + +void PythonQtWrapper_QSurfaceFormat::setBlueBufferSize(QSurfaceFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setBlueBufferSize(size)); +} + +void PythonQtWrapper_QSurfaceFormat::setColorSpace(QSurfaceFormat* theWrappedObject, QSurfaceFormat::ColorSpace colorSpace) +{ + ( theWrappedObject->setColorSpace(colorSpace)); +} + +void PythonQtWrapper_QSurfaceFormat::static_QSurfaceFormat_setDefaultFormat(const QSurfaceFormat& format) +{ + (QSurfaceFormat::setDefaultFormat(format)); +} + +void PythonQtWrapper_QSurfaceFormat::setDepthBufferSize(QSurfaceFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setDepthBufferSize(size)); +} + +void PythonQtWrapper_QSurfaceFormat::setGreenBufferSize(QSurfaceFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setGreenBufferSize(size)); +} + +void PythonQtWrapper_QSurfaceFormat::setMajorVersion(QSurfaceFormat* theWrappedObject, int majorVersion) +{ + ( theWrappedObject->setMajorVersion(majorVersion)); +} + +void PythonQtWrapper_QSurfaceFormat::setMinorVersion(QSurfaceFormat* theWrappedObject, int minorVersion) +{ + ( theWrappedObject->setMinorVersion(minorVersion)); +} + +void PythonQtWrapper_QSurfaceFormat::setOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions opt) +{ + ( theWrappedObject->setOption(opt)); +} + +void PythonQtWrapper_QSurfaceFormat::setOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOption option, bool on) +{ + ( theWrappedObject->setOption(option, on)); +} + +void PythonQtWrapper_QSurfaceFormat::setOptions(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions options) +{ + ( theWrappedObject->setOptions(options)); +} + +void PythonQtWrapper_QSurfaceFormat::setProfile(QSurfaceFormat* theWrappedObject, QSurfaceFormat::OpenGLContextProfile profile) +{ + ( theWrappedObject->setProfile(profile)); +} + +void PythonQtWrapper_QSurfaceFormat::setRedBufferSize(QSurfaceFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setRedBufferSize(size)); +} + +void PythonQtWrapper_QSurfaceFormat::setRenderableType(QSurfaceFormat* theWrappedObject, QSurfaceFormat::RenderableType type) +{ + ( theWrappedObject->setRenderableType(type)); +} + +void PythonQtWrapper_QSurfaceFormat::setSamples(QSurfaceFormat* theWrappedObject, int numSamples) +{ + ( theWrappedObject->setSamples(numSamples)); +} + +void PythonQtWrapper_QSurfaceFormat::setStencilBufferSize(QSurfaceFormat* theWrappedObject, int size) +{ + ( theWrappedObject->setStencilBufferSize(size)); +} + +void PythonQtWrapper_QSurfaceFormat::setStereo(QSurfaceFormat* theWrappedObject, bool enable) +{ + ( theWrappedObject->setStereo(enable)); +} + +void PythonQtWrapper_QSurfaceFormat::setSwapBehavior(QSurfaceFormat* theWrappedObject, QSurfaceFormat::SwapBehavior behavior) +{ + ( theWrappedObject->setSwapBehavior(behavior)); +} + +void PythonQtWrapper_QSurfaceFormat::setSwapInterval(QSurfaceFormat* theWrappedObject, int interval) +{ + ( theWrappedObject->setSwapInterval(interval)); +} + +void PythonQtWrapper_QSurfaceFormat::setVersion(QSurfaceFormat* theWrappedObject, int major, int minor) +{ + ( theWrappedObject->setVersion(major, minor)); +} + +int PythonQtWrapper_QSurfaceFormat::stencilBufferSize(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->stencilBufferSize()); +} + +bool PythonQtWrapper_QSurfaceFormat::stereo(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->stereo()); +} + +QSurfaceFormat::SwapBehavior PythonQtWrapper_QSurfaceFormat::swapBehavior(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->swapBehavior()); +} + +int PythonQtWrapper_QSurfaceFormat::swapInterval(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->swapInterval()); +} + +bool PythonQtWrapper_QSurfaceFormat::testOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOptions opt) const +{ + return ( theWrappedObject->testOption(opt)); +} + +bool PythonQtWrapper_QSurfaceFormat::testOption(QSurfaceFormat* theWrappedObject, QSurfaceFormat::FormatOption option) const +{ + return ( theWrappedObject->testOption(option)); +} + +QPair PythonQtWrapper_QSurfaceFormat::version(QSurfaceFormat* theWrappedObject) const +{ + return ( theWrappedObject->version()); +} + +QString PythonQtWrapper_QSurfaceFormat::py_toString(QSurfaceFormat* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QSwipeGesture::~PythonQtShell_QSwipeGesture() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTabBar::actionEvent(QActionEvent* event0) +void PythonQtShell_QSwipeGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1154,19 +1400,19 @@ if (_wrapper) { } } } - QTabBar::actionEvent(event0); + QSwipeGesture::childEvent(event0); } -void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) +void PythonQtShell_QSwipeGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1176,61 +1422,83 @@ if (_wrapper) { } } } - QTabBar::changeEvent(arg__1); + QSwipeGesture::customEvent(event0); } -void PythonQtShell_QTabBar::childEvent(QChildEvent* event0) +bool PythonQtShell_QSwipeGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::childEvent(event0); + return QSwipeGesture::event(event0); } -void PythonQtShell_QTabBar::closeEvent(QCloseEvent* event0) +bool PythonQtShell_QSwipeGesture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::closeEvent(event0); + return QSwipeGesture::eventFilter(watched0, event1); } -void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* event0) +void PythonQtShell_QSwipeGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1242,14 +1510,79 @@ if (_wrapper) { } } } - QTabBar::contextMenuEvent(event0); + QSwipeGesture::timerEvent(event0); } -void PythonQtShell_QTabBar::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); +QSwipeGesture* PythonQtWrapper_QSwipeGesture::new_QSwipeGesture(QObject* parent) +{ +return new PythonQtShell_QSwipeGesture(parent); } + +const QMetaObject* PythonQtShell_QSwipeGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSwipeGesture::staticMetaObject); + } else { + return &QSwipeGesture::staticMetaObject; + } +} +int PythonQtShell_QSwipeGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSwipeGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QSwipeGesture::SwipeDirection PythonQtWrapper_QSwipeGesture::horizontalDirection(QSwipeGesture* theWrappedObject) const +{ + return ( theWrappedObject->horizontalDirection()); +} + +void PythonQtWrapper_QSwipeGesture::setSwipeAngle(QSwipeGesture* theWrappedObject, qreal value) +{ + ( theWrappedObject->setSwipeAngle(value)); +} + +qreal PythonQtWrapper_QSwipeGesture::swipeAngle(QSwipeGesture* theWrappedObject) const +{ + return ( theWrappedObject->swipeAngle()); +} + +QSwipeGesture::SwipeDirection PythonQtWrapper_QSwipeGesture::verticalDirection(QSwipeGesture* theWrappedObject) const +{ + return ( theWrappedObject->verticalDirection()); +} + + + +PythonQtShell_QSyntaxHighlighter::~PythonQtShell_QSyntaxHighlighter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSyntaxHighlighter::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QSyntaxHighlighter::childEvent(event0); +} +void PythonQtShell_QSyntaxHighlighter::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; @@ -1264,28 +1597,28 @@ if (_wrapper) { } } } - QTabBar::customEvent(event0); + QSyntaxHighlighter::customEvent(event0); } -int PythonQtShell_QTabBar::devType() const +bool PythonQtShell_QSyntaxHighlighter::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -1297,41 +1630,52 @@ if (_wrapper) { } } } - return QTabBar::devType(); + return QSyntaxHighlighter::event(event0); } -void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* event0) +bool PythonQtShell_QSyntaxHighlighter::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::dragEnterEvent(event0); + return QSyntaxHighlighter::eventFilter(watched0, event1); } -void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* event0) +void PythonQtShell_QSyntaxHighlighter::highlightBlock(const QString& text0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + static PyObject* name = PyUnicode_FromString("highlightBlock"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const char* argumentList[] ={"" , "const QString&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&text0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1341,17 +1685,17 @@ if (_wrapper) { } } } - QTabBar::dragLeaveEvent(event0); + } -void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* event0) +void PythonQtShell_QSyntaxHighlighter::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1363,17 +1707,109 @@ if (_wrapper) { } } } - QTabBar::dragMoveEvent(event0); + QSyntaxHighlighter::timerEvent(event0); } -void PythonQtShell_QTabBar::dropEvent(QDropEvent* event0) +QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QObject* parent) +{ +return new PythonQtShell_QSyntaxHighlighter(parent); } + +QSyntaxHighlighter* PythonQtWrapper_QSyntaxHighlighter::new_QSyntaxHighlighter(QTextDocument* parent) +{ +return new PythonQtShell_QSyntaxHighlighter(parent); } + +const QMetaObject* PythonQtShell_QSyntaxHighlighter::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSyntaxHighlighter::staticMetaObject); + } else { + return &QSyntaxHighlighter::staticMetaObject; + } +} +int PythonQtShell_QSyntaxHighlighter::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSyntaxHighlighter::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QTextBlock PythonQtWrapper_QSyntaxHighlighter::currentBlock(QSyntaxHighlighter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlock()); +} + +int PythonQtWrapper_QSyntaxHighlighter::currentBlockState(QSyntaxHighlighter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlockState()); +} + +QTextBlockUserData* PythonQtWrapper_QSyntaxHighlighter::currentBlockUserData(QSyntaxHighlighter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_currentBlockUserData()); +} + +QTextDocument* PythonQtWrapper_QSyntaxHighlighter::document(QSyntaxHighlighter* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +QTextCharFormat PythonQtWrapper_QSyntaxHighlighter::format(QSyntaxHighlighter* theWrappedObject, int pos) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_format(pos)); +} + +void PythonQtWrapper_QSyntaxHighlighter::highlightBlock(QSyntaxHighlighter* theWrappedObject, const QString& text) +{ + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_highlightBlock(text)); +} + +int PythonQtWrapper_QSyntaxHighlighter::previousBlockState(QSyntaxHighlighter* theWrappedObject) const +{ + return ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_previousBlockState()); +} + +void PythonQtWrapper_QSyntaxHighlighter::setCurrentBlockState(QSyntaxHighlighter* theWrappedObject, int newState) +{ + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setCurrentBlockState(newState)); +} + +void PythonQtWrapper_QSyntaxHighlighter::setCurrentBlockUserData(QSyntaxHighlighter* theWrappedObject, QTextBlockUserData* data) +{ + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setCurrentBlockUserData(data)); +} + +void PythonQtWrapper_QSyntaxHighlighter::setDocument(QSyntaxHighlighter* theWrappedObject, QTextDocument* doc) +{ + ( theWrappedObject->setDocument(doc)); +} + +void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QColor& color) +{ + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, color)); +} + +void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QFont& font) +{ + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, font)); +} + +void PythonQtWrapper_QSyntaxHighlighter::setFormat(QSyntaxHighlighter* theWrappedObject, int start, int count, const QTextCharFormat& format) +{ + ( ((PythonQtPublicPromoter_QSyntaxHighlighter*)theWrappedObject)->promoted_setFormat(start, count, format)); +} + + + +PythonQtShell_QSystemTrayIcon::~PythonQtShell_QSystemTrayIcon() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QSystemTrayIcon::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1385,14 +1821,14 @@ if (_wrapper) { } } } - QTabBar::dropEvent(event0); + QSystemTrayIcon::childEvent(event0); } -void PythonQtShell_QTabBar::enterEvent(QEvent* event0) +void PythonQtShell_QSystemTrayIcon::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; @@ -1407,9 +1843,9 @@ if (_wrapper) { } } } - QTabBar::enterEvent(event0); + QSystemTrayIcon::customEvent(event0); } -bool PythonQtShell_QTabBar::event(QEvent* arg__1) +bool PythonQtShell_QSystemTrayIcon::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1420,7 +1856,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -1440,9 +1876,9 @@ if (_wrapper) { } } } - return QTabBar::event(arg__1); + return QSystemTrayIcon::event(event0); } -bool PythonQtShell_QTabBar::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QSystemTrayIcon::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -1473,17 +1909,17 @@ if (_wrapper) { } } } - return QTabBar::eventFilter(watched0, event1); + return QSystemTrayIcon::eventFilter(watched0, event1); } -void PythonQtShell_QTabBar::focusInEvent(QFocusEvent* event0) +void PythonQtShell_QSystemTrayIcon::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1495,50 +1931,94 @@ if (_wrapper) { } } } - QTabBar::focusInEvent(event0); + QSystemTrayIcon::timerEvent(event0); } -bool PythonQtShell_QTabBar::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } +QSystemTrayIcon* PythonQtWrapper_QSystemTrayIcon::new_QSystemTrayIcon(QObject* parent) +{ +return new PythonQtShell_QSystemTrayIcon(parent); } + +QSystemTrayIcon* PythonQtWrapper_QSystemTrayIcon::new_QSystemTrayIcon(const QIcon& icon, QObject* parent) +{ +return new PythonQtShell_QSystemTrayIcon(icon, parent); } + +const QMetaObject* PythonQtShell_QSystemTrayIcon::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QSystemTrayIcon::staticMetaObject); + } else { + return &QSystemTrayIcon::staticMetaObject; } } - return QTabBar::focusNextPrevChild(next0); +int PythonQtShell_QSystemTrayIcon::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QSystemTrayIcon::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* event0) +QMenu* PythonQtWrapper_QSystemTrayIcon::contextMenu(QSystemTrayIcon* theWrappedObject) const +{ + return ( theWrappedObject->contextMenu()); +} + +QRect PythonQtWrapper_QSystemTrayIcon::geometry(QSystemTrayIcon* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +QIcon PythonQtWrapper_QSystemTrayIcon::icon(QSystemTrayIcon* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_isSystemTrayAvailable() +{ + return (QSystemTrayIcon::isSystemTrayAvailable()); +} + +bool PythonQtWrapper_QSystemTrayIcon::isVisible(QSystemTrayIcon* theWrappedObject) const +{ + return ( theWrappedObject->isVisible()); +} + +void PythonQtWrapper_QSystemTrayIcon::setContextMenu(QSystemTrayIcon* theWrappedObject, QMenu* menu) +{ + ( theWrappedObject->setContextMenu(menu)); +} + +void PythonQtWrapper_QSystemTrayIcon::setIcon(QSystemTrayIcon* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QSystemTrayIcon::setToolTip(QSystemTrayIcon* theWrappedObject, const QString& tip) +{ + ( theWrappedObject->setToolTip(tip)); +} + +bool PythonQtWrapper_QSystemTrayIcon::static_QSystemTrayIcon_supportsMessages() +{ + return (QSystemTrayIcon::supportsMessages()); +} + +QString PythonQtWrapper_QSystemTrayIcon::toolTip(QSystemTrayIcon* theWrappedObject) const +{ + return ( theWrappedObject->toolTip()); +} + + + +PythonQtShell_QTabBar::~PythonQtShell_QTabBar() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTabBar::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); + static PyObject* name = PyUnicode_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1550,85 +2030,63 @@ if (_wrapper) { } } } - QTabBar::focusOutEvent(event0); + QTabBar::actionEvent(event0); } -bool PythonQtShell_QTabBar::hasHeightForWidth() const +void PythonQtShell_QTabBar::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + static PyObject* name = PyUnicode_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::hasHeightForWidth(); + QTabBar::changeEvent(arg__1); } -int PythonQtShell_QTabBar::heightForWidth(int arg__1) const +void PythonQtShell_QTabBar::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::heightForWidth(arg__1); + QTabBar::childEvent(event0); } -void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) +void PythonQtShell_QTabBar::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); + static PyObject* name = PyUnicode_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1638,19 +2096,19 @@ if (_wrapper) { } } } - QTabBar::hideEvent(arg__1); + QTabBar::closeEvent(event0); } -void PythonQtShell_QTabBar::initPainter(QPainter* painter0) const +void PythonQtShell_QTabBar::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1660,19 +2118,19 @@ if (_wrapper) { } } } - QTabBar::initPainter(painter0); + QTabBar::contextMenuEvent(event0); } -void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QTabBar::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1682,28 +2140,28 @@ if (_wrapper) { } } } - QTabBar::inputMethodEvent(arg__1); + QTabBar::customEvent(event0); } -QVariant PythonQtShell_QTabBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const +int PythonQtShell_QTabBar::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -1715,19 +2173,19 @@ if (_wrapper) { } } } - return QTabBar::inputMethodQuery(arg__1); + return QTabBar::devType(); } -void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) +void PythonQtShell_QTabBar::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1737,17 +2195,17 @@ if (_wrapper) { } } } - QTabBar::keyPressEvent(arg__1); + QTabBar::dragEnterEvent(event0); } -void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QTabBar::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1759,17 +2217,17 @@ if (_wrapper) { } } } - QTabBar::keyReleaseEvent(event0); + QTabBar::dragLeaveEvent(event0); } -void PythonQtShell_QTabBar::leaveEvent(QEvent* event0) +void PythonQtShell_QTabBar::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1781,94 +2239,72 @@ if (_wrapper) { } } } - QTabBar::leaveEvent(event0); + QTabBar::dragMoveEvent(event0); } -int PythonQtShell_QTabBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QTabBar::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::metric(arg__1); + QTabBar::dropEvent(event0); } -QSize PythonQtShell_QTabBar::minimumSizeHint() const +void PythonQtShell_QTabBar::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::minimumSizeHint(); + QTabBar::enterEvent(event0); } -QSize PythonQtShell_QTabBar::minimumTabSizeHint(int index0) const +bool PythonQtShell_QTabBar::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumTabSizeHint"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize" , "int"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QSize returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumTabSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -1880,63 +2316,52 @@ if (_wrapper) { } } } - return QTabBar::minimumTabSizeHint(index0); -} -void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabBar::mouseDoubleClickEvent(event0); + return QTabBar::event(arg__1); } -void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) +bool PythonQtShell_QTabBar::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::mouseMoveEvent(arg__1); + return QTabBar::eventFilter(watched0, event1); } -void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) +void PythonQtShell_QTabBar::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -1946,39 +2371,50 @@ if (_wrapper) { } } } - QTabBar::mousePressEvent(arg__1); + QTabBar::focusInEvent(event0); } -void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) +bool PythonQtShell_QTabBar::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::mouseReleaseEvent(arg__1); + return QTabBar::focusNextPrevChild(next0); } -void PythonQtShell_QTabBar::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTabBar::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); + static PyObject* name = PyUnicode_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -1990,26 +2426,26 @@ if (_wrapper) { } } } - QTabBar::moveEvent(event0); + QTabBar::focusOutEvent(event0); } -bool PythonQtShell_QTabBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QTabBar::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -2023,28 +2459,28 @@ if (_wrapper) { } } } - return QTabBar::nativeEvent(eventType0, message1, result2); + return QTabBar::hasHeightForWidth(); } -QPaintEngine* PythonQtShell_QTabBar::paintEngine() const +int PythonQtShell_QTabBar::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((int*)args[0]); } } } @@ -2056,17 +2492,17 @@ if (_wrapper) { } } } - return QTabBar::paintEngine(); + return QTabBar::heightForWidth(arg__1); } -void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) +void PythonQtShell_QTabBar::hideEvent(QHideEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); + static PyObject* name = PyUnicode_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QHideEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -2078,50 +2514,39 @@ if (_wrapper) { } } } - QTabBar::paintEvent(arg__1); + QTabBar::hideEvent(arg__1); } -QPaintDevice* PythonQtShell_QTabBar::redirected(QPoint* offset0) const +void PythonQtShell_QTabBar::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::redirected(offset0); + QTabBar::initPainter(painter0); } -void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) +void PythonQtShell_QTabBar::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -2133,50 +2558,28 @@ if (_wrapper) { } } } - QTabBar::resizeEvent(arg__1); + QTabBar::inputMethodEvent(arg__1); } -void PythonQtShell_QTabBar::setVisible(bool visible0) +QVariant PythonQtShell_QTabBar::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabBar::setVisible(visible0); -} -QPainter* PythonQtShell_QTabBar::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((QVariant*)args[0]); } } } @@ -2188,17 +2591,17 @@ if (_wrapper) { } } } - return QTabBar::sharedPainter(); + return QTabBar::inputMethodQuery(arg__1); } -void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) +void PythonQtShell_QTabBar::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -2210,52 +2613,41 @@ if (_wrapper) { } } } - QTabBar::showEvent(arg__1); + QTabBar::keyPressEvent(arg__1); } -QSize PythonQtShell_QTabBar::sizeHint() const +void PythonQtShell_QTabBar::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTabBar::sizeHint(); + QTabBar::keyReleaseEvent(event0); } -void PythonQtShell_QTabBar::tabInserted(int index0) +void PythonQtShell_QTabBar::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabInserted"); + static PyObject* name = PyUnicode_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2265,58 +2657,80 @@ if (_wrapper) { } } } - QTabBar::tabInserted(index0); + QTabBar::leaveEvent(event0); } -void PythonQtShell_QTabBar::tabLayoutChange() +int PythonQtShell_QTabBar::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabLayoutChange"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::tabLayoutChange(); + return QTabBar::metric(arg__1); } -void PythonQtShell_QTabBar::tabRemoved(int index0) +QSize PythonQtShell_QTabBar::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabRemoved"); + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTabBar::tabRemoved(index0); + return QTabBar::minimumSizeHint(); } -QSize PythonQtShell_QTabBar::tabSizeHint(int index0) const +QSize PythonQtShell_QTabBar::minimumTabSizeHint(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabSizeHint"); + static PyObject* name = PyUnicode_FromString("minimumTabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"QSize" , "int"}; @@ -2328,7 +2742,7 @@ if (_wrapper) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("tabSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumTabSizeHint", methodInfo, result); } else { returnValue = *((QSize*)args[0]); } @@ -2342,17 +2756,17 @@ if (_wrapper) { } } } - return QTabBar::tabSizeHint(index0); + return QTabBar::minimumTabSizeHint(index0); } -void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTabBar::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -2364,19 +2778,19 @@ if (_wrapper) { } } } - QTabBar::tabletEvent(event0); + QTabBar::mouseDoubleClickEvent(event0); } -void PythonQtShell_QTabBar::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTabBar::mouseMoveEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2386,19 +2800,19 @@ if (_wrapper) { } } } - QTabBar::timerEvent(event0); + QTabBar::mouseMoveEvent(arg__1); } -void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* event0) +void PythonQtShell_QTabBar::mousePressEvent(QMouseEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); + static PyObject* name = PyUnicode_FromString("mousePressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -2408,5015 +2822,129 @@ if (_wrapper) { } } } - QTabBar::wheelEvent(event0); + QTabBar::mousePressEvent(arg__1); } -QTabBar* PythonQtWrapper_QTabBar::new_QTabBar(QWidget* parent) -{ -return new PythonQtShell_QTabBar(parent); } - -const QMetaObject* PythonQtShell_QTabBar::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTabBar::staticMetaObject); - } else { - return &QTabBar::staticMetaObject; +void PythonQtShell_QTabBar::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } } } -int PythonQtShell_QTabBar::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTabBar::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QString PythonQtWrapper_QTabBar::accessibleTabName(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->accessibleTabName(index)); + QTabBar::mouseReleaseEvent(arg__1); } - -int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text) +void PythonQtShell_QTabBar::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->addTab(icon, text)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QString& text) -{ - return ( theWrappedObject->addTab(text)); + QTabBar::moveEvent(event0); } - -bool PythonQtWrapper_QTabBar::autoHide(QTabBar* theWrappedObject) const +bool PythonQtShell_QTabBar::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - return ( theWrappedObject->autoHide()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTabBar::changeCurrentOnDrag(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->changeCurrentOnDrag()); + return QTabBar::nativeEvent(eventType0, message1, result2); } - -int PythonQtWrapper_QTabBar::count(QTabBar* theWrappedObject) const +QPaintEngine* PythonQtShell_QTabBar::paintEngine() const { - return ( theWrappedObject->count()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTabBar::currentIndex(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); + return QTabBar::paintEngine(); } - -bool PythonQtWrapper_QTabBar::documentMode(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->documentMode()); -} - -bool PythonQtWrapper_QTabBar::drawBase(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->drawBase()); -} - -Qt::TextElideMode PythonQtWrapper_QTabBar::elideMode(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->elideMode()); -} - -bool PythonQtWrapper_QTabBar::expanding(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->expanding()); -} - -QSize PythonQtWrapper_QTabBar::iconSize(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->iconSize()); -} - -void PythonQtWrapper_QTabBar::initStyleOption(QTabBar* theWrappedObject, QStyleOptionTab* option, int tabIndex) const -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_initStyleOption(option, tabIndex)); -} - -int PythonQtWrapper_QTabBar::insertTab(QTabBar* theWrappedObject, int index, const QIcon& icon, const QString& text) -{ - return ( theWrappedObject->insertTab(index, icon, text)); -} - -int PythonQtWrapper_QTabBar::insertTab(QTabBar* theWrappedObject, int index, const QString& text) -{ - return ( theWrappedObject->insertTab(index, text)); -} - -bool PythonQtWrapper_QTabBar::isMovable(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->isMovable()); -} - -bool PythonQtWrapper_QTabBar::isTabEnabled(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->isTabEnabled(index)); -} - -QSize PythonQtWrapper_QTabBar::minimumTabSizeHint(QTabBar* theWrappedObject, int index) const -{ - return ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_minimumTabSizeHint(index)); -} - -void PythonQtWrapper_QTabBar::moveTab(QTabBar* theWrappedObject, int from, int to) -{ - ( theWrappedObject->moveTab(from, to)); -} - -void PythonQtWrapper_QTabBar::removeTab(QTabBar* theWrappedObject, int index) -{ - ( theWrappedObject->removeTab(index)); -} - -QTabBar::SelectionBehavior PythonQtWrapper_QTabBar::selectionBehaviorOnRemove(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->selectionBehaviorOnRemove()); -} - -void PythonQtWrapper_QTabBar::setAccessibleTabName(QTabBar* theWrappedObject, int index, const QString& name) -{ - ( theWrappedObject->setAccessibleTabName(index, name)); -} - -void PythonQtWrapper_QTabBar::setAutoHide(QTabBar* theWrappedObject, bool hide) -{ - ( theWrappedObject->setAutoHide(hide)); -} - -void PythonQtWrapper_QTabBar::setChangeCurrentOnDrag(QTabBar* theWrappedObject, bool change) -{ - ( theWrappedObject->setChangeCurrentOnDrag(change)); -} - -void PythonQtWrapper_QTabBar::setDocumentMode(QTabBar* theWrappedObject, bool set) -{ - ( theWrappedObject->setDocumentMode(set)); -} - -void PythonQtWrapper_QTabBar::setDrawBase(QTabBar* theWrappedObject, bool drawTheBase) -{ - ( theWrappedObject->setDrawBase(drawTheBase)); -} - -void PythonQtWrapper_QTabBar::setElideMode(QTabBar* theWrappedObject, Qt::TextElideMode arg__1) -{ - ( theWrappedObject->setElideMode(arg__1)); -} - -void PythonQtWrapper_QTabBar::setExpanding(QTabBar* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setExpanding(enabled)); -} - -void PythonQtWrapper_QTabBar::setIconSize(QTabBar* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setIconSize(size)); -} - -void PythonQtWrapper_QTabBar::setMovable(QTabBar* theWrappedObject, bool movable) -{ - ( theWrappedObject->setMovable(movable)); -} - -void PythonQtWrapper_QTabBar::setSelectionBehaviorOnRemove(QTabBar* theWrappedObject, QTabBar::SelectionBehavior behavior) -{ - ( theWrappedObject->setSelectionBehaviorOnRemove(behavior)); -} - -void PythonQtWrapper_QTabBar::setShape(QTabBar* theWrappedObject, QTabBar::Shape shape) -{ - ( theWrappedObject->setShape(shape)); -} - -void PythonQtWrapper_QTabBar::setTabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position, QWidget* widget) -{ - ( theWrappedObject->setTabButton(index, position, widget)); -} - -void PythonQtWrapper_QTabBar::setTabData(QTabBar* theWrappedObject, int index, const QVariant& data) -{ - ( theWrappedObject->setTabData(index, data)); -} - -void PythonQtWrapper_QTabBar::setTabEnabled(QTabBar* theWrappedObject, int index, bool arg__2) -{ - ( theWrappedObject->setTabEnabled(index, arg__2)); -} - -void PythonQtWrapper_QTabBar::setTabIcon(QTabBar* theWrappedObject, int index, const QIcon& icon) -{ - ( theWrappedObject->setTabIcon(index, icon)); -} - -void PythonQtWrapper_QTabBar::setTabText(QTabBar* theWrappedObject, int index, const QString& text) -{ - ( theWrappedObject->setTabText(index, text)); -} - -void PythonQtWrapper_QTabBar::setTabTextColor(QTabBar* theWrappedObject, int index, const QColor& color) -{ - ( theWrappedObject->setTabTextColor(index, color)); -} - -void PythonQtWrapper_QTabBar::setTabToolTip(QTabBar* theWrappedObject, int index, const QString& tip) -{ - ( theWrappedObject->setTabToolTip(index, tip)); -} - -void PythonQtWrapper_QTabBar::setTabWhatsThis(QTabBar* theWrappedObject, int index, const QString& text) -{ - ( theWrappedObject->setTabWhatsThis(index, text)); -} - -void PythonQtWrapper_QTabBar::setTabsClosable(QTabBar* theWrappedObject, bool closable) -{ - ( theWrappedObject->setTabsClosable(closable)); -} - -void PythonQtWrapper_QTabBar::setUsesScrollButtons(QTabBar* theWrappedObject, bool useButtons) -{ - ( theWrappedObject->setUsesScrollButtons(useButtons)); -} - -QTabBar::Shape PythonQtWrapper_QTabBar::shape(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->shape()); -} - -int PythonQtWrapper_QTabBar::tabAt(QTabBar* theWrappedObject, const QPoint& pos) const -{ - return ( theWrappedObject->tabAt(pos)); -} - -QWidget* PythonQtWrapper_QTabBar::tabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position) const -{ - return ( theWrappedObject->tabButton(index, position)); -} - -QVariant PythonQtWrapper_QTabBar::tabData(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabData(index)); -} - -QIcon PythonQtWrapper_QTabBar::tabIcon(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabIcon(index)); -} - -void PythonQtWrapper_QTabBar::tabInserted(QTabBar* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabInserted(index)); -} - -void PythonQtWrapper_QTabBar::tabLayoutChange(QTabBar* theWrappedObject) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabLayoutChange()); -} - -QRect PythonQtWrapper_QTabBar::tabRect(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabRect(index)); -} - -void PythonQtWrapper_QTabBar::tabRemoved(QTabBar* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabRemoved(index)); -} - -QSize PythonQtWrapper_QTabBar::tabSizeHint(QTabBar* theWrappedObject, int index) const -{ - return ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabSizeHint(index)); -} - -QString PythonQtWrapper_QTabBar::tabText(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabText(index)); -} - -QColor PythonQtWrapper_QTabBar::tabTextColor(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabTextColor(index)); -} - -QString PythonQtWrapper_QTabBar::tabToolTip(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabToolTip(index)); -} - -QString PythonQtWrapper_QTabBar::tabWhatsThis(QTabBar* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabWhatsThis(index)); -} - -bool PythonQtWrapper_QTabBar::tabsClosable(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->tabsClosable()); -} - -bool PythonQtWrapper_QTabBar::usesScrollButtons(QTabBar* theWrappedObject) const -{ - return ( theWrappedObject->usesScrollButtons()); -} - - - -PythonQtShell_QTabWidget::~PythonQtShell_QTabWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTabWidget::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::actionEvent(event0); -} -void PythonQtShell_QTabWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::changeEvent(arg__1); -} -void PythonQtShell_QTabWidget::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::childEvent(event0); -} -void PythonQtShell_QTabWidget::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::closeEvent(event0); -} -void PythonQtShell_QTabWidget::contextMenuEvent(QContextMenuEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::contextMenuEvent(event0); -} -void PythonQtShell_QTabWidget::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::customEvent(event0); -} -int PythonQtShell_QTabWidget::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabWidget::devType(); -} -void PythonQtShell_QTabWidget::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::dragEnterEvent(event0); -} -void PythonQtShell_QTabWidget::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::dragLeaveEvent(event0); -} -void PythonQtShell_QTabWidget::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::dragMoveEvent(event0); -} -void PythonQtShell_QTabWidget::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::dropEvent(event0); -} -void PythonQtShell_QTabWidget::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::enterEvent(event0); -} -bool PythonQtShell_QTabWidget::event(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabWidget::event(arg__1); -} -bool PythonQtShell_QTabWidget::eventFilter(QObject* watched0, QEvent* event1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabWidget::eventFilter(watched0, event1); -} -void PythonQtShell_QTabWidget::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::focusInEvent(event0); -} -bool PythonQtShell_QTabWidget::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabWidget::focusNextPrevChild(next0); -} -void PythonQtShell_QTabWidget::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::focusOutEvent(event0); -} -bool PythonQtShell_QTabWidget::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabWidget::hasHeightForWidth(); -} -int PythonQtShell_QTabWidget::heightForWidth(int width0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&width0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabWidget::heightForWidth(width0); -} -void PythonQtShell_QTabWidget::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::hideEvent(event0); -} -void PythonQtShell_QTabWidget::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::initPainter(painter0); -} -void PythonQtShell_QTabWidget::inputMethodEvent(QInputMethodEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::inputMethodEvent(arg__1); -} -QVariant PythonQtShell_QTabWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabWidget::inputMethodQuery(arg__1); -} -void PythonQtShell_QTabWidget::keyPressEvent(QKeyEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::keyPressEvent(arg__1); -} -void PythonQtShell_QTabWidget::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::keyReleaseEvent(event0); -} -void PythonQtShell_QTabWidget::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::leaveEvent(event0); -} -int PythonQtShell_QTabWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabWidget::metric(arg__1); -} -QSize PythonQtShell_QTabWidget::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabWidget::minimumSizeHint(); -} -void PythonQtShell_QTabWidget::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QTabWidget::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::mouseMoveEvent(event0); -} -void PythonQtShell_QTabWidget::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::mousePressEvent(event0); -} -void PythonQtShell_QTabWidget::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::mouseReleaseEvent(event0); -} -void PythonQtShell_QTabWidget::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::moveEvent(event0); -} -bool PythonQtShell_QTabWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabWidget::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QTabWidget::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabWidget::paintEngine(); -} -void PythonQtShell_QTabWidget::paintEvent(QPaintEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::paintEvent(arg__1); -} -QPaintDevice* PythonQtShell_QTabWidget::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabWidget::redirected(offset0); -} -void PythonQtShell_QTabWidget::resizeEvent(QResizeEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::resizeEvent(arg__1); -} -void PythonQtShell_QTabWidget::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::setVisible(visible0); -} -QPainter* PythonQtShell_QTabWidget::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabWidget::sharedPainter(); -} -void PythonQtShell_QTabWidget::showEvent(QShowEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::showEvent(arg__1); -} -QSize PythonQtShell_QTabWidget::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTabWidget::sizeHint(); -} -void PythonQtShell_QTabWidget::tabInserted(int index0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::tabInserted(index0); -} -void PythonQtShell_QTabWidget::tabRemoved(int index0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::tabRemoved(index0); -} -void PythonQtShell_QTabWidget::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::tabletEvent(event0); -} -void PythonQtShell_QTabWidget::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::timerEvent(event0); -} -void PythonQtShell_QTabWidget::wheelEvent(QWheelEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTabWidget::wheelEvent(event0); -} -QTabWidget* PythonQtWrapper_QTabWidget::new_QTabWidget(QWidget* parent) -{ -return new PythonQtShell_QTabWidget(parent); } - -const QMetaObject* PythonQtShell_QTabWidget::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTabWidget::staticMetaObject); - } else { - return &QTabWidget::staticMetaObject; - } -} -int PythonQtShell_QTabWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTabWidget::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -int PythonQtWrapper_QTabWidget::addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& label) -{ - return ( theWrappedObject->addTab(widget, icon, label)); -} - -int PythonQtWrapper_QTabWidget::addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& arg__2) -{ - return ( theWrappedObject->addTab(widget, arg__2)); -} - -void PythonQtWrapper_QTabWidget::clear(QTabWidget* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -QWidget* PythonQtWrapper_QTabWidget::cornerWidget(QTabWidget* theWrappedObject, Qt::Corner corner) const -{ - return ( theWrappedObject->cornerWidget(corner)); -} - -int PythonQtWrapper_QTabWidget::count(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->count()); -} - -int PythonQtWrapper_QTabWidget::currentIndex(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentIndex()); -} - -QWidget* PythonQtWrapper_QTabWidget::currentWidget(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentWidget()); -} - -bool PythonQtWrapper_QTabWidget::documentMode(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->documentMode()); -} - -Qt::TextElideMode PythonQtWrapper_QTabWidget::elideMode(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->elideMode()); -} - -QSize PythonQtWrapper_QTabWidget::iconSize(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->iconSize()); -} - -int PythonQtWrapper_QTabWidget::indexOf(QTabWidget* theWrappedObject, QWidget* widget) const -{ - return ( theWrappedObject->indexOf(widget)); -} - -void PythonQtWrapper_QTabWidget::initStyleOption(QTabWidget* theWrappedObject, QStyleOptionTabWidgetFrame* option) const -{ - ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_initStyleOption(option)); -} - -int PythonQtWrapper_QTabWidget::insertTab(QTabWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& label) -{ - return ( theWrappedObject->insertTab(index, widget, icon, label)); -} - -int PythonQtWrapper_QTabWidget::insertTab(QTabWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QString& arg__3) -{ - return ( theWrappedObject->insertTab(index, widget, arg__3)); -} - -bool PythonQtWrapper_QTabWidget::isMovable(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->isMovable()); -} - -bool PythonQtWrapper_QTabWidget::isTabEnabled(QTabWidget* theWrappedObject, int index) const -{ - return ( theWrappedObject->isTabEnabled(index)); -} - -void PythonQtWrapper_QTabWidget::removeTab(QTabWidget* theWrappedObject, int index) -{ - ( theWrappedObject->removeTab(index)); -} - -void PythonQtWrapper_QTabWidget::setCornerWidget(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP w, Qt::Corner corner) -{ - ( theWrappedObject->setCornerWidget(w, corner)); -} - -void PythonQtWrapper_QTabWidget::setDocumentMode(QTabWidget* theWrappedObject, bool set) -{ - ( theWrappedObject->setDocumentMode(set)); -} - -void PythonQtWrapper_QTabWidget::setElideMode(QTabWidget* theWrappedObject, Qt::TextElideMode arg__1) -{ - ( theWrappedObject->setElideMode(arg__1)); -} - -void PythonQtWrapper_QTabWidget::setIconSize(QTabWidget* theWrappedObject, const QSize& size) -{ - ( theWrappedObject->setIconSize(size)); -} - -void PythonQtWrapper_QTabWidget::setMovable(QTabWidget* theWrappedObject, bool movable) -{ - ( theWrappedObject->setMovable(movable)); -} - -void PythonQtWrapper_QTabWidget::setTabBar(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP arg__1) -{ - ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_setTabBar(arg__1)); -} - -void PythonQtWrapper_QTabWidget::setTabBarAutoHide(QTabWidget* theWrappedObject, bool enabled) -{ - ( theWrappedObject->setTabBarAutoHide(enabled)); -} - -void PythonQtWrapper_QTabWidget::setTabEnabled(QTabWidget* theWrappedObject, int index, bool arg__2) -{ - ( theWrappedObject->setTabEnabled(index, arg__2)); -} - -void PythonQtWrapper_QTabWidget::setTabIcon(QTabWidget* theWrappedObject, int index, const QIcon& icon) -{ - ( theWrappedObject->setTabIcon(index, icon)); -} - -void PythonQtWrapper_QTabWidget::setTabPosition(QTabWidget* theWrappedObject, QTabWidget::TabPosition arg__1) -{ - ( theWrappedObject->setTabPosition(arg__1)); -} - -void PythonQtWrapper_QTabWidget::setTabShape(QTabWidget* theWrappedObject, QTabWidget::TabShape s) -{ - ( theWrappedObject->setTabShape(s)); -} - -void PythonQtWrapper_QTabWidget::setTabText(QTabWidget* theWrappedObject, int index, const QString& arg__2) -{ - ( theWrappedObject->setTabText(index, arg__2)); -} - -void PythonQtWrapper_QTabWidget::setTabToolTip(QTabWidget* theWrappedObject, int index, const QString& tip) -{ - ( theWrappedObject->setTabToolTip(index, tip)); -} - -void PythonQtWrapper_QTabWidget::setTabWhatsThis(QTabWidget* theWrappedObject, int index, const QString& text) -{ - ( theWrappedObject->setTabWhatsThis(index, text)); -} - -void PythonQtWrapper_QTabWidget::setTabsClosable(QTabWidget* theWrappedObject, bool closeable) -{ - ( theWrappedObject->setTabsClosable(closeable)); -} - -void PythonQtWrapper_QTabWidget::setUsesScrollButtons(QTabWidget* theWrappedObject, bool useButtons) -{ - ( theWrappedObject->setUsesScrollButtons(useButtons)); -} - -QTabBar* PythonQtWrapper_QTabWidget::tabBar(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->tabBar()); -} - -bool PythonQtWrapper_QTabWidget::tabBarAutoHide(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->tabBarAutoHide()); -} - -QIcon PythonQtWrapper_QTabWidget::tabIcon(QTabWidget* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabIcon(index)); -} - -void PythonQtWrapper_QTabWidget::tabInserted(QTabWidget* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_tabInserted(index)); -} - -QTabWidget::TabPosition PythonQtWrapper_QTabWidget::tabPosition(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->tabPosition()); -} - -void PythonQtWrapper_QTabWidget::tabRemoved(QTabWidget* theWrappedObject, int index) -{ - ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_tabRemoved(index)); -} - -QTabWidget::TabShape PythonQtWrapper_QTabWidget::tabShape(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->tabShape()); -} - -QString PythonQtWrapper_QTabWidget::tabText(QTabWidget* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabText(index)); -} - -QString PythonQtWrapper_QTabWidget::tabToolTip(QTabWidget* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabToolTip(index)); -} - -QString PythonQtWrapper_QTabWidget::tabWhatsThis(QTabWidget* theWrappedObject, int index) const -{ - return ( theWrappedObject->tabWhatsThis(index)); -} - -bool PythonQtWrapper_QTabWidget::tabsClosable(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->tabsClosable()); -} - -bool PythonQtWrapper_QTabWidget::usesScrollButtons(QTabWidget* theWrappedObject) const -{ - return ( theWrappedObject->usesScrollButtons()); -} - -QWidget* PythonQtWrapper_QTabWidget::widget(QTabWidget* theWrappedObject, int index) const -{ - return ( theWrappedObject->widget(index)); -} - - - -PythonQtShell_QTableView::~PythonQtShell_QTableView() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTableView::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::actionEvent(event0); -} -void PythonQtShell_QTableView::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::changeEvent(arg__1); -} -void PythonQtShell_QTableView::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::childEvent(event0); -} -void PythonQtShell_QTableView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::closeEditor(editor0, hint1); -} -void PythonQtShell_QTableView::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::closeEvent(event0); -} -void PythonQtShell_QTableView::commitData(QWidget* editor0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::commitData(editor0); -} -void PythonQtShell_QTableView::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::contextMenuEvent(arg__1); -} -void PythonQtShell_QTableView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::currentChanged(current0, previous1); -} -void PythonQtShell_QTableView::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::customEvent(event0); -} -void PythonQtShell_QTableView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dataChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::dataChanged(topLeft0, bottomRight1, roles2); -} -int PythonQtShell_QTableView::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::devType(); -} -void PythonQtShell_QTableView::doItemsLayout() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::doItemsLayout(); -} -void PythonQtShell_QTableView::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::dragEnterEvent(event0); -} -void PythonQtShell_QTableView::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::dragLeaveEvent(event0); -} -void PythonQtShell_QTableView::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::dragMoveEvent(event0); -} -void PythonQtShell_QTableView::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::dropEvent(event0); -} -bool PythonQtShell_QTableView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::edit(index0, trigger1, event2); -} -void PythonQtShell_QTableView::editorDestroyed(QObject* editor0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::editorDestroyed(editor0); -} -void PythonQtShell_QTableView::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::enterEvent(event0); -} -bool PythonQtShell_QTableView::event(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::event(event0); -} -bool PythonQtShell_QTableView::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTableView::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::focusInEvent(event0); -} -bool PythonQtShell_QTableView::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::focusNextPrevChild(next0); -} -void PythonQtShell_QTableView::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::focusOutEvent(event0); -} -bool PythonQtShell_QTableView::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::hasHeightForWidth(); -} -int PythonQtShell_QTableView::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::heightForWidth(arg__1); -} -void PythonQtShell_QTableView::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::hideEvent(event0); -} -int PythonQtShell_QTableView::horizontalOffset() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::horizontalOffset(); -} -void PythonQtShell_QTableView::horizontalScrollbarAction(int action0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::horizontalScrollbarAction(action0); -} -void PythonQtShell_QTableView::horizontalScrollbarValueChanged(int value0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::horizontalScrollbarValueChanged(value0); -} -QModelIndex PythonQtShell_QTableView::indexAt(const QPoint& p0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {nullptr, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::indexAt(p0); -} -void PythonQtShell_QTableView::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::initPainter(painter0); -} -void PythonQtShell_QTableView::inputMethodEvent(QInputMethodEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::inputMethodEvent(event0); -} -QVariant PythonQtShell_QTableView::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::inputMethodQuery(query0); -} -bool PythonQtShell_QTableView::isIndexHidden(const QModelIndex& index0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("isIndexHidden"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::isIndexHidden(index0); -} -void PythonQtShell_QTableView::keyPressEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::keyPressEvent(event0); -} -void PythonQtShell_QTableView::keyReleaseEvent(QKeyEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::keyReleaseEvent(event0); -} -void PythonQtShell_QTableView::keyboardSearch(const QString& search0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyboardSearch"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&search0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::keyboardSearch(search0); -} -void PythonQtShell_QTableView::leaveEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::leaveEvent(event0); -} -int PythonQtShell_QTableView::metric(QPaintDevice::PaintDeviceMetric arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::metric(arg__1); -} -QSize PythonQtShell_QTableView::minimumSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::minimumSizeHint(); -} -void PythonQtShell_QTableView::mouseDoubleClickEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::mouseDoubleClickEvent(event0); -} -void PythonQtShell_QTableView::mouseMoveEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::mouseMoveEvent(event0); -} -void PythonQtShell_QTableView::mousePressEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::mousePressEvent(event0); -} -void PythonQtShell_QTableView::mouseReleaseEvent(QMouseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::mouseReleaseEvent(event0); -} -QModelIndex PythonQtShell_QTableView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveCursor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue{}; - void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::moveCursor(cursorAction0, modifiers1); -} -void PythonQtShell_QTableView::moveEvent(QMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::moveEvent(event0); -} -bool PythonQtShell_QTableView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::nativeEvent(eventType0, message1, result2); -} -QPaintEngine* PythonQtShell_QTableView::paintEngine() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::paintEngine(); -} -void PythonQtShell_QTableView::paintEvent(QPaintEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::paintEvent(e0); -} -QPaintDevice* PythonQtShell_QTableView::redirected(QPoint* offset0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::redirected(offset0); -} -void PythonQtShell_QTableView::reset() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::reset(); -} -void PythonQtShell_QTableView::resizeEvent(QResizeEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::resizeEvent(event0); -} -void PythonQtShell_QTableView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::rowsAboutToBeRemoved(parent0, start1, end2); -} -void PythonQtShell_QTableView::rowsInserted(const QModelIndex& parent0, int start1, int end2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("rowsInserted"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::rowsInserted(parent0, start1, end2); -} -void PythonQtShell_QTableView::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::scrollContentsBy(dx0, dy1); -} -void PythonQtShell_QTableView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("scrollTo"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::scrollTo(index0, hint1); -} -void PythonQtShell_QTableView::selectAll() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectAll"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::selectAll(); -} -QList PythonQtShell_QTableView::selectedIndexes() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectedIndexes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::selectedIndexes(); -} -void PythonQtShell_QTableView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectionChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::selectionChanged(selected0, deselected1); -} -QItemSelectionModel::SelectionFlags PythonQtShell_QTableView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectionCommand"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue{}; - void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); - } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::selectionCommand(index0, event1); -} -void PythonQtShell_QTableView::setModel(QAbstractItemModel* model0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QAbstractItemModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&model0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::setModel(model0); -} -void PythonQtShell_QTableView::setRootIndex(const QModelIndex& index0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setRootIndex"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::setRootIndex(index0); -} -void PythonQtShell_QTableView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::setSelection(rect0, command1); -} -void PythonQtShell_QTableView::setSelectionModel(QItemSelectionModel* selectionModel0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setSelectionModel"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&selectionModel0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::setSelectionModel(selectionModel0); -} -void PythonQtShell_QTableView::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::setVisible(visible0); -} -void PythonQtShell_QTableView::setupViewport(QWidget* viewport0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::setupViewport(viewport0); -} -QPainter* PythonQtShell_QTableView::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::sharedPainter(); -} -void PythonQtShell_QTableView::showEvent(QShowEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::showEvent(event0); -} -QSize PythonQtShell_QTableView::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::sizeHint(); -} -int PythonQtShell_QTableView::sizeHintForColumn(int column0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&column0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::sizeHintForColumn(column0); -} -int PythonQtShell_QTableView::sizeHintForRow(int row0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHintForRow"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&row0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::sizeHintForRow(row0); -} -void PythonQtShell_QTableView::startDrag(Qt::DropActions supportedActions0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("startDrag"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&supportedActions0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::startDrag(supportedActions0); -} -void PythonQtShell_QTableView::tabletEvent(QTabletEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::tabletEvent(event0); -} -void PythonQtShell_QTableView::timerEvent(QTimerEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::timerEvent(event0); -} -void PythonQtShell_QTableView::updateEditorData() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateEditorData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::updateEditorData(); -} -void PythonQtShell_QTableView::updateEditorGeometries() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::updateEditorGeometries(); -} -void PythonQtShell_QTableView::updateGeometries() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateGeometries"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::updateGeometries(); -} -int PythonQtShell_QTableView::verticalOffset() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::verticalOffset(); -} -void PythonQtShell_QTableView::verticalScrollbarAction(int action0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::verticalScrollbarAction(action0); -} -void PythonQtShell_QTableView::verticalScrollbarValueChanged(int value0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::verticalScrollbarValueChanged(value0); -} -QStyleOptionViewItem PythonQtShell_QTableView::viewOptions() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewOptions"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::viewOptions(); -} -bool PythonQtShell_QTableView::viewportEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::viewportEvent(event0); -} -QSize PythonQtShell_QTableView::viewportSizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::viewportSizeHint(); -} -QRect PythonQtShell_QTableView::visualRect(const QModelIndex& index0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("visualRect"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); - } else { - returnValue = *((QRect*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::visualRect(index0); -} -QRegion PythonQtShell_QTableView::visualRegionForSelection(const QItemSelection& selection0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {nullptr, (void*)&selection0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableView::visualRegionForSelection(selection0); -} -void PythonQtShell_QTableView::wheelEvent(QWheelEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableView::wheelEvent(arg__1); -} -QTableView* PythonQtWrapper_QTableView::new_QTableView(QWidget* parent) -{ -return new PythonQtShell_QTableView(parent); } - -const QMetaObject* PythonQtShell_QTableView::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTableView::staticMetaObject); - } else { - return &QTableView::staticMetaObject; - } -} -int PythonQtShell_QTableView::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTableView::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QTableView::clearSpans(QTableView* theWrappedObject) -{ - ( theWrappedObject->clearSpans()); -} - -int PythonQtWrapper_QTableView::columnAt(QTableView* theWrappedObject, int x) const -{ - return ( theWrappedObject->columnAt(x)); -} - -int PythonQtWrapper_QTableView::columnSpan(QTableView* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->columnSpan(row, column)); -} - -int PythonQtWrapper_QTableView::columnViewportPosition(QTableView* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnViewportPosition(column)); -} - -int PythonQtWrapper_QTableView::columnWidth(QTableView* theWrappedObject, int column) const -{ - return ( theWrappedObject->columnWidth(column)); -} - -Qt::PenStyle PythonQtWrapper_QTableView::gridStyle(QTableView* theWrappedObject) const -{ - return ( theWrappedObject->gridStyle()); -} - -QHeaderView* PythonQtWrapper_QTableView::horizontalHeader(QTableView* theWrappedObject) const -{ - return ( theWrappedObject->horizontalHeader()); -} - -bool PythonQtWrapper_QTableView::isColumnHidden(QTableView* theWrappedObject, int column) const -{ - return ( theWrappedObject->isColumnHidden(column)); -} - -bool PythonQtWrapper_QTableView::isCornerButtonEnabled(QTableView* theWrappedObject) const -{ - return ( theWrappedObject->isCornerButtonEnabled()); -} - -bool PythonQtWrapper_QTableView::isRowHidden(QTableView* theWrappedObject, int row) const -{ - return ( theWrappedObject->isRowHidden(row)); -} - -bool PythonQtWrapper_QTableView::isSortingEnabled(QTableView* theWrappedObject) const -{ - return ( theWrappedObject->isSortingEnabled()); -} - -int PythonQtWrapper_QTableView::rowAt(QTableView* theWrappedObject, int y) const -{ - return ( theWrappedObject->rowAt(y)); -} - -int PythonQtWrapper_QTableView::rowHeight(QTableView* theWrappedObject, int row) const -{ - return ( theWrappedObject->rowHeight(row)); -} - -int PythonQtWrapper_QTableView::rowSpan(QTableView* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->rowSpan(row, column)); -} - -int PythonQtWrapper_QTableView::rowViewportPosition(QTableView* theWrappedObject, int row) const -{ - return ( theWrappedObject->rowViewportPosition(row)); -} - -void PythonQtWrapper_QTableView::setColumnHidden(QTableView* theWrappedObject, int column, bool hide) -{ - ( theWrappedObject->setColumnHidden(column, hide)); -} - -void PythonQtWrapper_QTableView::setColumnWidth(QTableView* theWrappedObject, int column, int width) -{ - ( theWrappedObject->setColumnWidth(column, width)); -} - -void PythonQtWrapper_QTableView::setCornerButtonEnabled(QTableView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setCornerButtonEnabled(enable)); -} - -void PythonQtWrapper_QTableView::setGridStyle(QTableView* theWrappedObject, Qt::PenStyle style) -{ - ( theWrappedObject->setGridStyle(style)); -} - -void PythonQtWrapper_QTableView::setHorizontalHeader(QTableView* theWrappedObject, QHeaderView* header) -{ - ( theWrappedObject->setHorizontalHeader(header)); -} - -void PythonQtWrapper_QTableView::setRowHeight(QTableView* theWrappedObject, int row, int height) -{ - ( theWrappedObject->setRowHeight(row, height)); -} - -void PythonQtWrapper_QTableView::setRowHidden(QTableView* theWrappedObject, int row, bool hide) -{ - ( theWrappedObject->setRowHidden(row, hide)); -} - -void PythonQtWrapper_QTableView::setSortingEnabled(QTableView* theWrappedObject, bool enable) -{ - ( theWrappedObject->setSortingEnabled(enable)); -} - -void PythonQtWrapper_QTableView::setSpan(QTableView* theWrappedObject, int row, int column, int rowSpan, int columnSpan) -{ - ( theWrappedObject->setSpan(row, column, rowSpan, columnSpan)); -} - -void PythonQtWrapper_QTableView::setVerticalHeader(QTableView* theWrappedObject, QHeaderView* header) -{ - ( theWrappedObject->setVerticalHeader(header)); -} - -void PythonQtWrapper_QTableView::setWordWrap(QTableView* theWrappedObject, bool on) -{ - ( theWrappedObject->setWordWrap(on)); -} - -bool PythonQtWrapper_QTableView::showGrid(QTableView* theWrappedObject) const -{ - return ( theWrappedObject->showGrid()); -} - -void PythonQtWrapper_QTableView::sortByColumn(QTableView* theWrappedObject, int column, Qt::SortOrder order) -{ - ( theWrappedObject->sortByColumn(column, order)); -} - -QHeaderView* PythonQtWrapper_QTableView::verticalHeader(QTableView* theWrappedObject) const -{ - return ( theWrappedObject->verticalHeader()); -} - -bool PythonQtWrapper_QTableView::wordWrap(QTableView* theWrappedObject) const -{ - return ( theWrappedObject->wordWrap()); -} - - - -PythonQtShell_QTableWidget::~PythonQtShell_QTableWidget() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTableWidget::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::actionEvent(event0); -} -void PythonQtShell_QTableWidget::changeEvent(QEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::changeEvent(arg__1); -} -void PythonQtShell_QTableWidget::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::childEvent(event0); -} -void PythonQtShell_QTableWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEditor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::closeEditor(editor0, hint1); -} -void PythonQtShell_QTableWidget::closeEvent(QCloseEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::closeEvent(event0); -} -void PythonQtShell_QTableWidget::commitData(QWidget* editor0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("commitData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::commitData(editor0); -} -void PythonQtShell_QTableWidget::contextMenuEvent(QContextMenuEvent* arg__1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::contextMenuEvent(arg__1); -} -void PythonQtShell_QTableWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("currentChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::currentChanged(current0, previous1); -} -void PythonQtShell_QTableWidget::customEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::customEvent(event0); -} -void PythonQtShell_QTableWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dataChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::dataChanged(topLeft0, bottomRight1, roles2); -} -int PythonQtShell_QTableWidget::devType() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::devType(); -} -void PythonQtShell_QTableWidget::doItemsLayout() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("doItemsLayout"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::doItemsLayout(); -} -void PythonQtShell_QTableWidget::dragEnterEvent(QDragEnterEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::dragEnterEvent(event0); -} -void PythonQtShell_QTableWidget::dragLeaveEvent(QDragLeaveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::dragLeaveEvent(event0); -} -void PythonQtShell_QTableWidget::dragMoveEvent(QDragMoveEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::dragMoveEvent(event0); -} -void PythonQtShell_QTableWidget::dropEvent(QDropEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::dropEvent(event0); -} -bool PythonQtShell_QTableWidget::dropMimeData(int row0, int column1, const QMimeData* data2, Qt::DropAction action3) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "int" , "int" , "const QMimeData*" , "Qt::DropAction"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); - bool returnValue{}; - void* args[5] = {nullptr, (void*)&row0, (void*)&column1, (void*)&data2, (void*)&action3}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::dropMimeData(row0, column1, data2, action3); -} -bool PythonQtShell_QTableWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("edit"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::edit(index0, trigger1, event2); -} -void PythonQtShell_QTableWidget::editorDestroyed(QObject* editor0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("editorDestroyed"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QObject*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&editor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::editorDestroyed(editor0); -} -void PythonQtShell_QTableWidget::enterEvent(QEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::enterEvent(event0); -} -bool PythonQtShell_QTableWidget::event(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::event(e0); -} -bool PythonQtShell_QTableWidget::eventFilter(QObject* arg__1, QEvent* arg__2) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::eventFilter(arg__1, arg__2); -} -void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::focusInEvent(event0); -} -bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::focusNextPrevChild(next0); -} -void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::focusOutEvent(event0); -} -bool PythonQtShell_QTableWidget::hasHeightForWidth() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::hasHeightForWidth(); -} -int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::heightForWidth(arg__1); -} -void PythonQtShell_QTableWidget::hideEvent(QHideEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::hideEvent(event0); -} -int PythonQtShell_QTableWidget::horizontalOffset() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalOffset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::horizontalOffset(); -} -void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::horizontalScrollbarAction(action0); -} -void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::horizontalScrollbarValueChanged(value0); -} -QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("indexAt"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QModelIndex returnValue{}; - void* args[2] = {nullptr, (void*)&p0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::indexAt(p0); -} -void PythonQtShell_QTableWidget::initPainter(QPainter* painter0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::initPainter(painter0); -} -void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event0) +void PythonQtShell_QTabBar::paintEvent(QPaintEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + static PyObject* name = PyUnicode_FromString("paintEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const char* argumentList[] ={"" , "QPaintEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7426,61 +2954,28 @@ if (_wrapper) { } } } - QTableWidget::inputMethodEvent(event0); -} -QVariant PythonQtShell_QTableWidget::inputMethodQuery(Qt::InputMethodQuery query0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&query0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::inputMethodQuery(query0); + QTabBar::paintEvent(arg__1); } -bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index0) const +QPaintDevice* PythonQtShell_QTabBar::redirected(QPoint* offset0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("isIndexHidden"); + static PyObject* name = PyUnicode_FromString("redirected"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPaintDevice**)args[0]); } } } @@ -7492,19 +2987,19 @@ if (_wrapper) { } } } - return QTableWidget::isIndexHidden(index0); + return QTabBar::redirected(offset0); } -void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event0) +void PythonQtShell_QTabBar::resizeEvent(QResizeEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("resizeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QResizeEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7514,19 +3009,19 @@ if (_wrapper) { } } } - QTableWidget::keyPressEvent(event0); + QTabBar::resizeEvent(arg__1); } -void PythonQtShell_QTableWidget::keyReleaseEvent(QKeyEvent* event0) +void PythonQtShell_QTabBar::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7536,41 +3031,52 @@ if (_wrapper) { } } } - QTableWidget::keyReleaseEvent(event0); + QTabBar::setVisible(visible0); } -void PythonQtShell_QTableWidget::keyboardSearch(const QString& search0) +QPainter* PythonQtShell_QTabBar::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyboardSearch"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QString&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&search0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::keyboardSearch(search0); + return QTabBar::sharedPainter(); } -void PythonQtShell_QTableWidget::leaveEvent(QEvent* event0) +void PythonQtShell_QTabBar::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7580,28 +3086,28 @@ if (_wrapper) { } } } - QTableWidget::leaveEvent(event0); + QTabBar::showEvent(arg__1); } -int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const +QSize PythonQtShell_QTabBar::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -7613,118 +3119,63 @@ if (_wrapper) { } } } - return QTableWidget::metric(arg__1); + return QTabBar::sizeHint(); } -QMimeData* PythonQtShell_QTableWidget::mimeData(const QList items0) const +void PythonQtShell_QTabBar::tabInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mimeData"); + static PyObject* name = PyUnicode_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QMimeData* returnValue{}; - void* args[2] = {nullptr, (void*)&items0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::mimeData(items0); -} -QStringList PythonQtShell_QTableWidget::mimeTypes() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mimeTypes"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QStringList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStringList returnValue{}; - void* args[1] = {nullptr}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); - } else { - returnValue = *((QStringList*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::mimeTypes(); + QTabBar::tabInserted(index0); } -QSize PythonQtShell_QTableWidget::minimumSizeHint() const +void PythonQtShell_QTabBar::tabLayoutChange() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("tabLayoutChange"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::minimumSizeHint(); + QTabBar::tabLayoutChange(); } -void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event0) +void PythonQtShell_QTabBar::tabRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyUnicode_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -7734,39 +3185,50 @@ if (_wrapper) { } } } - QTableWidget::mouseDoubleClickEvent(event0); + QTabBar::tabRemoved(index0); } -void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event0) +QSize PythonQtShell_QTabBar::tabSizeHint(int index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + static PyObject* name = PyUnicode_FromString("tabSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"QSize" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QSize returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("tabSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::mouseMoveEvent(event0); + return QTabBar::tabSizeHint(index0); } -void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event0) +void PythonQtShell_QTabBar::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -7778,17 +3240,17 @@ if (_wrapper) { } } } - QTableWidget::mousePressEvent(event0); + QTabBar::tabletEvent(event0); } -void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event0) +void PythonQtShell_QTabBar::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -7800,261 +3262,344 @@ if (_wrapper) { } } } - QTableWidget::mouseReleaseEvent(event0); + QTabBar::timerEvent(event0); } -QModelIndex PythonQtShell_QTableWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) +void PythonQtShell_QTabBar::wheelEvent(QWheelEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveCursor"); + static PyObject* name = PyUnicode_FromString("wheelEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QModelIndex returnValue{}; - void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); - } else { - returnValue = *((QModelIndex*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::moveCursor(cursorAction0, modifiers1); + QTabBar::wheelEvent(event0); +} +QTabBar* PythonQtWrapper_QTabBar::new_QTabBar(QWidget* parent) +{ +return new PythonQtShell_QTabBar(parent); } + +const QMetaObject* PythonQtShell_QTabBar::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTabBar::staticMetaObject); + } else { + return &QTabBar::staticMetaObject; + } +} +int PythonQtShell_QTabBar::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTabBar::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->addTab(icon, text)); +} + +int PythonQtWrapper_QTabBar::addTab(QTabBar* theWrappedObject, const QString& text) +{ + return ( theWrappedObject->addTab(text)); +} + +bool PythonQtWrapper_QTabBar::autoHide(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->autoHide()); +} + +bool PythonQtWrapper_QTabBar::changeCurrentOnDrag(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->changeCurrentOnDrag()); +} + +int PythonQtWrapper_QTabBar::count(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +int PythonQtWrapper_QTabBar::currentIndex(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->currentIndex()); +} + +bool PythonQtWrapper_QTabBar::documentMode(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->documentMode()); +} + +bool PythonQtWrapper_QTabBar::drawBase(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->drawBase()); +} + +Qt::TextElideMode PythonQtWrapper_QTabBar::elideMode(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->elideMode()); +} + +bool PythonQtWrapper_QTabBar::expanding(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->expanding()); +} + +QSize PythonQtWrapper_QTabBar::iconSize(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->iconSize()); +} + +void PythonQtWrapper_QTabBar::initStyleOption(QTabBar* theWrappedObject, QStyleOptionTab* option, int tabIndex) const +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_initStyleOption(option, tabIndex)); +} + +int PythonQtWrapper_QTabBar::insertTab(QTabBar* theWrappedObject, int index, const QIcon& icon, const QString& text) +{ + return ( theWrappedObject->insertTab(index, icon, text)); +} + +int PythonQtWrapper_QTabBar::insertTab(QTabBar* theWrappedObject, int index, const QString& text) +{ + return ( theWrappedObject->insertTab(index, text)); +} + +bool PythonQtWrapper_QTabBar::isMovable(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->isMovable()); +} + +bool PythonQtWrapper_QTabBar::isTabEnabled(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->isTabEnabled(index)); +} + +QSize PythonQtWrapper_QTabBar::minimumTabSizeHint(QTabBar* theWrappedObject, int index) const +{ + return ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_minimumTabSizeHint(index)); +} + +void PythonQtWrapper_QTabBar::moveTab(QTabBar* theWrappedObject, int from, int to) +{ + ( theWrappedObject->moveTab(from, to)); +} + +void PythonQtWrapper_QTabBar::removeTab(QTabBar* theWrappedObject, int index) +{ + ( theWrappedObject->removeTab(index)); +} + +QTabBar::SelectionBehavior PythonQtWrapper_QTabBar::selectionBehaviorOnRemove(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->selectionBehaviorOnRemove()); +} + +void PythonQtWrapper_QTabBar::setAutoHide(QTabBar* theWrappedObject, bool hide) +{ + ( theWrappedObject->setAutoHide(hide)); +} + +void PythonQtWrapper_QTabBar::setChangeCurrentOnDrag(QTabBar* theWrappedObject, bool change) +{ + ( theWrappedObject->setChangeCurrentOnDrag(change)); +} + +void PythonQtWrapper_QTabBar::setDocumentMode(QTabBar* theWrappedObject, bool set) +{ + ( theWrappedObject->setDocumentMode(set)); +} + +void PythonQtWrapper_QTabBar::setDrawBase(QTabBar* theWrappedObject, bool drawTheBase) +{ + ( theWrappedObject->setDrawBase(drawTheBase)); +} + +void PythonQtWrapper_QTabBar::setElideMode(QTabBar* theWrappedObject, Qt::TextElideMode arg__1) +{ + ( theWrappedObject->setElideMode(arg__1)); +} + +void PythonQtWrapper_QTabBar::setExpanding(QTabBar* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setExpanding(enabled)); +} + +void PythonQtWrapper_QTabBar::setIconSize(QTabBar* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setIconSize(size)); +} + +void PythonQtWrapper_QTabBar::setMovable(QTabBar* theWrappedObject, bool movable) +{ + ( theWrappedObject->setMovable(movable)); +} + +void PythonQtWrapper_QTabBar::setSelectionBehaviorOnRemove(QTabBar* theWrappedObject, QTabBar::SelectionBehavior behavior) +{ + ( theWrappedObject->setSelectionBehaviorOnRemove(behavior)); +} + +void PythonQtWrapper_QTabBar::setShape(QTabBar* theWrappedObject, QTabBar::Shape shape) +{ + ( theWrappedObject->setShape(shape)); +} + +void PythonQtWrapper_QTabBar::setTabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position, QWidget* widget) +{ + ( theWrappedObject->setTabButton(index, position, widget)); +} + +void PythonQtWrapper_QTabBar::setTabData(QTabBar* theWrappedObject, int index, const QVariant& data) +{ + ( theWrappedObject->setTabData(index, data)); +} + +void PythonQtWrapper_QTabBar::setTabEnabled(QTabBar* theWrappedObject, int index, bool arg__2) +{ + ( theWrappedObject->setTabEnabled(index, arg__2)); +} + +void PythonQtWrapper_QTabBar::setTabIcon(QTabBar* theWrappedObject, int index, const QIcon& icon) +{ + ( theWrappedObject->setTabIcon(index, icon)); +} + +void PythonQtWrapper_QTabBar::setTabText(QTabBar* theWrappedObject, int index, const QString& text) +{ + ( theWrappedObject->setTabText(index, text)); +} + +void PythonQtWrapper_QTabBar::setTabTextColor(QTabBar* theWrappedObject, int index, const QColor& color) +{ + ( theWrappedObject->setTabTextColor(index, color)); +} + +void PythonQtWrapper_QTabBar::setTabToolTip(QTabBar* theWrappedObject, int index, const QString& tip) +{ + ( theWrappedObject->setTabToolTip(index, tip)); } -void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* event0) + +void PythonQtWrapper_QTabBar::setTabWhatsThis(QTabBar* theWrappedObject, int index, const QString& text) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setTabWhatsThis(index, text)); } - QTableWidget::moveEvent(event0); + +void PythonQtWrapper_QTabBar::setTabsClosable(QTabBar* theWrappedObject, bool closable) +{ + ( theWrappedObject->setTabsClosable(closable)); } -bool PythonQtShell_QTableWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) + +void PythonQtWrapper_QTabBar::setUsesScrollButtons(QTabBar* theWrappedObject, bool useButtons) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setUsesScrollButtons(useButtons)); } - return QTableWidget::nativeEvent(eventType0, message1, result2); + +QTabBar::Shape PythonQtWrapper_QTabBar::shape(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->shape()); } -QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const + +int PythonQtWrapper_QTabBar::tabAt(QTabBar* theWrappedObject, const QPoint& pos) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); - } else { - returnValue = *((QPaintEngine**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->tabAt(pos)); } - return QTableWidget::paintEngine(); + +QWidget* PythonQtWrapper_QTabBar::tabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position) const +{ + return ( theWrappedObject->tabButton(index, position)); } -void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e0) + +QVariant PythonQtWrapper_QTabBar::tabData(QTabBar* theWrappedObject, int index) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->tabData(index)); } - QTableWidget::paintEvent(e0); + +QIcon PythonQtWrapper_QTabBar::tabIcon(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabIcon(index)); } -QPaintDevice* PythonQtShell_QTableWidget::redirected(QPoint* offset0) const + +void PythonQtWrapper_QTabBar::tabInserted(QTabBar* theWrappedObject, int index) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabInserted(index)); } - return QTableWidget::redirected(offset0); + +void PythonQtWrapper_QTabBar::tabLayoutChange(QTabBar* theWrappedObject) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabLayoutChange()); } -void PythonQtShell_QTableWidget::reset() + +QRect PythonQtWrapper_QTabBar::tabRect(QTabBar* theWrappedObject, int index) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("reset"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->tabRect(index)); } - QTableWidget::reset(); + +void PythonQtWrapper_QTabBar::tabRemoved(QTabBar* theWrappedObject, int index) +{ + ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabRemoved(index)); } -void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event0) + +QSize PythonQtWrapper_QTabBar::tabSizeHint(QTabBar* theWrappedObject, int index) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( ((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->promoted_tabSizeHint(index)); } - QTableWidget::resizeEvent(event0); + +QString PythonQtWrapper_QTabBar::tabText(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabText(index)); } -void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) + +QColor PythonQtWrapper_QTabBar::tabTextColor(QTabBar* theWrappedObject, int index) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->tabTextColor(index)); +} + +QString PythonQtWrapper_QTabBar::tabToolTip(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabToolTip(index)); +} + +QString PythonQtWrapper_QTabBar::tabWhatsThis(QTabBar* theWrappedObject, int index) const +{ + return ( theWrappedObject->tabWhatsThis(index)); +} + +bool PythonQtWrapper_QTabBar::tabsClosable(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->tabsClosable()); } - QTableWidget::rowsAboutToBeRemoved(parent0, start1, end2); + +bool PythonQtWrapper_QTabBar::usesScrollButtons(QTabBar* theWrappedObject) const +{ + return ( theWrappedObject->usesScrollButtons()); } -void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) + + + +PythonQtShell_QTabWidget::~PythonQtShell_QTabWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QTabWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("rowsInserted"); + static PyObject* name = PyUnicode_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8064,19 +3609,19 @@ if (_wrapper) { } } } - QTableWidget::rowsInserted(parent0, start1, end2); + QTabWidget::actionEvent(event0); } -void PythonQtShell_QTableWidget::scrollContentsBy(int dx0, int dy1) +void PythonQtShell_QTabWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); + static PyObject* name = PyUnicode_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8086,19 +3631,19 @@ if (_wrapper) { } } } - QTableWidget::scrollContentsBy(dx0, dy1); + QTabWidget::changeEvent(arg__1); } -void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) +void PythonQtShell_QTabWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("scrollTo"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8108,19 +3653,19 @@ if (_wrapper) { } } } - QTableWidget::scrollTo(index0, hint1); + QTabWidget::childEvent(event0); } -void PythonQtShell_QTableWidget::selectAll() +void PythonQtShell_QTabWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectAll"); + static PyObject* name = PyUnicode_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8130,52 +3675,41 @@ if (_wrapper) { } } } - QTableWidget::selectAll(); + QTabWidget::closeEvent(event0); } -QList PythonQtShell_QTableWidget::selectedIndexes() const +void PythonQtShell_QTabWidget::contextMenuEvent(QContextMenuEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectedIndexes"); + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QList"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QList returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); - } else { - returnValue = *((QList*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::selectedIndexes(); + QTabWidget::contextMenuEvent(event0); } -void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) +void PythonQtShell_QTabWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectionChanged"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8185,28 +3719,28 @@ if (_wrapper) { } } } - QTableWidget::selectionChanged(selected0, deselected1); + QTabWidget::customEvent(event0); } -QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +int PythonQtShell_QTabWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("selectionCommand"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QItemSelectionModel::SelectionFlags returnValue{}; - void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -8218,41 +3752,19 @@ if (_wrapper) { } } } - return QTableWidget::selectionCommand(index0, event1); + return QTabWidget::devType(); } -void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index0) +void PythonQtShell_QTabWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setRootIndex"); + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&index0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTableWidget::setRootIndex(index0); -} -void PythonQtShell_QTableWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8262,19 +3774,19 @@ if (_wrapper) { } } } - QTableWidget::setSelection(rect0, command1); + QTabWidget::dragEnterEvent(event0); } -void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selectionModel0) +void PythonQtShell_QTabWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setSelectionModel"); + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&selectionModel0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8284,19 +3796,19 @@ if (_wrapper) { } } } - QTableWidget::setSelectionModel(selectionModel0); + QTabWidget::dragLeaveEvent(event0); } -void PythonQtShell_QTableWidget::setVisible(bool visible0) +void PythonQtShell_QTabWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8306,19 +3818,19 @@ if (_wrapper) { } } } - QTableWidget::setVisible(visible0); + QTabWidget::dragMoveEvent(event0); } -void PythonQtShell_QTableWidget::setupViewport(QWidget* viewport0) +void PythonQtShell_QTabWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setupViewport"); + static PyObject* name = PyUnicode_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8328,50 +3840,17 @@ if (_wrapper) { } } } - QTableWidget::setupViewport(viewport0); -} -QPainter* PythonQtShell_QTableWidget::sharedPainter() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::sharedPainter(); + QTabWidget::dropEvent(event0); } -void PythonQtShell_QTableWidget::showEvent(QShowEvent* event0) +void PythonQtShell_QTabWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -8383,61 +3862,28 @@ if (_wrapper) { } } } - QTableWidget::showEvent(event0); -} -QSize PythonQtShell_QTableWidget::sizeHint() const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTableWidget::sizeHint(); + QTabWidget::enterEvent(event0); } -int PythonQtShell_QTableWidget::sizeHintForColumn(int column0) const +bool PythonQtShell_QTabWidget::event(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&column0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -8449,28 +3895,28 @@ if (_wrapper) { } } } - return QTableWidget::sizeHintForColumn(column0); + return QTabWidget::event(arg__1); } -int PythonQtShell_QTableWidget::sizeHintForRow(int row0) const +bool PythonQtShell_QTabWidget::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHintForRow"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&row0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((int*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -8482,19 +3928,19 @@ if (_wrapper) { } } } - return QTableWidget::sizeHintForRow(row0); + return QTabWidget::eventFilter(watched0, event1); } -void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions0) +void PythonQtShell_QTabWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("startDrag"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&supportedActions0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8504,28 +3950,28 @@ if (_wrapper) { } } } - QTableWidget::startDrag(supportedActions0); + QTabWidget::focusInEvent(event0); } -Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const +bool PythonQtShell_QTabWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("supportedDropActions"); + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"Qt::DropActions"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - Qt::DropActions returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); } else { - returnValue = *((Qt::DropActions*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -8537,17 +3983,17 @@ if (_wrapper) { } } } - return QTableWidget::supportedDropActions(); + return QTabWidget::focusNextPrevChild(next0); } -void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTabWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -8559,63 +4005,85 @@ if (_wrapper) { } } } - QTableWidget::tabletEvent(event0); + QTabWidget::focusOutEvent(event0); } -void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event0) +bool PythonQtShell_QTabWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::timerEvent(event0); + return QTabWidget::hasHeightForWidth(); } -void PythonQtShell_QTableWidget::updateEditorData() +int PythonQtShell_QTabWidget::heightForWidth(int width0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateEditorData"); + static PyObject* name = PyUnicode_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&width0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::updateEditorData(); + return QTabWidget::heightForWidth(width0); } -void PythonQtShell_QTableWidget::updateEditorGeometries() +void PythonQtShell_QTabWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); + static PyObject* name = PyUnicode_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8625,19 +4093,19 @@ if (_wrapper) { } } } - QTableWidget::updateEditorGeometries(); + QTabWidget::hideEvent(event0); } -void PythonQtShell_QTableWidget::updateGeometries() +void PythonQtShell_QTabWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("updateGeometries"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8647,74 +4115,74 @@ if (_wrapper) { } } } - QTableWidget::updateGeometries(); + QTabWidget::initPainter(painter0); } -int PythonQtShell_QTableWidget::verticalOffset() const +void PythonQtShell_QTabWidget::inputMethodEvent(QInputMethodEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalOffset"); + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::verticalOffset(); + QTabWidget::inputMethodEvent(arg__1); } -void PythonQtShell_QTableWidget::verticalScrollbarAction(int action0) +QVariant PythonQtShell_QTabWidget::inputMethodQuery(Qt::InputMethodQuery arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&action0}; + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTableWidget::verticalScrollbarAction(action0); + return QTabWidget::inputMethodQuery(arg__1); } -void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value0) +void PythonQtShell_QTabWidget::keyPressEvent(QKeyEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); + static PyObject* name = PyUnicode_FromString("keyPressEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int"}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&value0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8724,94 +4192,72 @@ if (_wrapper) { } } } - QTableWidget::verticalScrollbarValueChanged(value0); + QTabWidget::keyPressEvent(arg__1); } -QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const +void PythonQtShell_QTabWidget::keyReleaseEvent(QKeyEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewOptions"); + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QStyleOptionViewItem"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QStyleOptionViewItem returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); - } else { - returnValue = *((QStyleOptionViewItem*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::viewOptions(); + QTabWidget::keyReleaseEvent(event0); } -bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event0) +void PythonQtShell_QTabWidget::leaveEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); + static PyObject* name = PyUnicode_FromString("leaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::viewportEvent(event0); + QTabWidget::leaveEvent(event0); } -QSize PythonQtShell_QTableWidget::viewportSizeHint() const +int PythonQtShell_QTabWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); + static PyObject* name = PyUnicode_FromString("metric"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -8823,28 +4269,28 @@ if (_wrapper) { } } } - return QTableWidget::viewportSizeHint(); + return QTabWidget::metric(arg__1); } -QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index0) const +QSize PythonQtShell_QTabWidget::minimumSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("visualRect"); + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRect returnValue{}; - void* args[2] = {nullptr, (void*)&index0}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); } else { - returnValue = *((QRect*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -8856,52 +4302,41 @@ if (_wrapper) { } } } - return QTableWidget::visualRect(index0); + return QTabWidget::minimumSizeHint(); } -QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelection& selection0) const +void PythonQtShell_QTabWidget::mouseDoubleClickEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QRegion returnValue{}; - void* args[2] = {nullptr, (void*)&selection0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); - } else { - returnValue = *((QRegion*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTableWidget::visualRegionForSelection(selection0); + QTabWidget::mouseDoubleClickEvent(event0); } -void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) +void PythonQtShell_QTabWidget::mouseMoveEvent(QMouseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QMouseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -8911,305 +4346,259 @@ if (_wrapper) { } } } - QTableWidget::wheelEvent(arg__1); -} -QTableWidget* PythonQtWrapper_QTableWidget::new_QTableWidget(QWidget* parent) -{ -return new PythonQtShell_QTableWidget(parent); } - -QTableWidget* PythonQtWrapper_QTableWidget::new_QTableWidget(int rows, int columns, QWidget* parent) -{ -return new PythonQtShell_QTableWidget(rows, columns, parent); } - -const QMetaObject* PythonQtShell_QTableWidget::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTableWidget::staticMetaObject); - } else { - return &QTableWidget::staticMetaObject; - } -} -int PythonQtShell_QTableWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTableWidget::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QWidget* PythonQtWrapper_QTableWidget::cellWidget(QTableWidget* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->cellWidget(row, column)); -} - -void PythonQtWrapper_QTableWidget::closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) -{ - ( theWrappedObject->closePersistentEditor(item)); -} - -int PythonQtWrapper_QTableWidget::column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const -{ - return ( theWrappedObject->column(item)); -} - -int PythonQtWrapper_QTableWidget::columnCount(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->columnCount()); -} - -int PythonQtWrapper_QTableWidget::currentColumn(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentColumn()); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::currentItem(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentItem()); -} - -int PythonQtWrapper_QTableWidget::currentRow(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->currentRow()); -} - -bool PythonQtWrapper_QTableWidget::dropMimeData(QTableWidget* theWrappedObject, int row, int column, const QMimeData* data, Qt::DropAction action) -{ - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_dropMimeData(row, column, data, action)); -} - -void PythonQtWrapper_QTableWidget::editItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) -{ - ( theWrappedObject->editItem(item)); -} - -QList PythonQtWrapper_QTableWidget::findItems(QTableWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const -{ - return ( theWrappedObject->findItems(text, flags)); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::horizontalHeaderItem(QTableWidget* theWrappedObject, int column) const -{ - return ( theWrappedObject->horizontalHeaderItem(column)); -} - -QModelIndex PythonQtWrapper_QTableWidget::indexFromItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) const -{ - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_indexFromItem(item)); -} - -bool PythonQtWrapper_QTableWidget::isPersistentEditorOpen(QTableWidget* theWrappedObject, QTableWidgetItem* item) const -{ - return ( theWrappedObject->isPersistentEditorOpen(item)); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::item(QTableWidget* theWrappedObject, int row, int column) const -{ - return ( theWrappedObject->item(row, column)); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, const QPoint& p) const -{ - return ( theWrappedObject->itemAt(p)); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, int x, int y) const -{ - return ( theWrappedObject->itemAt(x, y)); -} - -QTableWidgetItem* PythonQtWrapper_QTableWidget::itemFromIndex(QTableWidget* theWrappedObject, const QModelIndex& index) const -{ - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_itemFromIndex(index)); -} - -const QTableWidgetItem* PythonQtWrapper_QTableWidget::itemPrototype(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->itemPrototype()); -} - -QList PythonQtWrapper_QTableWidget::items(QTableWidget* theWrappedObject, const QMimeData* data) const -{ - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_items(data)); -} - -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::mimeData(QTableWidget* theWrappedObject, const QList items) const -{ - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeData(items)); -} - -QStringList PythonQtWrapper_QTableWidget::mimeTypes(QTableWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeTypes()); -} - -void PythonQtWrapper_QTableWidget::openPersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) -{ - ( theWrappedObject->openPersistentEditor(item)); -} - -void PythonQtWrapper_QTableWidget::removeCellWidget(QTableWidget* theWrappedObject, int row, int column) -{ - ( theWrappedObject->removeCellWidget(row, column)); -} - -int PythonQtWrapper_QTableWidget::row(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const -{ - return ( theWrappedObject->row(item)); -} - -int PythonQtWrapper_QTableWidget::rowCount(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->rowCount()); -} - -QList PythonQtWrapper_QTableWidget::selectedItems(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->selectedItems()); -} - -QList PythonQtWrapper_QTableWidget::selectedRanges(QTableWidget* theWrappedObject) const -{ - return ( theWrappedObject->selectedRanges()); -} - -void PythonQtWrapper_QTableWidget::setCellWidget(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP widget) -{ - ( theWrappedObject->setCellWidget(row, column, widget)); -} - -void PythonQtWrapper_QTableWidget::setColumnCount(QTableWidget* theWrappedObject, int columns) -{ - ( theWrappedObject->setColumnCount(columns)); -} - -void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column) -{ - ( theWrappedObject->setCurrentCell(row, column)); -} - -void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column, QItemSelectionModel::SelectionFlags command) -{ - ( theWrappedObject->setCurrentCell(row, column, command)); -} - -void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) -{ - ( theWrappedObject->setCurrentItem(item)); -} - -void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item, QItemSelectionModel::SelectionFlags command) -{ - ( theWrappedObject->setCurrentItem(item, command)); + QTabWidget::mouseMoveEvent(event0); } - -void PythonQtWrapper_QTableWidget::setHorizontalHeaderItem(QTableWidget* theWrappedObject, int column, PythonQtPassOwnershipToCPP item) +void PythonQtShell_QTabWidget::mousePressEvent(QMouseEvent* event0) { - ( theWrappedObject->setHorizontalHeaderItem(column, item)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTableWidget::setHorizontalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels) -{ - ( theWrappedObject->setHorizontalHeaderLabels(labels)); + QTabWidget::mousePressEvent(event0); } - -void PythonQtWrapper_QTableWidget::setItem(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP item) +void PythonQtShell_QTabWidget::mouseReleaseEvent(QMouseEvent* event0) { - ( theWrappedObject->setItem(row, column, item)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTableWidget::setItemPrototype(QTableWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) -{ - ( theWrappedObject->setItemPrototype(item)); + QTabWidget::mouseReleaseEvent(event0); } - -void PythonQtWrapper_QTableWidget::setRangeSelected(QTableWidget* theWrappedObject, const QTableWidgetSelectionRange& range, bool select) +void PythonQtShell_QTabWidget::moveEvent(QMoveEvent* event0) { - ( theWrappedObject->setRangeSelected(range, select)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTableWidget::setRowCount(QTableWidget* theWrappedObject, int rows) -{ - ( theWrappedObject->setRowCount(rows)); + QTabWidget::moveEvent(event0); } - -void PythonQtWrapper_QTableWidget::setVerticalHeaderItem(QTableWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) +bool PythonQtShell_QTabWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - ( theWrappedObject->setVerticalHeaderItem(row, item)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTableWidget::setVerticalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels) -{ - ( theWrappedObject->setVerticalHeaderLabels(labels)); + return QTabWidget::nativeEvent(eventType0, message1, result2); } - -void PythonQtWrapper_QTableWidget::sortItems(QTableWidget* theWrappedObject, int column, Qt::SortOrder order) +QPaintEngine* PythonQtShell_QTabWidget::paintEngine() const { - ( theWrappedObject->sortItems(column, order)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -Qt::DropActions PythonQtWrapper_QTableWidget::supportedDropActions(QTableWidget* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_supportedDropActions()); + return QTabWidget::paintEngine(); } - -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeHorizontalHeaderItem(QTableWidget* theWrappedObject, int column) +void PythonQtShell_QTabWidget::paintEvent(QPaintEvent* arg__1) { - return ( theWrappedObject->takeHorizontalHeaderItem(column)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeItem(QTableWidget* theWrappedObject, int row, int column) -{ - return ( theWrappedObject->takeItem(row, column)); + QTabWidget::paintEvent(arg__1); } - -PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeVerticalHeaderItem(QTableWidget* theWrappedObject, int row) +QPaintDevice* PythonQtShell_QTabWidget::redirected(QPoint* offset0) const { - return ( theWrappedObject->takeVerticalHeaderItem(row)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QTableWidgetItem* PythonQtWrapper_QTableWidget::verticalHeaderItem(QTableWidget* theWrappedObject, int row) const -{ - return ( theWrappedObject->verticalHeaderItem(row)); + return QTabWidget::redirected(offset0); } - -int PythonQtWrapper_QTableWidget::visualColumn(QTableWidget* theWrappedObject, int logicalColumn) const +void PythonQtShell_QTabWidget::resizeEvent(QResizeEvent* arg__1) { - return ( theWrappedObject->visualColumn(logicalColumn)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QRect PythonQtWrapper_QTableWidget::visualItemRect(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const -{ - return ( theWrappedObject->visualItemRect(item)); + QTabWidget::resizeEvent(arg__1); } - -int PythonQtWrapper_QTableWidget::visualRow(QTableWidget* theWrappedObject, int logicalRow) const +void PythonQtShell_QTabWidget::setVisible(bool visible0) { - return ( theWrappedObject->visualRow(logicalRow)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTableWidgetItem::~PythonQtShell_QTableWidgetItem() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTabWidget::setVisible(visible0); } -QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const +QPainter* PythonQtShell_QTabWidget::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("clone"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QTableWidgetItem*"}; + static const char* argumentList[] ={"QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QTableWidgetItem* returnValue{}; + QPainter* returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((QTableWidgetItem**)args[0]); + returnValue = *((QPainter**)args[0]); } } } @@ -9221,28 +4610,50 @@ if (_wrapper) { } } } - return QTableWidgetItem::clone(); + return QTabWidget::sharedPainter(); } -QVariant PythonQtShell_QTableWidgetItem::data(int role0) const +void PythonQtShell_QTabWidget::showEvent(QShowEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("data"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "int"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&role0}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabWidget::showEvent(arg__1); +} +QSize PythonQtShell_QTabWidget::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -9254,19 +4665,19 @@ if (_wrapper) { } } } - return QTableWidgetItem::data(role0); + return QTabWidget::sizeHint(); } -void PythonQtShell_QTableWidgetItem::read(QDataStream& in0) +void PythonQtShell_QTabWidget::tabInserted(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("read"); + static PyObject* name = PyUnicode_FromString("tabInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&in0}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9276,19 +4687,19 @@ if (_wrapper) { } } } - QTableWidgetItem::read(in0); + QTabWidget::tabInserted(index0); } -void PythonQtShell_QTableWidgetItem::setData(int role0, const QVariant& value1) +void PythonQtShell_QTabWidget::tabRemoved(int index0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setData"); + static PyObject* name = PyUnicode_FromString("tabRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "const QVariant&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&role0, (void*)&value1}; + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9298,19 +4709,19 @@ if (_wrapper) { } } } - QTableWidgetItem::setData(role0, value1); + QTabWidget::tabRemoved(index0); } -void PythonQtShell_QTableWidgetItem::write(QDataStream& out0) const +void PythonQtShell_QTabWidget::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("write"); + static PyObject* name = PyUnicode_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDataStream&"}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&out0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9320,385 +4731,712 @@ if (_wrapper) { } } } - QTableWidgetItem::write(out0); + QTabWidget::tabletEvent(event0); } -QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(const QIcon& icon, const QString& text, int type) +void PythonQtShell_QTabWidget::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabWidget::timerEvent(event0); +} +void PythonQtShell_QTabWidget::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTabWidget::wheelEvent(event0); +} +QTabWidget* PythonQtWrapper_QTabWidget::new_QTabWidget(QWidget* parent) { -return new PythonQtShell_QTableWidgetItem(icon, text, type); } +return new PythonQtShell_QTabWidget(parent); } -QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(const QString& text, int type) -{ -return new PythonQtShell_QTableWidgetItem(text, type); } +const QMetaObject* PythonQtShell_QTabWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTabWidget::staticMetaObject); + } else { + return &QTabWidget::staticMetaObject; + } +} +int PythonQtShell_QTabWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTabWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +int PythonQtWrapper_QTabWidget::addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& label) +{ + return ( theWrappedObject->addTab(widget, icon, label)); +} -QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(int type) -{ -return new PythonQtShell_QTableWidgetItem(type); } +int PythonQtWrapper_QTabWidget::addTab(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP widget, const QString& arg__2) +{ + return ( theWrappedObject->addTab(widget, arg__2)); +} -QBrush PythonQtWrapper_QTableWidgetItem::background(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTabWidget::clear(QTabWidget* theWrappedObject) { - return ( theWrappedObject->background()); + ( theWrappedObject->clear()); } -Qt::CheckState PythonQtWrapper_QTableWidgetItem::checkState(QTableWidgetItem* theWrappedObject) const +QWidget* PythonQtWrapper_QTabWidget::cornerWidget(QTabWidget* theWrappedObject, Qt::Corner corner) const { - return ( theWrappedObject->checkState()); + return ( theWrappedObject->cornerWidget(corner)); } -QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::clone(QTableWidgetItem* theWrappedObject) const +int PythonQtWrapper_QTabWidget::count(QTabWidget* theWrappedObject) const { - return ( theWrappedObject->clone()); + return ( theWrappedObject->count()); } -int PythonQtWrapper_QTableWidgetItem::column(QTableWidgetItem* theWrappedObject) const +int PythonQtWrapper_QTabWidget::currentIndex(QTabWidget* theWrappedObject) const { - return ( theWrappedObject->column()); + return ( theWrappedObject->currentIndex()); } -QVariant PythonQtWrapper_QTableWidgetItem::data(QTableWidgetItem* theWrappedObject, int role) const +QWidget* PythonQtWrapper_QTabWidget::currentWidget(QTabWidget* theWrappedObject) const { - return ( theWrappedObject->data(role)); + return ( theWrappedObject->currentWidget()); } -Qt::ItemFlags PythonQtWrapper_QTableWidgetItem::flags(QTableWidgetItem* theWrappedObject) const +bool PythonQtWrapper_QTabWidget::documentMode(QTabWidget* theWrappedObject) const { - return ( theWrappedObject->flags()); + return ( theWrappedObject->documentMode()); } -QFont PythonQtWrapper_QTableWidgetItem::font(QTableWidgetItem* theWrappedObject) const +Qt::TextElideMode PythonQtWrapper_QTabWidget::elideMode(QTabWidget* theWrappedObject) const { - return ( theWrappedObject->font()); + return ( theWrappedObject->elideMode()); } -QBrush PythonQtWrapper_QTableWidgetItem::foreground(QTableWidgetItem* theWrappedObject) const +QSize PythonQtWrapper_QTabWidget::iconSize(QTabWidget* theWrappedObject) const { - return ( theWrappedObject->foreground()); + return ( theWrappedObject->iconSize()); } -QIcon PythonQtWrapper_QTableWidgetItem::icon(QTableWidgetItem* theWrappedObject) const +int PythonQtWrapper_QTabWidget::indexOf(QTabWidget* theWrappedObject, QWidget* widget) const { - return ( theWrappedObject->icon()); + return ( theWrappedObject->indexOf(widget)); } -bool PythonQtWrapper_QTableWidgetItem::isSelected(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTabWidget::initStyleOption(QTabWidget* theWrappedObject, QStyleOptionTabWidgetFrame* option) const { - return ( theWrappedObject->isSelected()); + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_initStyleOption(option)); } -void PythonQtWrapper_QTableWidgetItem::writeTo(QTableWidgetItem* theWrappedObject, QDataStream& out) +int PythonQtWrapper_QTabWidget::insertTab(QTabWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QIcon& icon, const QString& label) { - out << (*theWrappedObject); + return ( theWrappedObject->insertTab(index, widget, icon, label)); } -void PythonQtWrapper_QTableWidgetItem::readFrom(QTableWidgetItem* theWrappedObject, QDataStream& in) +int PythonQtWrapper_QTabWidget::insertTab(QTabWidget* theWrappedObject, int index, PythonQtPassOwnershipToCPP widget, const QString& arg__3) { - in >> (*theWrappedObject); + return ( theWrappedObject->insertTab(index, widget, arg__3)); } -void PythonQtWrapper_QTableWidgetItem::read(QTableWidgetItem* theWrappedObject, QDataStream& in) +bool PythonQtWrapper_QTabWidget::isMovable(QTabWidget* theWrappedObject) const { - ( theWrappedObject->read(in)); + return ( theWrappedObject->isMovable()); } -int PythonQtWrapper_QTableWidgetItem::row(QTableWidgetItem* theWrappedObject) const +bool PythonQtWrapper_QTabWidget::isTabEnabled(QTabWidget* theWrappedObject, int index) const { - return ( theWrappedObject->row()); + return ( theWrappedObject->isTabEnabled(index)); } -void PythonQtWrapper_QTableWidgetItem::setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush) +void PythonQtWrapper_QTabWidget::removeTab(QTabWidget* theWrappedObject, int index) { - ( theWrappedObject->setBackground(brush)); + ( theWrappedObject->removeTab(index)); } -void PythonQtWrapper_QTableWidgetItem::setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state) +void PythonQtWrapper_QTabWidget::setCornerWidget(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP w, Qt::Corner corner) { - ( theWrappedObject->setCheckState(state)); + ( theWrappedObject->setCornerWidget(w, corner)); } -void PythonQtWrapper_QTableWidgetItem::setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value) +void PythonQtWrapper_QTabWidget::setDocumentMode(QTabWidget* theWrappedObject, bool set) { - ( theWrappedObject->setData(role, value)); + ( theWrappedObject->setDocumentMode(set)); } -void PythonQtWrapper_QTableWidgetItem::setFlags(QTableWidgetItem* theWrappedObject, Qt::ItemFlags flags) +void PythonQtWrapper_QTabWidget::setElideMode(QTabWidget* theWrappedObject, Qt::TextElideMode arg__1) { - ( theWrappedObject->setFlags(flags)); + ( theWrappedObject->setElideMode(arg__1)); } -void PythonQtWrapper_QTableWidgetItem::setFont(QTableWidgetItem* theWrappedObject, const QFont& font) +void PythonQtWrapper_QTabWidget::setIconSize(QTabWidget* theWrappedObject, const QSize& size) { - ( theWrappedObject->setFont(font)); + ( theWrappedObject->setIconSize(size)); } -void PythonQtWrapper_QTableWidgetItem::setForeground(QTableWidgetItem* theWrappedObject, const QBrush& brush) +void PythonQtWrapper_QTabWidget::setMovable(QTabWidget* theWrappedObject, bool movable) { - ( theWrappedObject->setForeground(brush)); + ( theWrappedObject->setMovable(movable)); } -void PythonQtWrapper_QTableWidgetItem::setIcon(QTableWidgetItem* theWrappedObject, const QIcon& icon) +void PythonQtWrapper_QTabWidget::setTabBar(QTabWidget* theWrappedObject, PythonQtPassOwnershipToCPP arg__1) { - ( theWrappedObject->setIcon(icon)); + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_setTabBar(arg__1)); } -void PythonQtWrapper_QTableWidgetItem::setSelected(QTableWidgetItem* theWrappedObject, bool select) +void PythonQtWrapper_QTabWidget::setTabBarAutoHide(QTabWidget* theWrappedObject, bool enabled) { - ( theWrappedObject->setSelected(select)); + ( theWrappedObject->setTabBarAutoHide(enabled)); } -void PythonQtWrapper_QTableWidgetItem::setSizeHint(QTableWidgetItem* theWrappedObject, const QSize& size) +void PythonQtWrapper_QTabWidget::setTabEnabled(QTabWidget* theWrappedObject, int index, bool arg__2) { - ( theWrappedObject->setSizeHint(size)); + ( theWrappedObject->setTabEnabled(index, arg__2)); +} + +void PythonQtWrapper_QTabWidget::setTabIcon(QTabWidget* theWrappedObject, int index, const QIcon& icon) +{ + ( theWrappedObject->setTabIcon(index, icon)); } -void PythonQtWrapper_QTableWidgetItem::setStatusTip(QTableWidgetItem* theWrappedObject, const QString& statusTip) +void PythonQtWrapper_QTabWidget::setTabPosition(QTabWidget* theWrappedObject, QTabWidget::TabPosition arg__1) { - ( theWrappedObject->setStatusTip(statusTip)); + ( theWrappedObject->setTabPosition(arg__1)); } -void PythonQtWrapper_QTableWidgetItem::setText(QTableWidgetItem* theWrappedObject, const QString& text) +void PythonQtWrapper_QTabWidget::setTabShape(QTabWidget* theWrappedObject, QTabWidget::TabShape s) { - ( theWrappedObject->setText(text)); + ( theWrappedObject->setTabShape(s)); } -void PythonQtWrapper_QTableWidgetItem::setTextAlignment(QTableWidgetItem* theWrappedObject, int alignment) +void PythonQtWrapper_QTabWidget::setTabText(QTabWidget* theWrappedObject, int index, const QString& arg__2) { - ( theWrappedObject->setTextAlignment(alignment)); + ( theWrappedObject->setTabText(index, arg__2)); } -void PythonQtWrapper_QTableWidgetItem::setToolTip(QTableWidgetItem* theWrappedObject, const QString& toolTip) +void PythonQtWrapper_QTabWidget::setTabToolTip(QTabWidget* theWrappedObject, int index, const QString& tip) { - ( theWrappedObject->setToolTip(toolTip)); + ( theWrappedObject->setTabToolTip(index, tip)); } -void PythonQtWrapper_QTableWidgetItem::setWhatsThis(QTableWidgetItem* theWrappedObject, const QString& whatsThis) +void PythonQtWrapper_QTabWidget::setTabWhatsThis(QTabWidget* theWrappedObject, int index, const QString& text) { - ( theWrappedObject->setWhatsThis(whatsThis)); + ( theWrappedObject->setTabWhatsThis(index, text)); } -QSize PythonQtWrapper_QTableWidgetItem::sizeHint(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTabWidget::setTabsClosable(QTabWidget* theWrappedObject, bool closeable) { - return ( theWrappedObject->sizeHint()); + ( theWrappedObject->setTabsClosable(closeable)); } -QString PythonQtWrapper_QTableWidgetItem::statusTip(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTabWidget::setUsesScrollButtons(QTabWidget* theWrappedObject, bool useButtons) { - return ( theWrappedObject->statusTip()); + ( theWrappedObject->setUsesScrollButtons(useButtons)); } -QTableWidget* PythonQtWrapper_QTableWidgetItem::tableWidget(QTableWidgetItem* theWrappedObject) const +QTabBar* PythonQtWrapper_QTabWidget::tabBar(QTabWidget* theWrappedObject) const { - return ( theWrappedObject->tableWidget()); + return ( theWrappedObject->tabBar()); } -QString PythonQtWrapper_QTableWidgetItem::text(QTableWidgetItem* theWrappedObject) const +bool PythonQtWrapper_QTabWidget::tabBarAutoHide(QTabWidget* theWrappedObject) const { - return ( theWrappedObject->text()); + return ( theWrappedObject->tabBarAutoHide()); } -int PythonQtWrapper_QTableWidgetItem::textAlignment(QTableWidgetItem* theWrappedObject) const +QIcon PythonQtWrapper_QTabWidget::tabIcon(QTabWidget* theWrappedObject, int index) const { - return ( theWrappedObject->textAlignment()); + return ( theWrappedObject->tabIcon(index)); } -QString PythonQtWrapper_QTableWidgetItem::toolTip(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTabWidget::tabInserted(QTabWidget* theWrappedObject, int index) { - return ( theWrappedObject->toolTip()); + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_tabInserted(index)); } -int PythonQtWrapper_QTableWidgetItem::type(QTableWidgetItem* theWrappedObject) const +QTabWidget::TabPosition PythonQtWrapper_QTabWidget::tabPosition(QTabWidget* theWrappedObject) const { - return ( theWrappedObject->type()); + return ( theWrappedObject->tabPosition()); } -QString PythonQtWrapper_QTableWidgetItem::whatsThis(QTableWidgetItem* theWrappedObject) const +void PythonQtWrapper_QTabWidget::tabRemoved(QTabWidget* theWrappedObject, int index) { - return ( theWrappedObject->whatsThis()); + ( ((PythonQtPublicPromoter_QTabWidget*)theWrappedObject)->promoted_tabRemoved(index)); } -void PythonQtWrapper_QTableWidgetItem::write(QTableWidgetItem* theWrappedObject, QDataStream& out) const +QTabWidget::TabShape PythonQtWrapper_QTabWidget::tabShape(QTabWidget* theWrappedObject) const { - ( theWrappedObject->write(out)); + return ( theWrappedObject->tabShape()); } - - -QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::new_QTableWidgetSelectionRange() -{ -return new QTableWidgetSelectionRange(); } - -QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::new_QTableWidgetSelectionRange(const QTableWidgetSelectionRange& other) -{ -return new QTableWidgetSelectionRange(other); } - -QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::new_QTableWidgetSelectionRange(int top, int left, int bottom, int right) -{ -return new QTableWidgetSelectionRange(top, left, bottom, right); } - -int PythonQtWrapper_QTableWidgetSelectionRange::bottomRow(QTableWidgetSelectionRange* theWrappedObject) const +QString PythonQtWrapper_QTabWidget::tabText(QTabWidget* theWrappedObject, int index) const { - return ( theWrappedObject->bottomRow()); + return ( theWrappedObject->tabText(index)); } -int PythonQtWrapper_QTableWidgetSelectionRange::columnCount(QTableWidgetSelectionRange* theWrappedObject) const +QString PythonQtWrapper_QTabWidget::tabToolTip(QTabWidget* theWrappedObject, int index) const { - return ( theWrappedObject->columnCount()); + return ( theWrappedObject->tabToolTip(index)); } -int PythonQtWrapper_QTableWidgetSelectionRange::leftColumn(QTableWidgetSelectionRange* theWrappedObject) const +QString PythonQtWrapper_QTabWidget::tabWhatsThis(QTabWidget* theWrappedObject, int index) const { - return ( theWrappedObject->leftColumn()); + return ( theWrappedObject->tabWhatsThis(index)); } -int PythonQtWrapper_QTableWidgetSelectionRange::rightColumn(QTableWidgetSelectionRange* theWrappedObject) const +bool PythonQtWrapper_QTabWidget::tabsClosable(QTabWidget* theWrappedObject) const { - return ( theWrappedObject->rightColumn()); + return ( theWrappedObject->tabsClosable()); } -int PythonQtWrapper_QTableWidgetSelectionRange::rowCount(QTableWidgetSelectionRange* theWrappedObject) const +bool PythonQtWrapper_QTabWidget::usesScrollButtons(QTabWidget* theWrappedObject) const { - return ( theWrappedObject->rowCount()); + return ( theWrappedObject->usesScrollButtons()); } -int PythonQtWrapper_QTableWidgetSelectionRange::topRow(QTableWidgetSelectionRange* theWrappedObject) const +QWidget* PythonQtWrapper_QTabWidget::widget(QTabWidget* theWrappedObject, int index) const { - return ( theWrappedObject->topRow()); + return ( theWrappedObject->widget(index)); } -PythonQtShell_QTabletEvent::~PythonQtShell_QTabletEvent() { +PythonQtShell_QTableView::~PythonQtShell_QTableView() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QTabletEvent* PythonQtWrapper_QTabletEvent::new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID) -{ -return new PythonQtShell_QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID); } - -QTabletEvent* PythonQtWrapper_QTabletEvent::new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID, Qt::MouseButton button, Qt::MouseButtons buttons) -{ -return new PythonQtShell_QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID, button, buttons); } - -Qt::MouseButton PythonQtWrapper_QTabletEvent::button(QTabletEvent* theWrappedObject) const +void PythonQtShell_QTableView::actionEvent(QActionEvent* event0) { - return ( theWrappedObject->button()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -Qt::MouseButtons PythonQtWrapper_QTabletEvent::buttons(QTabletEvent* theWrappedObject) const + QTableView::actionEvent(event0); +} +void PythonQtShell_QTableView::changeEvent(QEvent* arg__1) { - return ( theWrappedObject->buttons()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::changeEvent(arg__1); +} +void PythonQtShell_QTableView::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::childEvent(event0); +} +void PythonQtShell_QTableView::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEditor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::closeEditor(editor0, hint1); +} +void PythonQtShell_QTableView::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::closeEvent(event0); +} +void PythonQtShell_QTableView::commitData(QWidget* editor0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("commitData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&editor0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::commitData(editor0); +} +void PythonQtShell_QTableView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTabletEvent::TabletDevice PythonQtWrapper_QTabletEvent::device(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->device()); + QTableView::contextMenuEvent(arg__1); } - -QPoint PythonQtWrapper_QTabletEvent::globalPos(QTabletEvent* theWrappedObject) const +void PythonQtShell_QTableView::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { - return ( theWrappedObject->globalPos()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("currentChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -const QPointF* PythonQtWrapper_QTabletEvent::globalPosF(QTabletEvent* theWrappedObject) const -{ - return &( theWrappedObject->globalPosF()); + QTableView::currentChanged(current0, previous1); } - -int PythonQtWrapper_QTabletEvent::globalX(QTabletEvent* theWrappedObject) const +void PythonQtShell_QTableView::customEvent(QEvent* event0) { - return ( theWrappedObject->globalX()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTabletEvent::globalY(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->globalY()); + QTableView::customEvent(event0); } - -qreal PythonQtWrapper_QTabletEvent::hiResGlobalX(QTabletEvent* theWrappedObject) const +void PythonQtShell_QTableView::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { - return ( theWrappedObject->hiResGlobalX()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dataChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTabletEvent::hiResGlobalY(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->hiResGlobalY()); + QTableView::dataChanged(topLeft0, bottomRight1, roles2); } - -QTabletEvent::PointerType PythonQtWrapper_QTabletEvent::pointerType(QTabletEvent* theWrappedObject) const +int PythonQtShell_QTableView::devType() const { - return ( theWrappedObject->pointerType()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QPoint PythonQtWrapper_QTabletEvent::pos(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->pos()); + return QTableView::devType(); } - -const QPointF* PythonQtWrapper_QTabletEvent::posF(QTabletEvent* theWrappedObject) const +void PythonQtShell_QTableView::doItemsLayout() { - return &( theWrappedObject->posF()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("doItemsLayout"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTabletEvent::pressure(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->pressure()); + QTableView::doItemsLayout(); } - -qreal PythonQtWrapper_QTabletEvent::rotation(QTabletEvent* theWrappedObject) const +void PythonQtShell_QTableView::dragEnterEvent(QDragEnterEvent* event0) { - return ( theWrappedObject->rotation()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTabletEvent::tangentialPressure(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->tangentialPressure()); + QTableView::dragEnterEvent(event0); } - -qint64 PythonQtWrapper_QTabletEvent::uniqueId(QTabletEvent* theWrappedObject) const +void PythonQtShell_QTableView::dragLeaveEvent(QDragLeaveEvent* event0) { - return ( theWrappedObject->uniqueId()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTabletEvent::x(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->x()); + QTableView::dragLeaveEvent(event0); } - -int PythonQtWrapper_QTabletEvent::xTilt(QTabletEvent* theWrappedObject) const +void PythonQtShell_QTableView::dragMoveEvent(QDragMoveEvent* event0) { - return ( theWrappedObject->xTilt()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTabletEvent::y(QTabletEvent* theWrappedObject) const -{ - return ( theWrappedObject->y()); + QTableView::dragMoveEvent(event0); } - -int PythonQtWrapper_QTabletEvent::yTilt(QTabletEvent* theWrappedObject) const +void PythonQtShell_QTableView::dropEvent(QDropEvent* event0) { - return ( theWrappedObject->yTilt()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTabletEvent::z(QTabletEvent* theWrappedObject) const + QTableView::dropEvent(event0); +} +bool PythonQtShell_QTableView::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { - return ( theWrappedObject->z()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("edit"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTapAndHoldGesture::~PythonQtShell_QTapAndHoldGesture() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + return QTableView::edit(index0, trigger1, event2); } -void PythonQtShell_QTapAndHoldGesture::childEvent(QChildEvent* event0) +void PythonQtShell_QTableView::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9708,14 +5446,14 @@ if (_wrapper) { } } } - QTapAndHoldGesture::childEvent(event0); + QTableView::editorDestroyed(editor0); } -void PythonQtShell_QTapAndHoldGesture::customEvent(QEvent* event0) +void PythonQtShell_QTableView::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; @@ -9730,9 +5468,9 @@ if (_wrapper) { } } } - QTapAndHoldGesture::customEvent(event0); + QTableView::enterEvent(event0); } -bool PythonQtShell_QTapAndHoldGesture::event(QEvent* event0) +bool PythonQtShell_QTableView::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9763,9 +5501,9 @@ if (_wrapper) { } } } - return QTapAndHoldGesture::event(event0); + return QTableView::event(event0); } -bool PythonQtShell_QTapAndHoldGesture::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QTableView::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -9776,7 +5514,7 @@ if (_wrapper) { static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); @@ -9796,17 +5534,17 @@ if (_wrapper) { } } } - return QTapAndHoldGesture::eventFilter(watched0, event1); + return QTableView::eventFilter(arg__1, arg__2); } -void PythonQtShell_QTapAndHoldGesture::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTableView::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -9818,62 +5556,195 @@ if (_wrapper) { } } } - QTapAndHoldGesture::timerEvent(event0); + QTableView::focusInEvent(event0); } -QTapAndHoldGesture* PythonQtWrapper_QTapAndHoldGesture::new_QTapAndHoldGesture(QObject* parent) -{ -return new PythonQtShell_QTapAndHoldGesture(parent); } - -const QMetaObject* PythonQtShell_QTapAndHoldGesture::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTapAndHoldGesture::staticMetaObject); - } else { - return &QTapAndHoldGesture::staticMetaObject; +bool PythonQtShell_QTableView::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } } } -int PythonQtShell_QTapAndHoldGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTapAndHoldGesture::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; + return QTableView::focusNextPrevChild(next0); } -QPointF PythonQtWrapper_QTapAndHoldGesture::position(QTapAndHoldGesture* theWrappedObject) const +void PythonQtShell_QTableView::focusOutEvent(QFocusEvent* event0) { - return ( theWrappedObject->position()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTapAndHoldGesture::setPosition(QTapAndHoldGesture* theWrappedObject, const QPointF& pos) + QTableView::focusOutEvent(event0); +} +bool PythonQtShell_QTableView::hasHeightForWidth() const { - ( theWrappedObject->setPosition(pos)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTapAndHoldGesture::static_QTapAndHoldGesture_setTimeout(int msecs) + return QTableView::hasHeightForWidth(); +} +int PythonQtShell_QTableView::heightForWidth(int arg__1) const { - (QTapAndHoldGesture::setTimeout(msecs)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTapAndHoldGesture::static_QTapAndHoldGesture_timeout() + return QTableView::heightForWidth(arg__1); +} +void PythonQtShell_QTableView::hideEvent(QHideEvent* event0) { - return (QTapAndHoldGesture::timeout()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTapGesture::~PythonQtShell_QTapGesture() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTableView::hideEvent(event0); +} +int PythonQtShell_QTableView::horizontalOffset() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("horizontalOffset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } -void PythonQtShell_QTapGesture::childEvent(QChildEvent* event0) + return QTableView::horizontalOffset(); +} +void PythonQtShell_QTableView::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9883,19 +5754,19 @@ if (_wrapper) { } } } - QTapGesture::childEvent(event0); + QTableView::horizontalScrollbarAction(action0); } -void PythonQtShell_QTapGesture::customEvent(QEvent* event0) +void PythonQtShell_QTableView::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -9905,28 +5776,28 @@ if (_wrapper) { } } } - QTapGesture::customEvent(event0); + QTableView::horizontalScrollbarValueChanged(value0); } -bool PythonQtShell_QTapGesture::event(QEvent* event0) +QModelIndex PythonQtShell_QTableView::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } @@ -9938,50 +5809,39 @@ if (_wrapper) { } } } - return QTapGesture::event(event0); + return QTableView::indexAt(p0); } -bool PythonQtShell_QTapGesture::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QTableView::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTapGesture::eventFilter(watched0, event1); + QTableView::initPainter(painter0); } -void PythonQtShell_QTapGesture::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTableView::inputMethodEvent(QInputMethodEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -9993,376 +5853,547 @@ if (_wrapper) { } } } - QTapGesture::timerEvent(event0); -} -QTapGesture* PythonQtWrapper_QTapGesture::new_QTapGesture(QObject* parent) -{ -return new PythonQtShell_QTapGesture(parent); } - -const QMetaObject* PythonQtShell_QTapGesture::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTapGesture::staticMetaObject); - } else { - return &QTapGesture::staticMetaObject; - } -} -int PythonQtShell_QTapGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTapGesture::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -QPointF PythonQtWrapper_QTapGesture::position(QTapGesture* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -void PythonQtWrapper_QTapGesture::setPosition(QTapGesture* theWrappedObject, const QPointF& pos) -{ - ( theWrappedObject->setPosition(pos)); -} - - - -QTextBlock* PythonQtWrapper_QTextBlock::new_QTextBlock() -{ -return new QTextBlock(); } - -QTextBlock* PythonQtWrapper_QTextBlock::new_QTextBlock(const QTextBlock& o) -{ -return new QTextBlock(o); } - -QTextBlock::iterator PythonQtWrapper_QTextBlock::begin(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->begin()); -} - -QTextBlockFormat PythonQtWrapper_QTextBlock::blockFormat(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->blockFormat()); -} - -int PythonQtWrapper_QTextBlock::blockFormatIndex(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->blockFormatIndex()); -} - -int PythonQtWrapper_QTextBlock::blockNumber(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->blockNumber()); -} - -QTextCharFormat PythonQtWrapper_QTextBlock::charFormat(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->charFormat()); -} - -int PythonQtWrapper_QTextBlock::charFormatIndex(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->charFormatIndex()); -} - -void PythonQtWrapper_QTextBlock::clearLayout(QTextBlock* theWrappedObject) -{ - ( theWrappedObject->clearLayout()); -} - -bool PythonQtWrapper_QTextBlock::contains(QTextBlock* theWrappedObject, int position) const -{ - return ( theWrappedObject->contains(position)); -} - -const QTextDocument* PythonQtWrapper_QTextBlock::document(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->document()); -} - -QTextBlock::iterator PythonQtWrapper_QTextBlock::end(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->end()); -} - -int PythonQtWrapper_QTextBlock::firstLineNumber(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->firstLineNumber()); -} - -int PythonQtWrapper_QTextBlock::fragmentIndex(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->fragmentIndex()); -} - -bool PythonQtWrapper_QTextBlock::isValid(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -bool PythonQtWrapper_QTextBlock::isVisible(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->isVisible()); -} - -QTextLayout* PythonQtWrapper_QTextBlock::layout(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->layout()); -} - -int PythonQtWrapper_QTextBlock::length(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->length()); -} - -int PythonQtWrapper_QTextBlock::lineCount(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->lineCount()); -} - -QTextBlock PythonQtWrapper_QTextBlock::next(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->next()); -} - -bool PythonQtWrapper_QTextBlock::__ne__(QTextBlock* theWrappedObject, const QTextBlock& o) const -{ - return ( (*theWrappedObject)!= o); -} - -bool PythonQtWrapper_QTextBlock::__lt__(QTextBlock* theWrappedObject, const QTextBlock& o) const -{ - return ( (*theWrappedObject)< o); -} - -bool PythonQtWrapper_QTextBlock::__eq__(QTextBlock* theWrappedObject, const QTextBlock& o) const -{ - return ( (*theWrappedObject)== o); -} - -int PythonQtWrapper_QTextBlock::position(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -QTextBlock PythonQtWrapper_QTextBlock::previous(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->previous()); -} - -int PythonQtWrapper_QTextBlock::revision(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->revision()); + QTableView::inputMethodEvent(event0); } - -void PythonQtWrapper_QTextBlock::setLineCount(QTextBlock* theWrappedObject, int count) +QVariant PythonQtShell_QTableView::inputMethodQuery(Qt::InputMethodQuery query0) const { - ( theWrappedObject->setLineCount(count)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextBlock::setRevision(QTextBlock* theWrappedObject, int rev) -{ - ( theWrappedObject->setRevision(rev)); + return QTableView::inputMethodQuery(query0); } - -void PythonQtWrapper_QTextBlock::setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data) +bool PythonQtShell_QTableView::isIndexHidden(const QModelIndex& index0) const { - ( theWrappedObject->setUserData(data)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextBlock::setUserState(QTextBlock* theWrappedObject, int state) -{ - ( theWrappedObject->setUserState(state)); + return QTableView::isIndexHidden(index0); } - -void PythonQtWrapper_QTextBlock::setVisible(QTextBlock* theWrappedObject, bool visible) +void PythonQtShell_QTableView::keyPressEvent(QKeyEvent* event0) { - ( theWrappedObject->setVisible(visible)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QTextBlock::text(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->text()); + QTableView::keyPressEvent(event0); } - -Qt::LayoutDirection PythonQtWrapper_QTextBlock::textDirection(QTextBlock* theWrappedObject) const +void PythonQtShell_QTableView::keyReleaseEvent(QKeyEvent* event0) { - return ( theWrappedObject->textDirection()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QVector PythonQtWrapper_QTextBlock::textFormats(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->textFormats()); + QTableView::keyReleaseEvent(event0); } - -QTextList* PythonQtWrapper_QTextBlock::textList(QTextBlock* theWrappedObject) const +void PythonQtShell_QTableView::keyboardSearch(const QString& search0) { - return ( theWrappedObject->textList()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextBlockUserData* PythonQtWrapper_QTextBlock::userData(QTextBlock* theWrappedObject) const -{ - return ( theWrappedObject->userData()); + QTableView::keyboardSearch(search0); } - -int PythonQtWrapper_QTextBlock::userState(QTextBlock* theWrappedObject) const +void PythonQtShell_QTableView::leaveEvent(QEvent* event0) { - return ( theWrappedObject->userState()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTextBlockFormat::~PythonQtShell_QTextBlockFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTableView::leaveEvent(event0); } -QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat() -{ -return new PythonQtShell_QTextBlockFormat(); } - -QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextBlockFormat(fmt); } - -Qt::Alignment PythonQtWrapper_QTextBlockFormat::alignment(QTextBlockFormat* theWrappedObject) const +int PythonQtShell_QTableView::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - return ( theWrappedObject->alignment()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextBlockFormat::bottomMargin(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->bottomMargin()); + return QTableView::metric(arg__1); } - -int PythonQtWrapper_QTextBlockFormat::indent(QTextBlockFormat* theWrappedObject) const +QSize PythonQtShell_QTableView::minimumSizeHint() const { - return ( theWrappedObject->indent()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextBlockFormat::isValid(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); + return QTableView::minimumSizeHint(); } - -qreal PythonQtWrapper_QTextBlockFormat::leftMargin(QTextBlockFormat* theWrappedObject) const +void PythonQtShell_QTableView::mouseDoubleClickEvent(QMouseEvent* event0) { - return ( theWrappedObject->leftMargin()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::mouseDoubleClickEvent(event0); } - -qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject) const +void PythonQtShell_QTableView::mouseMoveEvent(QMouseEvent* event0) { - return ( theWrappedObject->lineHeight()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject, qreal scriptLineHeight, qreal scaling) const -{ - return ( theWrappedObject->lineHeight(scriptLineHeight, scaling)); + QTableView::mouseMoveEvent(event0); } - -int PythonQtWrapper_QTextBlockFormat::lineHeightType(QTextBlockFormat* theWrappedObject) const +void PythonQtShell_QTableView::mousePressEvent(QMouseEvent* event0) { - return ( theWrappedObject->lineHeightType()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextBlockFormat::nonBreakableLines(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->nonBreakableLines()); + QTableView::mousePressEvent(event0); } - -QTextFormat::PageBreakFlags PythonQtWrapper_QTextBlockFormat::pageBreakPolicy(QTextBlockFormat* theWrappedObject) const +void PythonQtShell_QTableView::mouseReleaseEvent(QMouseEvent* event0) { - return ( theWrappedObject->pageBreakPolicy()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextBlockFormat::rightMargin(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->rightMargin()); + QTableView::mouseReleaseEvent(event0); } - -void PythonQtWrapper_QTextBlockFormat::setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment) +QModelIndex PythonQtShell_QTableView::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) { - ( theWrappedObject->setAlignment(alignment)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextBlockFormat::setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setBottomMargin(margin)); + return QTableView::moveCursor(cursorAction0, modifiers1); } - -void PythonQtWrapper_QTextBlockFormat::setIndent(QTextBlockFormat* theWrappedObject, int indent) +void PythonQtShell_QTableView::moveEvent(QMoveEvent* event0) { - ( theWrappedObject->setIndent(indent)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextBlockFormat::setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setLeftMargin(margin)); + QTableView::moveEvent(event0); } - -void PythonQtWrapper_QTextBlockFormat::setLineHeight(QTextBlockFormat* theWrappedObject, qreal height, int heightType) +bool PythonQtShell_QTableView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - ( theWrappedObject->setLineHeight(height, heightType)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextBlockFormat::setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b) -{ - ( theWrappedObject->setNonBreakableLines(b)); + return QTableView::nativeEvent(eventType0, message1, result2); } - -void PythonQtWrapper_QTextBlockFormat::setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) +QPaintEngine* PythonQtShell_QTableView::paintEngine() const { - ( theWrappedObject->setPageBreakPolicy(flags)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextBlockFormat::setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setRightMargin(margin)); + return QTableView::paintEngine(); } - -void PythonQtWrapper_QTextBlockFormat::setTabPositions(QTextBlockFormat* theWrappedObject, const QList& tabs) +void PythonQtShell_QTableView::paintEvent(QPaintEvent* e0) { - ( theWrappedObject->setTabPositions(tabs)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextBlockFormat::setTextIndent(QTextBlockFormat* theWrappedObject, qreal aindent) + QTableView::paintEvent(e0); +} +QPaintDevice* PythonQtShell_QTableView::redirected(QPoint* offset0) const { - ( theWrappedObject->setTextIndent(aindent)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextBlockFormat::setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setTopMargin(margin)); + return QTableView::redirected(offset0); } - -QList PythonQtWrapper_QTextBlockFormat::tabPositions(QTextBlockFormat* theWrappedObject) const +void PythonQtShell_QTableView::reset() { - return ( theWrappedObject->tabPositions()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -qreal PythonQtWrapper_QTextBlockFormat::textIndent(QTextBlockFormat* theWrappedObject) const -{ - return ( theWrappedObject->textIndent()); + QTableView::reset(); } - -qreal PythonQtWrapper_QTextBlockFormat::topMargin(QTextBlockFormat* theWrappedObject) const +void PythonQtShell_QTableView::resizeEvent(QResizeEvent* event0) { - return ( theWrappedObject->topMargin()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTextBlockGroup::~PythonQtShell_QTextBlockGroup() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTableView::resizeEvent(event0); } -void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block0) +void PythonQtShell_QTableView::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("blockFormatChanged"); + static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&block0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10372,19 +6403,19 @@ if (_wrapper) { } } } - QTextBlockGroup::blockFormatChanged(block0); + QTableView::rowsAboutToBeRemoved(parent0, start1, end2); } -void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block0) +void PythonQtShell_QTableView::rowsInserted(const QModelIndex& parent0, int start1, int end2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("blockInserted"); + static PyObject* name = PyUnicode_FromString("rowsInserted"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&block0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10394,19 +6425,19 @@ if (_wrapper) { } } } - QTextBlockGroup::blockInserted(block0); + QTableView::rowsInserted(parent0, start1, end2); } -void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) +void PythonQtShell_QTableView::scrollContentsBy(int dx0, int dy1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("blockRemoved"); + static PyObject* name = PyUnicode_FromString("scrollContentsBy"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QTextBlock&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&block0}; + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10416,19 +6447,19 @@ if (_wrapper) { } } } - QTextBlockGroup::blockRemoved(block0); + QTableView::scrollContentsBy(dx0, dy1); } -void PythonQtShell_QTextBlockGroup::childEvent(QChildEvent* event0) +void PythonQtShell_QTableView::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("scrollTo"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10438,19 +6469,19 @@ if (_wrapper) { } } } - QTextBlockGroup::childEvent(event0); + QTableView::scrollTo(index0, hint1); } -void PythonQtShell_QTextBlockGroup::customEvent(QEvent* event0) +void PythonQtShell_QTableView::selectAll() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("selectAll"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10460,28 +6491,28 @@ if (_wrapper) { } } } - QTextBlockGroup::customEvent(event0); + QTableView::selectAll(); } -bool PythonQtShell_QTextBlockGroup::event(QEvent* event0) +QList PythonQtShell_QTableView::selectedIndexes() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("selectedIndexes"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QList*)args[0]); } } } @@ -10493,28 +6524,50 @@ if (_wrapper) { } } } - return QTextBlockGroup::event(event0); + return QTableView::selectedIndexes(); } -bool PythonQtShell_QTextBlockGroup::eventFilter(QObject* watched0, QEvent* event1) +void PythonQtShell_QTableView::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("selectionChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::selectionChanged(selected0, deselected1); +} +QItemSelectionModel::SelectionFlags PythonQtShell_QTableView::selectionCommand(const QModelIndex& index0, const QEvent* event1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); } } } @@ -10526,19 +6579,85 @@ if (_wrapper) { } } } - return QTextBlockGroup::eventFilter(watched0, event1); + return QTableView::selectionCommand(index0, event1); +} +void PythonQtShell_QTableView::setModel(QAbstractItemModel* model0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QAbstractItemModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&model0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::setModel(model0); +} +void PythonQtShell_QTableView::setRootIndex(const QModelIndex& index0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::setRootIndex(index0); +} +void PythonQtShell_QTableView::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::setSelection(rect0, command1); } -void PythonQtShell_QTextBlockGroup::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTableView::setSelectionModel(QItemSelectionModel* selectionModel0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("setSelectionModel"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&selectionModel0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10548,72 +6667,19 @@ if (_wrapper) { } } } - QTextBlockGroup::timerEvent(event0); -} -QTextBlockGroup* PythonQtWrapper_QTextBlockGroup::new_QTextBlockGroup(QTextDocument* doc) -{ -return new PythonQtShell_QTextBlockGroup(doc); } - -const QMetaObject* PythonQtShell_QTextBlockGroup::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextBlockGroup::staticMetaObject); - } else { - return &QTextBlockGroup::staticMetaObject; - } -} -int PythonQtShell_QTextBlockGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextBlockGroup::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QTextBlockGroup::blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block) -{ - ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockFormatChanged(block)); -} - -void PythonQtWrapper_QTextBlockGroup::blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block) -{ - ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockInserted(block)); -} - -QList PythonQtWrapper_QTextBlockGroup::blockList(QTextBlockGroup* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockList()); -} - -void PythonQtWrapper_QTextBlockGroup::blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block) -{ - ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockRemoved(block)); -} - - - -PythonQtShell_QTextBlockUserData::~PythonQtShell_QTextBlockUserData() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextBlockUserData* PythonQtWrapper_QTextBlockUserData::new_QTextBlockUserData() -{ -return new PythonQtShell_QTextBlockUserData(); } - - - -PythonQtShell_QTextBrowser::~PythonQtShell_QTextBrowser() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTableView::setSelectionModel(selectionModel0); } -void PythonQtShell_QTextBrowser::actionEvent(QActionEvent* event0) +void PythonQtShell_QTableView::setVisible(bool visible0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); + static PyObject* name = PyUnicode_FromString("setVisible"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; + static const char* argumentList[] ={"" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&visible0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10623,19 +6689,19 @@ if (_wrapper) { } } } - QTextBrowser::actionEvent(event0); + QTableView::setVisible(visible0); } -void PythonQtShell_QTextBrowser::backward() +void PythonQtShell_QTableView::setupViewport(QWidget* viewport0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("backward"); + static PyObject* name = PyUnicode_FromString("setupViewport"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10645,28 +6711,28 @@ if (_wrapper) { } } } - QTextBrowser::backward(); + QTableView::setupViewport(viewport0); } -bool PythonQtShell_QTextBrowser::canInsertFromMimeData(const QMimeData* source0) const +QPainter* PythonQtShell_QTableView::sharedPainter() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("canInsertFromMimeData"); + static PyObject* name = PyUnicode_FromString("sharedPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&source0}; + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QPainter**)args[0]); } } } @@ -10678,19 +6744,19 @@ if (_wrapper) { } } } - return QTextBrowser::canInsertFromMimeData(source0); + return QTableView::sharedPainter(); } -void PythonQtShell_QTextBrowser::changeEvent(QEvent* e0) +void PythonQtShell_QTableView::showEvent(QShowEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); + static PyObject* name = PyUnicode_FromString("showEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QShowEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10700,63 +6766,118 @@ if (_wrapper) { } } } - QTextBrowser::changeEvent(e0); + QTableView::showEvent(event0); } -void PythonQtShell_QTextBrowser::childEvent(QChildEvent* event0) +QSize PythonQtShell_QTableView::sizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("sizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QTableView::sizeHint(); +} +int PythonQtShell_QTableView::sizeHintForColumn(int column0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::childEvent(event0); + return QTableView::sizeHintForColumn(column0); } -void PythonQtShell_QTextBrowser::closeEvent(QCloseEvent* event0) +int PythonQtShell_QTableView::sizeHintForRow(int row0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); + static PyObject* name = PyUnicode_FromString("sizeHintForRow"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::closeEvent(event0); + return QTableView::sizeHintForRow(row0); } -void PythonQtShell_QTextBrowser::contextMenuEvent(QContextMenuEvent* e0) +void PythonQtShell_QTableView::startDrag(Qt::DropActions supportedActions0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + static PyObject* name = PyUnicode_FromString("startDrag"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const char* argumentList[] ={"" , "Qt::DropActions"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&supportedActions0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10766,50 +6887,39 @@ if (_wrapper) { } } } - QTextBrowser::contextMenuEvent(e0); + QTableView::startDrag(supportedActions0); } -QMimeData* PythonQtShell_QTextBrowser::createMimeDataFromSelection() const +void PythonQtShell_QTableView::tabletEvent(QTabletEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("createMimeDataFromSelection"); + static PyObject* name = PyUnicode_FromString("tabletEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMimeData* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextBrowser::createMimeDataFromSelection(); + QTableView::tabletEvent(event0); } -void PythonQtShell_QTextBrowser::customEvent(QEvent* event0) +void PythonQtShell_QTableView::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -10821,52 +6931,41 @@ if (_wrapper) { } } } - QTextBrowser::customEvent(event0); + QTableView::timerEvent(event0); } -int PythonQtShell_QTextBrowser::devType() const +void PythonQtShell_QTableView::updateEditorData() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); + static PyObject* name = PyUnicode_FromString("updateEditorData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int"}; + static const char* argumentList[] ={""}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextBrowser::devType(); + QTableView::updateEditorData(); } -void PythonQtShell_QTextBrowser::doSetTextCursor(const QTextCursor& cursor0) +void PythonQtShell_QTableView::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("doSetTextCursor"); + static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QTextCursor&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&cursor0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10876,19 +6975,19 @@ if (_wrapper) { } } } - QTextBrowser::doSetTextCursor(cursor0); + QTableView::updateEditorGeometries(); } -void PythonQtShell_QTextBrowser::dragEnterEvent(QDragEnterEvent* e0) +void PythonQtShell_QTableView::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + static PyObject* name = PyUnicode_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10898,41 +6997,52 @@ if (_wrapper) { } } } - QTextBrowser::dragEnterEvent(e0); + QTableView::updateGeometries(); } -void PythonQtShell_QTextBrowser::dragLeaveEvent(QDragLeaveEvent* e0) +int PythonQtShell_QTableView::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + static PyObject* name = PyUnicode_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::dragLeaveEvent(e0); + return QTableView::verticalOffset(); } -void PythonQtShell_QTextBrowser::dragMoveEvent(QDragMoveEvent* e0) +void PythonQtShell_QTableView::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10942,19 +7052,19 @@ if (_wrapper) { } } } - QTextBrowser::dragMoveEvent(e0); + QTableView::verticalScrollbarAction(action0); } -void PythonQtShell_QTextBrowser::dropEvent(QDropEvent* e0) +void PythonQtShell_QTableView::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); + static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -10964,48 +7074,59 @@ if (_wrapper) { } } } - QTextBrowser::dropEvent(e0); + QTableView::verticalScrollbarValueChanged(value0); } -void PythonQtShell_QTextBrowser::enterEvent(QEvent* event0) +QStyleOptionViewItem PythonQtShell_QTableView::viewOptions() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); + static PyObject* name = PyUnicode_FromString("viewOptions"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); + } else { + returnValue = *((QStyleOptionViewItem*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::enterEvent(event0); + return QTableView::viewOptions(); } -bool PythonQtShell_QTextBrowser::event(QEvent* e0) +bool PythonQtShell_QTableView::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -11019,28 +7140,28 @@ if (_wrapper) { } } } - return QTextBrowser::event(e0); + return QTableView::viewportEvent(event0); } -bool PythonQtShell_QTextBrowser::eventFilter(QObject* arg__1, QEvent* arg__2) +QSize PythonQtShell_QTableView::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -11052,50 +7173,61 @@ if (_wrapper) { } } } - return QTextBrowser::eventFilter(arg__1, arg__2); + return QTableView::viewportSizeHint(); } -void PythonQtShell_QTextBrowser::focusInEvent(QFocusEvent* e0) +QRect PythonQtShell_QTableView::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); + static PyObject* name = PyUnicode_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::focusInEvent(e0); + return QTableView::visualRect(index0); } -bool PythonQtShell_QTextBrowser::focusNextPrevChild(bool next0) +QRegion PythonQtShell_QTableView::visualRegionForSelection(const QItemSelection& selection0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QRegion*)args[0]); } } } @@ -11107,127 +7239,212 @@ if (_wrapper) { } } } - return QTextBrowser::focusNextPrevChild(next0); + return QTableView::visualRegionForSelection(selection0); +} +void PythonQtShell_QTableView::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableView::wheelEvent(arg__1); +} +QTableView* PythonQtWrapper_QTableView::new_QTableView(QWidget* parent) +{ +return new PythonQtShell_QTableView(parent); } + +const QMetaObject* PythonQtShell_QTableView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTableView::staticMetaObject); + } else { + return &QTableView::staticMetaObject; + } +} +int PythonQtShell_QTableView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTableView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QTableView::clearSpans(QTableView* theWrappedObject) +{ + ( theWrappedObject->clearSpans()); +} + +int PythonQtWrapper_QTableView::columnAt(QTableView* theWrappedObject, int x) const +{ + return ( theWrappedObject->columnAt(x)); +} + +int PythonQtWrapper_QTableView::columnSpan(QTableView* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->columnSpan(row, column)); +} + +int PythonQtWrapper_QTableView::columnViewportPosition(QTableView* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnViewportPosition(column)); +} + +int PythonQtWrapper_QTableView::columnWidth(QTableView* theWrappedObject, int column) const +{ + return ( theWrappedObject->columnWidth(column)); +} + +Qt::PenStyle PythonQtWrapper_QTableView::gridStyle(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->gridStyle()); +} + +QHeaderView* PythonQtWrapper_QTableView::horizontalHeader(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->horizontalHeader()); +} + +bool PythonQtWrapper_QTableView::isColumnHidden(QTableView* theWrappedObject, int column) const +{ + return ( theWrappedObject->isColumnHidden(column)); +} + +bool PythonQtWrapper_QTableView::isCornerButtonEnabled(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->isCornerButtonEnabled()); +} + +bool PythonQtWrapper_QTableView::isRowHidden(QTableView* theWrappedObject, int row) const +{ + return ( theWrappedObject->isRowHidden(row)); +} + +bool PythonQtWrapper_QTableView::isSortingEnabled(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->isSortingEnabled()); +} + +int PythonQtWrapper_QTableView::rowAt(QTableView* theWrappedObject, int y) const +{ + return ( theWrappedObject->rowAt(y)); +} + +int PythonQtWrapper_QTableView::rowHeight(QTableView* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowHeight(row)); +} + +int PythonQtWrapper_QTableView::rowSpan(QTableView* theWrappedObject, int row, int column) const +{ + return ( theWrappedObject->rowSpan(row, column)); +} + +int PythonQtWrapper_QTableView::rowViewportPosition(QTableView* theWrappedObject, int row) const +{ + return ( theWrappedObject->rowViewportPosition(row)); +} + +void PythonQtWrapper_QTableView::setColumnHidden(QTableView* theWrappedObject, int column, bool hide) +{ + ( theWrappedObject->setColumnHidden(column, hide)); +} + +void PythonQtWrapper_QTableView::setColumnWidth(QTableView* theWrappedObject, int column, int width) +{ + ( theWrappedObject->setColumnWidth(column, width)); +} + +void PythonQtWrapper_QTableView::setCornerButtonEnabled(QTableView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setCornerButtonEnabled(enable)); +} + +void PythonQtWrapper_QTableView::setGridStyle(QTableView* theWrappedObject, Qt::PenStyle style) +{ + ( theWrappedObject->setGridStyle(style)); +} + +void PythonQtWrapper_QTableView::setHorizontalHeader(QTableView* theWrappedObject, QHeaderView* header) +{ + ( theWrappedObject->setHorizontalHeader(header)); +} + +void PythonQtWrapper_QTableView::setRowHeight(QTableView* theWrappedObject, int row, int height) +{ + ( theWrappedObject->setRowHeight(row, height)); +} + +void PythonQtWrapper_QTableView::setRowHidden(QTableView* theWrappedObject, int row, bool hide) +{ + ( theWrappedObject->setRowHidden(row, hide)); +} + +void PythonQtWrapper_QTableView::setSortingEnabled(QTableView* theWrappedObject, bool enable) +{ + ( theWrappedObject->setSortingEnabled(enable)); } -void PythonQtShell_QTextBrowser::focusOutEvent(QFocusEvent* ev0) + +void PythonQtWrapper_QTableView::setSpan(QTableView* theWrappedObject, int row, int column, int rowSpan, int columnSpan) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setSpan(row, column, rowSpan, columnSpan)); } - QTextBrowser::focusOutEvent(ev0); + +void PythonQtWrapper_QTableView::setVerticalHeader(QTableView* theWrappedObject, QHeaderView* header) +{ + ( theWrappedObject->setVerticalHeader(header)); } -void PythonQtShell_QTextBrowser::forward() + +void PythonQtWrapper_QTableView::setWordWrap(QTableView* theWrappedObject, bool on) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("forward"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWordWrap(on)); } - QTextBrowser::forward(); + +bool PythonQtWrapper_QTableView::showGrid(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->showGrid()); } -bool PythonQtShell_QTextBrowser::hasHeightForWidth() const + +void PythonQtWrapper_QTableView::sortByColumn(QTableView* theWrappedObject, int column, Qt::SortOrder order) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->sortByColumn(column, order)); } - return QTextBrowser::hasHeightForWidth(); + +QHeaderView* PythonQtWrapper_QTableView::verticalHeader(QTableView* theWrappedObject) const +{ + return ( theWrappedObject->verticalHeader()); } -int PythonQtShell_QTextBrowser::heightForWidth(int arg__1) const + +bool PythonQtWrapper_QTableView::wordWrap(QTableView* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->wordWrap()); } - return QTextBrowser::heightForWidth(arg__1); + + + +PythonQtShell_QTableWidget::~PythonQtShell_QTableWidget() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextBrowser::hideEvent(QHideEvent* event0) +void PythonQtShell_QTableWidget::actionEvent(QActionEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); + static PyObject* name = PyUnicode_FromString("actionEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; + static const char* argumentList[] ={"" , "QActionEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -11239,19 +7456,19 @@ if (_wrapper) { } } } - QTextBrowser::hideEvent(event0); + QTableWidget::actionEvent(event0); } -void PythonQtShell_QTextBrowser::home() +void PythonQtShell_QTableWidget::changeEvent(QEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("home"); + static PyObject* name = PyUnicode_FromString("changeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11261,19 +7478,19 @@ if (_wrapper) { } } } - QTextBrowser::home(); + QTableWidget::changeEvent(arg__1); } -void PythonQtShell_QTextBrowser::initPainter(QPainter* painter0) const +void PythonQtShell_QTableWidget::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11283,19 +7500,19 @@ if (_wrapper) { } } } - QTextBrowser::initPainter(painter0); + QTableWidget::childEvent(event0); } -void PythonQtShell_QTextBrowser::inputMethodEvent(QInputMethodEvent* arg__1) +void PythonQtShell_QTableWidget::closeEditor(QWidget* editor0, QAbstractItemDelegate::EndEditHint hint1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + static PyObject* name = PyUnicode_FromString("closeEditor"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"" , "QWidget*" , "QAbstractItemDelegate::EndEditHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&editor0, (void*)&hint1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11305,52 +7522,41 @@ if (_wrapper) { } } } - QTextBrowser::inputMethodEvent(arg__1); + QTableWidget::closeEditor(editor0, hint1); } -QVariant PythonQtShell_QTextBrowser::inputMethodQuery(Qt::InputMethodQuery property0) const +void PythonQtShell_QTableWidget::closeEvent(QCloseEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + static PyObject* name = PyUnicode_FromString("closeEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const char* argumentList[] ={"" , "QCloseEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&property0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextBrowser::inputMethodQuery(property0); + QTableWidget::closeEvent(event0); } -void PythonQtShell_QTextBrowser::insertFromMimeData(const QMimeData* source0) +void PythonQtShell_QTableWidget::commitData(QWidget* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("insertFromMimeData"); + static PyObject* name = PyUnicode_FromString("commitData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QMimeData*"}; + static const char* argumentList[] ={"" , "QWidget*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&source0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11360,19 +7566,19 @@ if (_wrapper) { } } } - QTextBrowser::insertFromMimeData(source0); + QTableWidget::commitData(editor0); } -void PythonQtShell_QTextBrowser::keyPressEvent(QKeyEvent* ev0) +void PythonQtShell_QTableWidget::contextMenuEvent(QContextMenuEvent* arg__1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11382,19 +7588,19 @@ if (_wrapper) { } } } - QTextBrowser::keyPressEvent(ev0); + QTableWidget::contextMenuEvent(arg__1); } -void PythonQtShell_QTextBrowser::keyReleaseEvent(QKeyEvent* e0) +void PythonQtShell_QTableWidget::currentChanged(const QModelIndex& current0, const QModelIndex& previous1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + static PyObject* name = PyUnicode_FromString("currentChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)¤t0, (void*)&previous1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11404,14 +7610,14 @@ if (_wrapper) { } } } - QTextBrowser::keyReleaseEvent(e0); + QTableWidget::currentChanged(current0, previous1); } -void PythonQtShell_QTextBrowser::leaveEvent(QEvent* event0) +void PythonQtShell_QTableWidget::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"" , "QEvent*"}; @@ -11426,94 +7632,50 @@ if (_wrapper) { } } } - QTextBrowser::leaveEvent(event0); -} -QVariant PythonQtShell_QTextBrowser::loadResource(int type0, const QUrl& name1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("loadResource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTextBrowser::loadResource(type0, name1); + QTableWidget::customEvent(event0); } -int PythonQtShell_QTextBrowser::metric(QPaintDevice::PaintDeviceMetric arg__1) const +void PythonQtShell_QTableWidget::dataChanged(const QModelIndex& topLeft0, const QModelIndex& bottomRight1, const QVector& roles2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); + static PyObject* name = PyUnicode_FromString("dataChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + static const char* argumentList[] ={"" , "const QModelIndex&" , "const QModelIndex&" , "const QVector&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&topLeft0, (void*)&bottomRight1, (void*)&roles2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextBrowser::metric(arg__1); + QTableWidget::dataChanged(topLeft0, bottomRight1, roles2); } -QSize PythonQtShell_QTextBrowser::minimumSizeHint() const +int PythonQtShell_QTableWidget::devType() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + static PyObject* name = PyUnicode_FromString("devType"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; + static const char* argumentList[] ={"int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; + int returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((int*)args[0]); } } } @@ -11525,19 +7687,19 @@ if (_wrapper) { } } } - return QTextBrowser::minimumSizeHint(); + return QTableWidget::devType(); } -void PythonQtShell_QTextBrowser::mouseDoubleClickEvent(QMouseEvent* e0) +void PythonQtShell_QTableWidget::doItemsLayout() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + static PyObject* name = PyUnicode_FromString("doItemsLayout"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11547,19 +7709,19 @@ if (_wrapper) { } } } - QTextBrowser::mouseDoubleClickEvent(e0); + QTableWidget::doItemsLayout(); } -void PythonQtShell_QTextBrowser::mouseMoveEvent(QMouseEvent* ev0) +void PythonQtShell_QTableWidget::dragEnterEvent(QDragEnterEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11569,19 +7731,19 @@ if (_wrapper) { } } } - QTextBrowser::mouseMoveEvent(ev0); + QTableWidget::dragEnterEvent(event0); } -void PythonQtShell_QTextBrowser::mousePressEvent(QMouseEvent* ev0) +void PythonQtShell_QTableWidget::dragLeaveEvent(QDragLeaveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11591,19 +7753,19 @@ if (_wrapper) { } } } - QTextBrowser::mousePressEvent(ev0); + QTableWidget::dragLeaveEvent(event0); } -void PythonQtShell_QTextBrowser::mouseReleaseEvent(QMouseEvent* ev0) +void PythonQtShell_QTableWidget::dragMoveEvent(QDragMoveEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&ev0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11613,17 +7775,17 @@ if (_wrapper) { } } } - QTextBrowser::mouseReleaseEvent(ev0); + QTableWidget::dragMoveEvent(event0); } -void PythonQtShell_QTextBrowser::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTableWidget::dropEvent(QDropEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); + static PyObject* name = PyUnicode_FromString("dropEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QDropEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -11635,26 +7797,26 @@ if (_wrapper) { } } } - QTextBrowser::moveEvent(event0); + QTableWidget::dropEvent(event0); } -bool PythonQtShell_QTextBrowser::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +bool PythonQtShell_QTableWidget::dropMimeData(int row0, int column1, const QMimeData* data2, Qt::DropAction action3) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("dropMimeData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + static const char* argumentList[] ={"bool" , "int" , "int" , "const QMimeData*" , "Qt::DropAction"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + void* args[5] = {nullptr, (void*)&row0, (void*)&column1, (void*)&data2, (void*)&action3}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("dropMimeData", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -11668,28 +7830,28 @@ if (_wrapper) { } } } - return QTextBrowser::nativeEvent(eventType0, message1, result2); + return QTableWidget::dropMimeData(row0, column1, data2, action3); } -QPaintEngine* PythonQtShell_QTextBrowser::paintEngine() const +bool PythonQtShell_QTableWidget::edit(const QModelIndex& index0, QAbstractItemView::EditTrigger trigger1, QEvent* event2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("edit"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "const QModelIndex&" , "QAbstractItemView::EditTrigger" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&index0, (void*)&trigger1, (void*)&event2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("edit", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -11701,19 +7863,19 @@ if (_wrapper) { } } } - return QTextBrowser::paintEngine(); + return QTableWidget::edit(index0, trigger1, event2); } -void PythonQtShell_QTextBrowser::paintEvent(QPaintEvent* e0) +void PythonQtShell_QTableWidget::editorDestroyed(QObject* editor0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); + static PyObject* name = PyUnicode_FromString("editorDestroyed"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const char* argumentList[] ={"" , "QObject*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&editor0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11723,52 +7885,19 @@ if (_wrapper) { } } } - QTextBrowser::paintEvent(e0); + QTableWidget::editorDestroyed(editor0); } -QPaintDevice* PythonQtShell_QTextBrowser::redirected(QPoint* offset0) const +void PythonQtShell_QTableWidget::enterEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("enterEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); - } else { - returnValue = *((QPaintDevice**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTextBrowser::redirected(offset0); -} -void PythonQtShell_QTextBrowser::reload() -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("reload"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={""}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - void* args[1] = {nullptr}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11778,63 +7907,85 @@ if (_wrapper) { } } } - QTextBrowser::reload(); + QTableWidget::enterEvent(event0); } -void PythonQtShell_QTextBrowser::resizeEvent(QResizeEvent* e0) +bool PythonQtShell_QTableWidget::event(QEvent* e0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; void* args[2] = {nullptr, (void*)&e0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::resizeEvent(e0); + return QTableWidget::event(e0); } -void PythonQtShell_QTextBrowser::scrollContentsBy(int dx0, int dy1) +bool PythonQtShell_QTableWidget::eventFilter(QObject* arg__1, QEvent* arg__2) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + bool returnValue{}; + void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::scrollContentsBy(dx0, dy1); + return QTableWidget::eventFilter(arg__1, arg__2); } -void PythonQtShell_QTextBrowser::setSource(const QUrl& name0) +void PythonQtShell_QTableWidget::focusInEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setSource"); + static PyObject* name = PyUnicode_FromString("focusInEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "const QUrl&"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&name0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11844,41 +7995,52 @@ if (_wrapper) { } } } - QTextBrowser::setSource(name0); + QTableWidget::focusInEvent(event0); } -void PythonQtShell_QTextBrowser::setVisible(bool visible0) +bool PythonQtShell_QTableWidget::focusNextPrevChild(bool next0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "bool"}; + static const char* argumentList[] ={"bool" , "bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::setVisible(visible0); + return QTableWidget::focusNextPrevChild(next0); } -void PythonQtShell_QTextBrowser::setupViewport(QWidget* viewport0) +void PythonQtShell_QTableWidget::focusOutEvent(QFocusEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setupViewport"); + static PyObject* name = PyUnicode_FromString("focusOutEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; + static const char* argumentList[] ={"" , "QFocusEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -11888,28 +8050,28 @@ if (_wrapper) { } } } - QTextBrowser::setupViewport(viewport0); + QTableWidget::focusOutEvent(event0); } -QPainter* PythonQtShell_QTextBrowser::sharedPainter() const +bool PythonQtShell_QTableWidget::hasHeightForWidth() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPainter*"}; + static const char* argumentList[] ={"bool"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; + bool returnValue{}; void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); } else { - returnValue = *((QPainter**)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -11921,96 +8083,107 @@ if (_wrapper) { } } } - return QTextBrowser::sharedPainter(); + return QTableWidget::hasHeightForWidth(); } -void PythonQtShell_QTextBrowser::showEvent(QShowEvent* arg__1) +int PythonQtShell_QTableWidget::heightForWidth(int arg__1) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); + static PyObject* name = PyUnicode_FromString("heightForWidth"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; + static const char* argumentList[] ={"int" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; void* args[2] = {nullptr, (void*)&arg__1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::showEvent(arg__1); + return QTableWidget::heightForWidth(arg__1); } -QSize PythonQtShell_QTextBrowser::sizeHint() const +void PythonQtShell_QTableWidget::hideEvent(QHideEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); + static PyObject* name = PyUnicode_FromString("hideEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextBrowser::sizeHint(); + QTableWidget::hideEvent(event0); } -void PythonQtShell_QTextBrowser::tabletEvent(QTabletEvent* event0) +int PythonQtShell_QTableWidget::horizontalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("horizontalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("horizontalOffset", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return; + return returnValue; } else { PyErr_Clear(); } } } - QTextBrowser::tabletEvent(event0); + return QTableWidget::horizontalOffset(); } -void PythonQtShell_QTextBrowser::timerEvent(QTimerEvent* e0) +void PythonQtShell_QTableWidget::horizontalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("horizontalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12020,61 +8193,50 @@ if (_wrapper) { } } } - QTextBrowser::timerEvent(e0); + QTableWidget::horizontalScrollbarAction(action0); } -bool PythonQtShell_QTextBrowser::viewportEvent(QEvent* arg__1) +void PythonQtShell_QTableWidget::horizontalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); + static PyObject* name = PyUnicode_FromString("horizontalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&value0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextBrowser::viewportEvent(arg__1); + QTableWidget::horizontalScrollbarValueChanged(value0); } -QSize PythonQtShell_QTextBrowser::viewportSizeHint() const +QModelIndex PythonQtShell_QTableWidget::indexAt(const QPoint& p0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); + static PyObject* name = PyUnicode_FromString("indexAt"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"QModelIndex" , "const QPoint&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&p0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("indexAt", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((QModelIndex*)args[0]); } } } @@ -12086,820 +8248,1240 @@ if (_wrapper) { } } } - return QTextBrowser::viewportSizeHint(); + return QTableWidget::indexAt(p0); } -void PythonQtShell_QTextBrowser::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QTableWidget::initPainter(QPainter* painter0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); + static PyObject* name = PyUnicode_FromString("initPainter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QPainter*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&painter0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); return; } else { PyErr_Clear(); - } - } -} - QTextBrowser::wheelEvent(e0); -} -QTextBrowser* PythonQtWrapper_QTextBrowser::new_QTextBrowser(QWidget* parent) -{ -return new PythonQtShell_QTextBrowser(parent); } - -const QMetaObject* PythonQtShell_QTextBrowser::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextBrowser::staticMetaObject); - } else { - return &QTextBrowser::staticMetaObject; - } -} -int PythonQtShell_QTextBrowser::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextBrowser::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -int PythonQtWrapper_QTextBrowser::backwardHistoryCount(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->backwardHistoryCount()); -} - -void PythonQtWrapper_QTextBrowser::clearHistory(QTextBrowser* theWrappedObject) -{ - ( theWrappedObject->clearHistory()); -} - -int PythonQtWrapper_QTextBrowser::forwardHistoryCount(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->forwardHistoryCount()); -} - -QString PythonQtWrapper_QTextBrowser::historyTitle(QTextBrowser* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->historyTitle(arg__1)); -} - -QUrl PythonQtWrapper_QTextBrowser::historyUrl(QTextBrowser* theWrappedObject, int arg__1) const -{ - return ( theWrappedObject->historyUrl(arg__1)); -} - -bool PythonQtWrapper_QTextBrowser::isBackwardAvailable(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->isBackwardAvailable()); -} - -bool PythonQtWrapper_QTextBrowser::isForwardAvailable(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->isForwardAvailable()); -} - -bool PythonQtWrapper_QTextBrowser::openExternalLinks(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->openExternalLinks()); -} - -bool PythonQtWrapper_QTextBrowser::openLinks(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->openLinks()); -} - -QStringList PythonQtWrapper_QTextBrowser::searchPaths(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->searchPaths()); -} - -void PythonQtWrapper_QTextBrowser::setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open) -{ - ( theWrappedObject->setOpenExternalLinks(open)); -} - -void PythonQtWrapper_QTextBrowser::setOpenLinks(QTextBrowser* theWrappedObject, bool open) -{ - ( theWrappedObject->setOpenLinks(open)); -} - -void PythonQtWrapper_QTextBrowser::setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths) -{ - ( theWrappedObject->setSearchPaths(paths)); -} - -QUrl PythonQtWrapper_QTextBrowser::source(QTextBrowser* theWrappedObject) const -{ - return ( theWrappedObject->source()); -} - - - -PythonQtShell_QTextCharFormat::~PythonQtShell_QTextCharFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextCharFormat* PythonQtWrapper_QTextCharFormat::new_QTextCharFormat() -{ -return new PythonQtShell_QTextCharFormat(); } - -QTextCharFormat* PythonQtWrapper_QTextCharFormat::new_QTextCharFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextCharFormat(fmt); } - -QString PythonQtWrapper_QTextCharFormat::anchorHref(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->anchorHref()); -} - -QStringList PythonQtWrapper_QTextCharFormat::anchorNames(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->anchorNames()); -} - -QFont PythonQtWrapper_QTextCharFormat::font(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->font()); -} - -QFont::Capitalization PythonQtWrapper_QTextCharFormat::fontCapitalization(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontCapitalization()); -} - -QString PythonQtWrapper_QTextCharFormat::fontFamily(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontFamily()); -} - -bool PythonQtWrapper_QTextCharFormat::fontFixedPitch(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontFixedPitch()); -} - -QFont::HintingPreference PythonQtWrapper_QTextCharFormat::fontHintingPreference(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontHintingPreference()); -} - -bool PythonQtWrapper_QTextCharFormat::fontItalic(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontItalic()); -} - -bool PythonQtWrapper_QTextCharFormat::fontKerning(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontKerning()); -} - -qreal PythonQtWrapper_QTextCharFormat::fontLetterSpacing(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontLetterSpacing()); -} - -QFont::SpacingType PythonQtWrapper_QTextCharFormat::fontLetterSpacingType(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontLetterSpacingType()); -} - -bool PythonQtWrapper_QTextCharFormat::fontOverline(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontOverline()); -} - -qreal PythonQtWrapper_QTextCharFormat::fontPointSize(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontPointSize()); -} - -int PythonQtWrapper_QTextCharFormat::fontStretch(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontStretch()); -} - -bool PythonQtWrapper_QTextCharFormat::fontStrikeOut(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontStrikeOut()); -} - -QFont::StyleHint PythonQtWrapper_QTextCharFormat::fontStyleHint(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontStyleHint()); -} - -QFont::StyleStrategy PythonQtWrapper_QTextCharFormat::fontStyleStrategy(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontStyleStrategy()); -} - -bool PythonQtWrapper_QTextCharFormat::fontUnderline(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontUnderline()); -} - -int PythonQtWrapper_QTextCharFormat::fontWeight(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontWeight()); -} - -qreal PythonQtWrapper_QTextCharFormat::fontWordSpacing(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->fontWordSpacing()); -} - -bool PythonQtWrapper_QTextCharFormat::isAnchor(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->isAnchor()); -} - -bool PythonQtWrapper_QTextCharFormat::isValid(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -void PythonQtWrapper_QTextCharFormat::setAnchor(QTextCharFormat* theWrappedObject, bool anchor) -{ - ( theWrappedObject->setAnchor(anchor)); -} - -void PythonQtWrapper_QTextCharFormat::setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value) -{ - ( theWrappedObject->setAnchorHref(value)); -} - -void PythonQtWrapper_QTextCharFormat::setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names) -{ - ( theWrappedObject->setAnchorNames(names)); -} - -void PythonQtWrapper_QTextCharFormat::setFont(QTextCharFormat* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setFont(font)); -} - -void PythonQtWrapper_QTextCharFormat::setFont(QTextCharFormat* theWrappedObject, const QFont& font, QTextCharFormat::FontPropertiesInheritanceBehavior behavior) -{ - ( theWrappedObject->setFont(font, behavior)); -} - -void PythonQtWrapper_QTextCharFormat::setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization) -{ - ( theWrappedObject->setFontCapitalization(capitalization)); -} - -void PythonQtWrapper_QTextCharFormat::setFontFamily(QTextCharFormat* theWrappedObject, const QString& family) -{ - ( theWrappedObject->setFontFamily(family)); -} - -void PythonQtWrapper_QTextCharFormat::setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch) -{ - ( theWrappedObject->setFontFixedPitch(fixedPitch)); -} - -void PythonQtWrapper_QTextCharFormat::setFontHintingPreference(QTextCharFormat* theWrappedObject, QFont::HintingPreference hintingPreference) -{ - ( theWrappedObject->setFontHintingPreference(hintingPreference)); -} - -void PythonQtWrapper_QTextCharFormat::setFontItalic(QTextCharFormat* theWrappedObject, bool italic) -{ - ( theWrappedObject->setFontItalic(italic)); -} - -void PythonQtWrapper_QTextCharFormat::setFontKerning(QTextCharFormat* theWrappedObject, bool enable) -{ - ( theWrappedObject->setFontKerning(enable)); -} - -void PythonQtWrapper_QTextCharFormat::setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setFontLetterSpacing(spacing)); -} - -void PythonQtWrapper_QTextCharFormat::setFontLetterSpacingType(QTextCharFormat* theWrappedObject, QFont::SpacingType letterSpacingType) -{ - ( theWrappedObject->setFontLetterSpacingType(letterSpacingType)); -} - -void PythonQtWrapper_QTextCharFormat::setFontOverline(QTextCharFormat* theWrappedObject, bool overline) -{ - ( theWrappedObject->setFontOverline(overline)); -} - -void PythonQtWrapper_QTextCharFormat::setFontPointSize(QTextCharFormat* theWrappedObject, qreal size) -{ - ( theWrappedObject->setFontPointSize(size)); -} - -void PythonQtWrapper_QTextCharFormat::setFontStretch(QTextCharFormat* theWrappedObject, int factor) -{ - ( theWrappedObject->setFontStretch(factor)); -} - -void PythonQtWrapper_QTextCharFormat::setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut) -{ - ( theWrappedObject->setFontStrikeOut(strikeOut)); -} - -void PythonQtWrapper_QTextCharFormat::setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy) -{ - ( theWrappedObject->setFontStyleHint(hint, strategy)); -} - -void PythonQtWrapper_QTextCharFormat::setFontStyleStrategy(QTextCharFormat* theWrappedObject, QFont::StyleStrategy strategy) -{ - ( theWrappedObject->setFontStyleStrategy(strategy)); + } + } } - -void PythonQtWrapper_QTextCharFormat::setFontUnderline(QTextCharFormat* theWrappedObject, bool underline) -{ - ( theWrappedObject->setFontUnderline(underline)); + QTableWidget::initPainter(painter0); } - -void PythonQtWrapper_QTextCharFormat::setFontWeight(QTextCharFormat* theWrappedObject, int weight) +void PythonQtShell_QTableWidget::inputMethodEvent(QInputMethodEvent* event0) { - ( theWrappedObject->setFontWeight(weight)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCharFormat::setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing) -{ - ( theWrappedObject->setFontWordSpacing(spacing)); + QTableWidget::inputMethodEvent(event0); } - -void PythonQtWrapper_QTextCharFormat::setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan) +QVariant PythonQtShell_QTableWidget::inputMethodQuery(Qt::InputMethodQuery query0) const { - ( theWrappedObject->setTableCellColumnSpan(tableCellColumnSpan)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCharFormat::setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan) -{ - ( theWrappedObject->setTableCellRowSpan(tableCellRowSpan)); + return QTableWidget::inputMethodQuery(query0); } - -void PythonQtWrapper_QTextCharFormat::setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen) +bool PythonQtShell_QTableWidget::isIndexHidden(const QModelIndex& index0) const { - ( theWrappedObject->setTextOutline(pen)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("isIndexHidden"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isIndexHidden", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCharFormat::setToolTip(QTextCharFormat* theWrappedObject, const QString& tip) -{ - ( theWrappedObject->setToolTip(tip)); + return QTableWidget::isIndexHidden(index0); } - -void PythonQtWrapper_QTextCharFormat::setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color) +void PythonQtShell_QTableWidget::keyPressEvent(QKeyEvent* event0) { - ( theWrappedObject->setUnderlineColor(color)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCharFormat::setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style) -{ - ( theWrappedObject->setUnderlineStyle(style)); + QTableWidget::keyPressEvent(event0); } - -void PythonQtWrapper_QTextCharFormat::setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment) +void PythonQtShell_QTableWidget::keyReleaseEvent(QKeyEvent* event0) { - ( theWrappedObject->setVerticalAlignment(alignment)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextCharFormat::tableCellColumnSpan(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->tableCellColumnSpan()); + QTableWidget::keyReleaseEvent(event0); } - -int PythonQtWrapper_QTextCharFormat::tableCellRowSpan(QTextCharFormat* theWrappedObject) const +void PythonQtShell_QTableWidget::keyboardSearch(const QString& search0) { - return ( theWrappedObject->tableCellRowSpan()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyboardSearch"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&search0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QPen PythonQtWrapper_QTextCharFormat::textOutline(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->textOutline()); + QTableWidget::keyboardSearch(search0); } - -QString PythonQtWrapper_QTextCharFormat::toolTip(QTextCharFormat* theWrappedObject) const +void PythonQtShell_QTableWidget::leaveEvent(QEvent* event0) { - return ( theWrappedObject->toolTip()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QColor PythonQtWrapper_QTextCharFormat::underlineColor(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->underlineColor()); + QTableWidget::leaveEvent(event0); } - -QTextCharFormat::UnderlineStyle PythonQtWrapper_QTextCharFormat::underlineStyle(QTextCharFormat* theWrappedObject) const +int PythonQtShell_QTableWidget::metric(QPaintDevice::PaintDeviceMetric arg__1) const { - return ( theWrappedObject->underlineStyle()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QTextCharFormat::VerticalAlignment PythonQtWrapper_QTextCharFormat::verticalAlignment(QTextCharFormat* theWrappedObject) const -{ - return ( theWrappedObject->verticalAlignment()); + return QTableWidget::metric(arg__1); } - - - -QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor() -{ -return new QTextCursor(); } - -QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(QTextDocument* document) -{ -return new QTextCursor(document); } - -QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(QTextFrame* frame) -{ -return new QTextCursor(frame); } - -QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(const QTextBlock& block) -{ -return new QTextCursor(block); } - -QTextCursor* PythonQtWrapper_QTextCursor::new_QTextCursor(const QTextCursor& cursor) -{ -return new QTextCursor(cursor); } - -int PythonQtWrapper_QTextCursor::anchor(QTextCursor* theWrappedObject) const +QMimeData* PythonQtShell_QTableWidget::mimeData(const QList items0) const { - return ( theWrappedObject->anchor()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mimeData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QMimeData*" , "const QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QMimeData* returnValue{}; + void* args[2] = {nullptr, (void*)&items0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeData", methodInfo, result); + } else { + returnValue = *((QMimeData**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextCursor::atBlockEnd(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->atBlockEnd()); + return QTableWidget::mimeData(items0); } - -bool PythonQtWrapper_QTextCursor::atBlockStart(QTextCursor* theWrappedObject) const +QStringList PythonQtShell_QTableWidget::mimeTypes() const { - return ( theWrappedObject->atBlockStart()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mimeTypes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStringList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStringList returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("mimeTypes", methodInfo, result); + } else { + returnValue = *((QStringList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextCursor::atEnd(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->atEnd()); + return QTableWidget::mimeTypes(); } - -bool PythonQtWrapper_QTextCursor::atStart(QTextCursor* theWrappedObject) const +QSize PythonQtShell_QTableWidget::minimumSizeHint() const { - return ( theWrappedObject->atStart()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::beginEditBlock(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->beginEditBlock()); + return QTableWidget::minimumSizeHint(); } - -QTextBlock PythonQtWrapper_QTextCursor::block(QTextCursor* theWrappedObject) const +void PythonQtShell_QTableWidget::mouseDoubleClickEvent(QMouseEvent* event0) { - return ( theWrappedObject->block()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextCharFormat PythonQtWrapper_QTextCursor::blockCharFormat(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->blockCharFormat()); + QTableWidget::mouseDoubleClickEvent(event0); } - -QTextBlockFormat PythonQtWrapper_QTextCursor::blockFormat(QTextCursor* theWrappedObject) const +void PythonQtShell_QTableWidget::mouseMoveEvent(QMouseEvent* event0) { - return ( theWrappedObject->blockFormat()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextCursor::blockNumber(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->blockNumber()); + QTableWidget::mouseMoveEvent(event0); } - -QTextCharFormat PythonQtWrapper_QTextCursor::charFormat(QTextCursor* theWrappedObject) const +void PythonQtShell_QTableWidget::mousePressEvent(QMouseEvent* event0) { - return ( theWrappedObject->charFormat()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::clearSelection(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->clearSelection()); + QTableWidget::mousePressEvent(event0); } - -int PythonQtWrapper_QTextCursor::columnNumber(QTextCursor* theWrappedObject) const +void PythonQtShell_QTableWidget::mouseReleaseEvent(QMouseEvent* event0) { - return ( theWrappedObject->columnNumber()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, QTextListFormat::Style style) -{ - return ( theWrappedObject->createList(style)); + QTableWidget::mouseReleaseEvent(event0); } - -QTextList* PythonQtWrapper_QTextCursor::createList(QTextCursor* theWrappedObject, const QTextListFormat& format) +QModelIndex PythonQtShell_QTableWidget::moveCursor(QAbstractItemView::CursorAction cursorAction0, Qt::KeyboardModifiers modifiers1) { - return ( theWrappedObject->createList(format)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveCursor"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QModelIndex" , "QAbstractItemView::CursorAction" , "Qt::KeyboardModifiers"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&cursorAction0, (void*)&modifiers1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("moveCursor", methodInfo, result); + } else { + returnValue = *((QModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QTextFrame* PythonQtWrapper_QTextCursor::currentFrame(QTextCursor* theWrappedObject) const + return QTableWidget::moveCursor(cursorAction0, modifiers1); +} +void PythonQtShell_QTableWidget::moveEvent(QMoveEvent* event0) { - return ( theWrappedObject->currentFrame()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextList* PythonQtWrapper_QTextCursor::currentList(QTextCursor* theWrappedObject) const + QTableWidget::moveEvent(event0); +} +bool PythonQtShell_QTableWidget::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) { - return ( theWrappedObject->currentList()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QTextTable* PythonQtWrapper_QTextCursor::currentTable(QTextCursor* theWrappedObject) const + return QTableWidget::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QTableWidget::paintEngine() const { - return ( theWrappedObject->currentTable()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::deleteChar(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->deleteChar()); + return QTableWidget::paintEngine(); } - -void PythonQtWrapper_QTextCursor::deletePreviousChar(QTextCursor* theWrappedObject) +void PythonQtShell_QTableWidget::paintEvent(QPaintEvent* e0) { - ( theWrappedObject->deletePreviousChar()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextDocument* PythonQtWrapper_QTextCursor::document(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->document()); + QTableWidget::paintEvent(e0); } - -void PythonQtWrapper_QTextCursor::endEditBlock(QTextCursor* theWrappedObject) +QPaintDevice* PythonQtShell_QTableWidget::redirected(QPoint* offset0) const { - ( theWrappedObject->endEditBlock()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextCursor::hasComplexSelection(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->hasComplexSelection()); + return QTableWidget::redirected(offset0); } - -bool PythonQtWrapper_QTextCursor::hasSelection(QTextCursor* theWrappedObject) const +void PythonQtShell_QTableWidget::reset() { - return ( theWrappedObject->hasSelection()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("reset"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->insertBlock()); + QTableWidget::reset(); } - -void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format) +void PythonQtShell_QTableWidget::resizeEvent(QResizeEvent* event0) { - ( theWrappedObject->insertBlock(format)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat) -{ - ( theWrappedObject->insertBlock(format, charFormat)); + QTableWidget::resizeEvent(event0); } - -void PythonQtWrapper_QTextCursor::insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment) +void PythonQtShell_QTableWidget::rowsAboutToBeRemoved(const QModelIndex& parent0, int start1, int end2) { - ( theWrappedObject->insertFragment(fragment)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("rowsAboutToBeRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextFrame* PythonQtWrapper_QTextCursor::insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format) -{ - return ( theWrappedObject->insertFrame(format)); + QTableWidget::rowsAboutToBeRemoved(parent0, start1, end2); } - -void PythonQtWrapper_QTextCursor::insertHtml(QTextCursor* theWrappedObject, const QString& html) +void PythonQtShell_QTableWidget::rowsInserted(const QModelIndex& parent0, int start1, int end2) { - ( theWrappedObject->insertHtml(html)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("rowsInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&parent0, (void*)&start1, (void*)&end2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name) -{ - ( theWrappedObject->insertImage(image, name)); + QTableWidget::rowsInserted(parent0, start1, end2); } - -void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QString& name) +void PythonQtShell_QTableWidget::scrollContentsBy(int dx0, int dy1) { - ( theWrappedObject->insertImage(name)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("scrollContentsBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format) -{ - ( theWrappedObject->insertImage(format)); + QTableWidget::scrollContentsBy(dx0, dy1); } - -void PythonQtWrapper_QTextCursor::insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment) +void PythonQtShell_QTableWidget::scrollTo(const QModelIndex& index0, QAbstractItemView::ScrollHint hint1) { - ( theWrappedObject->insertImage(format, alignment)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("scrollTo"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&" , "QAbstractItemView::ScrollHint"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&index0, (void*)&hint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style) -{ - return ( theWrappedObject->insertList(style)); + QTableWidget::scrollTo(index0, hint1); } - -QTextList* PythonQtWrapper_QTextCursor::insertList(QTextCursor* theWrappedObject, const QTextListFormat& format) +void PythonQtShell_QTableWidget::selectAll() { - return ( theWrappedObject->insertList(format)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectAll"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols) -{ - return ( theWrappedObject->insertTable(rows, cols)); + QTableWidget::selectAll(); } - -QTextTable* PythonQtWrapper_QTextCursor::insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format) +QList PythonQtShell_QTableWidget::selectedIndexes() const { - return ( theWrappedObject->insertTable(rows, cols, format)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectedIndexes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectedIndexes", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text) -{ - ( theWrappedObject->insertText(text)); + return QTableWidget::selectedIndexes(); } - -void PythonQtWrapper_QTextCursor::insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format) +void PythonQtShell_QTableWidget::selectionChanged(const QItemSelection& selected0, const QItemSelection& deselected1) { - ( theWrappedObject->insertText(text, format)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectionChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QItemSelection&" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&selected0, (void*)&deselected1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextCursor::isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const -{ - return ( theWrappedObject->isCopyOf(other)); + QTableWidget::selectionChanged(selected0, deselected1); } - -bool PythonQtWrapper_QTextCursor::isNull(QTextCursor* theWrappedObject) const +QItemSelectionModel::SelectionFlags PythonQtShell_QTableWidget::selectionCommand(const QModelIndex& index0, const QEvent* event1) const { - return ( theWrappedObject->isNull()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("selectionCommand"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QItemSelectionModel::SelectionFlags" , "const QModelIndex&" , "const QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QItemSelectionModel::SelectionFlags returnValue{}; + void* args[3] = {nullptr, (void*)&index0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("selectionCommand", methodInfo, result); + } else { + returnValue = *((QItemSelectionModel::SelectionFlags*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::joinPreviousEditBlock(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->joinPreviousEditBlock()); + return QTableWidget::selectionCommand(index0, event1); } - -bool PythonQtWrapper_QTextCursor::keepPositionOnInsert(QTextCursor* theWrappedObject) const +void PythonQtShell_QTableWidget::setRootIndex(const QModelIndex& index0) { - return ( theWrappedObject->keepPositionOnInsert()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setRootIndex"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&index0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) -{ - ( theWrappedObject->mergeBlockCharFormat(modifier)); + QTableWidget::setRootIndex(index0); } - -void PythonQtWrapper_QTextCursor::mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier) +void PythonQtShell_QTableWidget::setSelection(const QRect& rect0, QItemSelectionModel::SelectionFlags command1) { - ( theWrappedObject->mergeBlockFormat(modifier)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRect&" , "QItemSelectionModel::SelectionFlags"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&rect0, (void*)&command1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier) -{ - ( theWrappedObject->mergeCharFormat(modifier)); + QTableWidget::setSelection(rect0, command1); } - -bool PythonQtWrapper_QTextCursor::movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2, int n) +void PythonQtShell_QTableWidget::setSelectionModel(QItemSelectionModel* selectionModel0) { - return ( theWrappedObject->movePosition(op, arg__2, n)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setSelectionModel"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QItemSelectionModel*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&selectionModel0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextCursor::__ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const -{ - return ( (*theWrappedObject)!= rhs); + QTableWidget::setSelectionModel(selectionModel0); } - -bool PythonQtWrapper_QTextCursor::__lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +void PythonQtShell_QTableWidget::setVisible(bool visible0) { - return ( (*theWrappedObject)< rhs); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextCursor::__le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const -{ - return ( (*theWrappedObject)<= rhs); + QTableWidget::setVisible(visible0); } - -bool PythonQtWrapper_QTextCursor::__eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +void PythonQtShell_QTableWidget::setupViewport(QWidget* viewport0) { - return ( (*theWrappedObject)== rhs); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setupViewport"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&viewport0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -bool PythonQtWrapper_QTextCursor::__gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const -{ - return ( (*theWrappedObject)> rhs); + QTableWidget::setupViewport(viewport0); } - -bool PythonQtWrapper_QTextCursor::__ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const +QPainter* PythonQtShell_QTableWidget::sharedPainter() const { - return ( (*theWrappedObject)>= rhs); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextCursor::position(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->position()); + return QTableWidget::sharedPainter(); } - -int PythonQtWrapper_QTextCursor::positionInBlock(QTextCursor* theWrappedObject) const +void PythonQtShell_QTableWidget::showEvent(QShowEvent* event0) { - return ( theWrappedObject->positionInBlock()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::removeSelectedText(QTextCursor* theWrappedObject) -{ - ( theWrappedObject->removeSelectedText()); + QTableWidget::showEvent(event0); } - -void PythonQtWrapper_QTextCursor::select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection) +QSize PythonQtShell_QTableWidget::sizeHint() const { - ( theWrappedObject->select(selection)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -QString PythonQtWrapper_QTextCursor::selectedText(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->selectedText()); + return QTableWidget::sizeHint(); } - -QTextDocumentFragment PythonQtWrapper_QTextCursor::selection(QTextCursor* theWrappedObject) const +int PythonQtShell_QTableWidget::sizeHintForColumn(int column0) const { - return ( theWrappedObject->selection()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHintForColumn"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&column0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForColumn", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextCursor::selectionEnd(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->selectionEnd()); + return QTableWidget::sizeHintForColumn(column0); } - -int PythonQtWrapper_QTextCursor::selectionStart(QTextCursor* theWrappedObject) const +int PythonQtShell_QTableWidget::sizeHintForRow(int row0) const { - return ( theWrappedObject->selectionStart()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHintForRow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&row0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHintForRow", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) -{ - ( theWrappedObject->setBlockCharFormat(format)); + return QTableWidget::sizeHintForRow(row0); } - -void PythonQtWrapper_QTextCursor::setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format) +void PythonQtShell_QTableWidget::startDrag(Qt::DropActions supportedActions0) { - ( theWrappedObject->setBlockFormat(format)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("startDrag"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&supportedActions0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format) -{ - ( theWrappedObject->setCharFormat(format)); + QTableWidget::startDrag(supportedActions0); } - -void PythonQtWrapper_QTextCursor::setKeepPositionOnInsert(QTextCursor* theWrappedObject, bool b) +Qt::DropActions PythonQtShell_QTableWidget::supportedDropActions() const { - ( theWrappedObject->setKeepPositionOnInsert(b)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("supportedDropActions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::DropActions"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + Qt::DropActions returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportedDropActions", methodInfo, result); + } else { + returnValue = *((Qt::DropActions*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode) -{ - ( theWrappedObject->setPosition(pos, mode)); + return QTableWidget::supportedDropActions(); } - -void PythonQtWrapper_QTextCursor::setVerticalMovementX(QTextCursor* theWrappedObject, int x) +void PythonQtShell_QTableWidget::tabletEvent(QTabletEvent* event0) { - ( theWrappedObject->setVerticalMovementX(x)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextCursor::setVisualNavigation(QTextCursor* theWrappedObject, bool b) -{ - ( theWrappedObject->setVisualNavigation(b)); + QTableWidget::tabletEvent(event0); } - -void PythonQtWrapper_QTextCursor::swap(QTextCursor* theWrappedObject, QTextCursor& other) +void PythonQtShell_QTableWidget::timerEvent(QTimerEvent* event0) { - ( theWrappedObject->swap(other)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -int PythonQtWrapper_QTextCursor::verticalMovementX(QTextCursor* theWrappedObject) const -{ - return ( theWrappedObject->verticalMovementX()); + QTableWidget::timerEvent(event0); } - -bool PythonQtWrapper_QTextCursor::visualNavigation(QTextCursor* theWrappedObject) const +void PythonQtShell_QTableWidget::updateEditorData() { - return ( theWrappedObject->visualNavigation()); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("updateEditorData"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - - - -PythonQtShell_QTextDocument::~PythonQtShell_QTextDocument() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + QTableWidget::updateEditorData(); } -void PythonQtShell_QTextDocument::childEvent(QChildEvent* event0) +void PythonQtShell_QTableWidget::updateEditorGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); + static PyObject* name = PyUnicode_FromString("updateEditorGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12909,14 +9491,14 @@ if (_wrapper) { } } } - QTextDocument::childEvent(event0); + QTableWidget::updateEditorGeometries(); } -void PythonQtShell_QTextDocument::clear() +void PythonQtShell_QTableWidget::updateGeometries() { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("clear"); + static PyObject* name = PyUnicode_FromString("updateGeometries"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={""}; @@ -12931,28 +9513,28 @@ if (_wrapper) { } } } - QTextDocument::clear(); + QTableWidget::updateGeometries(); } -QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f0) +int PythonQtShell_QTableWidget::verticalOffset() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("createObject"); + static PyObject* name = PyUnicode_FromString("verticalOffset"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QTextObject*" , "const QTextFormat&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QTextObject* returnValue{}; - void* args[2] = {nullptr, (void*)&f0}; + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("createObject", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("verticalOffset", methodInfo, result); } else { - returnValue = *((QTextObject**)args[0]); + returnValue = *((int*)args[0]); } } } @@ -12964,19 +9546,19 @@ if (_wrapper) { } } } - return QTextDocument::createObject(f0); + return QTableWidget::verticalOffset(); } -void PythonQtShell_QTextDocument::customEvent(QEvent* event0) +void PythonQtShell_QTableWidget::verticalScrollbarAction(int action0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); + static PyObject* name = PyUnicode_FromString("verticalScrollbarAction"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&action0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -12986,28 +9568,50 @@ if (_wrapper) { } } } - QTextDocument::customEvent(event0); + QTableWidget::verticalScrollbarAction(action0); } -bool PythonQtShell_QTextDocument::event(QEvent* event0) +void PythonQtShell_QTableWidget::verticalScrollbarValueChanged(int value0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("verticalScrollbarValueChanged"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; + static const char* argumentList[] ={"" , "int"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&event0}; + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTableWidget::verticalScrollbarValueChanged(value0); +} +QStyleOptionViewItem PythonQtShell_QTableWidget::viewOptions() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("viewOptions"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QStyleOptionViewItem"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QStyleOptionViewItem returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewOptions", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QStyleOptionViewItem*)args[0]); } } } @@ -13019,26 +9623,26 @@ if (_wrapper) { } } } - return QTextDocument::event(event0); + return QTableWidget::viewOptions(); } -bool PythonQtShell_QTextDocument::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QTableWidget::viewportEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("viewportEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -13052,28 +9656,28 @@ if (_wrapper) { } } } - return QTextDocument::eventFilter(watched0, event1); + return QTableWidget::viewportEvent(event0); } -QVariant PythonQtShell_QTextDocument::loadResource(int type0, const QUrl& name1) +QSize PythonQtShell_QTableWidget::viewportSizeHint() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("loadResource"); + static PyObject* name = PyUnicode_FromString("viewportSizeHint"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); } else { - returnValue = *((QVariant*)args[0]); + returnValue = *((QSize*)args[0]); } } } @@ -13085,947 +9689,393 @@ if (_wrapper) { } } } - return QTextDocument::loadResource(type0, name1); + return QTableWidget::viewportSizeHint(); } -void PythonQtShell_QTextDocument::timerEvent(QTimerEvent* event0) +QRect PythonQtShell_QTableWidget::visualRect(const QModelIndex& index0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("visualRect"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"QRect" , "const QModelIndex&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; + QRect returnValue{}; + void* args[2] = {nullptr, (void*)&index0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextDocument::timerEvent(event0); -} -QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(QObject* parent) -{ -return new PythonQtShell_QTextDocument(parent); } - -QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(const QString& text, QObject* parent) -{ -return new PythonQtShell_QTextDocument(text, parent); } - -const QMetaObject* PythonQtShell_QTextDocument::metaObject() const { - if (QObject::d_ptr->metaObject) { - return QObject::d_ptr->dynamicMetaObject(); - } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextDocument::staticMetaObject); - } else { - return &QTextDocument::staticMetaObject; - } -} -int PythonQtShell_QTextDocument::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextDocument::qt_metacall(call, id, args); - return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; -} -void PythonQtWrapper_QTextDocument::addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource) -{ - ( theWrappedObject->addResource(type, name, resource)); -} - -void PythonQtWrapper_QTextDocument::adjustSize(QTextDocument* theWrappedObject) -{ - ( theWrappedObject->adjustSize()); -} - -QVector PythonQtWrapper_QTextDocument::allFormats(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->allFormats()); -} - -int PythonQtWrapper_QTextDocument::availableRedoSteps(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->availableRedoSteps()); -} - -int PythonQtWrapper_QTextDocument::availableUndoSteps(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->availableUndoSteps()); -} - -QUrl PythonQtWrapper_QTextDocument::baseUrl(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->baseUrl()); -} - -QTextBlock PythonQtWrapper_QTextDocument::begin(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->begin()); -} - -int PythonQtWrapper_QTextDocument::blockCount(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->blockCount()); -} - -QChar PythonQtWrapper_QTextDocument::characterAt(QTextDocument* theWrappedObject, int pos) const -{ - return ( theWrappedObject->characterAt(pos)); -} - -int PythonQtWrapper_QTextDocument::characterCount(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->characterCount()); -} - -void PythonQtWrapper_QTextDocument::clear(QTextDocument* theWrappedObject) -{ - ( theWrappedObject->clear()); -} - -void PythonQtWrapper_QTextDocument::clearUndoRedoStacks(QTextDocument* theWrappedObject, QTextDocument::Stacks historyToClear) -{ - ( theWrappedObject->clearUndoRedoStacks(historyToClear)); -} - -QTextDocument* PythonQtWrapper_QTextDocument::clone(QTextDocument* theWrappedObject, QObject* parent) const -{ - return ( theWrappedObject->clone(parent)); -} - -QTextObject* PythonQtWrapper_QTextDocument::createObject(QTextDocument* theWrappedObject, const QTextFormat& f) -{ - return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_createObject(f)); -} - -Qt::CursorMoveStyle PythonQtWrapper_QTextDocument::defaultCursorMoveStyle(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultCursorMoveStyle()); -} - -QFont PythonQtWrapper_QTextDocument::defaultFont(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultFont()); -} - -QString PythonQtWrapper_QTextDocument::defaultStyleSheet(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultStyleSheet()); -} - -QTextOption PythonQtWrapper_QTextDocument::defaultTextOption(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->defaultTextOption()); -} - -QAbstractTextDocumentLayout* PythonQtWrapper_QTextDocument::documentLayout(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->documentLayout()); -} - -qreal PythonQtWrapper_QTextDocument::documentMargin(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->documentMargin()); -} - -void PythonQtWrapper_QTextDocument::drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect) -{ - ( theWrappedObject->drawContents(painter, rect)); -} - -QTextBlock PythonQtWrapper_QTextDocument::end(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->end()); -} - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const -{ - return ( theWrappedObject->find(expr, cursor, options)); -} - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, int from, QTextDocument::FindFlags options) const -{ - return ( theWrappedObject->find(expr, from, options)); -} - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, const QTextCursor& cursor, QTextDocument::FindFlags options) const -{ - return ( theWrappedObject->find(expr, cursor, options)); -} - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegularExpression& expr, int from, QTextDocument::FindFlags options) const -{ - return ( theWrappedObject->find(expr, from, options)); -} - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& cursor, QTextDocument::FindFlags options) const -{ - return ( theWrappedObject->find(subString, cursor, options)); -} - -QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, int from, QTextDocument::FindFlags options) const -{ - return ( theWrappedObject->find(subString, from, options)); -} - -QTextBlock PythonQtWrapper_QTextDocument::findBlock(QTextDocument* theWrappedObject, int pos) const -{ - return ( theWrappedObject->findBlock(pos)); -} - -QTextBlock PythonQtWrapper_QTextDocument::findBlockByLineNumber(QTextDocument* theWrappedObject, int blockNumber) const -{ - return ( theWrappedObject->findBlockByLineNumber(blockNumber)); -} - -QTextBlock PythonQtWrapper_QTextDocument::findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const -{ - return ( theWrappedObject->findBlockByNumber(blockNumber)); -} - -QTextBlock PythonQtWrapper_QTextDocument::firstBlock(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->firstBlock()); -} - -QTextFrame* PythonQtWrapper_QTextDocument::frameAt(QTextDocument* theWrappedObject, int pos) const -{ - return ( theWrappedObject->frameAt(pos)); -} - -qreal PythonQtWrapper_QTextDocument::idealWidth(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->idealWidth()); -} - -qreal PythonQtWrapper_QTextDocument::indentWidth(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->indentWidth()); -} - -bool PythonQtWrapper_QTextDocument::isEmpty(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->isEmpty()); -} - -bool PythonQtWrapper_QTextDocument::isModified(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->isModified()); -} - -bool PythonQtWrapper_QTextDocument::isRedoAvailable(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->isRedoAvailable()); -} - -bool PythonQtWrapper_QTextDocument::isUndoAvailable(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->isUndoAvailable()); -} - -bool PythonQtWrapper_QTextDocument::isUndoRedoEnabled(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->isUndoRedoEnabled()); -} - -QTextBlock PythonQtWrapper_QTextDocument::lastBlock(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->lastBlock()); -} - -int PythonQtWrapper_QTextDocument::lineCount(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->lineCount()); -} - -QVariant PythonQtWrapper_QTextDocument::loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name) -{ - return ( ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_loadResource(type, name)); -} - -void PythonQtWrapper_QTextDocument::markContentsDirty(QTextDocument* theWrappedObject, int from, int length) -{ - ( theWrappedObject->markContentsDirty(from, length)); -} - -int PythonQtWrapper_QTextDocument::maximumBlockCount(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->maximumBlockCount()); -} - -QString PythonQtWrapper_QTextDocument::metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const -{ - return ( theWrappedObject->metaInformation(info)); -} - -QTextObject* PythonQtWrapper_QTextDocument::object(QTextDocument* theWrappedObject, int objectIndex) const -{ - return ( theWrappedObject->object(objectIndex)); -} - -QTextObject* PythonQtWrapper_QTextDocument::objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const -{ - return ( theWrappedObject->objectForFormat(arg__1)); -} - -int PythonQtWrapper_QTextDocument::pageCount(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->pageCount()); -} - -QSizeF PythonQtWrapper_QTextDocument::pageSize(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->pageSize()); -} - -void PythonQtWrapper_QTextDocument::print(QTextDocument* theWrappedObject, QPagedPaintDevice* printer) const -{ - ( theWrappedObject->print(printer)); -} - -void PythonQtWrapper_QTextDocument::redo(QTextDocument* theWrappedObject, QTextCursor* cursor) -{ - ( theWrappedObject->redo(cursor)); -} - -QVariant PythonQtWrapper_QTextDocument::resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const -{ - return ( theWrappedObject->resource(type, name)); -} - -int PythonQtWrapper_QTextDocument::revision(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->revision()); -} - -QTextFrame* PythonQtWrapper_QTextDocument::rootFrame(QTextDocument* theWrappedObject) const -{ - return ( theWrappedObject->rootFrame()); -} - -void PythonQtWrapper_QTextDocument::setBaseUrl(QTextDocument* theWrappedObject, const QUrl& url) -{ - ( theWrappedObject->setBaseUrl(url)); -} - -void PythonQtWrapper_QTextDocument::setDefaultCursorMoveStyle(QTextDocument* theWrappedObject, Qt::CursorMoveStyle style) -{ - ( theWrappedObject->setDefaultCursorMoveStyle(style)); -} - -void PythonQtWrapper_QTextDocument::setDefaultFont(QTextDocument* theWrappedObject, const QFont& font) -{ - ( theWrappedObject->setDefaultFont(font)); -} - -void PythonQtWrapper_QTextDocument::setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet) -{ - ( theWrappedObject->setDefaultStyleSheet(sheet)); -} - -void PythonQtWrapper_QTextDocument::setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option) -{ - ( theWrappedObject->setDefaultTextOption(option)); -} - -void PythonQtWrapper_QTextDocument::setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout) -{ - ( theWrappedObject->setDocumentLayout(layout)); -} - -void PythonQtWrapper_QTextDocument::setDocumentMargin(QTextDocument* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setDocumentMargin(margin)); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRect", methodInfo, result); + } else { + returnValue = *((QRect*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextDocument::setHtml(QTextDocument* theWrappedObject, const QString& html) -{ - ( theWrappedObject->setHtml(html)); + return QTableWidget::visualRect(index0); } - -void PythonQtWrapper_QTextDocument::setIndentWidth(QTextDocument* theWrappedObject, qreal width) +QRegion PythonQtShell_QTableWidget::visualRegionForSelection(const QItemSelection& selection0) const { - ( theWrappedObject->setIndentWidth(width)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("visualRegionForSelection"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRegion" , "const QItemSelection&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QRegion returnValue{}; + void* args[2] = {nullptr, (void*)&selection0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("visualRegionForSelection", methodInfo, result); + } else { + returnValue = *((QRegion*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextDocument::setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum) -{ - ( theWrappedObject->setMaximumBlockCount(maximum)); + return QTableWidget::visualRegionForSelection(selection0); } - -void PythonQtWrapper_QTextDocument::setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2) +void PythonQtShell_QTableWidget::wheelEvent(QWheelEvent* arg__1) { - ( theWrappedObject->setMetaInformation(info, arg__2)); +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } } - -void PythonQtWrapper_QTextDocument::setPageSize(QTextDocument* theWrappedObject, const QSizeF& size) -{ - ( theWrappedObject->setPageSize(size)); + QTableWidget::wheelEvent(arg__1); } +QTableWidget* PythonQtWrapper_QTableWidget::new_QTableWidget(QWidget* parent) +{ +return new PythonQtShell_QTableWidget(parent); } -void PythonQtWrapper_QTextDocument::setPlainText(QTextDocument* theWrappedObject, const QString& text) -{ - ( theWrappedObject->setPlainText(text)); -} +QTableWidget* PythonQtWrapper_QTableWidget::new_QTableWidget(int rows, int columns, QWidget* parent) +{ +return new PythonQtShell_QTableWidget(rows, columns, parent); } -void PythonQtWrapper_QTextDocument::setTextWidth(QTextDocument* theWrappedObject, qreal width) -{ - ( theWrappedObject->setTextWidth(width)); +const QMetaObject* PythonQtShell_QTableWidget::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTableWidget::staticMetaObject); + } else { + return &QTableWidget::staticMetaObject; + } } - -void PythonQtWrapper_QTextDocument::setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable) -{ - ( theWrappedObject->setUndoRedoEnabled(enable)); +int PythonQtShell_QTableWidget::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTableWidget::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } - -void PythonQtWrapper_QTextDocument::setUseDesignMetrics(QTextDocument* theWrappedObject, bool b) +QWidget* PythonQtWrapper_QTableWidget::cellWidget(QTableWidget* theWrappedObject, int row, int column) const { - ( theWrappedObject->setUseDesignMetrics(b)); + return ( theWrappedObject->cellWidget(row, column)); } -QSizeF PythonQtWrapper_QTextDocument::size(QTextDocument* theWrappedObject) const +void PythonQtWrapper_QTableWidget::closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) { - return ( theWrappedObject->size()); + ( theWrappedObject->closePersistentEditor(item)); } -qreal PythonQtWrapper_QTextDocument::textWidth(QTextDocument* theWrappedObject) const +int PythonQtWrapper_QTableWidget::column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const { - return ( theWrappedObject->textWidth()); + return ( theWrappedObject->column(item)); } -QString PythonQtWrapper_QTextDocument::toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding) const +int PythonQtWrapper_QTableWidget::columnCount(QTableWidget* theWrappedObject) const { - return ( theWrappedObject->toHtml(encoding)); + return ( theWrappedObject->columnCount()); } -QString PythonQtWrapper_QTextDocument::toPlainText(QTextDocument* theWrappedObject) const +int PythonQtWrapper_QTableWidget::currentColumn(QTableWidget* theWrappedObject) const { - return ( theWrappedObject->toPlainText()); + return ( theWrappedObject->currentColumn()); } -QString PythonQtWrapper_QTextDocument::toRawText(QTextDocument* theWrappedObject) const +QTableWidgetItem* PythonQtWrapper_QTableWidget::currentItem(QTableWidget* theWrappedObject) const { - return ( theWrappedObject->toRawText()); + return ( theWrappedObject->currentItem()); } -void PythonQtWrapper_QTextDocument::undo(QTextDocument* theWrappedObject, QTextCursor* cursor) +int PythonQtWrapper_QTableWidget::currentRow(QTableWidget* theWrappedObject) const { - ( theWrappedObject->undo(cursor)); + return ( theWrappedObject->currentRow()); } -bool PythonQtWrapper_QTextDocument::useDesignMetrics(QTextDocument* theWrappedObject) const +bool PythonQtWrapper_QTableWidget::dropMimeData(QTableWidget* theWrappedObject, int row, int column, const QMimeData* data, Qt::DropAction action) { - return ( theWrappedObject->useDesignMetrics()); + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_dropMimeData(row, column, data, action)); } - - -QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment() -{ -return new QTextDocumentFragment(); } - -QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextCursor& range) -{ -return new QTextDocumentFragment(range); } - -QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextDocument* document) -{ -return new QTextDocumentFragment(document); } - -QTextDocumentFragment* PythonQtWrapper_QTextDocumentFragment::new_QTextDocumentFragment(const QTextDocumentFragment& rhs) -{ -return new QTextDocumentFragment(rhs); } - -QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html) +void PythonQtWrapper_QTableWidget::editItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) { - return (QTextDocumentFragment::fromHtml(html)); + ( theWrappedObject->editItem(item)); } -QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider) +QList PythonQtWrapper_QTableWidget::findItems(QTableWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const { - return (QTextDocumentFragment::fromHtml(html, resourceProvider)); + return ( theWrappedObject->findItems(text, flags)); } -QTextDocumentFragment PythonQtWrapper_QTextDocumentFragment::static_QTextDocumentFragment_fromPlainText(const QString& plainText) +QTableWidgetItem* PythonQtWrapper_QTableWidget::horizontalHeaderItem(QTableWidget* theWrappedObject, int column) const { - return (QTextDocumentFragment::fromPlainText(plainText)); + return ( theWrappedObject->horizontalHeaderItem(column)); } -bool PythonQtWrapper_QTextDocumentFragment::isEmpty(QTextDocumentFragment* theWrappedObject) const +QModelIndex PythonQtWrapper_QTableWidget::indexFromItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) const { - return ( theWrappedObject->isEmpty()); + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_indexFromItem(item)); } -QString PythonQtWrapper_QTextDocumentFragment::toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const +bool PythonQtWrapper_QTableWidget::isPersistentEditorOpen(QTableWidget* theWrappedObject, QTableWidgetItem* item) const { - return ( theWrappedObject->toHtml(encoding)); + return ( theWrappedObject->isPersistentEditorOpen(item)); } -QString PythonQtWrapper_QTextDocumentFragment::toPlainText(QTextDocumentFragment* theWrappedObject) const +QTableWidgetItem* PythonQtWrapper_QTableWidget::item(QTableWidget* theWrappedObject, int row, int column) const { - return ( theWrappedObject->toPlainText()); + return ( theWrappedObject->item(row, column)); } - - -QTextDocumentWriter* PythonQtWrapper_QTextDocumentWriter::new_QTextDocumentWriter() -{ -return new QTextDocumentWriter(); } - -QTextDocumentWriter* PythonQtWrapper_QTextDocumentWriter::new_QTextDocumentWriter(QIODevice* device, const QByteArray& format) -{ -return new QTextDocumentWriter(device, format); } - -QTextDocumentWriter* PythonQtWrapper_QTextDocumentWriter::new_QTextDocumentWriter(const QString& fileName, const QByteArray& format) -{ -return new QTextDocumentWriter(fileName, format); } - -QTextCodec* PythonQtWrapper_QTextDocumentWriter::codec(QTextDocumentWriter* theWrappedObject) const +QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, const QPoint& p) const { - return ( theWrappedObject->codec()); + return ( theWrappedObject->itemAt(p)); } -QIODevice* PythonQtWrapper_QTextDocumentWriter::device(QTextDocumentWriter* theWrappedObject) const +QTableWidgetItem* PythonQtWrapper_QTableWidget::itemAt(QTableWidget* theWrappedObject, int x, int y) const { - return ( theWrappedObject->device()); + return ( theWrappedObject->itemAt(x, y)); } -QString PythonQtWrapper_QTextDocumentWriter::fileName(QTextDocumentWriter* theWrappedObject) const +QTableWidgetItem* PythonQtWrapper_QTableWidget::itemFromIndex(QTableWidget* theWrappedObject, const QModelIndex& index) const { - return ( theWrappedObject->fileName()); + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_itemFromIndex(index)); } -QByteArray PythonQtWrapper_QTextDocumentWriter::format(QTextDocumentWriter* theWrappedObject) const +const QTableWidgetItem* PythonQtWrapper_QTableWidget::itemPrototype(QTableWidget* theWrappedObject) const { - return ( theWrappedObject->format()); + return ( theWrappedObject->itemPrototype()); } -void PythonQtWrapper_QTextDocumentWriter::setCodec(QTextDocumentWriter* theWrappedObject, QTextCodec* codec) +QList PythonQtWrapper_QTableWidget::items(QTableWidget* theWrappedObject, const QMimeData* data) const { - ( theWrappedObject->setCodec(codec)); + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_items(data)); } -void PythonQtWrapper_QTextDocumentWriter::setDevice(QTextDocumentWriter* theWrappedObject, QIODevice* device) +PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::mimeData(QTableWidget* theWrappedObject, const QList items) const { - ( theWrappedObject->setDevice(device)); + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeData(items)); } -void PythonQtWrapper_QTextDocumentWriter::setFileName(QTextDocumentWriter* theWrappedObject, const QString& fileName) +QStringList PythonQtWrapper_QTableWidget::mimeTypes(QTableWidget* theWrappedObject) const { - ( theWrappedObject->setFileName(fileName)); + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_mimeTypes()); } -void PythonQtWrapper_QTextDocumentWriter::setFormat(QTextDocumentWriter* theWrappedObject, const QByteArray& format) +void PythonQtWrapper_QTableWidget::openPersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item) { - ( theWrappedObject->setFormat(format)); + ( theWrappedObject->openPersistentEditor(item)); } -QList PythonQtWrapper_QTextDocumentWriter::static_QTextDocumentWriter_supportedDocumentFormats() +void PythonQtWrapper_QTableWidget::removeCellWidget(QTableWidget* theWrappedObject, int row, int column) { - return (QTextDocumentWriter::supportedDocumentFormats()); + ( theWrappedObject->removeCellWidget(row, column)); } -bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocument* document) +int PythonQtWrapper_QTableWidget::row(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const { - return ( theWrappedObject->write(document)); + return ( theWrappedObject->row(item)); } -bool PythonQtWrapper_QTextDocumentWriter::write(QTextDocumentWriter* theWrappedObject, const QTextDocumentFragment& fragment) +int PythonQtWrapper_QTableWidget::rowCount(QTableWidget* theWrappedObject) const { - return ( theWrappedObject->write(fragment)); + return ( theWrappedObject->rowCount()); } - - -PythonQtShell_QTextEdit::~PythonQtShell_QTextEdit() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -void PythonQtShell_QTextEdit::actionEvent(QActionEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("actionEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QActionEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::actionEvent(event0); -} -bool PythonQtShell_QTextEdit::canInsertFromMimeData(const QMimeData* source0) const -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("canInsertFromMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&source0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("canInsertFromMimeData", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTextEdit::canInsertFromMimeData(source0); -} -void PythonQtShell_QTextEdit::changeEvent(QEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("changeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::changeEvent(e0); -} -void PythonQtShell_QTextEdit::childEvent(QChildEvent* event0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("childEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QChildEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::childEvent(event0); +QList PythonQtWrapper_QTableWidget::selectedItems(QTableWidget* theWrappedObject) const +{ + return ( theWrappedObject->selectedItems()); } -void PythonQtShell_QTextEdit::closeEvent(QCloseEvent* event0) + +QList PythonQtWrapper_QTableWidget::selectedRanges(QTableWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("closeEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QCloseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->selectedRanges()); } - QTextEdit::closeEvent(event0); + +void PythonQtWrapper_QTableWidget::setCellWidget(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP widget) +{ + ( theWrappedObject->setCellWidget(row, column, widget)); } -void PythonQtShell_QTextEdit::contextMenuEvent(QContextMenuEvent* e0) + +void PythonQtWrapper_QTableWidget::setColumnCount(QTableWidget* theWrappedObject, int columns) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("contextMenuEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QContextMenuEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setColumnCount(columns)); } - QTextEdit::contextMenuEvent(e0); + +void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column) +{ + ( theWrappedObject->setCurrentCell(row, column)); } -QMimeData* PythonQtShell_QTextEdit::createMimeDataFromSelection() const + +void PythonQtWrapper_QTableWidget::setCurrentCell(QTableWidget* theWrappedObject, int row, int column, QItemSelectionModel::SelectionFlags command) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("createMimeDataFromSelection"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QMimeData* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("createMimeDataFromSelection", methodInfo, result); - } else { - returnValue = *((QMimeData**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCurrentCell(row, column, command)); } - return QTextEdit::createMimeDataFromSelection(); + +void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item) +{ + ( theWrappedObject->setCurrentItem(item)); } -void PythonQtShell_QTextEdit::customEvent(QEvent* event0) + +void PythonQtWrapper_QTableWidget::setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item, QItemSelectionModel::SelectionFlags command) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("customEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setCurrentItem(item, command)); } - QTextEdit::customEvent(event0); + +void PythonQtWrapper_QTableWidget::setHorizontalHeaderItem(QTableWidget* theWrappedObject, int column, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setHorizontalHeaderItem(column, item)); } -int PythonQtShell_QTextEdit::devType() const + +void PythonQtWrapper_QTableWidget::setHorizontalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("devType"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - int returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setHorizontalHeaderLabels(labels)); } - return QTextEdit::devType(); + +void PythonQtWrapper_QTableWidget::setItem(QTableWidget* theWrappedObject, int row, int column, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setItem(row, column, item)); } -void PythonQtShell_QTextEdit::doSetTextCursor(const QTextCursor& cursor0) + +void PythonQtWrapper_QTableWidget::setItemPrototype(QTableWidget* theWrappedObject, PythonQtPassOwnershipToCPP item) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("doSetTextCursor"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QTextCursor&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&cursor0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setItemPrototype(item)); } - QTextEdit::doSetTextCursor(cursor0); + +void PythonQtWrapper_QTableWidget::setRangeSelected(QTableWidget* theWrappedObject, const QTableWidgetSelectionRange& range, bool select) +{ + ( theWrappedObject->setRangeSelected(range, select)); } -void PythonQtShell_QTextEdit::dragEnterEvent(QDragEnterEvent* e0) + +void PythonQtWrapper_QTableWidget::setRowCount(QTableWidget* theWrappedObject, int rows) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragEnterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragEnterEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setRowCount(rows)); } - QTextEdit::dragEnterEvent(e0); + +void PythonQtWrapper_QTableWidget::setVerticalHeaderItem(QTableWidget* theWrappedObject, int row, PythonQtPassOwnershipToCPP item) +{ + ( theWrappedObject->setVerticalHeaderItem(row, item)); } -void PythonQtShell_QTextEdit::dragLeaveEvent(QDragLeaveEvent* e0) + +void PythonQtWrapper_QTableWidget::setVerticalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setVerticalHeaderLabels(labels)); } - QTextEdit::dragLeaveEvent(e0); + +void PythonQtWrapper_QTableWidget::sortItems(QTableWidget* theWrappedObject, int column, Qt::SortOrder order) +{ + ( theWrappedObject->sortItems(column, order)); } -void PythonQtShell_QTextEdit::dragMoveEvent(QDragMoveEvent* e0) + +Qt::DropActions PythonQtWrapper_QTableWidget::supportedDropActions(QTableWidget* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dragMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDragMoveEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( ((PythonQtPublicPromoter_QTableWidget*)theWrappedObject)->promoted_supportedDropActions()); } - QTextEdit::dragMoveEvent(e0); + +PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeHorizontalHeaderItem(QTableWidget* theWrappedObject, int column) +{ + return ( theWrappedObject->takeHorizontalHeaderItem(column)); } -void PythonQtShell_QTextEdit::dropEvent(QDropEvent* e0) + +PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeItem(QTableWidget* theWrappedObject, int row, int column) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("dropEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QDropEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->takeItem(row, column)); +} + +PythonQtPassOwnershipToPython PythonQtWrapper_QTableWidget::takeVerticalHeaderItem(QTableWidget* theWrappedObject, int row) +{ + return ( theWrappedObject->takeVerticalHeaderItem(row)); } - QTextEdit::dropEvent(e0); + +QTableWidgetItem* PythonQtWrapper_QTableWidget::verticalHeaderItem(QTableWidget* theWrappedObject, int row) const +{ + return ( theWrappedObject->verticalHeaderItem(row)); } -void PythonQtShell_QTextEdit::enterEvent(QEvent* event0) + +int PythonQtWrapper_QTableWidget::visualColumn(QTableWidget* theWrappedObject, int logicalColumn) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("enterEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->visualColumn(logicalColumn)); +} + +QRect PythonQtWrapper_QTableWidget::visualItemRect(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const +{ + return ( theWrappedObject->visualItemRect(item)); +} + +int PythonQtWrapper_QTableWidget::visualRow(QTableWidget* theWrappedObject, int logicalRow) const +{ + return ( theWrappedObject->visualRow(logicalRow)); } - QTextEdit::enterEvent(event0); + + + +PythonQtShell_QTableWidgetItem::~PythonQtShell_QTableWidgetItem() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -bool PythonQtShell_QTextEdit::event(QEvent* e0) +QTableWidgetItem* PythonQtShell_QTableWidgetItem::clone() const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("event"); + static PyObject* name = PyUnicode_FromString("clone"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&e0}; + static const char* argumentList[] ={"QTableWidgetItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QTableWidgetItem* returnValue{}; + void* args[1] = {nullptr}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("clone", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QTableWidgetItem**)args[0]); } } } @@ -14037,28 +10087,28 @@ if (_wrapper) { } } } - return QTextEdit::event(e0); + return QTableWidgetItem::clone(); } -bool PythonQtShell_QTextEdit::eventFilter(QObject* arg__1, QEvent* arg__2) +QVariant PythonQtShell_QTableWidgetItem::data(int role0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("eventFilter"); + static PyObject* name = PyUnicode_FromString("data"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - bool returnValue{}; - void* args[3] = {nullptr, (void*)&arg__1, (void*)&arg__2}; + static const char* argumentList[] ={"QVariant" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&role0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("data", methodInfo, result); } else { - returnValue = *((bool*)args[0]); + returnValue = *((QVariant*)args[0]); } } } @@ -14070,19 +10120,19 @@ if (_wrapper) { } } } - return QTextEdit::eventFilter(arg__1, arg__2); + return QTableWidgetItem::data(role0); } -void PythonQtShell_QTextEdit::focusInEvent(QFocusEvent* e0) +void PythonQtShell_QTableWidgetItem::read(QDataStream& in0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusInEvent"); + static PyObject* name = PyUnicode_FromString("read"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&in0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14092,52 +10142,41 @@ if (_wrapper) { } } } - QTextEdit::focusInEvent(e0); + QTableWidgetItem::read(in0); } -bool PythonQtShell_QTextEdit::focusNextPrevChild(bool next0) +void PythonQtShell_QTableWidgetItem::setData(int role0, const QVariant& value1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + static PyObject* name = PyUnicode_FromString("setData"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - bool returnValue{}; - void* args[2] = {nullptr, (void*)&next0}; + static const char* argumentList[] ={"" , "int" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&role0, (void*)&value1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextEdit::focusNextPrevChild(next0); + QTableWidgetItem::setData(role0, value1); } -void PythonQtShell_QTextEdit::focusOutEvent(QFocusEvent* e0) +void PythonQtShell_QTableWidgetItem::write(QDataStream& out0) const { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("focusOutEvent"); + static PyObject* name = PyUnicode_FromString("write"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const char* argumentList[] ={"" , "QDataStream&"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&out0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14147,457 +10186,383 @@ if (_wrapper) { } } } - QTextEdit::focusOutEvent(e0); + QTableWidgetItem::write(out0); +} +QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(const QIcon& icon, const QString& text, int type) +{ +return new PythonQtShell_QTableWidgetItem(icon, text, type); } + +QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(const QString& text, int type) +{ +return new PythonQtShell_QTableWidgetItem(text, type); } + +QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::new_QTableWidgetItem(int type) +{ +return new PythonQtShell_QTableWidgetItem(type); } + +QBrush PythonQtWrapper_QTableWidgetItem::background(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->background()); +} + +Qt::CheckState PythonQtWrapper_QTableWidgetItem::checkState(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->checkState()); +} + +QTableWidgetItem* PythonQtWrapper_QTableWidgetItem::clone(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->clone()); +} + +int PythonQtWrapper_QTableWidgetItem::column(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +QVariant PythonQtWrapper_QTableWidgetItem::data(QTableWidgetItem* theWrappedObject, int role) const +{ + return ( theWrappedObject->data(role)); +} + +Qt::ItemFlags PythonQtWrapper_QTableWidgetItem::flags(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->flags()); +} + +QFont PythonQtWrapper_QTableWidgetItem::font(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->font()); +} + +QBrush PythonQtWrapper_QTableWidgetItem::foreground(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->foreground()); +} + +QIcon PythonQtWrapper_QTableWidgetItem::icon(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +bool PythonQtWrapper_QTableWidgetItem::isSelected(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->isSelected()); +} + +void PythonQtWrapper_QTableWidgetItem::writeTo(QTableWidgetItem* theWrappedObject, QDataStream& out) +{ + out << (*theWrappedObject); +} + +void PythonQtWrapper_QTableWidgetItem::readFrom(QTableWidgetItem* theWrappedObject, QDataStream& in) +{ + in >> (*theWrappedObject); +} + +void PythonQtWrapper_QTableWidgetItem::read(QTableWidgetItem* theWrappedObject, QDataStream& in) +{ + ( theWrappedObject->read(in)); +} + +int PythonQtWrapper_QTableWidgetItem::row(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->row()); +} + +void PythonQtWrapper_QTableWidgetItem::setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setBackground(brush)); +} + +void PythonQtWrapper_QTableWidgetItem::setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state) +{ + ( theWrappedObject->setCheckState(state)); +} + +void PythonQtWrapper_QTableWidgetItem::setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value) +{ + ( theWrappedObject->setData(role, value)); +} + +void PythonQtWrapper_QTableWidgetItem::setFlags(QTableWidgetItem* theWrappedObject, Qt::ItemFlags flags) +{ + ( theWrappedObject->setFlags(flags)); +} + +void PythonQtWrapper_QTableWidgetItem::setFont(QTableWidgetItem* theWrappedObject, const QFont& font) +{ + ( theWrappedObject->setFont(font)); +} + +void PythonQtWrapper_QTableWidgetItem::setForeground(QTableWidgetItem* theWrappedObject, const QBrush& brush) +{ + ( theWrappedObject->setForeground(brush)); +} + +void PythonQtWrapper_QTableWidgetItem::setIcon(QTableWidgetItem* theWrappedObject, const QIcon& icon) +{ + ( theWrappedObject->setIcon(icon)); +} + +void PythonQtWrapper_QTableWidgetItem::setSelected(QTableWidgetItem* theWrappedObject, bool select) +{ + ( theWrappedObject->setSelected(select)); +} + +void PythonQtWrapper_QTableWidgetItem::setSizeHint(QTableWidgetItem* theWrappedObject, const QSize& size) +{ + ( theWrappedObject->setSizeHint(size)); +} + +void PythonQtWrapper_QTableWidgetItem::setStatusTip(QTableWidgetItem* theWrappedObject, const QString& statusTip) +{ + ( theWrappedObject->setStatusTip(statusTip)); +} + +void PythonQtWrapper_QTableWidgetItem::setText(QTableWidgetItem* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setText(text)); +} + +void PythonQtWrapper_QTableWidgetItem::setTextAlignment(QTableWidgetItem* theWrappedObject, int alignment) +{ + ( theWrappedObject->setTextAlignment(alignment)); +} + +void PythonQtWrapper_QTableWidgetItem::setToolTip(QTableWidgetItem* theWrappedObject, const QString& toolTip) +{ + ( theWrappedObject->setToolTip(toolTip)); } -bool PythonQtShell_QTextEdit::hasHeightForWidth() const + +void PythonQtWrapper_QTableWidgetItem::setWhatsThis(QTableWidgetItem* theWrappedObject, const QString& whatsThis) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - bool returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + ( theWrappedObject->setWhatsThis(whatsThis)); } - return QTextEdit::hasHeightForWidth(); + +QSize PythonQtWrapper_QTableWidgetItem::sizeHint(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->sizeHint()); } -int PythonQtShell_QTextEdit::heightForWidth(int arg__1) const + +QString PythonQtWrapper_QTableWidgetItem::statusTip(QTableWidgetItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("heightForWidth"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->statusTip()); } - return QTextEdit::heightForWidth(arg__1); + +QTableWidget* PythonQtWrapper_QTableWidgetItem::tableWidget(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->tableWidget()); } -void PythonQtShell_QTextEdit::hideEvent(QHideEvent* event0) + +QString PythonQtWrapper_QTableWidgetItem::text(QTableWidgetItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("hideEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QHideEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->text()); } - QTextEdit::hideEvent(event0); + +int PythonQtWrapper_QTableWidgetItem::textAlignment(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->textAlignment()); } -void PythonQtShell_QTextEdit::initPainter(QPainter* painter0) const + +QString PythonQtWrapper_QTableWidgetItem::toolTip(QTableWidgetItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("initPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&painter0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->toolTip()); } - QTextEdit::initPainter(painter0); + +int PythonQtWrapper_QTableWidgetItem::type(QTableWidgetItem* theWrappedObject) const +{ + return ( theWrappedObject->type()); } -void PythonQtShell_QTextEdit::inputMethodEvent(QInputMethodEvent* arg__1) + +QString PythonQtWrapper_QTableWidgetItem::whatsThis(QTableWidgetItem* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QInputMethodEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->whatsThis()); } - QTextEdit::inputMethodEvent(arg__1); + +void PythonQtWrapper_QTableWidgetItem::write(QTableWidgetItem* theWrappedObject, QDataStream& out) const +{ + ( theWrappedObject->write(out)); } -QVariant PythonQtShell_QTextEdit::inputMethodQuery(Qt::InputMethodQuery property0) const + + + +QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::new_QTableWidgetSelectionRange() +{ +return new QTableWidgetSelectionRange(); } + +QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::new_QTableWidgetSelectionRange(const QTableWidgetSelectionRange& other) +{ +return new QTableWidgetSelectionRange(other); } + +QTableWidgetSelectionRange* PythonQtWrapper_QTableWidgetSelectionRange::new_QTableWidgetSelectionRange(int top, int left, int bottom, int right) +{ +return new QTableWidgetSelectionRange(top, left, bottom, right); } + +int PythonQtWrapper_QTableWidgetSelectionRange::bottomRow(QTableWidgetSelectionRange* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("inputMethodQuery"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QVariant returnValue{}; - void* args[2] = {nullptr, (void*)&property0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->bottomRow()); +} + +int PythonQtWrapper_QTableWidgetSelectionRange::columnCount(QTableWidgetSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->columnCount()); } - return QTextEdit::inputMethodQuery(property0); + +int PythonQtWrapper_QTableWidgetSelectionRange::leftColumn(QTableWidgetSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->leftColumn()); } -void PythonQtShell_QTextEdit::insertFromMimeData(const QMimeData* source0) + +int PythonQtWrapper_QTableWidgetSelectionRange::rightColumn(QTableWidgetSelectionRange* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("insertFromMimeData"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "const QMimeData*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&source0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->rightColumn()); } - QTextEdit::insertFromMimeData(source0); + +int PythonQtWrapper_QTableWidgetSelectionRange::rowCount(QTableWidgetSelectionRange* theWrappedObject) const +{ + return ( theWrappedObject->rowCount()); } -void PythonQtShell_QTextEdit::keyPressEvent(QKeyEvent* e0) + +int PythonQtWrapper_QTableWidgetSelectionRange::topRow(QTableWidgetSelectionRange* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyPressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->topRow()); +} + + + +PythonQtShell_QTabletEvent::~PythonQtShell_QTabletEvent() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QTabletEvent* PythonQtWrapper_QTabletEvent::new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID) +{ +return new PythonQtShell_QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID); } + +QTabletEvent* PythonQtWrapper_QTabletEvent::new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID, Qt::MouseButton button, Qt::MouseButtons buttons) +{ +return new PythonQtShell_QTabletEvent(t, pos, globalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID, button, buttons); } + +Qt::MouseButton PythonQtWrapper_QTabletEvent::button(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->button()); } - QTextEdit::keyPressEvent(e0); + +Qt::MouseButtons PythonQtWrapper_QTabletEvent::buttons(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->buttons()); } -void PythonQtShell_QTextEdit::keyReleaseEvent(QKeyEvent* e0) + +QTabletEvent::TabletDevice PythonQtWrapper_QTabletEvent::device(QTabletEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QKeyEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->device()); } - QTextEdit::keyReleaseEvent(e0); + +QPoint PythonQtWrapper_QTabletEvent::globalPos(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalPos()); } -void PythonQtShell_QTextEdit::leaveEvent(QEvent* event0) + +const QPointF* PythonQtWrapper_QTabletEvent::globalPosF(QTabletEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("leaveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&event0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return &( theWrappedObject->globalPosF()); } - QTextEdit::leaveEvent(event0); + +int PythonQtWrapper_QTabletEvent::globalX(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->globalX()); } -QVariant PythonQtShell_QTextEdit::loadResource(int type0, const QUrl& name1) + +int PythonQtWrapper_QTabletEvent::globalY(QTabletEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("loadResource"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QVariant" , "int" , "const QUrl&"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - QVariant returnValue{}; - void* args[3] = {nullptr, (void*)&type0, (void*)&name1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("loadResource", methodInfo, result); - } else { - returnValue = *((QVariant*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->globalY()); } - return QTextEdit::loadResource(type0, name1); + +qreal PythonQtWrapper_QTabletEvent::hiResGlobalX(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->hiResGlobalX()); } -int PythonQtShell_QTextEdit::metric(QPaintDevice::PaintDeviceMetric arg__1) const + +qreal PythonQtWrapper_QTabletEvent::hiResGlobalY(QTabletEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("metric"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - int returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); - } else { - returnValue = *((int*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->hiResGlobalY()); } - return QTextEdit::metric(arg__1); + +QTabletEvent::PointerType PythonQtWrapper_QTabletEvent::pointerType(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->pointerType()); } -QSize PythonQtShell_QTextEdit::minimumSizeHint() const + +QPoint PythonQtWrapper_QTabletEvent::pos(QTabletEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("minimumSizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->pos()); } - return QTextEdit::minimumSizeHint(); + +const QPointF* PythonQtWrapper_QTabletEvent::posF(QTabletEvent* theWrappedObject) const +{ + return &( theWrappedObject->posF()); } -void PythonQtShell_QTextEdit::mouseDoubleClickEvent(QMouseEvent* e0) + +qreal PythonQtWrapper_QTabletEvent::pressure(QTabletEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->pressure()); } - QTextEdit::mouseDoubleClickEvent(e0); + +qreal PythonQtWrapper_QTabletEvent::rotation(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->rotation()); } -void PythonQtShell_QTextEdit::mouseMoveEvent(QMouseEvent* e0) + +qreal PythonQtWrapper_QTabletEvent::tangentialPressure(QTabletEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->tangentialPressure()); } - QTextEdit::mouseMoveEvent(e0); + +qint64 PythonQtWrapper_QTabletEvent::uniqueId(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->uniqueId()); } -void PythonQtShell_QTextEdit::mousePressEvent(QMouseEvent* e0) + +int PythonQtWrapper_QTabletEvent::x(QTabletEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mousePressEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->x()); } - QTextEdit::mousePressEvent(e0); + +int PythonQtWrapper_QTabletEvent::xTilt(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->xTilt()); } -void PythonQtShell_QTextEdit::mouseReleaseEvent(QMouseEvent* e0) + +int PythonQtWrapper_QTabletEvent::y(QTabletEvent* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QMouseEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } + return ( theWrappedObject->y()); +} + +int PythonQtWrapper_QTabletEvent::yTilt(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->yTilt()); +} + +int PythonQtWrapper_QTabletEvent::z(QTabletEvent* theWrappedObject) const +{ + return ( theWrappedObject->z()); } - QTextEdit::mouseReleaseEvent(e0); + + + +PythonQtShell_QTapAndHoldGesture::~PythonQtShell_QTapAndHoldGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextEdit::moveEvent(QMoveEvent* event0) +void PythonQtShell_QTapAndHoldGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("moveEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -14609,61 +10574,50 @@ if (_wrapper) { } } } - QTextEdit::moveEvent(event0); + QTapAndHoldGesture::childEvent(event0); } -bool PythonQtShell_QTextEdit::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +void PythonQtShell_QTapAndHoldGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("nativeEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); - bool returnValue{}; - void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); - } else { - returnValue = *((bool*)args[0]); - } - } - } if (result) { Py_DECREF(result); } Py_DECREF(obj); - return returnValue; + return; } else { PyErr_Clear(); } } } - return QTextEdit::nativeEvent(eventType0, message1, result2); + QTapAndHoldGesture::customEvent(event0); } -QPaintEngine* PythonQtShell_QTextEdit::paintEngine() const +bool PythonQtShell_QTapAndHoldGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEngine"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintEngine*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPaintEngine* returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { - returnValue = *((QPaintEngine**)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -14675,50 +10629,28 @@ if (_wrapper) { } } } - return QTextEdit::paintEngine(); -} -void PythonQtShell_QTextEdit::paintEvent(QPaintEvent* e0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("paintEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QPaintEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::paintEvent(e0); + return QTapAndHoldGesture::event(event0); } -QPaintDevice* PythonQtShell_QTextEdit::redirected(QPoint* offset0) const +bool PythonQtShell_QTapAndHoldGesture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("redirected"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - QPaintDevice* returnValue{}; - void* args[2] = {nullptr, (void*)&offset0}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QPaintDevice**)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -14730,41 +10662,19 @@ if (_wrapper) { } } } - return QTextEdit::redirected(offset0); + return QTapAndHoldGesture::eventFilter(watched0, event1); } -void PythonQtShell_QTextEdit::resizeEvent(QResizeEvent* e0) +void PythonQtShell_QTapAndHoldGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("resizeEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::resizeEvent(e0); -} -void PythonQtShell_QTextEdit::scrollContentsBy(int dx0, int dy1) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("scrollContentsBy"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "int" , "int"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); - void* args[3] = {nullptr, (void*)&dx0, (void*)&dy1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14774,149 +10684,60 @@ if (_wrapper) { } } } - QTextEdit::scrollContentsBy(dx0, dy1); + QTapAndHoldGesture::timerEvent(event0); } -void PythonQtShell_QTextEdit::setVisible(bool visible0) -{ -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setVisible"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "bool"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&visible0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } +QTapAndHoldGesture* PythonQtWrapper_QTapAndHoldGesture::new_QTapAndHoldGesture(QObject* parent) +{ +return new PythonQtShell_QTapAndHoldGesture(parent); } + +const QMetaObject* PythonQtShell_QTapAndHoldGesture::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTapAndHoldGesture::staticMetaObject); + } else { + return &QTapAndHoldGesture::staticMetaObject; } } - QTextEdit::setVisible(visible0); +int PythonQtShell_QTapAndHoldGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTapAndHoldGesture::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -void PythonQtShell_QTextEdit::setupViewport(QWidget* viewport0) +QPointF PythonQtWrapper_QTapAndHoldGesture::position(QTapAndHoldGesture* theWrappedObject) const { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("setupViewport"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QWidget*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&viewport0}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::setupViewport(viewport0); + return ( theWrappedObject->position()); } -QPainter* PythonQtShell_QTextEdit::sharedPainter() const + +void PythonQtWrapper_QTapAndHoldGesture::setPosition(QTapAndHoldGesture* theWrappedObject, const QPointF& pos) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sharedPainter"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QPainter*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QPainter* returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); - } else { - returnValue = *((QPainter**)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } -} - return QTextEdit::sharedPainter(); + ( theWrappedObject->setPosition(pos)); } -void PythonQtShell_QTextEdit::showEvent(QShowEvent* arg__1) + +void PythonQtWrapper_QTapAndHoldGesture::static_QTapAndHoldGesture_setTimeout(int msecs) { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("showEvent"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"" , "QShowEvent*"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&arg__1}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return; - } else { - PyErr_Clear(); - } - } -} - QTextEdit::showEvent(arg__1); + (QTapAndHoldGesture::setTimeout(msecs)); } -QSize PythonQtShell_QTextEdit::sizeHint() const + +int PythonQtWrapper_QTapAndHoldGesture::static_QTapAndHoldGesture_timeout() { -if (_wrapper) { - PYTHONQT_GIL_SCOPE - if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("sizeHint"); - PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); - if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; - PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); - if (result) { - args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); - if (args[0]!=&returnValue) { - if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); - } else { - returnValue = *((QSize*)args[0]); - } - } - } - if (result) { Py_DECREF(result); } - Py_DECREF(obj); - return returnValue; - } else { - PyErr_Clear(); - } - } + return (QTapAndHoldGesture::timeout()); } - return QTextEdit::sizeHint(); + + + +PythonQtShell_QTapGesture::~PythonQtShell_QTapGesture() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextEdit::tabletEvent(QTabletEvent* event0) +void PythonQtShell_QTapGesture::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("tabletEvent"); + static PyObject* name = PyUnicode_FromString("childEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const char* argumentList[] ={"" , "QChildEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); @@ -14928,19 +10749,19 @@ if (_wrapper) { } } } - QTextEdit::tabletEvent(event0); + QTapGesture::childEvent(event0); } -void PythonQtShell_QTextEdit::timerEvent(QTimerEvent* e0) +void PythonQtShell_QTapGesture::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("timerEvent"); + static PyObject* name = PyUnicode_FromString("customEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const char* argumentList[] ={"" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -14950,26 +10771,26 @@ if (_wrapper) { } } } - QTextEdit::timerEvent(e0); + QTapGesture::customEvent(event0); } -bool PythonQtShell_QTextEdit::viewportEvent(QEvent* arg__1) +bool PythonQtShell_QTapGesture::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportEvent"); + static PyObject* name = PyUnicode_FromString("event"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { static const char* argumentList[] ={"bool" , "QEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); bool returnValue{}; - void* args[2] = {nullptr, (void*)&arg__1}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportEvent", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); } else { returnValue = *((bool*)args[0]); } @@ -14983,28 +10804,28 @@ if (_wrapper) { } } } - return QTextEdit::viewportEvent(arg__1); + return QTapGesture::event(event0); } -QSize PythonQtShell_QTextEdit::viewportSizeHint() const +bool PythonQtShell_QTapGesture::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("viewportSizeHint"); + static PyObject* name = PyUnicode_FromString("eventFilter"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"QSize"}; - static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); - QSize returnValue{}; - void* args[1] = {nullptr}; + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); if (args[0]!=&returnValue) { if (args[0]==nullptr) { - PythonQt::priv()->handleVirtualOverloadReturnError("viewportSizeHint", methodInfo, result); + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); } else { - returnValue = *((QSize*)args[0]); + returnValue = *((bool*)args[0]); } } } @@ -15016,19 +10837,19 @@ if (_wrapper) { } } } - return QTextEdit::viewportSizeHint(); + return QTapGesture::eventFilter(watched0, event1); } -void PythonQtShell_QTextEdit::wheelEvent(QWheelEvent* e0) +void PythonQtShell_QTapGesture::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE if (Py_REFCNT((PyObject*)_wrapper) > 0) { - static PyObject* name = PyUnicode_FromString("wheelEvent"); + static PyObject* name = PyUnicode_FromString("timerEvent"); PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); if (obj) { - static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const char* argumentList[] ={"" , "QTimerEvent*"}; static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); - void* args[2] = {nullptr, (void*)&e0}; + void* args[2] = {nullptr, (void*)&event0}; PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); if (result) { Py_DECREF(result); } Py_DECREF(obj); @@ -15038,456 +10859,432 @@ if (_wrapper) { } } } - QTextEdit::wheelEvent(e0); + QTapGesture::timerEvent(event0); } -QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(QWidget* parent) -{ -return new PythonQtShell_QTextEdit(parent); } - -QTextEdit* PythonQtWrapper_QTextEdit::new_QTextEdit(const QString& text, QWidget* parent) +QTapGesture* PythonQtWrapper_QTapGesture::new_QTapGesture(QObject* parent) { -return new PythonQtShell_QTextEdit(text, parent); } +return new PythonQtShell_QTapGesture(parent); } -const QMetaObject* PythonQtShell_QTextEdit::metaObject() const { +const QMetaObject* PythonQtShell_QTapGesture::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextEdit::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTapGesture::staticMetaObject); } else { - return &QTextEdit::staticMetaObject; + return &QTapGesture::staticMetaObject; } } -int PythonQtShell_QTextEdit::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextEdit::qt_metacall(call, id, args); +int PythonQtShell_QTapGesture::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTapGesture::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -bool PythonQtWrapper_QTextEdit::acceptRichText(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->acceptRichText()); -} - -Qt::Alignment PythonQtWrapper_QTextEdit::alignment(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->alignment()); -} - -QString PythonQtWrapper_QTextEdit::anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const +QPointF PythonQtWrapper_QTapGesture::position(QTapGesture* theWrappedObject) const { - return ( theWrappedObject->anchorAt(pos)); + return ( theWrappedObject->position()); } -QTextEdit::AutoFormatting PythonQtWrapper_QTextEdit::autoFormatting(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTapGesture::setPosition(QTapGesture* theWrappedObject, const QPointF& pos) { - return ( theWrappedObject->autoFormatting()); + ( theWrappedObject->setPosition(pos)); } -bool PythonQtWrapper_QTextEdit::canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const -{ - return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_canInsertFromMimeData(source)); -} -bool PythonQtWrapper_QTextEdit::canPaste(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->canPaste()); -} -QMimeData* PythonQtWrapper_QTextEdit::createMimeDataFromSelection(QTextEdit* theWrappedObject) const -{ - return ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_createMimeDataFromSelection()); -} +QTextBlock* PythonQtWrapper_QTextBlock::new_QTextBlock() +{ +return new QTextBlock(); } -QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject) -{ - return ( theWrappedObject->createStandardContextMenu()); -} +QTextBlock* PythonQtWrapper_QTextBlock::new_QTextBlock(const QTextBlock& o) +{ +return new QTextBlock(o); } -QMenu* PythonQtWrapper_QTextEdit::createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position) +QTextBlock::iterator PythonQtWrapper_QTextBlock::begin(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->createStandardContextMenu(position)); + return ( theWrappedObject->begin()); } -QTextCharFormat PythonQtWrapper_QTextEdit::currentCharFormat(QTextEdit* theWrappedObject) const +QTextBlockFormat PythonQtWrapper_QTextBlock::blockFormat(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->currentCharFormat()); + return ( theWrappedObject->blockFormat()); } -QFont PythonQtWrapper_QTextEdit::currentFont(QTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextBlock::blockFormatIndex(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->currentFont()); + return ( theWrappedObject->blockFormatIndex()); } -QTextCursor PythonQtWrapper_QTextEdit::cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const +int PythonQtWrapper_QTextBlock::blockNumber(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->cursorForPosition(pos)); + return ( theWrappedObject->blockNumber()); } -QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject) const +QTextCharFormat PythonQtWrapper_QTextBlock::charFormat(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->cursorRect()); + return ( theWrappedObject->charFormat()); } -QRect PythonQtWrapper_QTextEdit::cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const +int PythonQtWrapper_QTextBlock::charFormatIndex(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->cursorRect(cursor)); + return ( theWrappedObject->charFormatIndex()); } -int PythonQtWrapper_QTextEdit::cursorWidth(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextBlock::clearLayout(QTextBlock* theWrappedObject) { - return ( theWrappedObject->cursorWidth()); + ( theWrappedObject->clearLayout()); } -void PythonQtWrapper_QTextEdit::doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) +bool PythonQtWrapper_QTextBlock::contains(QTextBlock* theWrappedObject, int position) const { - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_doSetTextCursor(cursor)); + return ( theWrappedObject->contains(position)); } -QTextDocument* PythonQtWrapper_QTextEdit::document(QTextEdit* theWrappedObject) const +const QTextDocument* PythonQtWrapper_QTextBlock::document(QTextBlock* theWrappedObject) const { return ( theWrappedObject->document()); } -QString PythonQtWrapper_QTextEdit::documentTitle(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->documentTitle()); -} - -void PythonQtWrapper_QTextEdit::ensureCursorVisible(QTextEdit* theWrappedObject) -{ - ( theWrappedObject->ensureCursorVisible()); -} - -QList PythonQtWrapper_QTextEdit::extraSelections(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->extraSelections()); -} - -bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options) -{ - return ( theWrappedObject->find(exp, options)); -} - -bool PythonQtWrapper_QTextEdit::find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options) -{ - return ( theWrappedObject->find(exp, options)); -} - -QString PythonQtWrapper_QTextEdit::fontFamily(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->fontFamily()); -} - -bool PythonQtWrapper_QTextEdit::fontItalic(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->fontItalic()); -} - -qreal PythonQtWrapper_QTextEdit::fontPointSize(QTextEdit* theWrappedObject) const -{ - return ( theWrappedObject->fontPointSize()); -} - -bool PythonQtWrapper_QTextEdit::fontUnderline(QTextEdit* theWrappedObject) const +QTextBlock::iterator PythonQtWrapper_QTextBlock::end(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->fontUnderline()); + return ( theWrappedObject->end()); } -int PythonQtWrapper_QTextEdit::fontWeight(QTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextBlock::firstLineNumber(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->fontWeight()); + return ( theWrappedObject->firstLineNumber()); } -QVariant PythonQtWrapper_QTextEdit::inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const +int PythonQtWrapper_QTextBlock::fragmentIndex(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->inputMethodQuery(query, argument)); + return ( theWrappedObject->fragmentIndex()); } -void PythonQtWrapper_QTextEdit::insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) +bool PythonQtWrapper_QTextBlock::isValid(QTextBlock* theWrappedObject) const { - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_insertFromMimeData(source)); + return ( theWrappedObject->isValid()); } -bool PythonQtWrapper_QTextEdit::isReadOnly(QTextEdit* theWrappedObject) const +bool PythonQtWrapper_QTextBlock::isVisible(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->isReadOnly()); + return ( theWrappedObject->isVisible()); } -bool PythonQtWrapper_QTextEdit::isUndoRedoEnabled(QTextEdit* theWrappedObject) const +QTextLayout* PythonQtWrapper_QTextBlock::layout(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->isUndoRedoEnabled()); + return ( theWrappedObject->layout()); } -int PythonQtWrapper_QTextEdit::lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextBlock::length(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->lineWrapColumnOrWidth()); + return ( theWrappedObject->length()); } -QTextEdit::LineWrapMode PythonQtWrapper_QTextEdit::lineWrapMode(QTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextBlock::lineCount(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->lineWrapMode()); + return ( theWrappedObject->lineCount()); } -QVariant PythonQtWrapper_QTextEdit::loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name) +QTextBlock PythonQtWrapper_QTextBlock::next(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->loadResource(type, name)); + return ( theWrappedObject->next()); } -void PythonQtWrapper_QTextEdit::mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier) +bool PythonQtWrapper_QTextBlock::__ne__(QTextBlock* theWrappedObject, const QTextBlock& o) const { - ( theWrappedObject->mergeCurrentCharFormat(modifier)); + return ( (*theWrappedObject)!= o); } -void PythonQtWrapper_QTextEdit::moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode) +bool PythonQtWrapper_QTextBlock::__lt__(QTextBlock* theWrappedObject, const QTextBlock& o) const { - ( theWrappedObject->moveCursor(operation, mode)); + return ( (*theWrappedObject)< o); } -bool PythonQtWrapper_QTextEdit::overwriteMode(QTextEdit* theWrappedObject) const +bool PythonQtWrapper_QTextBlock::__eq__(QTextBlock* theWrappedObject, const QTextBlock& o) const { - return ( theWrappedObject->overwriteMode()); + return ( (*theWrappedObject)== o); } -QString PythonQtWrapper_QTextEdit::placeholderText(QTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextBlock::position(QTextBlock* theWrappedObject) const { - return ( theWrappedObject->placeholderText()); + return ( theWrappedObject->position()); } -void PythonQtWrapper_QTextEdit::print(QTextEdit* theWrappedObject, QPagedPaintDevice* printer) const +QTextBlock PythonQtWrapper_QTextBlock::previous(QTextBlock* theWrappedObject) const { - ( theWrappedObject->print(printer)); + return ( theWrappedObject->previous()); } -void PythonQtWrapper_QTextEdit::setAcceptRichText(QTextEdit* theWrappedObject, bool accept) +int PythonQtWrapper_QTextBlock::revision(QTextBlock* theWrappedObject) const { - ( theWrappedObject->setAcceptRichText(accept)); + return ( theWrappedObject->revision()); } -void PythonQtWrapper_QTextEdit::setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features) +void PythonQtWrapper_QTextBlock::setLineCount(QTextBlock* theWrappedObject, int count) { - ( theWrappedObject->setAutoFormatting(features)); + ( theWrappedObject->setLineCount(count)); } -void PythonQtWrapper_QTextEdit::setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format) +void PythonQtWrapper_QTextBlock::setRevision(QTextBlock* theWrappedObject, int rev) { - ( theWrappedObject->setCurrentCharFormat(format)); + ( theWrappedObject->setRevision(rev)); } -void PythonQtWrapper_QTextEdit::setCursorWidth(QTextEdit* theWrappedObject, int width) +void PythonQtWrapper_QTextBlock::setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data) { - ( theWrappedObject->setCursorWidth(width)); + ( theWrappedObject->setUserData(data)); } -void PythonQtWrapper_QTextEdit::setDocument(QTextEdit* theWrappedObject, QTextDocument* document) +void PythonQtWrapper_QTextBlock::setUserState(QTextBlock* theWrappedObject, int state) { - ( theWrappedObject->setDocument(document)); + ( theWrappedObject->setUserState(state)); } -void PythonQtWrapper_QTextEdit::setDocumentTitle(QTextEdit* theWrappedObject, const QString& title) +void PythonQtWrapper_QTextBlock::setVisible(QTextBlock* theWrappedObject, bool visible) { - ( theWrappedObject->setDocumentTitle(title)); + ( theWrappedObject->setVisible(visible)); } -void PythonQtWrapper_QTextEdit::setExtraSelections(QTextEdit* theWrappedObject, const QList& selections) +QString PythonQtWrapper_QTextBlock::text(QTextBlock* theWrappedObject) const { - ( theWrappedObject->setExtraSelections(selections)); + return ( theWrappedObject->text()); } -void PythonQtWrapper_QTextEdit::setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w) +Qt::LayoutDirection PythonQtWrapper_QTextBlock::textDirection(QTextBlock* theWrappedObject) const { - ( theWrappedObject->setLineWrapColumnOrWidth(w)); + return ( theWrappedObject->textDirection()); } -void PythonQtWrapper_QTextEdit::setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode) +QVector PythonQtWrapper_QTextBlock::textFormats(QTextBlock* theWrappedObject) const { - ( theWrappedObject->setLineWrapMode(mode)); + return ( theWrappedObject->textFormats()); } -void PythonQtWrapper_QTextEdit::setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite) +QTextList* PythonQtWrapper_QTextBlock::textList(QTextBlock* theWrappedObject) const { - ( theWrappedObject->setOverwriteMode(overwrite)); + return ( theWrappedObject->textList()); } -void PythonQtWrapper_QTextEdit::setPlaceholderText(QTextEdit* theWrappedObject, const QString& placeholderText) +QTextBlockUserData* PythonQtWrapper_QTextBlock::userData(QTextBlock* theWrappedObject) const { - ( theWrappedObject->setPlaceholderText(placeholderText)); + return ( theWrappedObject->userData()); } -void PythonQtWrapper_QTextEdit::setReadOnly(QTextEdit* theWrappedObject, bool ro) +int PythonQtWrapper_QTextBlock::userState(QTextBlock* theWrappedObject) const { - ( theWrappedObject->setReadOnly(ro)); + return ( theWrappedObject->userState()); } -void PythonQtWrapper_QTextEdit::setTabChangesFocus(QTextEdit* theWrappedObject, bool b) -{ - ( theWrappedObject->setTabChangesFocus(b)); -} -void PythonQtWrapper_QTextEdit::setTabStopDistance(QTextEdit* theWrappedObject, qreal distance) -{ - ( theWrappedObject->setTabStopDistance(distance)); -} -void PythonQtWrapper_QTextEdit::setTabStopWidth(QTextEdit* theWrappedObject, int width) -{ - ( theWrappedObject->setTabStopWidth(width)); +PythonQtShell_QTextBlockFormat::~PythonQtShell_QTextBlockFormat() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } } +QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat() +{ +return new PythonQtShell_QTextBlockFormat(); } -void PythonQtWrapper_QTextEdit::setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor) -{ - ( theWrappedObject->setTextCursor(cursor)); -} +QTextBlockFormat* PythonQtWrapper_QTextBlockFormat::new_QTextBlockFormat(const QTextFormat& fmt) +{ +return new PythonQtShell_QTextBlockFormat(fmt); } -void PythonQtWrapper_QTextEdit::setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags) +Qt::Alignment PythonQtWrapper_QTextBlockFormat::alignment(QTextBlockFormat* theWrappedObject) const { - ( theWrappedObject->setTextInteractionFlags(flags)); + return ( theWrappedObject->alignment()); } -void PythonQtWrapper_QTextEdit::setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable) +qreal PythonQtWrapper_QTextBlockFormat::bottomMargin(QTextBlockFormat* theWrappedObject) const { - ( theWrappedObject->setUndoRedoEnabled(enable)); + return ( theWrappedObject->bottomMargin()); } -void PythonQtWrapper_QTextEdit::setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy) +int PythonQtWrapper_QTextBlockFormat::indent(QTextBlockFormat* theWrappedObject) const { - ( theWrappedObject->setWordWrapMode(policy)); + return ( theWrappedObject->indent()); } -bool PythonQtWrapper_QTextEdit::tabChangesFocus(QTextEdit* theWrappedObject) const +bool PythonQtWrapper_QTextBlockFormat::isValid(QTextBlockFormat* theWrappedObject) const { - return ( theWrappedObject->tabChangesFocus()); + return ( theWrappedObject->isValid()); } -qreal PythonQtWrapper_QTextEdit::tabStopDistance(QTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QTextBlockFormat::leftMargin(QTextBlockFormat* theWrappedObject) const { - return ( theWrappedObject->tabStopDistance()); + return ( theWrappedObject->leftMargin()); } -int PythonQtWrapper_QTextEdit::tabStopWidth(QTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject) const { - return ( theWrappedObject->tabStopWidth()); + return ( theWrappedObject->lineHeight()); } -QColor PythonQtWrapper_QTextEdit::textBackgroundColor(QTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QTextBlockFormat::lineHeight(QTextBlockFormat* theWrappedObject, qreal scriptLineHeight, qreal scaling) const { - return ( theWrappedObject->textBackgroundColor()); + return ( theWrappedObject->lineHeight(scriptLineHeight, scaling)); } -QColor PythonQtWrapper_QTextEdit::textColor(QTextEdit* theWrappedObject) const +int PythonQtWrapper_QTextBlockFormat::lineHeightType(QTextBlockFormat* theWrappedObject) const { - return ( theWrappedObject->textColor()); + return ( theWrappedObject->lineHeightType()); } -QTextCursor PythonQtWrapper_QTextEdit::textCursor(QTextEdit* theWrappedObject) const +bool PythonQtWrapper_QTextBlockFormat::nonBreakableLines(QTextBlockFormat* theWrappedObject) const { - return ( theWrappedObject->textCursor()); + return ( theWrappedObject->nonBreakableLines()); } -Qt::TextInteractionFlags PythonQtWrapper_QTextEdit::textInteractionFlags(QTextEdit* theWrappedObject) const +QTextFormat::PageBreakFlags PythonQtWrapper_QTextBlockFormat::pageBreakPolicy(QTextBlockFormat* theWrappedObject) const { - return ( theWrappedObject->textInteractionFlags()); + return ( theWrappedObject->pageBreakPolicy()); } -QString PythonQtWrapper_QTextEdit::toHtml(QTextEdit* theWrappedObject) const +qreal PythonQtWrapper_QTextBlockFormat::rightMargin(QTextBlockFormat* theWrappedObject) const { - return ( theWrappedObject->toHtml()); + return ( theWrappedObject->rightMargin()); } -QString PythonQtWrapper_QTextEdit::toPlainText(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextBlockFormat::setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment) { - return ( theWrappedObject->toPlainText()); + ( theWrappedObject->setAlignment(alignment)); } -QTextOption::WrapMode PythonQtWrapper_QTextEdit::wordWrapMode(QTextEdit* theWrappedObject) const +void PythonQtWrapper_QTextBlockFormat::setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin) { - return ( theWrappedObject->wordWrapMode()); + ( theWrappedObject->setBottomMargin(margin)); } -void PythonQtWrapper_QTextEdit::zoomInF(QTextEdit* theWrappedObject, float range) +void PythonQtWrapper_QTextBlockFormat::setIndent(QTextBlockFormat* theWrappedObject, int indent) { - ( ((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->promoted_zoomInF(range)); -} - - - -PythonQtShell_QTextEdit__ExtraSelection::~PythonQtShell_QTextEdit__ExtraSelection() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } + ( theWrappedObject->setIndent(indent)); } -QTextEdit::ExtraSelection* PythonQtWrapper_QTextEdit__ExtraSelection::new_QTextEdit__ExtraSelection() -{ -return new PythonQtShell_QTextEdit__ExtraSelection(); } - - - -QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment() -{ -return new QTextFragment(); } - -QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment(const QTextFragment& o) -{ -return new QTextFragment(o); } -QTextCharFormat PythonQtWrapper_QTextFragment::charFormat(QTextFragment* theWrappedObject) const +void PythonQtWrapper_QTextBlockFormat::setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin) { - return ( theWrappedObject->charFormat()); + ( theWrappedObject->setLeftMargin(margin)); } -int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const +void PythonQtWrapper_QTextBlockFormat::setLineHeight(QTextBlockFormat* theWrappedObject, qreal height, int heightType) { - return ( theWrappedObject->charFormatIndex()); + ( theWrappedObject->setLineHeight(height, heightType)); } -bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const +void PythonQtWrapper_QTextBlockFormat::setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b) { - return ( theWrappedObject->contains(position)); + ( theWrappedObject->setNonBreakableLines(b)); } -QList PythonQtWrapper_QTextFragment::glyphRuns(QTextFragment* theWrappedObject, int from, int length) const +void PythonQtWrapper_QTextBlockFormat::setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) { - return ( theWrappedObject->glyphRuns(from, length)); + ( theWrappedObject->setPageBreakPolicy(flags)); } -bool PythonQtWrapper_QTextFragment::isValid(QTextFragment* theWrappedObject) const +void PythonQtWrapper_QTextBlockFormat::setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin) { - return ( theWrappedObject->isValid()); + ( theWrappedObject->setRightMargin(margin)); } -int PythonQtWrapper_QTextFragment::length(QTextFragment* theWrappedObject) const +void PythonQtWrapper_QTextBlockFormat::setTabPositions(QTextBlockFormat* theWrappedObject, const QList& tabs) { - return ( theWrappedObject->length()); + ( theWrappedObject->setTabPositions(tabs)); } -bool PythonQtWrapper_QTextFragment::__ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const +void PythonQtWrapper_QTextBlockFormat::setTextIndent(QTextBlockFormat* theWrappedObject, qreal aindent) { - return ( (*theWrappedObject)!= o); + ( theWrappedObject->setTextIndent(aindent)); } -bool PythonQtWrapper_QTextFragment::__lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const +void PythonQtWrapper_QTextBlockFormat::setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin) { - return ( (*theWrappedObject)< o); + ( theWrappedObject->setTopMargin(margin)); } -bool PythonQtWrapper_QTextFragment::__eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const +QList PythonQtWrapper_QTextBlockFormat::tabPositions(QTextBlockFormat* theWrappedObject) const { - return ( (*theWrappedObject)== o); + return ( theWrappedObject->tabPositions()); } -int PythonQtWrapper_QTextFragment::position(QTextFragment* theWrappedObject) const +qreal PythonQtWrapper_QTextBlockFormat::textIndent(QTextBlockFormat* theWrappedObject) const { - return ( theWrappedObject->position()); + return ( theWrappedObject->textIndent()); } -QString PythonQtWrapper_QTextFragment::text(QTextFragment* theWrappedObject) const +qreal PythonQtWrapper_QTextBlockFormat::topMargin(QTextBlockFormat* theWrappedObject) const { - return ( theWrappedObject->text()); + return ( theWrappedObject->topMargin()); } -PythonQtShell_QTextFrame::~PythonQtShell_QTextFrame() { +PythonQtShell_QTextBlockGroup::~PythonQtShell_QTextBlockGroup() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -void PythonQtShell_QTextFrame::childEvent(QChildEvent* event0) +void PythonQtShell_QTextBlockGroup::blockFormatChanged(const QTextBlock& block0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("blockFormatChanged"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&block0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBlockGroup::blockFormatChanged(block0); +} +void PythonQtShell_QTextBlockGroup::blockInserted(const QTextBlock& block0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("blockInserted"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&block0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBlockGroup::blockInserted(block0); +} +void PythonQtShell_QTextBlockGroup::blockRemoved(const QTextBlock& block0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("blockRemoved"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QTextBlock&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&block0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QTextBlockGroup::blockRemoved(block0); +} +void PythonQtShell_QTextBlockGroup::childEvent(QChildEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15507,9 +11304,9 @@ if (_wrapper) { } } } - QTextFrame::childEvent(event0); + QTextBlockGroup::childEvent(event0); } -void PythonQtShell_QTextFrame::customEvent(QEvent* event0) +void PythonQtShell_QTextBlockGroup::customEvent(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15529,9 +11326,9 @@ if (_wrapper) { } } } - QTextFrame::customEvent(event0); + QTextBlockGroup::customEvent(event0); } -bool PythonQtShell_QTextFrame::event(QEvent* event0) +bool PythonQtShell_QTextBlockGroup::event(QEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15562,9 +11359,9 @@ if (_wrapper) { } } } - return QTextFrame::event(event0); + return QTextBlockGroup::event(event0); } -bool PythonQtShell_QTextFrame::eventFilter(QObject* watched0, QEvent* event1) +bool PythonQtShell_QTextBlockGroup::eventFilter(QObject* watched0, QEvent* event1) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15595,9 +11392,9 @@ if (_wrapper) { } } } - return QTextFrame::eventFilter(watched0, event1); + return QTextBlockGroup::eventFilter(watched0, event1); } -void PythonQtShell_QTextFrame::timerEvent(QTimerEvent* event0) +void PythonQtShell_QTextBlockGroup::timerEvent(QTimerEvent* event0) { if (_wrapper) { PYTHONQT_GIL_SCOPE @@ -15617,281 +11414,53 @@ if (_wrapper) { } } } - QTextFrame::timerEvent(event0); + QTextBlockGroup::timerEvent(event0); } -QTextFrame* PythonQtWrapper_QTextFrame::new_QTextFrame(QTextDocument* doc) +QTextBlockGroup* PythonQtWrapper_QTextBlockGroup::new_QTextBlockGroup(QTextDocument* doc) { -return new PythonQtShell_QTextFrame(doc); } +return new PythonQtShell_QTextBlockGroup(doc); } -const QMetaObject* PythonQtShell_QTextFrame::metaObject() const { +const QMetaObject* PythonQtShell_QTextBlockGroup::metaObject() const { if (QObject::d_ptr->metaObject) { return QObject::d_ptr->dynamicMetaObject(); } else if (_wrapper) { - return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextFrame::staticMetaObject); + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QTextBlockGroup::staticMetaObject); } else { - return &QTextFrame::staticMetaObject; + return &QTextBlockGroup::staticMetaObject; } } -int PythonQtShell_QTextFrame::qt_metacall(QMetaObject::Call call, int id, void** args) { - int result = QTextFrame::qt_metacall(call, id, args); +int PythonQtShell_QTextBlockGroup::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QTextBlockGroup::qt_metacall(call, id, args); return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; } -QTextFrame::iterator PythonQtWrapper_QTextFrame::begin(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->begin()); -} - -QList PythonQtWrapper_QTextFrame::childFrames(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->childFrames()); -} - -QTextFrame::iterator PythonQtWrapper_QTextFrame::end(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->end()); -} - -QTextCursor PythonQtWrapper_QTextFrame::firstCursorPosition(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->firstCursorPosition()); -} - -int PythonQtWrapper_QTextFrame::firstPosition(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->firstPosition()); -} - -QTextFrameFormat PythonQtWrapper_QTextFrame::frameFormat(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->frameFormat()); -} - -QTextCursor PythonQtWrapper_QTextFrame::lastCursorPosition(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->lastCursorPosition()); -} - -int PythonQtWrapper_QTextFrame::lastPosition(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->lastPosition()); -} - -QTextFrame* PythonQtWrapper_QTextFrame::parentFrame(QTextFrame* theWrappedObject) const -{ - return ( theWrappedObject->parentFrame()); -} - -void PythonQtWrapper_QTextFrame::setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format) -{ - ( theWrappedObject->setFrameFormat(format)); -} - - - -PythonQtShell_QTextFrameFormat::~PythonQtShell_QTextFrameFormat() { - PythonQtPrivate* priv = PythonQt::priv(); - if (priv) { priv->shellClassDeleted(this); } -} -QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat() -{ -return new PythonQtShell_QTextFrameFormat(); } - -QTextFrameFormat* PythonQtWrapper_QTextFrameFormat::new_QTextFrameFormat(const QTextFormat& fmt) -{ -return new PythonQtShell_QTextFrameFormat(fmt); } - -qreal PythonQtWrapper_QTextFrameFormat::border(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->border()); -} - -QBrush PythonQtWrapper_QTextFrameFormat::borderBrush(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->borderBrush()); -} - -QTextFrameFormat::BorderStyle PythonQtWrapper_QTextFrameFormat::borderStyle(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->borderStyle()); -} - -qreal PythonQtWrapper_QTextFrameFormat::bottomMargin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->bottomMargin()); -} - -QTextLength PythonQtWrapper_QTextFrameFormat::height(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -bool PythonQtWrapper_QTextFrameFormat::isValid(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -qreal PythonQtWrapper_QTextFrameFormat::leftMargin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->leftMargin()); -} - -qreal PythonQtWrapper_QTextFrameFormat::margin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->margin()); -} - -qreal PythonQtWrapper_QTextFrameFormat::padding(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->padding()); -} - -QTextFormat::PageBreakFlags PythonQtWrapper_QTextFrameFormat::pageBreakPolicy(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->pageBreakPolicy()); -} - -QTextFrameFormat::Position PythonQtWrapper_QTextFrameFormat::position(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->position()); -} - -qreal PythonQtWrapper_QTextFrameFormat::rightMargin(QTextFrameFormat* theWrappedObject) const -{ - return ( theWrappedObject->rightMargin()); -} - -void PythonQtWrapper_QTextFrameFormat::setBorder(QTextFrameFormat* theWrappedObject, qreal border) -{ - ( theWrappedObject->setBorder(border)); -} - -void PythonQtWrapper_QTextFrameFormat::setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush) -{ - ( theWrappedObject->setBorderBrush(brush)); -} - -void PythonQtWrapper_QTextFrameFormat::setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style) -{ - ( theWrappedObject->setBorderStyle(style)); -} - -void PythonQtWrapper_QTextFrameFormat::setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setBottomMargin(margin)); -} - -void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height) -{ - ( theWrappedObject->setHeight(height)); -} - -void PythonQtWrapper_QTextFrameFormat::setHeight(QTextFrameFormat* theWrappedObject, qreal height) -{ - ( theWrappedObject->setHeight(height)); -} - -void PythonQtWrapper_QTextFrameFormat::setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setLeftMargin(margin)); -} - -void PythonQtWrapper_QTextFrameFormat::setMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setMargin(margin)); -} - -void PythonQtWrapper_QTextFrameFormat::setPadding(QTextFrameFormat* theWrappedObject, qreal padding) -{ - ( theWrappedObject->setPadding(padding)); -} - -void PythonQtWrapper_QTextFrameFormat::setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags) -{ - ( theWrappedObject->setPageBreakPolicy(flags)); -} - -void PythonQtWrapper_QTextFrameFormat::setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f) -{ - ( theWrappedObject->setPosition(f)); -} - -void PythonQtWrapper_QTextFrameFormat::setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setRightMargin(margin)); -} - -void PythonQtWrapper_QTextFrameFormat::setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin) -{ - ( theWrappedObject->setTopMargin(margin)); -} - -void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length) +void PythonQtWrapper_QTextBlockGroup::blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block) { - ( theWrappedObject->setWidth(length)); + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockFormatChanged(block)); } -void PythonQtWrapper_QTextFrameFormat::setWidth(QTextFrameFormat* theWrappedObject, qreal width) +void PythonQtWrapper_QTextBlockGroup::blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block) { - ( theWrappedObject->setWidth(width)); + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockInserted(block)); } -qreal PythonQtWrapper_QTextFrameFormat::topMargin(QTextFrameFormat* theWrappedObject) const +QList PythonQtWrapper_QTextBlockGroup::blockList(QTextBlockGroup* theWrappedObject) const { - return ( theWrappedObject->topMargin()); + return ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockList()); } -QTextLength PythonQtWrapper_QTextFrameFormat::width(QTextFrameFormat* theWrappedObject) const +void PythonQtWrapper_QTextBlockGroup::blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block) { - return ( theWrappedObject->width()); + ( ((PythonQtPublicPromoter_QTextBlockGroup*)theWrappedObject)->promoted_blockRemoved(block)); } -PythonQtShell_QTextImageFormat::~PythonQtShell_QTextImageFormat() { +PythonQtShell_QTextBlockUserData::~PythonQtShell_QTextBlockUserData() { PythonQtPrivate* priv = PythonQt::priv(); if (priv) { priv->shellClassDeleted(this); } } -QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat() -{ -return new PythonQtShell_QTextImageFormat(); } - -QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat(const QTextFormat& format) +QTextBlockUserData* PythonQtWrapper_QTextBlockUserData::new_QTextBlockUserData() { -return new PythonQtShell_QTextImageFormat(format); } - -qreal PythonQtWrapper_QTextImageFormat::height(QTextImageFormat* theWrappedObject) const -{ - return ( theWrappedObject->height()); -} - -bool PythonQtWrapper_QTextImageFormat::isValid(QTextImageFormat* theWrappedObject) const -{ - return ( theWrappedObject->isValid()); -} - -QString PythonQtWrapper_QTextImageFormat::name(QTextImageFormat* theWrappedObject) const -{ - return ( theWrappedObject->name()); -} - -void PythonQtWrapper_QTextImageFormat::setHeight(QTextImageFormat* theWrappedObject, qreal height) -{ - ( theWrappedObject->setHeight(height)); -} - -void PythonQtWrapper_QTextImageFormat::setName(QTextImageFormat* theWrappedObject, const QString& name) -{ - ( theWrappedObject->setName(name)); -} - -void PythonQtWrapper_QTextImageFormat::setWidth(QTextImageFormat* theWrappedObject, qreal width) -{ - ( theWrappedObject->setWidth(width)); -} - -qreal PythonQtWrapper_QTextImageFormat::width(QTextImageFormat* theWrappedObject) const -{ - return ( theWrappedObject->width()); -} +return new PythonQtShell_QTextBlockUserData(); } diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui10.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui9.h similarity index 60% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui10.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui9.h index f58c76561..cff81ae70 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui10.h +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui9.h @@ -2,33 +2,31 @@ #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 @@ -44,51 +42,546 @@ #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_QStyleOptionTitleBar : public QStyleOptionTitleBar +{ +public: + PythonQtShell_QStyleOptionTitleBar():QStyleOptionTitleBar(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTitleBar(const QStyleOptionTitleBar& other):QStyleOptionTitleBar(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionTitleBar(int version):QStyleOptionTitleBar(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionTitleBar(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionTitleBar : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ) +enum StyleOptionType{ + Type = QStyleOptionTitleBar::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionTitleBar::Version}; +public Q_SLOTS: +QStyleOptionTitleBar* new_QStyleOptionTitleBar(); +QStyleOptionTitleBar* new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other); +QStyleOptionTitleBar* new_QStyleOptionTitleBar(int version); +void delete_QStyleOptionTitleBar(QStyleOptionTitleBar* obj) { delete obj; } +void py_set_icon(QStyleOptionTitleBar* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->icon; } +void py_set_text(QStyleOptionTitleBar* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->text; } +void py_set_titleBarFlags(QStyleOptionTitleBar* theWrappedObject, Qt::WindowFlags titleBarFlags){ theWrappedObject->titleBarFlags = titleBarFlags; } +Qt::WindowFlags py_get_titleBarFlags(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->titleBarFlags; } +void py_set_titleBarState(QStyleOptionTitleBar* theWrappedObject, int titleBarState){ theWrappedObject->titleBarState = titleBarState; } +int py_get_titleBarState(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->titleBarState; } +}; + + + + + +class PythonQtShell_QStyleOptionToolBar : public QStyleOptionToolBar +{ +public: + PythonQtShell_QStyleOptionToolBar():QStyleOptionToolBar(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBar(const QStyleOptionToolBar& other):QStyleOptionToolBar(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBar(int version):QStyleOptionToolBar(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionToolBar(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionToolBar : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ToolBarFeature ToolBarPosition ) +Q_FLAGS(ToolBarFeatures ) +enum StyleOptionType{ + Type = QStyleOptionToolBar::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionToolBar::Version}; +enum ToolBarFeature{ + None = QStyleOptionToolBar::None, Movable = QStyleOptionToolBar::Movable}; +enum ToolBarPosition{ + Beginning = QStyleOptionToolBar::Beginning, Middle = QStyleOptionToolBar::Middle, End = QStyleOptionToolBar::End, OnlyOne = QStyleOptionToolBar::OnlyOne}; +Q_DECLARE_FLAGS(ToolBarFeatures, ToolBarFeature) +public Q_SLOTS: +QStyleOptionToolBar* new_QStyleOptionToolBar(); +QStyleOptionToolBar* new_QStyleOptionToolBar(const QStyleOptionToolBar& other); +QStyleOptionToolBar* new_QStyleOptionToolBar(int version); +void delete_QStyleOptionToolBar(QStyleOptionToolBar* obj) { delete obj; } +void py_set_features(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarFeatures features){ theWrappedObject->features = features; } +QStyleOptionToolBar::ToolBarFeatures py_get_features(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->features; } +void py_set_lineWidth(QStyleOptionToolBar* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } +int py_get_lineWidth(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->lineWidth; } +void py_set_midLineWidth(QStyleOptionToolBar* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } +int py_get_midLineWidth(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->midLineWidth; } +void py_set_positionOfLine(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarPosition positionOfLine){ theWrappedObject->positionOfLine = positionOfLine; } +QStyleOptionToolBar::ToolBarPosition py_get_positionOfLine(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->positionOfLine; } +void py_set_positionWithinLine(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarPosition positionWithinLine){ theWrappedObject->positionWithinLine = positionWithinLine; } +QStyleOptionToolBar::ToolBarPosition py_get_positionWithinLine(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->positionWithinLine; } +void py_set_toolBarArea(QStyleOptionToolBar* theWrappedObject, Qt::ToolBarArea toolBarArea){ theWrappedObject->toolBarArea = toolBarArea; } +Qt::ToolBarArea py_get_toolBarArea(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->toolBarArea; } +}; + + + + + +class PythonQtShell_QStyleOptionToolBox : public QStyleOptionToolBox +{ +public: + PythonQtShell_QStyleOptionToolBox():QStyleOptionToolBox(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBox(const QStyleOptionToolBox& other):QStyleOptionToolBox(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolBox(int version):QStyleOptionToolBox(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionToolBox(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionToolBox : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SelectedPosition StyleOptionType StyleOptionVersion TabPosition ) +enum SelectedPosition{ + NotAdjacent = QStyleOptionToolBox::NotAdjacent, NextIsSelected = QStyleOptionToolBox::NextIsSelected, PreviousIsSelected = QStyleOptionToolBox::PreviousIsSelected}; +enum StyleOptionType{ + Type = QStyleOptionToolBox::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionToolBox::Version}; +enum TabPosition{ + Beginning = QStyleOptionToolBox::Beginning, Middle = QStyleOptionToolBox::Middle, End = QStyleOptionToolBox::End, OnlyOneTab = QStyleOptionToolBox::OnlyOneTab}; +public Q_SLOTS: +QStyleOptionToolBox* new_QStyleOptionToolBox(); +QStyleOptionToolBox* new_QStyleOptionToolBox(const QStyleOptionToolBox& other); +QStyleOptionToolBox* new_QStyleOptionToolBox(int version); +void delete_QStyleOptionToolBox(QStyleOptionToolBox* obj) { delete obj; } +void py_set_icon(QStyleOptionToolBox* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->icon; } +void py_set_position(QStyleOptionToolBox* theWrappedObject, QStyleOptionToolBox::TabPosition position){ theWrappedObject->position = position; } +QStyleOptionToolBox::TabPosition py_get_position(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->position; } +void py_set_selectedPosition(QStyleOptionToolBox* theWrappedObject, QStyleOptionToolBox::SelectedPosition selectedPosition){ theWrappedObject->selectedPosition = selectedPosition; } +QStyleOptionToolBox::SelectedPosition py_get_selectedPosition(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->selectedPosition; } +void py_set_text(QStyleOptionToolBox* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->text; } +}; + + + + + +class PythonQtShell_QStyleOptionToolBoxV2 : public QStyleOptionToolBoxV2 +{ +public: + PythonQtShell_QStyleOptionToolBoxV2():QStyleOptionToolBoxV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionToolBoxV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionToolBoxV2 : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(); +QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2& other) { +PythonQtShell_QStyleOptionToolBoxV2* a = new PythonQtShell_QStyleOptionToolBoxV2(); +*((QStyleOptionToolBoxV2*)a) = other; +return a; } +void delete_QStyleOptionToolBoxV2(QStyleOptionToolBoxV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionToolButton : public QStyleOptionToolButton +{ +public: + PythonQtShell_QStyleOptionToolButton():QStyleOptionToolButton(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolButton(const QStyleOptionToolButton& other):QStyleOptionToolButton(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionToolButton(int version):QStyleOptionToolButton(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionToolButton(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionToolButton : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleOptionType StyleOptionVersion ToolButtonFeature ) +Q_FLAGS(ToolButtonFeatures ) +enum StyleOptionType{ + Type = QStyleOptionToolButton::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionToolButton::Version}; +enum ToolButtonFeature{ + None = QStyleOptionToolButton::None, Arrow = QStyleOptionToolButton::Arrow, Menu = QStyleOptionToolButton::Menu, MenuButtonPopup = QStyleOptionToolButton::MenuButtonPopup, PopupDelay = QStyleOptionToolButton::PopupDelay, HasMenu = QStyleOptionToolButton::HasMenu}; +Q_DECLARE_FLAGS(ToolButtonFeatures, ToolButtonFeature) +public Q_SLOTS: +QStyleOptionToolButton* new_QStyleOptionToolButton(); +QStyleOptionToolButton* new_QStyleOptionToolButton(const QStyleOptionToolButton& other); +QStyleOptionToolButton* new_QStyleOptionToolButton(int version); +void delete_QStyleOptionToolButton(QStyleOptionToolButton* obj) { delete obj; } +void py_set_arrowType(QStyleOptionToolButton* theWrappedObject, Qt::ArrowType arrowType){ theWrappedObject->arrowType = arrowType; } +Qt::ArrowType py_get_arrowType(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->arrowType; } +void py_set_features(QStyleOptionToolButton* theWrappedObject, QStyleOptionToolButton::ToolButtonFeatures features){ theWrappedObject->features = features; } +QStyleOptionToolButton::ToolButtonFeatures py_get_features(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->features; } +void py_set_font(QStyleOptionToolButton* theWrappedObject, QFont font){ theWrappedObject->font = font; } +QFont py_get_font(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->font; } +void py_set_icon(QStyleOptionToolButton* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->icon; } +void py_set_iconSize(QStyleOptionToolButton* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } +QSize py_get_iconSize(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->iconSize; } +void py_set_pos(QStyleOptionToolButton* theWrappedObject, QPoint pos){ theWrappedObject->pos = pos; } +QPoint py_get_pos(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->pos; } +void py_set_text(QStyleOptionToolButton* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->text; } +void py_set_toolButtonStyle(QStyleOptionToolButton* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle){ theWrappedObject->toolButtonStyle = toolButtonStyle; } +Qt::ToolButtonStyle py_get_toolButtonStyle(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->toolButtonStyle; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItem : public QStyleOptionViewItem +{ +public: + PythonQtShell_QStyleOptionViewItem():QStyleOptionViewItem(),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionViewItem(const QStyleOptionViewItem& other):QStyleOptionViewItem(other),_wrapper(nullptr) {}; + PythonQtShell_QStyleOptionViewItem(int version):QStyleOptionViewItem(version),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionViewItem(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItem : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Position StyleOptionType StyleOptionVersion ViewItemFeature ViewItemPosition ) +Q_FLAGS(ViewItemFeatures ) +enum Position{ + Left = QStyleOptionViewItem::Left, Right = QStyleOptionViewItem::Right, Top = QStyleOptionViewItem::Top, Bottom = QStyleOptionViewItem::Bottom}; +enum StyleOptionType{ + Type = QStyleOptionViewItem::Type}; +enum StyleOptionVersion{ + Version = QStyleOptionViewItem::Version}; +enum ViewItemFeature{ + None = QStyleOptionViewItem::None, WrapText = QStyleOptionViewItem::WrapText, Alternate = QStyleOptionViewItem::Alternate, HasCheckIndicator = QStyleOptionViewItem::HasCheckIndicator, HasDisplay = QStyleOptionViewItem::HasDisplay, HasDecoration = QStyleOptionViewItem::HasDecoration}; +enum ViewItemPosition{ + Invalid = QStyleOptionViewItem::Invalid, Beginning = QStyleOptionViewItem::Beginning, Middle = QStyleOptionViewItem::Middle, End = QStyleOptionViewItem::End, OnlyOne = QStyleOptionViewItem::OnlyOne}; +Q_DECLARE_FLAGS(ViewItemFeatures, ViewItemFeature) +public Q_SLOTS: +QStyleOptionViewItem* new_QStyleOptionViewItem(); +QStyleOptionViewItem* new_QStyleOptionViewItem(const QStyleOptionViewItem& other); +QStyleOptionViewItem* new_QStyleOptionViewItem(int version); +void delete_QStyleOptionViewItem(QStyleOptionViewItem* obj) { delete obj; } +void py_set_backgroundBrush(QStyleOptionViewItem* theWrappedObject, QBrush backgroundBrush){ theWrappedObject->backgroundBrush = backgroundBrush; } +QBrush py_get_backgroundBrush(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->backgroundBrush; } +void py_set_checkState(QStyleOptionViewItem* theWrappedObject, Qt::CheckState checkState){ theWrappedObject->checkState = checkState; } +Qt::CheckState py_get_checkState(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->checkState; } +void py_set_decorationAlignment(QStyleOptionViewItem* theWrappedObject, Qt::Alignment decorationAlignment){ theWrappedObject->decorationAlignment = decorationAlignment; } +Qt::Alignment py_get_decorationAlignment(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationAlignment; } +void py_set_decorationPosition(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::Position decorationPosition){ theWrappedObject->decorationPosition = decorationPosition; } +QStyleOptionViewItem::Position py_get_decorationPosition(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationPosition; } +void py_set_decorationSize(QStyleOptionViewItem* theWrappedObject, QSize decorationSize){ theWrappedObject->decorationSize = decorationSize; } +QSize py_get_decorationSize(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationSize; } +void py_set_displayAlignment(QStyleOptionViewItem* theWrappedObject, Qt::Alignment displayAlignment){ theWrappedObject->displayAlignment = displayAlignment; } +Qt::Alignment py_get_displayAlignment(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->displayAlignment; } +void py_set_features(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::ViewItemFeatures features){ theWrappedObject->features = features; } +QStyleOptionViewItem::ViewItemFeatures py_get_features(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->features; } +void py_set_font(QStyleOptionViewItem* theWrappedObject, QFont font){ theWrappedObject->font = font; } +QFont py_get_font(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->font; } +void py_set_icon(QStyleOptionViewItem* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } +QIcon py_get_icon(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->icon; } +void py_set_index(QStyleOptionViewItem* theWrappedObject, QModelIndex index){ theWrappedObject->index = index; } +QModelIndex py_get_index(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->index; } +void py_set_locale(QStyleOptionViewItem* theWrappedObject, QLocale locale){ theWrappedObject->locale = locale; } +QLocale py_get_locale(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->locale; } +void py_set_showDecorationSelected(QStyleOptionViewItem* theWrappedObject, bool showDecorationSelected){ theWrappedObject->showDecorationSelected = showDecorationSelected; } +bool py_get_showDecorationSelected(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->showDecorationSelected; } +void py_set_text(QStyleOptionViewItem* theWrappedObject, QString text){ theWrappedObject->text = text; } +QString py_get_text(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->text; } +void py_set_textElideMode(QStyleOptionViewItem* theWrappedObject, Qt::TextElideMode textElideMode){ theWrappedObject->textElideMode = textElideMode; } +Qt::TextElideMode py_get_textElideMode(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->textElideMode; } +void py_set_viewItemPosition(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::ViewItemPosition viewItemPosition){ theWrappedObject->viewItemPosition = viewItemPosition; } +QStyleOptionViewItem::ViewItemPosition py_get_viewItemPosition(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->viewItemPosition; } +const QWidget* py_get_widget(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->widget; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItemV2 : public QStyleOptionViewItemV2 +{ +public: + PythonQtShell_QStyleOptionViewItemV2():QStyleOptionViewItemV2(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionViewItemV2(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItemV2 : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(); +QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(const QStyleOptionViewItemV2& other) { +PythonQtShell_QStyleOptionViewItemV2* a = new PythonQtShell_QStyleOptionViewItemV2(); +*((QStyleOptionViewItemV2*)a) = other; +return a; } +void delete_QStyleOptionViewItemV2(QStyleOptionViewItemV2* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItemV3 : public QStyleOptionViewItemV3 +{ +public: + PythonQtShell_QStyleOptionViewItemV3():QStyleOptionViewItemV3(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionViewItemV3(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItemV3 : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(); +QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(const QStyleOptionViewItemV3& other) { +PythonQtShell_QStyleOptionViewItemV3* a = new PythonQtShell_QStyleOptionViewItemV3(); +*((QStyleOptionViewItemV3*)a) = other; +return a; } +void delete_QStyleOptionViewItemV3(QStyleOptionViewItemV3* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QStyleOptionViewItemV4 : public QStyleOptionViewItemV4 +{ +public: + PythonQtShell_QStyleOptionViewItemV4():QStyleOptionViewItemV4(),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyleOptionViewItemV4(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QStyleOptionViewItemV4 : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(); +QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(const QStyleOptionViewItemV4& other) { +PythonQtShell_QStyleOptionViewItemV4* a = new PythonQtShell_QStyleOptionViewItemV4(); +*((QStyleOptionViewItemV4*)a) = other; +return a; } +void delete_QStyleOptionViewItemV4(QStyleOptionViewItemV4* obj) { delete obj; } +}; + + + + + +class PythonQtWrapper_QStylePainter : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QStylePainter* new_QStylePainter(); +QStylePainter* new_QStylePainter(QPaintDevice* pd, QWidget* w); +QStylePainter* new_QStylePainter(QWidget* w); +void delete_QStylePainter(QStylePainter* obj) { delete obj; } + bool begin(QStylePainter* theWrappedObject, QPaintDevice* pd, QWidget* w); + bool begin(QStylePainter* theWrappedObject, QWidget* w); + void drawComplexControl(QStylePainter* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex& opt); + void drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt); + void drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap); + void drawItemText(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole); + void drawPrimitive(QStylePainter* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption& opt); + QStyle* style(QStylePainter* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QStylePlugin : public QStylePlugin +{ +public: + PythonQtShell_QStylePlugin(QObject* parent = nullptr):QStylePlugin(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStylePlugin() override; + +void childEvent(QChildEvent* event) override; +QStyle* create(const QString& key) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStylePlugin : public QStylePlugin +{ public: +inline QStyle* py_q_create(const QString& key) { return this->create(key); } +}; + +class PythonQtWrapper_QStylePlugin : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QStylePlugin* new_QStylePlugin(QObject* parent = nullptr); +void delete_QStylePlugin(QStylePlugin* obj) { delete obj; } + QStyle* create(QStylePlugin* theWrappedObject, const QString& key); + QStyle* py_q_create(QStylePlugin* theWrappedObject, const QString& key){ return (((PythonQtPublicPromoter_QStylePlugin*)theWrappedObject)->py_q_create(key));} +}; + + + + + +class PythonQtShell_QStyledItemDelegate : public QStyledItemDelegate +{ +public: + PythonQtShell_QStyledItemDelegate(QObject* parent = nullptr):QStyledItemDelegate(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QStyledItemDelegate() override; + +void childEvent(QChildEvent* event) override; +QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void customEvent(QEvent* event) override; +void destroyEditor(QWidget* editor, const QModelIndex& index) const override; +QString displayText(const QVariant& value, const QLocale& locale) const override; +bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* object, QEvent* event) override; +bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index) override; +void initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const override; +void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override; +QVector paintingRoles() const override; +void setEditorData(QWidget* editor, const QModelIndex& index) const override; +void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const override; +QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override; +void timerEvent(QTimerEvent* event) override; +void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QStyledItemDelegate : public QStyledItemDelegate +{ public: +inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return this->editorEvent(event, model, option, index); } +inline bool promoted_eventFilter(QObject* object, QEvent* event) { return this->eventFilter(object, event); } +inline void promoted_initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const { this->initStyleOption(option, index); } +inline QWidget* py_q_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::createEditor(parent, option, index); } +inline QString py_q_displayText(const QVariant& value, const QLocale& locale) const { return QStyledItemDelegate::displayText(value, locale); } +inline bool py_q_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QStyledItemDelegate::editorEvent(event, model, option, index); } +inline bool py_q_eventFilter(QObject* object, QEvent* event) { return QStyledItemDelegate::eventFilter(object, event); } +inline void py_q_initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const { QStyledItemDelegate::initStyleOption(option, index); } +inline void py_q_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::paint(painter, option, index); } +inline void py_q_setEditorData(QWidget* editor, const QModelIndex& index) const { QStyledItemDelegate::setEditorData(editor, index); } +inline void py_q_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QStyledItemDelegate::setModelData(editor, model, index); } +inline QSize py_q_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::sizeHint(option, index); } +inline void py_q_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::updateEditorGeometry(editor, option, index); } +}; + +class PythonQtWrapper_QStyledItemDelegate : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QStyledItemDelegate* new_QStyledItemDelegate(QObject* parent = nullptr); +void delete_QStyledItemDelegate(QStyledItemDelegate* obj) { delete obj; } + QWidget* py_q_createEditor(QStyledItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_createEditor(parent, option, index));} + QString displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const; + QString py_q_displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_displayText(value, locale));} + bool py_q_editorEvent(QStyledItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index){ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_editorEvent(event, model, option, index));} + bool py_q_eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event){ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_eventFilter(object, event));} + void initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const; + void py_q_initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_initStyleOption(option, index));} + QItemEditorFactory* itemEditorFactory(QStyledItemDelegate* theWrappedObject) const; + void py_q_paint(QStyledItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_paint(painter, option, index));} + void py_q_setEditorData(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_setEditorData(editor, index));} + void setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory); + void py_q_setModelData(QStyledItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_setModelData(editor, model, index));} + QSize py_q_sizeHint(QStyledItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const{ return (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_sizeHint(option, index));} + void py_q_updateEditorGeometry(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const{ (((PythonQtPublicPromoter_QStyledItemDelegate*)theWrappedObject)->py_q_updateEditorGeometry(editor, option, index));} +}; + + + + + class PythonQtShell_QSurface : public QSurface { public: @@ -477,7 +970,6 @@ enum SelectionBehavior{ public Q_SLOTS: QTabBar* new_QTabBar(QWidget* parent = nullptr); void delete_QTabBar(QTabBar* obj) { delete obj; } - QString accessibleTabName(QTabBar* theWrappedObject, int index) const; int addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text); int addTab(QTabBar* theWrappedObject, const QString& text); bool autoHide(QTabBar* theWrappedObject) const; @@ -509,7 +1001,6 @@ void delete_QTabBar(QTabBar* obj) { delete obj; } void removeTab(QTabBar* theWrappedObject, int index); void py_q_resizeEvent(QTabBar* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QTabBar*)theWrappedObject)->py_q_resizeEvent(arg__1));} QTabBar::SelectionBehavior selectionBehaviorOnRemove(QTabBar* theWrappedObject) const; - void setAccessibleTabName(QTabBar* theWrappedObject, int index, const QString& name); void setAutoHide(QTabBar* theWrappedObject, bool hide); void setChangeCurrentOnDrag(QTabBar* theWrappedObject, bool change); void setDocumentMode(QTabBar* theWrappedObject, bool set); @@ -1531,958 +2022,3 @@ void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; } }; - - - -class PythonQtShell_QTextBrowser : public QTextBrowser -{ -public: - PythonQtShell_QTextBrowser(QWidget* parent = nullptr):QTextBrowser(parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QTextBrowser() override; - -void actionEvent(QActionEvent* event) override; -void backward() override; -bool canInsertFromMimeData(const QMimeData* source) const override; -void changeEvent(QEvent* e) override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* e) override; -QMimeData* createMimeDataFromSelection() const override; -void customEvent(QEvent* event) override; -int devType() const override; -void doSetTextCursor(const QTextCursor& cursor) override; -void dragEnterEvent(QDragEnterEvent* e) override; -void dragLeaveEvent(QDragLeaveEvent* e) override; -void dragMoveEvent(QDragMoveEvent* e) override; -void dropEvent(QDropEvent* e) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* e) override; -bool eventFilter(QObject* arg__1, QEvent* arg__2) override; -void focusInEvent(QFocusEvent* e) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* ev) override; -void forward() override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void home() override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery property) const override; -void insertFromMimeData(const QMimeData* source) override; -void keyPressEvent(QKeyEvent* ev) override; -void keyReleaseEvent(QKeyEvent* e) override; -void leaveEvent(QEvent* event) override; -QVariant loadResource(int type, const QUrl& name) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* e) override; -void mouseMoveEvent(QMouseEvent* ev) override; -void mousePressEvent(QMouseEvent* ev) override; -void mouseReleaseEvent(QMouseEvent* ev) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* e) override; -QPaintDevice* redirected(QPoint* offset) const override; -void reload() override; -void resizeEvent(QResizeEvent* e) override; -void scrollContentsBy(int dx, int dy) override; -void setSource(const QUrl& name) override; -void setVisible(bool visible) override; -void setupViewport(QWidget* viewport) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* arg__1) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* e) override; -bool viewportEvent(QEvent* arg__1) override; -QSize viewportSizeHint() const override; -void wheelEvent(QWheelEvent* e) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTextBrowser : public QTextBrowser -{ public: -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } -inline void promoted_focusOutEvent(QFocusEvent* ev) { this->focusOutEvent(ev); } -inline void promoted_keyPressEvent(QKeyEvent* ev) { this->keyPressEvent(ev); } -inline void promoted_mouseMoveEvent(QMouseEvent* ev) { this->mouseMoveEvent(ev); } -inline void promoted_mousePressEvent(QMouseEvent* ev) { this->mousePressEvent(ev); } -inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { this->mouseReleaseEvent(ev); } -inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } -inline void py_q_backward() { QTextBrowser::backward(); } -inline bool py_q_event(QEvent* e) { return QTextBrowser::event(e); } -inline bool py_q_focusNextPrevChild(bool next) { return QTextBrowser::focusNextPrevChild(next); } -inline void py_q_focusOutEvent(QFocusEvent* ev) { QTextBrowser::focusOutEvent(ev); } -inline void py_q_forward() { QTextBrowser::forward(); } -inline void py_q_home() { QTextBrowser::home(); } -inline void py_q_keyPressEvent(QKeyEvent* ev) { QTextBrowser::keyPressEvent(ev); } -inline QVariant py_q_loadResource(int type, const QUrl& name) { return QTextBrowser::loadResource(type, name); } -inline void py_q_mouseMoveEvent(QMouseEvent* ev) { QTextBrowser::mouseMoveEvent(ev); } -inline void py_q_mousePressEvent(QMouseEvent* ev) { QTextBrowser::mousePressEvent(ev); } -inline void py_q_mouseReleaseEvent(QMouseEvent* ev) { QTextBrowser::mouseReleaseEvent(ev); } -inline void py_q_paintEvent(QPaintEvent* e) { QTextBrowser::paintEvent(e); } -inline void py_q_reload() { QTextBrowser::reload(); } -inline void py_q_setSource(const QUrl& name) { QTextBrowser::setSource(name); } -}; - -class PythonQtWrapper_QTextBrowser : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QTextBrowser* new_QTextBrowser(QWidget* parent = nullptr); -void delete_QTextBrowser(QTextBrowser* obj) { delete obj; } - void py_q_backward(QTextBrowser* theWrappedObject){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_backward());} - int backwardHistoryCount(QTextBrowser* theWrappedObject) const; - void clearHistory(QTextBrowser* theWrappedObject); - bool py_q_event(QTextBrowser* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_event(e));} - bool py_q_focusNextPrevChild(QTextBrowser* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_focusNextPrevChild(next));} - void py_q_focusOutEvent(QTextBrowser* theWrappedObject, QFocusEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_focusOutEvent(ev));} - void py_q_forward(QTextBrowser* theWrappedObject){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_forward());} - int forwardHistoryCount(QTextBrowser* theWrappedObject) const; - QString historyTitle(QTextBrowser* theWrappedObject, int arg__1) const; - QUrl historyUrl(QTextBrowser* theWrappedObject, int arg__1) const; - void py_q_home(QTextBrowser* theWrappedObject){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_home());} - bool isBackwardAvailable(QTextBrowser* theWrappedObject) const; - bool isForwardAvailable(QTextBrowser* theWrappedObject) const; - void py_q_keyPressEvent(QTextBrowser* theWrappedObject, QKeyEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_keyPressEvent(ev));} - QVariant py_q_loadResource(QTextBrowser* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_loadResource(type, name));} - void py_q_mouseMoveEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_mouseMoveEvent(ev));} - void py_q_mousePressEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_mousePressEvent(ev));} - void py_q_mouseReleaseEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_mouseReleaseEvent(ev));} - bool openExternalLinks(QTextBrowser* theWrappedObject) const; - bool openLinks(QTextBrowser* theWrappedObject) const; - void py_q_paintEvent(QTextBrowser* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_paintEvent(e));} - void py_q_reload(QTextBrowser* theWrappedObject){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_reload());} - QStringList searchPaths(QTextBrowser* theWrappedObject) const; - void setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open); - void setOpenLinks(QTextBrowser* theWrappedObject, bool open); - void setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths); - void py_q_setSource(QTextBrowser* theWrappedObject, const QUrl& name){ (((PythonQtPublicPromoter_QTextBrowser*)theWrappedObject)->py_q_setSource(name));} - QUrl source(QTextBrowser* theWrappedObject) const; -}; - - - - - -class PythonQtShell_QTextCharFormat : public QTextCharFormat -{ -public: - PythonQtShell_QTextCharFormat():QTextCharFormat(),_wrapper(nullptr) {}; - PythonQtShell_QTextCharFormat(const QTextFormat& fmt):QTextCharFormat(fmt),_wrapper(nullptr) {}; - - ~PythonQtShell_QTextCharFormat(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextCharFormat : public QObject -{ Q_OBJECT -public: -Q_ENUMS(FontPropertiesInheritanceBehavior UnderlineStyle VerticalAlignment ) -enum FontPropertiesInheritanceBehavior{ - FontPropertiesSpecifiedOnly = QTextCharFormat::FontPropertiesSpecifiedOnly, FontPropertiesAll = QTextCharFormat::FontPropertiesAll}; -enum UnderlineStyle{ - NoUnderline = QTextCharFormat::NoUnderline, SingleUnderline = QTextCharFormat::SingleUnderline, DashUnderline = QTextCharFormat::DashUnderline, DotLine = QTextCharFormat::DotLine, DashDotLine = QTextCharFormat::DashDotLine, DashDotDotLine = QTextCharFormat::DashDotDotLine, WaveUnderline = QTextCharFormat::WaveUnderline, SpellCheckUnderline = QTextCharFormat::SpellCheckUnderline}; -enum VerticalAlignment{ - AlignNormal = QTextCharFormat::AlignNormal, AlignSuperScript = QTextCharFormat::AlignSuperScript, AlignSubScript = QTextCharFormat::AlignSubScript, AlignMiddle = QTextCharFormat::AlignMiddle, AlignTop = QTextCharFormat::AlignTop, AlignBottom = QTextCharFormat::AlignBottom, AlignBaseline = QTextCharFormat::AlignBaseline}; -public Q_SLOTS: -QTextCharFormat* new_QTextCharFormat(); -QTextCharFormat* new_QTextCharFormat(const QTextFormat& fmt); -QTextCharFormat* new_QTextCharFormat(const QTextCharFormat& other) { -PythonQtShell_QTextCharFormat* a = new PythonQtShell_QTextCharFormat(); -*((QTextCharFormat*)a) = other; -return a; } -void delete_QTextCharFormat(QTextCharFormat* obj) { delete obj; } - QString anchorHref(QTextCharFormat* theWrappedObject) const; - QStringList anchorNames(QTextCharFormat* theWrappedObject) const; - QFont font(QTextCharFormat* theWrappedObject) const; - QFont::Capitalization fontCapitalization(QTextCharFormat* theWrappedObject) const; - QString fontFamily(QTextCharFormat* theWrappedObject) const; - bool fontFixedPitch(QTextCharFormat* theWrappedObject) const; - QFont::HintingPreference fontHintingPreference(QTextCharFormat* theWrappedObject) const; - bool fontItalic(QTextCharFormat* theWrappedObject) const; - bool fontKerning(QTextCharFormat* theWrappedObject) const; - qreal fontLetterSpacing(QTextCharFormat* theWrappedObject) const; - QFont::SpacingType fontLetterSpacingType(QTextCharFormat* theWrappedObject) const; - bool fontOverline(QTextCharFormat* theWrappedObject) const; - qreal fontPointSize(QTextCharFormat* theWrappedObject) const; - int fontStretch(QTextCharFormat* theWrappedObject) const; - bool fontStrikeOut(QTextCharFormat* theWrappedObject) const; - QFont::StyleHint fontStyleHint(QTextCharFormat* theWrappedObject) const; - QFont::StyleStrategy fontStyleStrategy(QTextCharFormat* theWrappedObject) const; - bool fontUnderline(QTextCharFormat* theWrappedObject) const; - int fontWeight(QTextCharFormat* theWrappedObject) const; - qreal fontWordSpacing(QTextCharFormat* theWrappedObject) const; - bool isAnchor(QTextCharFormat* theWrappedObject) const; - bool isValid(QTextCharFormat* theWrappedObject) const; - void setAnchor(QTextCharFormat* theWrappedObject, bool anchor); - void setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value); - void setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names); - void setFont(QTextCharFormat* theWrappedObject, const QFont& font); - void setFont(QTextCharFormat* theWrappedObject, const QFont& font, QTextCharFormat::FontPropertiesInheritanceBehavior behavior); - void setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization); - void setFontFamily(QTextCharFormat* theWrappedObject, const QString& family); - void setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch); - void setFontHintingPreference(QTextCharFormat* theWrappedObject, QFont::HintingPreference hintingPreference); - void setFontItalic(QTextCharFormat* theWrappedObject, bool italic); - void setFontKerning(QTextCharFormat* theWrappedObject, bool enable); - void setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing); - void setFontLetterSpacingType(QTextCharFormat* theWrappedObject, QFont::SpacingType letterSpacingType); - void setFontOverline(QTextCharFormat* theWrappedObject, bool overline); - void setFontPointSize(QTextCharFormat* theWrappedObject, qreal size); - void setFontStretch(QTextCharFormat* theWrappedObject, int factor); - void setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut); - void setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy = QFont::PreferDefault); - void setFontStyleStrategy(QTextCharFormat* theWrappedObject, QFont::StyleStrategy strategy); - void setFontUnderline(QTextCharFormat* theWrappedObject, bool underline); - void setFontWeight(QTextCharFormat* theWrappedObject, int weight); - void setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing); - void setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan); - void setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan); - void setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen); - void setToolTip(QTextCharFormat* theWrappedObject, const QString& tip); - void setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color); - void setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style); - void setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment); - int tableCellColumnSpan(QTextCharFormat* theWrappedObject) const; - int tableCellRowSpan(QTextCharFormat* theWrappedObject) const; - QPen textOutline(QTextCharFormat* theWrappedObject) const; - QString toolTip(QTextCharFormat* theWrappedObject) const; - QColor underlineColor(QTextCharFormat* theWrappedObject) const; - QTextCharFormat::UnderlineStyle underlineStyle(QTextCharFormat* theWrappedObject) const; - QTextCharFormat::VerticalAlignment verticalAlignment(QTextCharFormat* theWrappedObject) const; - bool __nonzero__(QTextCharFormat* obj) { return !obj->isEmpty(); } -}; - - - - - -class PythonQtWrapper_QTextCursor : public QObject -{ Q_OBJECT -public: -Q_ENUMS(MoveMode MoveOperation SelectionType ) -enum MoveMode{ - MoveAnchor = QTextCursor::MoveAnchor, KeepAnchor = QTextCursor::KeepAnchor}; -enum MoveOperation{ - NoMove = QTextCursor::NoMove, Start = QTextCursor::Start, Up = QTextCursor::Up, StartOfLine = QTextCursor::StartOfLine, StartOfBlock = QTextCursor::StartOfBlock, StartOfWord = QTextCursor::StartOfWord, PreviousBlock = QTextCursor::PreviousBlock, PreviousCharacter = QTextCursor::PreviousCharacter, PreviousWord = QTextCursor::PreviousWord, Left = QTextCursor::Left, WordLeft = QTextCursor::WordLeft, End = QTextCursor::End, Down = QTextCursor::Down, EndOfLine = QTextCursor::EndOfLine, EndOfWord = QTextCursor::EndOfWord, EndOfBlock = QTextCursor::EndOfBlock, NextBlock = QTextCursor::NextBlock, NextCharacter = QTextCursor::NextCharacter, NextWord = QTextCursor::NextWord, Right = QTextCursor::Right, WordRight = QTextCursor::WordRight, NextCell = QTextCursor::NextCell, PreviousCell = QTextCursor::PreviousCell, NextRow = QTextCursor::NextRow, PreviousRow = QTextCursor::PreviousRow}; -enum SelectionType{ - WordUnderCursor = QTextCursor::WordUnderCursor, LineUnderCursor = QTextCursor::LineUnderCursor, BlockUnderCursor = QTextCursor::BlockUnderCursor, Document = QTextCursor::Document}; -public Q_SLOTS: -QTextCursor* new_QTextCursor(); -QTextCursor* new_QTextCursor(QTextDocument* document); -QTextCursor* new_QTextCursor(QTextFrame* frame); -QTextCursor* new_QTextCursor(const QTextBlock& block); -QTextCursor* new_QTextCursor(const QTextCursor& cursor); -void delete_QTextCursor(QTextCursor* obj) { delete obj; } - int anchor(QTextCursor* theWrappedObject) const; - bool atBlockEnd(QTextCursor* theWrappedObject) const; - bool atBlockStart(QTextCursor* theWrappedObject) const; - bool atEnd(QTextCursor* theWrappedObject) const; - bool atStart(QTextCursor* theWrappedObject) const; - void beginEditBlock(QTextCursor* theWrappedObject); - QTextBlock block(QTextCursor* theWrappedObject) const; - QTextCharFormat blockCharFormat(QTextCursor* theWrappedObject) const; - QTextBlockFormat blockFormat(QTextCursor* theWrappedObject) const; - int blockNumber(QTextCursor* theWrappedObject) const; - QTextCharFormat charFormat(QTextCursor* theWrappedObject) const; - void clearSelection(QTextCursor* theWrappedObject); - int columnNumber(QTextCursor* theWrappedObject) const; - QTextList* createList(QTextCursor* theWrappedObject, QTextListFormat::Style style); - QTextList* createList(QTextCursor* theWrappedObject, const QTextListFormat& format); - QTextFrame* currentFrame(QTextCursor* theWrappedObject) const; - QTextList* currentList(QTextCursor* theWrappedObject) const; - QTextTable* currentTable(QTextCursor* theWrappedObject) const; - void deleteChar(QTextCursor* theWrappedObject); - void deletePreviousChar(QTextCursor* theWrappedObject); - QTextDocument* document(QTextCursor* theWrappedObject) const; - void endEditBlock(QTextCursor* theWrappedObject); - bool hasComplexSelection(QTextCursor* theWrappedObject) const; - bool hasSelection(QTextCursor* theWrappedObject) const; - void insertBlock(QTextCursor* theWrappedObject); - void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format); - void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat); - void insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment); - QTextFrame* insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format); - void insertHtml(QTextCursor* theWrappedObject, const QString& html); - void insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name = QString()); - void insertImage(QTextCursor* theWrappedObject, const QString& name); - void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format); - void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment); - QTextList* insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style); - QTextList* insertList(QTextCursor* theWrappedObject, const QTextListFormat& format); - QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols); - QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format); - void insertText(QTextCursor* theWrappedObject, const QString& text); - void insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format); - bool isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const; - bool isNull(QTextCursor* theWrappedObject) const; - void joinPreviousEditBlock(QTextCursor* theWrappedObject); - bool keepPositionOnInsert(QTextCursor* theWrappedObject) const; - void mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier); - void mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier); - void mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier); - bool movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2 = QTextCursor::MoveAnchor, int n = 1); - bool __ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; - bool __lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; - bool __le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; - bool __eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; - bool __gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; - bool __ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; - int position(QTextCursor* theWrappedObject) const; - int positionInBlock(QTextCursor* theWrappedObject) const; - void removeSelectedText(QTextCursor* theWrappedObject); - void select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection); - QString selectedText(QTextCursor* theWrappedObject) const; - QTextDocumentFragment selection(QTextCursor* theWrappedObject) const; - int selectionEnd(QTextCursor* theWrappedObject) const; - int selectionStart(QTextCursor* theWrappedObject) const; - void setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format); - void setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format); - void setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format); - void setKeepPositionOnInsert(QTextCursor* theWrappedObject, bool b); - void setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); - void setVerticalMovementX(QTextCursor* theWrappedObject, int x); - void setVisualNavigation(QTextCursor* theWrappedObject, bool b); - void swap(QTextCursor* theWrappedObject, QTextCursor& other); - int verticalMovementX(QTextCursor* theWrappedObject) const; - bool visualNavigation(QTextCursor* theWrappedObject) const; - bool __nonzero__(QTextCursor* obj) { return !obj->isNull(); } -}; - - - - - -class PythonQtShell_QTextDocument : public QTextDocument -{ -public: - PythonQtShell_QTextDocument(QObject* parent = nullptr):QTextDocument(parent),_wrapper(nullptr) {}; - PythonQtShell_QTextDocument(const QString& text, QObject* parent = nullptr):QTextDocument(text, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QTextDocument() override; - -void childEvent(QChildEvent* event) override; -void clear() override; -QTextObject* createObject(const QTextFormat& f) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -QVariant loadResource(int type, const QUrl& name) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTextDocument : public QTextDocument -{ public: -inline QTextObject* promoted_createObject(const QTextFormat& f) { return this->createObject(f); } -inline QVariant promoted_loadResource(int type, const QUrl& name) { return this->loadResource(type, name); } -inline void py_q_clear() { QTextDocument::clear(); } -inline QTextObject* py_q_createObject(const QTextFormat& f) { return QTextDocument::createObject(f); } -inline QVariant py_q_loadResource(int type, const QUrl& name) { return QTextDocument::loadResource(type, name); } -}; - -class PythonQtWrapper_QTextDocument : public QObject -{ Q_OBJECT -public: -Q_ENUMS(FindFlag MetaInformation ResourceType Stacks ) -Q_FLAGS(FindFlags ) -enum FindFlag{ - FindBackward = QTextDocument::FindBackward, FindCaseSensitively = QTextDocument::FindCaseSensitively, FindWholeWords = QTextDocument::FindWholeWords}; -enum MetaInformation{ - DocumentTitle = QTextDocument::DocumentTitle, DocumentUrl = QTextDocument::DocumentUrl}; -enum ResourceType{ - HtmlResource = QTextDocument::HtmlResource, ImageResource = QTextDocument::ImageResource, StyleSheetResource = QTextDocument::StyleSheetResource, UserResource = QTextDocument::UserResource}; -enum Stacks{ - UndoStack = QTextDocument::UndoStack, RedoStack = QTextDocument::RedoStack, UndoAndRedoStacks = QTextDocument::UndoAndRedoStacks}; -Q_DECLARE_FLAGS(FindFlags, FindFlag) -public Q_SLOTS: -QTextDocument* new_QTextDocument(QObject* parent = nullptr); -QTextDocument* new_QTextDocument(const QString& text, QObject* parent = nullptr); -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; - QUrl baseUrl(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 py_q_clear(QTextDocument* theWrappedObject){ (((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->py_q_clear());} - void clearUndoRedoStacks(QTextDocument* theWrappedObject, QTextDocument::Stacks historyToClear = QTextDocument::UndoAndRedoStacks); - QTextDocument* clone(QTextDocument* theWrappedObject, QObject* parent = nullptr) const; - QTextObject* createObject(QTextDocument* theWrappedObject, const QTextFormat& f); - QTextObject* py_q_createObject(QTextDocument* theWrappedObject, const QTextFormat& f){ return (((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->py_q_createObject(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& cursor, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; - QTextCursor find(QTextDocument* theWrappedObject, const QRegExp& expr, int from = 0, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; - QTextCursor find(QTextDocument* theWrappedObject, const QRegularExpression& expr, const QTextCursor& cursor, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; - QTextCursor find(QTextDocument* theWrappedObject, const QRegularExpression& expr, int from = 0, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; - QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& cursor, QTextDocument::FindFlags options = QTextDocument::FindFlags()) const; - QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, int from = 0, QTextDocument::FindFlags options = QTextDocument::FindFlags()) 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); - QVariant py_q_loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->py_q_loadResource(type, 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 print(QTextDocument* theWrappedObject, QPagedPaintDevice* printer) 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 setBaseUrl(QTextDocument* theWrappedObject, const QUrl& url); - 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; - QString toRawText(QTextDocument* theWrappedObject) const; - void undo(QTextDocument* theWrappedObject, QTextCursor* cursor); - bool useDesignMetrics(QTextDocument* theWrappedObject) const; - bool __nonzero__(QTextDocument* obj) { return !obj->isEmpty(); } -}; - - - - - -class PythonQtWrapper_QTextDocumentFragment : public QObject -{ Q_OBJECT -public: -public Q_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; - bool __nonzero__(QTextDocumentFragment* obj) { return !obj->isEmpty(); } -}; - - - - - -class PythonQtWrapper_QTextDocumentWriter : public QObject -{ Q_OBJECT -public: -public Q_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 = nullptr):QTextEdit(parent),_wrapper(nullptr) {}; - PythonQtShell_QTextEdit(const QString& text, QWidget* parent = nullptr):QTextEdit(text, parent),_wrapper(nullptr) {}; - - ~PythonQtShell_QTextEdit() override; - -void actionEvent(QActionEvent* event) override; -bool canInsertFromMimeData(const QMimeData* source) const override; -void changeEvent(QEvent* e) override; -void childEvent(QChildEvent* event) override; -void closeEvent(QCloseEvent* event) override; -void contextMenuEvent(QContextMenuEvent* e) override; -QMimeData* createMimeDataFromSelection() const override; -void customEvent(QEvent* event) override; -int devType() const override; -void doSetTextCursor(const QTextCursor& cursor) override; -void dragEnterEvent(QDragEnterEvent* e) override; -void dragLeaveEvent(QDragLeaveEvent* e) override; -void dragMoveEvent(QDragMoveEvent* e) override; -void dropEvent(QDropEvent* e) override; -void enterEvent(QEvent* event) override; -bool event(QEvent* e) override; -bool eventFilter(QObject* arg__1, QEvent* arg__2) override; -void focusInEvent(QFocusEvent* e) override; -bool focusNextPrevChild(bool next) override; -void focusOutEvent(QFocusEvent* e) override; -bool hasHeightForWidth() const override; -int heightForWidth(int arg__1) const override; -void hideEvent(QHideEvent* event) override; -void initPainter(QPainter* painter) const override; -void inputMethodEvent(QInputMethodEvent* arg__1) override; -QVariant inputMethodQuery(Qt::InputMethodQuery property) const override; -void insertFromMimeData(const QMimeData* source) override; -void keyPressEvent(QKeyEvent* e) override; -void keyReleaseEvent(QKeyEvent* e) override; -void leaveEvent(QEvent* event) override; -QVariant loadResource(int type, const QUrl& name) override; -int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; -QSize minimumSizeHint() const override; -void mouseDoubleClickEvent(QMouseEvent* e) override; -void mouseMoveEvent(QMouseEvent* e) override; -void mousePressEvent(QMouseEvent* e) override; -void mouseReleaseEvent(QMouseEvent* e) override; -void moveEvent(QMoveEvent* event) override; -bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; -QPaintEngine* paintEngine() const override; -void paintEvent(QPaintEvent* e) override; -QPaintDevice* redirected(QPoint* offset) const override; -void resizeEvent(QResizeEvent* e) override; -void scrollContentsBy(int dx, int dy) override; -void setVisible(bool visible) override; -void setupViewport(QWidget* viewport) override; -QPainter* sharedPainter() const override; -void showEvent(QShowEvent* arg__1) override; -QSize sizeHint() const override; -void tabletEvent(QTabletEvent* event) override; -void timerEvent(QTimerEvent* e) override; -bool viewportEvent(QEvent* arg__1) override; -QSize viewportSizeHint() const override; -void wheelEvent(QWheelEvent* e) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtPublicPromoter_QTextEdit : public QTextEdit -{ public: -inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return this->canInsertFromMimeData(source); } -inline void promoted_changeEvent(QEvent* e) { this->changeEvent(e); } -inline void promoted_contextMenuEvent(QContextMenuEvent* e) { this->contextMenuEvent(e); } -inline QMimeData* promoted_createMimeDataFromSelection() const { return this->createMimeDataFromSelection(); } -inline void promoted_doSetTextCursor(const QTextCursor& cursor) { this->doSetTextCursor(cursor); } -inline void promoted_dragEnterEvent(QDragEnterEvent* e) { this->dragEnterEvent(e); } -inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { this->dragLeaveEvent(e); } -inline void promoted_dragMoveEvent(QDragMoveEvent* e) { this->dragMoveEvent(e); } -inline void promoted_dropEvent(QDropEvent* e) { this->dropEvent(e); } -inline bool promoted_event(QEvent* e) { return this->event(e); } -inline void promoted_focusInEvent(QFocusEvent* e) { this->focusInEvent(e); } -inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } -inline void promoted_focusOutEvent(QFocusEvent* e) { this->focusOutEvent(e); } -inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } -inline void promoted_insertFromMimeData(const QMimeData* source) { this->insertFromMimeData(source); } -inline void promoted_keyPressEvent(QKeyEvent* e) { this->keyPressEvent(e); } -inline void promoted_keyReleaseEvent(QKeyEvent* e) { this->keyReleaseEvent(e); } -inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { this->mouseDoubleClickEvent(e); } -inline void promoted_mouseMoveEvent(QMouseEvent* e) { this->mouseMoveEvent(e); } -inline void promoted_mousePressEvent(QMouseEvent* e) { this->mousePressEvent(e); } -inline void promoted_mouseReleaseEvent(QMouseEvent* e) { this->mouseReleaseEvent(e); } -inline void promoted_paintEvent(QPaintEvent* e) { this->paintEvent(e); } -inline void promoted_resizeEvent(QResizeEvent* e) { this->resizeEvent(e); } -inline void promoted_scrollContentsBy(int dx, int dy) { this->scrollContentsBy(dx, dy); } -inline void promoted_showEvent(QShowEvent* arg__1) { this->showEvent(arg__1); } -inline void promoted_timerEvent(QTimerEvent* e) { this->timerEvent(e); } -inline void promoted_wheelEvent(QWheelEvent* e) { this->wheelEvent(e); } -inline void promoted_zoomInF(float range) { this->zoomInF(range); } -inline bool py_q_canInsertFromMimeData(const QMimeData* source) const { return QTextEdit::canInsertFromMimeData(source); } -inline void py_q_changeEvent(QEvent* e) { QTextEdit::changeEvent(e); } -inline void py_q_contextMenuEvent(QContextMenuEvent* e) { QTextEdit::contextMenuEvent(e); } -inline QMimeData* py_q_createMimeDataFromSelection() const { return QTextEdit::createMimeDataFromSelection(); } -inline void py_q_doSetTextCursor(const QTextCursor& cursor) { QTextEdit::doSetTextCursor(cursor); } -inline void py_q_dragEnterEvent(QDragEnterEvent* e) { QTextEdit::dragEnterEvent(e); } -inline void py_q_dragLeaveEvent(QDragLeaveEvent* e) { QTextEdit::dragLeaveEvent(e); } -inline void py_q_dragMoveEvent(QDragMoveEvent* e) { QTextEdit::dragMoveEvent(e); } -inline void py_q_dropEvent(QDropEvent* e) { QTextEdit::dropEvent(e); } -inline bool py_q_event(QEvent* e) { return QTextEdit::event(e); } -inline void py_q_focusInEvent(QFocusEvent* e) { QTextEdit::focusInEvent(e); } -inline bool py_q_focusNextPrevChild(bool next) { return QTextEdit::focusNextPrevChild(next); } -inline void py_q_focusOutEvent(QFocusEvent* e) { QTextEdit::focusOutEvent(e); } -inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QTextEdit::inputMethodEvent(arg__1); } -inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery property) const { return QTextEdit::inputMethodQuery(property); } -inline void py_q_insertFromMimeData(const QMimeData* source) { QTextEdit::insertFromMimeData(source); } -inline void py_q_keyPressEvent(QKeyEvent* e) { QTextEdit::keyPressEvent(e); } -inline void py_q_keyReleaseEvent(QKeyEvent* e) { QTextEdit::keyReleaseEvent(e); } -inline QVariant py_q_loadResource(int type, const QUrl& name) { return QTextEdit::loadResource(type, name); } -inline void py_q_mouseDoubleClickEvent(QMouseEvent* e) { QTextEdit::mouseDoubleClickEvent(e); } -inline void py_q_mouseMoveEvent(QMouseEvent* e) { QTextEdit::mouseMoveEvent(e); } -inline void py_q_mousePressEvent(QMouseEvent* e) { QTextEdit::mousePressEvent(e); } -inline void py_q_mouseReleaseEvent(QMouseEvent* e) { QTextEdit::mouseReleaseEvent(e); } -inline void py_q_paintEvent(QPaintEvent* e) { QTextEdit::paintEvent(e); } -inline void py_q_resizeEvent(QResizeEvent* e) { QTextEdit::resizeEvent(e); } -inline void py_q_scrollContentsBy(int dx, int dy) { QTextEdit::scrollContentsBy(dx, dy); } -inline void py_q_showEvent(QShowEvent* arg__1) { QTextEdit::showEvent(arg__1); } -inline void py_q_timerEvent(QTimerEvent* e) { QTextEdit::timerEvent(e); } -inline void py_q_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 Q_SLOTS: -QTextEdit* new_QTextEdit(QWidget* parent = nullptr); -QTextEdit* new_QTextEdit(const QString& text, QWidget* parent = nullptr); -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 py_q_canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_canInsertFromMimeData(source));} - bool canPaste(QTextEdit* theWrappedObject) const; - void py_q_changeEvent(QTextEdit* theWrappedObject, QEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_changeEvent(e));} - void py_q_contextMenuEvent(QTextEdit* theWrappedObject, QContextMenuEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_contextMenuEvent(e));} - QMimeData* createMimeDataFromSelection(QTextEdit* theWrappedObject) const; - QMimeData* py_q_createMimeDataFromSelection(QTextEdit* theWrappedObject) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_createMimeDataFromSelection());} - 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); - void py_q_doSetTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_doSetTextCursor(cursor));} - QTextDocument* document(QTextEdit* theWrappedObject) const; - QString documentTitle(QTextEdit* theWrappedObject) const; - void py_q_dragEnterEvent(QTextEdit* theWrappedObject, QDragEnterEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragEnterEvent(e));} - void py_q_dragLeaveEvent(QTextEdit* theWrappedObject, QDragLeaveEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragLeaveEvent(e));} - void py_q_dragMoveEvent(QTextEdit* theWrappedObject, QDragMoveEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dragMoveEvent(e));} - void py_q_dropEvent(QTextEdit* theWrappedObject, QDropEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_dropEvent(e));} - void ensureCursorVisible(QTextEdit* theWrappedObject); - bool py_q_event(QTextEdit* theWrappedObject, QEvent* e){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_event(e));} - QList extraSelections(QTextEdit* theWrappedObject) const; - bool find(QTextEdit* theWrappedObject, const QRegExp& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); - bool find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = QTextDocument::FindFlags()); - void py_q_focusInEvent(QTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusInEvent(e));} - bool py_q_focusNextPrevChild(QTextEdit* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusNextPrevChild(next));} - void py_q_focusOutEvent(QTextEdit* theWrappedObject, QFocusEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_focusOutEvent(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 py_q_inputMethodEvent(QTextEdit* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} - QVariant py_q_inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery property) const{ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_inputMethodQuery(property));} - QVariant inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery query, QVariant argument) const; - void insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source); - void py_q_insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_insertFromMimeData(source));} - bool isReadOnly(QTextEdit* theWrappedObject) const; - bool isUndoRedoEnabled(QTextEdit* theWrappedObject) const; - void py_q_keyPressEvent(QTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_keyPressEvent(e));} - void py_q_keyReleaseEvent(QTextEdit* theWrappedObject, QKeyEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_keyReleaseEvent(e));} - int lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const; - QTextEdit::LineWrapMode lineWrapMode(QTextEdit* theWrappedObject) const; - QVariant loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name); - QVariant py_q_loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name){ return (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_loadResource(type, name));} - void mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier); - void py_q_mouseDoubleClickEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseDoubleClickEvent(e));} - void py_q_mouseMoveEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseMoveEvent(e));} - void py_q_mousePressEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mousePressEvent(e));} - void py_q_mouseReleaseEvent(QTextEdit* theWrappedObject, QMouseEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_mouseReleaseEvent(e));} - void moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); - bool overwriteMode(QTextEdit* theWrappedObject) const; - void py_q_paintEvent(QTextEdit* theWrappedObject, QPaintEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_paintEvent(e));} - QString placeholderText(QTextEdit* theWrappedObject) const; - void print(QTextEdit* theWrappedObject, QPagedPaintDevice* printer) const; - void py_q_resizeEvent(QTextEdit* theWrappedObject, QResizeEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_resizeEvent(e));} - void py_q_scrollContentsBy(QTextEdit* theWrappedObject, int dx, int dy){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_scrollContentsBy(dx, 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 setPlaceholderText(QTextEdit* theWrappedObject, const QString& placeholderText); - void setReadOnly(QTextEdit* theWrappedObject, bool ro); - void setTabChangesFocus(QTextEdit* theWrappedObject, bool b); - void setTabStopDistance(QTextEdit* theWrappedObject, qreal distance); - 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 py_q_showEvent(QTextEdit* theWrappedObject, QShowEvent* arg__1){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_showEvent(arg__1));} - bool tabChangesFocus(QTextEdit* theWrappedObject) const; - qreal tabStopDistance(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 py_q_timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_timerEvent(e));} - QString toHtml(QTextEdit* theWrappedObject) const; - QString toPlainText(QTextEdit* theWrappedObject) const; - void py_q_wheelEvent(QTextEdit* theWrappedObject, QWheelEvent* e){ (((PythonQtPublicPromoter_QTextEdit*)theWrappedObject)->py_q_wheelEvent(e));} - QTextOption::WrapMode wordWrapMode(QTextEdit* theWrappedObject) const; - void zoomInF(QTextEdit* theWrappedObject, float range); -}; - - - - - -class PythonQtShell_QTextEdit__ExtraSelection : public QTextEdit::ExtraSelection -{ -public: - PythonQtShell_QTextEdit__ExtraSelection():QTextEdit::ExtraSelection(),_wrapper(nullptr) {}; - - ~PythonQtShell_QTextEdit__ExtraSelection(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextEdit__ExtraSelection : public QObject -{ Q_OBJECT -public: -public Q_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_cursor(QTextEdit::ExtraSelection* theWrappedObject, QTextCursor cursor){ theWrappedObject->cursor = cursor; } -QTextCursor py_get_cursor(QTextEdit::ExtraSelection* theWrappedObject){ return theWrappedObject->cursor; } -void py_set_format(QTextEdit::ExtraSelection* theWrappedObject, QTextCharFormat format){ theWrappedObject->format = format; } -QTextCharFormat py_get_format(QTextEdit::ExtraSelection* theWrappedObject){ return theWrappedObject->format; } -}; - - - - - -class PythonQtWrapper_QTextFragment : public QObject -{ Q_OBJECT -public: -public Q_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; - QList glyphRuns(QTextFragment* theWrappedObject, int from = -1, int length = -1) 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; - bool __nonzero__(QTextFragment* obj) { return obj->isValid(); } -}; - - - - - -class PythonQtShell_QTextFrame : public QTextFrame -{ -public: - PythonQtShell_QTextFrame(QTextDocument* doc):QTextFrame(doc),_wrapper(nullptr) {}; - - ~PythonQtShell_QTextFrame() override; - -void childEvent(QChildEvent* event) override; -void customEvent(QEvent* event) override; -bool event(QEvent* event) override; -bool eventFilter(QObject* watched, QEvent* event) override; -void timerEvent(QTimerEvent* event) override; - - const QMetaObject* metaObject() const override; - int qt_metacall(QMetaObject::Call call, int id, void** args) override; - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextFrame : public QObject -{ Q_OBJECT -public: -public Q_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(nullptr) {}; - PythonQtShell_QTextFrameFormat(const QTextFormat& fmt):QTextFrameFormat(fmt),_wrapper(nullptr) {}; - - ~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 Q_SLOTS: -QTextFrameFormat* new_QTextFrameFormat(); -QTextFrameFormat* new_QTextFrameFormat(const QTextFormat& fmt); -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; - bool __nonzero__(QTextFrameFormat* obj) { return !obj->isEmpty(); } -}; - - - - - -class PythonQtShell_QTextImageFormat : public QTextImageFormat -{ -public: - PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(nullptr) {}; - PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(nullptr) {}; - - ~PythonQtShell_QTextImageFormat(); - - - PythonQtInstanceWrapper* _wrapper; -}; - -class PythonQtWrapper_QTextImageFormat : public QObject -{ Q_OBJECT -public: -public Q_SLOTS: -QTextImageFormat* new_QTextImageFormat(); -QTextImageFormat* new_QTextImageFormat(const QTextFormat& format); -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; - bool __nonzero__(QTextImageFormat* obj) { return !obj->isEmpty(); } -}; - - diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp similarity index 96% rename from generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp index f100efceb..37a91bae9 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui/com_trolltech_qt_gui_init.cpp @@ -12,7 +12,6 @@ #include "com_trolltech_qt_gui9.h" #include "com_trolltech_qt_gui10.h" #include "com_trolltech_qt_gui11.h" -#include "com_trolltech_qt_gui12.h" static void* polymorphichandler_QEvent(const void *ptr, const char **class_name) { @@ -431,7 +430,6 @@ PythonQt::priv()->registerClass(&QAbstractTableModel::staticMetaObject, "QtGui", PythonQt::priv()->registerClass(&QAbstractTextDocumentLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QAbstractTextDocumentLayout::PaintContext", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QAbstractTextDocumentLayout::Selection", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QAccessibleEvent", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAction::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QActionEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QActionGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); @@ -590,23 +588,6 @@ PythonQt::priv()->registerClass(&QMovie::staticMetaObject, "QtGui", PythonQtCrea PythonQt::priv()->registerCPPClass("QNativeGestureEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QOffscreenSurface::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::self()->addParentClass("QOffscreenSurface", "QSurface",PythonQtUpcastingOffset()); -PythonQt::priv()->registerCPPClass("QOpenGLBuffer", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); -PythonQt::priv()->registerClass(&QOpenGLContext::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerClass(&QOpenGLContextGroup::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); -PythonQt::priv()->registerCPPClass("QOpenGLFramebufferObject", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerCPPClass("QOpenGLFramebufferObjectFormat", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerCPPClass("QOpenGLPaintDevice", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::self()->addParentClass("QOpenGLPaintDevice", "QPaintDevice",PythonQtUpcastingOffset()); -PythonQt::priv()->registerClass(&QOpenGLShader::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QOpenGLShaderProgram::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QOpenGLTexture", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); -PythonQt::priv()->registerCPPClass("QOpenGLTextureBlitter", "", "QtGui", PythonQtCreateObject, nullptr, module, 0); -PythonQt::priv()->registerClass(&QOpenGLTimeMonitor::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QOpenGLTimerQuery::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerCPPClass("QOpenGLVersionProfile", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QOpenGLVertexArrayObject::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); -PythonQt::priv()->registerClass(&QOpenGLWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); -PythonQt::priv()->registerClass(&QOpenGLWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero); PythonQt::priv()->registerCPPClass("QPageLayout", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QPageSetupDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QPageSize", "", "QtGui", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); @@ -670,7 +651,6 @@ PythonQt::priv()->registerCPPClass("QScrollEvent", "QEvent", "QtGui", PythonQtCr PythonQt::priv()->registerCPPClass("QScrollPrepareEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QScroller::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerCPPClass("QScrollerProperties", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); -PythonQt::priv()->registerClass(&QSessionManager::staticMetaObject, "QtGui", PythonQtCreateObject, nullptr, module, 0); PythonQt::priv()->registerClass(&QShortcut::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QShortcutEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QShowEvent", "QEvent", "QtGui", PythonQtCreateObject, nullptr, module, 0); diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin.pri diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin0.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_gui_builtin/com_trolltech_qt_gui_builtin_init.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia.pri diff --git a/generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia0.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia1.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia2.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia3.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_multimedia/com_trolltech_qt_multimedia_init.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_network/com_trolltech_qt_network.pri b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_network/com_trolltech_qt_network.pri similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_network/com_trolltech_qt_network.pri rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_network/com_trolltech_qt_network.pri diff --git a/generated_cpp_5.10.1/com_trolltech_qt_network/com_trolltech_qt_network0.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_network/com_trolltech_qt_network0.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_network/com_trolltech_qt_network0.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_network/com_trolltech_qt_network0.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_network/com_trolltech_qt_network0.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_network/com_trolltech_qt_network0.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_network/com_trolltech_qt_network0.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_network/com_trolltech_qt_network0.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_network/com_trolltech_qt_network1.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_network/com_trolltech_qt_network1.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_network/com_trolltech_qt_network1.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_network/com_trolltech_qt_network1.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_network/com_trolltech_qt_network1.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_network/com_trolltech_qt_network1.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_network/com_trolltech_qt_network1.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_network/com_trolltech_qt_network1.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_network/com_trolltech_qt_network_init.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_qml/com_trolltech_qt_qml.pri b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_qml/com_trolltech_qt_qml.pri similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_qml/com_trolltech_qt_qml.pri rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_qml/com_trolltech_qt_qml.pri diff --git a/generated_cpp_5.10.1/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_qml/com_trolltech_qt_qml0.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_qml/com_trolltech_qt_qml0.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_qml/com_trolltech_qt_qml0.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_qml/com_trolltech_qt_qml0.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_qml/com_trolltech_qt_qml0.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_qml/com_trolltech_qt_qml_init.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_quick/com_trolltech_qt_quick.pri b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_quick/com_trolltech_qt_quick.pri similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_quick/com_trolltech_qt_quick.pri rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_quick/com_trolltech_qt_quick.pri diff --git a/generated_cpp_5.10.1/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp similarity index 99% rename from generated_cpp_5.10.1/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp index 23126a839..d52041713 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_quick/com_trolltech_qt_quick0.cpp @@ -53,8 +53,6 @@ #include #include #include -#include -#include #include #include #include @@ -7110,11 +7108,6 @@ QOpenGLContext* PythonQtWrapper_QQuickWindow::openglContext(QQuickWindow* theWr return ( theWrappedObject->openglContext()); } -QOpenGLFramebufferObject* PythonQtWrapper_QQuickWindow::renderTarget(QQuickWindow* theWrappedObject) const -{ - return ( theWrappedObject->renderTarget()); -} - uint PythonQtWrapper_QQuickWindow::renderTargetId(QQuickWindow* theWrappedObject) const { return ( theWrappedObject->renderTargetId()); @@ -7130,11 +7123,6 @@ QSGRendererInterface* PythonQtWrapper_QQuickWindow::rendererInterface(QQuickWin return ( theWrappedObject->rendererInterface()); } -void PythonQtWrapper_QQuickWindow::resetOpenGLState(QQuickWindow* theWrappedObject) -{ - ( theWrappedObject->resetOpenGLState()); -} - QString PythonQtWrapper_QQuickWindow::static_QQuickWindow_sceneGraphBackend() { return (QQuickWindow::sceneGraphBackend()); @@ -7175,11 +7163,6 @@ void PythonQtWrapper_QQuickWindow::setPersistentSceneGraph(QQuickWindow* theWrap ( theWrappedObject->setPersistentSceneGraph(persistent)); } -void PythonQtWrapper_QQuickWindow::setRenderTarget(QQuickWindow* theWrappedObject, QOpenGLFramebufferObject* fbo) -{ - ( theWrappedObject->setRenderTarget(fbo)); -} - void PythonQtWrapper_QQuickWindow::setRenderTarget(QQuickWindow* theWrappedObject, uint fboId, const QSize& size) { ( theWrappedObject->setRenderTarget(fboId, size)); diff --git a/generated_cpp_5.10.1/com_trolltech_qt_quick/com_trolltech_qt_quick0.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_quick/com_trolltech_qt_quick0.h similarity index 99% rename from generated_cpp_5.10.1/com_trolltech_qt_quick/com_trolltech_qt_quick0.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_quick/com_trolltech_qt_quick0.h index 26d069793..2545b5863 100644 --- a/generated_cpp_5.10.1/com_trolltech_qt_quick/com_trolltech_qt_quick0.h +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_quick/com_trolltech_qt_quick0.h @@ -55,8 +55,6 @@ #include #include #include -#include -#include #include #include #include @@ -1153,11 +1151,9 @@ void delete_QQuickWindow(QQuickWindow* obj) { delete obj; } void py_q_mousePressEvent(QQuickWindow* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_mousePressEvent(arg__1));} void py_q_mouseReleaseEvent(QQuickWindow* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} QOpenGLContext* openglContext(QQuickWindow* theWrappedObject) const; - QOpenGLFramebufferObject* renderTarget(QQuickWindow* theWrappedObject) const; uint renderTargetId(QQuickWindow* theWrappedObject) const; QSize renderTargetSize(QQuickWindow* theWrappedObject) const; QSGRendererInterface* rendererInterface(QQuickWindow* theWrappedObject) const; - void resetOpenGLState(QQuickWindow* theWrappedObject); void py_q_resizeEvent(QQuickWindow* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QQuickWindow*)theWrappedObject)->py_q_resizeEvent(arg__1));} QString static_QQuickWindow_sceneGraphBackend(); void scheduleRenderJob(QQuickWindow* theWrappedObject, QRunnable* job, QQuickWindow::RenderStage schedule); @@ -1167,7 +1163,6 @@ void delete_QQuickWindow(QQuickWindow* obj) { delete obj; } void static_QQuickWindow_setDefaultAlphaBuffer(bool useAlpha); void setPersistentOpenGLContext(QQuickWindow* theWrappedObject, bool persistent); void setPersistentSceneGraph(QQuickWindow* theWrappedObject, bool persistent); - void setRenderTarget(QQuickWindow* theWrappedObject, QOpenGLFramebufferObject* fbo); void setRenderTarget(QQuickWindow* theWrappedObject, uint fboId, const QSize& size); void static_QQuickWindow_setSceneGraphBackend(QSGRendererInterface::GraphicsApi api); void static_QQuickWindow_setSceneGraphBackend(const QString& backend); diff --git a/generated_cpp_5.10.1/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_quick/com_trolltech_qt_quick1.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_quick/com_trolltech_qt_quick1.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_quick/com_trolltech_qt_quick1.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_quick/com_trolltech_qt_quick1.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_quick/com_trolltech_qt_quick1.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_quick/com_trolltech_qt_quick_init.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_sql/com_trolltech_qt_sql.pri b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_sql/com_trolltech_qt_sql.pri similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_sql/com_trolltech_qt_sql.pri rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_sql/com_trolltech_qt_sql.pri diff --git a/generated_cpp_5.10.1/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_sql/com_trolltech_qt_sql0.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_sql/com_trolltech_qt_sql0.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_sql/com_trolltech_qt_sql0.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_sql/com_trolltech_qt_sql0.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_sql/com_trolltech_qt_sql0.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_sql/com_trolltech_qt_sql_init.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_svg/com_trolltech_qt_svg.pri b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_svg/com_trolltech_qt_svg.pri similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_svg/com_trolltech_qt_svg.pri rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_svg/com_trolltech_qt_svg.pri diff --git a/generated_cpp_5.10.1/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_svg/com_trolltech_qt_svg0.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_svg/com_trolltech_qt_svg0.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_svg/com_trolltech_qt_svg0.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_svg/com_trolltech_qt_svg0.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_svg/com_trolltech_qt_svg0.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_svg/com_trolltech_qt_svg_init.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_uitools/com_trolltech_qt_uitools.pri diff --git a/generated_cpp_5.10.1/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_uitools/com_trolltech_qt_uitools0.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_uitools/com_trolltech_qt_uitools_init.cpp diff --git a/generated_cpp_5.10.1_triksdk/com_trolltech_qt_webkit/com_trolltech_qt_webkit.pri b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_webkit/com_trolltech_qt_webkit.pri new file mode 100644 index 000000000..4ae397cc0 --- /dev/null +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_webkit/com_trolltech_qt_webkit.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_webkit0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_webkit0.cpp \ + $$PWD/com_trolltech_qt_webkit_init.cpp diff --git a/generated_cpp_5.10.1_triksdk/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp new file mode 100644 index 000000000..8eee34487 --- /dev/null +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp @@ -0,0 +1,7019 @@ +#include "com_trolltech_qt_webkit0.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 +#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 + +PythonQtShell_QGraphicsWebView::~PythonQtShell_QGraphicsWebView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QGraphicsWebView::advance(int phase0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("advance"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&phase0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::advance(phase0); +} +QRectF PythonQtShell_QGraphicsWebView::boundingRect() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("boundingRect"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QRectF"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QRectF returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("boundingRect", methodInfo, result); + } else { + returnValue = *((QRectF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::boundingRect(); +} +void PythonQtShell_QGraphicsWebView::changeEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::changeEvent(event0); +} +void PythonQtShell_QGraphicsWebView::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::childEvent(event0); +} +void PythonQtShell_QGraphicsWebView::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::closeEvent(event0); +} +bool PythonQtShell_QGraphicsWebView::collidesWithItem(const QGraphicsItem* other0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("collidesWithItem"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&other0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithItem", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::collidesWithItem(other0, mode1); +} +bool PythonQtShell_QGraphicsWebView::collidesWithPath(const QPainterPath& path0, Qt::ItemSelectionMode mode1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("collidesWithPath"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPainterPath&" , "Qt::ItemSelectionMode"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&path0, (void*)&mode1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("collidesWithPath", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::collidesWithPath(path0, mode1); +} +bool PythonQtShell_QGraphicsWebView::contains(const QPointF& point0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&point0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("contains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::contains(point0); +} +void PythonQtShell_QGraphicsWebView::contextMenuEvent(QGraphicsSceneContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::contextMenuEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::customEvent(event0); +} +void PythonQtShell_QGraphicsWebView::dragEnterEvent(QGraphicsSceneDragDropEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::dragEnterEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::dragLeaveEvent(QGraphicsSceneDragDropEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::dragLeaveEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::dragMoveEvent(QGraphicsSceneDragDropEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::dragMoveEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::dropEvent(QGraphicsSceneDragDropEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneDragDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::dropEvent(arg__1); +} +bool PythonQtShell_QGraphicsWebView::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::event(arg__1); +} +bool PythonQtShell_QGraphicsWebView::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::eventFilter(watched0, event1); +} +QVariant PythonQtShell_QGraphicsWebView::extension(const QVariant& variant0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&variant0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::extension(variant0); +} +void PythonQtShell_QGraphicsWebView::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::focusInEvent(arg__1); +} +bool PythonQtShell_QGraphicsWebView::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::focusNextPrevChild(next0); +} +void PythonQtShell_QGraphicsWebView::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::focusOutEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::getContentsMargins(qreal* left0, qreal* top1, qreal* right2, qreal* bottom3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("getContentsMargins"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "qreal*" , "qreal*" , "qreal*" , "qreal*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&left0, (void*)&top1, (void*)&right2, (void*)&bottom3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::getContentsMargins(left0, top1, right2, bottom3); +} +void PythonQtShell_QGraphicsWebView::grabKeyboardEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("grabKeyboardEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::grabKeyboardEvent(event0); +} +void PythonQtShell_QGraphicsWebView::grabMouseEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("grabMouseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::grabMouseEvent(event0); +} +void PythonQtShell_QGraphicsWebView::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::hideEvent(event0); +} +void PythonQtShell_QGraphicsWebView::hoverEnterEvent(QGraphicsSceneHoverEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hoverEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::hoverEnterEvent(event0); +} +void PythonQtShell_QGraphicsWebView::hoverLeaveEvent(QGraphicsSceneHoverEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hoverLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::hoverLeaveEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::hoverMoveEvent(QGraphicsSceneHoverEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hoverMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneHoverEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::hoverMoveEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::initStyleOption(QStyleOption* option0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("initStyleOption"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QStyleOption*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&option0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::initStyleOption(option0); +} +void PythonQtShell_QGraphicsWebView::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QGraphicsWebView::inputMethodQuery(Qt::InputMethodQuery query0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&query0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::inputMethodQuery(query0); +} +bool PythonQtShell_QGraphicsWebView::isObscuredBy(const QGraphicsItem* item0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("isObscuredBy"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QGraphicsItem*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&item0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isObscuredBy", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::isObscuredBy(item0); +} +QVariant PythonQtShell_QGraphicsWebView::itemChange(QGraphicsItem::GraphicsItemChange change0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("itemChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "QGraphicsItem::GraphicsItemChange" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&change0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("itemChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + if (change0 == QGraphicsItem::ItemParentChange || change0 == QGraphicsItem::ItemSceneChange) { + returnValue = value1; + } + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::itemChange(change0, value1); +} +void PythonQtShell_QGraphicsWebView::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::keyPressEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::keyReleaseEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::mouseDoubleClickEvent(QGraphicsSceneMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::mouseMoveEvent(QGraphicsSceneMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::mouseMoveEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::mousePressEvent(QGraphicsSceneMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::mousePressEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::mouseReleaseEvent(QGraphicsSceneMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QGraphicsWebView::moveEvent(QGraphicsSceneMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::moveEvent(event0); +} +QPainterPath PythonQtShell_QGraphicsWebView::opaqueArea() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("opaqueArea"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("opaqueArea", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::opaqueArea(); +} +void PythonQtShell_QGraphicsWebView::paint(QPainter* arg__1, const QStyleOptionGraphicsItem* options1, QWidget* widget2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&arg__1, (void*)&options1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::paint(arg__1, options1, widget2); +} +void PythonQtShell_QGraphicsWebView::paintWindowFrame(QPainter* painter0, const QStyleOptionGraphicsItem* option1, QWidget* widget2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintWindowFrame"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*" , "const QStyleOptionGraphicsItem*" , "QWidget*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&painter0, (void*)&option1, (void*)&widget2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::paintWindowFrame(painter0, option1, widget2); +} +void PythonQtShell_QGraphicsWebView::polishEvent() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("polishEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::polishEvent(); +} +QVariant PythonQtShell_QGraphicsWebView::propertyChange(const QString& propertyName0, const QVariant& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("propertyChange"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QString&" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QVariant returnValue{}; + void* args[3] = {nullptr, (void*)&propertyName0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("propertyChange", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::propertyChange(propertyName0, value1); +} +void PythonQtShell_QGraphicsWebView::resizeEvent(QGraphicsSceneResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::resizeEvent(event0); +} +bool PythonQtShell_QGraphicsWebView::sceneEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sceneEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::sceneEvent(arg__1); +} +bool PythonQtShell_QGraphicsWebView::sceneEventFilter(QGraphicsItem* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sceneEventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sceneEventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::sceneEventFilter(watched0, event1); +} +void PythonQtShell_QGraphicsWebView::setExtension(QGraphicsItem::Extension extension0, const QVariant& variant1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsItem::Extension" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&extension0, (void*)&variant1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::setExtension(extension0, variant1); +} +void PythonQtShell_QGraphicsWebView::setGeometry(const QRectF& rect0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QRectF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&rect0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::setGeometry(rect0); +} +QPainterPath PythonQtShell_QGraphicsWebView::shape() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("shape"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainterPath"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainterPath returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shape", methodInfo, result); + } else { + returnValue = *((QPainterPath*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::shape(); +} +void PythonQtShell_QGraphicsWebView::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::showEvent(event0); +} +QSizeF PythonQtShell_QGraphicsWebView::sizeHint(Qt::SizeHint which0, const QSizeF& constraint1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSizeF" , "Qt::SizeHint" , "const QSizeF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QSizeF returnValue{}; + void* args[3] = {nullptr, (void*)&which0, (void*)&constraint1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSizeF*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::sizeHint(which0, constraint1); +} +bool PythonQtShell_QGraphicsWebView::supportsExtension(QGraphicsItem::Extension extension0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QGraphicsItem::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::supportsExtension(extension0); +} +void PythonQtShell_QGraphicsWebView::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::timerEvent(event0); +} +int PythonQtShell_QGraphicsWebView::type() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("type"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("type", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::type(); +} +void PythonQtShell_QGraphicsWebView::ungrabKeyboardEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("ungrabKeyboardEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::ungrabKeyboardEvent(event0); +} +void PythonQtShell_QGraphicsWebView::ungrabMouseEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("ungrabMouseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::ungrabMouseEvent(event0); +} +void PythonQtShell_QGraphicsWebView::updateGeometry() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("updateGeometry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::updateGeometry(); +} +void PythonQtShell_QGraphicsWebView::wheelEvent(QGraphicsSceneWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QGraphicsSceneWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QGraphicsWebView::wheelEvent(arg__1); +} +bool PythonQtShell_QGraphicsWebView::windowFrameEvent(QEvent* e0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("windowFrameEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&e0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::windowFrameEvent(e0); +} +Qt::WindowFrameSection PythonQtShell_QGraphicsWebView::windowFrameSectionAt(const QPointF& pos0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("windowFrameSectionAt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"Qt::WindowFrameSection" , "const QPointF&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + Qt::WindowFrameSection returnValue{}; + void* args[2] = {nullptr, (void*)&pos0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("windowFrameSectionAt", methodInfo, result); + } else { + returnValue = *((Qt::WindowFrameSection*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QGraphicsWebView::windowFrameSectionAt(pos0); +} +QGraphicsWebView* PythonQtWrapper_QGraphicsWebView::new_QGraphicsWebView(QGraphicsItem* parent) +{ +return new PythonQtShell_QGraphicsWebView(parent); } + +const QMetaObject* PythonQtShell_QGraphicsWebView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QGraphicsWebView::staticMetaObject); + } else { + return &QGraphicsWebView::staticMetaObject; + } +} +int PythonQtShell_QGraphicsWebView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QGraphicsWebView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QGraphicsWebView::findText(QGraphicsWebView* theWrappedObject, const QString& subString, QWebPage::FindFlags options) +{ + return ( theWrappedObject->findText(subString, options)); +} + +QWebHistory* PythonQtWrapper_QGraphicsWebView::history(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->history()); +} + +QIcon PythonQtWrapper_QGraphicsWebView::icon(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +bool PythonQtWrapper_QGraphicsWebView::isModified(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->isModified()); +} + +bool PythonQtWrapper_QGraphicsWebView::isTiledBackingStoreFrozen(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->isTiledBackingStoreFrozen()); +} + +void PythonQtWrapper_QGraphicsWebView::load(QGraphicsWebView* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation, const QByteArray& body) +{ + ( theWrappedObject->load(request, operation, body)); +} + +void PythonQtWrapper_QGraphicsWebView::load(QGraphicsWebView* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->load(url)); +} + +QWebPage* PythonQtWrapper_QGraphicsWebView::page(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->page()); +} + +QAction* PythonQtWrapper_QGraphicsWebView::pageAction(QGraphicsWebView* theWrappedObject, QWebPage::WebAction action) const +{ + return ( theWrappedObject->pageAction(action)); +} + +QPainter::RenderHints PythonQtWrapper_QGraphicsWebView::renderHints(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->renderHints()); +} + +bool PythonQtWrapper_QGraphicsWebView::resizesToContents(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->resizesToContents()); +} + +void PythonQtWrapper_QGraphicsWebView::setContent(QGraphicsWebView* theWrappedObject, const QByteArray& data, const QString& mimeType, const QUrl& baseUrl) +{ + ( theWrappedObject->setContent(data, mimeType, baseUrl)); +} + +void PythonQtWrapper_QGraphicsWebView::setHtml(QGraphicsWebView* theWrappedObject, const QString& html, const QUrl& baseUrl) +{ + ( theWrappedObject->setHtml(html, baseUrl)); +} + +void PythonQtWrapper_QGraphicsWebView::setPage(QGraphicsWebView* theWrappedObject, QWebPage* arg__1) +{ + ( theWrappedObject->setPage(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::setRenderHint(QGraphicsWebView* theWrappedObject, QPainter::RenderHint arg__1, bool enabled) +{ + ( theWrappedObject->setRenderHint(arg__1, enabled)); +} + +void PythonQtWrapper_QGraphicsWebView::setRenderHints(QGraphicsWebView* theWrappedObject, QPainter::RenderHints arg__1) +{ + ( theWrappedObject->setRenderHints(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::setResizesToContents(QGraphicsWebView* theWrappedObject, bool enabled) +{ + ( theWrappedObject->setResizesToContents(enabled)); +} + +void PythonQtWrapper_QGraphicsWebView::setTiledBackingStoreFrozen(QGraphicsWebView* theWrappedObject, bool frozen) +{ + ( theWrappedObject->setTiledBackingStoreFrozen(frozen)); +} + +void PythonQtWrapper_QGraphicsWebView::setUrl(QGraphicsWebView* theWrappedObject, const QUrl& arg__1) +{ + ( theWrappedObject->setUrl(arg__1)); +} + +void PythonQtWrapper_QGraphicsWebView::setZoomFactor(QGraphicsWebView* theWrappedObject, qreal arg__1) +{ + ( theWrappedObject->setZoomFactor(arg__1)); +} + +QWebSettings* PythonQtWrapper_QGraphicsWebView::settings(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->settings()); +} + +QString PythonQtWrapper_QGraphicsWebView::title(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +void PythonQtWrapper_QGraphicsWebView::triggerPageAction(QGraphicsWebView* theWrappedObject, QWebPage::WebAction action, bool checked) +{ + ( theWrappedObject->triggerPageAction(action, checked)); +} + +QUrl PythonQtWrapper_QGraphicsWebView::url(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +qreal PythonQtWrapper_QGraphicsWebView::zoomFactor(QGraphicsWebView* theWrappedObject) const +{ + return ( theWrappedObject->zoomFactor()); +} + + + +QWebDatabase* PythonQtWrapper_QWebDatabase::new_QWebDatabase(const QWebDatabase& other) +{ +return new QWebDatabase(other); } + +QString PythonQtWrapper_QWebDatabase::displayName(QWebDatabase* theWrappedObject) const +{ + return ( theWrappedObject->displayName()); +} + +qint64 PythonQtWrapper_QWebDatabase::expectedSize(QWebDatabase* theWrappedObject) const +{ + return ( theWrappedObject->expectedSize()); +} + +QString PythonQtWrapper_QWebDatabase::fileName(QWebDatabase* theWrappedObject) const +{ + return ( theWrappedObject->fileName()); +} + +QString PythonQtWrapper_QWebDatabase::name(QWebDatabase* theWrappedObject) const +{ + return ( theWrappedObject->name()); +} + +QWebDatabase* PythonQtWrapper_QWebDatabase::operator_assign(QWebDatabase* theWrappedObject, const QWebDatabase& other) +{ + return &( (*theWrappedObject)= other); +} + +QWebSecurityOrigin PythonQtWrapper_QWebDatabase::origin(QWebDatabase* theWrappedObject) const +{ + return ( theWrappedObject->origin()); +} + +void PythonQtWrapper_QWebDatabase::static_QWebDatabase_removeAllDatabases() +{ + (QWebDatabase::removeAllDatabases()); +} + +void PythonQtWrapper_QWebDatabase::static_QWebDatabase_removeDatabase(const QWebDatabase& arg__1) +{ + (QWebDatabase::removeDatabase(arg__1)); +} + +qint64 PythonQtWrapper_QWebDatabase::size(QWebDatabase* theWrappedObject) const +{ + return ( theWrappedObject->size()); +} + + + +QWebElement* PythonQtWrapper_QWebElement::new_QWebElement() +{ +return new QWebElement(); } + +QWebElement* PythonQtWrapper_QWebElement::new_QWebElement(const QWebElement& arg__1) +{ +return new QWebElement(arg__1); } + +void PythonQtWrapper_QWebElement::addClass(QWebElement* theWrappedObject, const QString& name) +{ + ( theWrappedObject->addClass(name)); +} + +void PythonQtWrapper_QWebElement::appendInside(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->appendInside(markup)); +} + +void PythonQtWrapper_QWebElement::appendInside(QWebElement* theWrappedObject, const QWebElement& element) +{ + ( theWrappedObject->appendInside(element)); +} + +void PythonQtWrapper_QWebElement::appendOutside(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->appendOutside(markup)); +} + +void PythonQtWrapper_QWebElement::appendOutside(QWebElement* theWrappedObject, const QWebElement& element) +{ + ( theWrappedObject->appendOutside(element)); +} + +QString PythonQtWrapper_QWebElement::attribute(QWebElement* theWrappedObject, const QString& name, const QString& defaultValue) const +{ + return ( theWrappedObject->attribute(name, defaultValue)); +} + +QString PythonQtWrapper_QWebElement::attributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& defaultValue) const +{ + return ( theWrappedObject->attributeNS(namespaceUri, name, defaultValue)); +} + +QStringList PythonQtWrapper_QWebElement::attributeNames(QWebElement* theWrappedObject, const QString& namespaceUri) const +{ + return ( theWrappedObject->attributeNames(namespaceUri)); +} + +QStringList PythonQtWrapper_QWebElement::classes(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->classes()); +} + +QWebElement PythonQtWrapper_QWebElement::clone(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->clone()); +} + +QWebElement PythonQtWrapper_QWebElement::document(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->document()); +} + +void PythonQtWrapper_QWebElement::encloseContentsWith(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->encloseContentsWith(markup)); +} + +void PythonQtWrapper_QWebElement::encloseContentsWith(QWebElement* theWrappedObject, const QWebElement& element) +{ + ( theWrappedObject->encloseContentsWith(element)); +} + +void PythonQtWrapper_QWebElement::encloseWith(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->encloseWith(markup)); +} + +void PythonQtWrapper_QWebElement::encloseWith(QWebElement* theWrappedObject, const QWebElement& element) +{ + ( theWrappedObject->encloseWith(element)); +} + +QVariant PythonQtWrapper_QWebElement::evaluateJavaScript(QWebElement* theWrappedObject, const QString& scriptSource) +{ + return ( theWrappedObject->evaluateJavaScript(scriptSource)); +} + +QWebElementCollection PythonQtWrapper_QWebElement::findAll(QWebElement* theWrappedObject, const QString& selectorQuery) const +{ + return ( theWrappedObject->findAll(selectorQuery)); +} + +QWebElement PythonQtWrapper_QWebElement::findFirst(QWebElement* theWrappedObject, const QString& selectorQuery) const +{ + return ( theWrappedObject->findFirst(selectorQuery)); +} + +QWebElement PythonQtWrapper_QWebElement::firstChild(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->firstChild()); +} + +QRect PythonQtWrapper_QWebElement::geometry(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +bool PythonQtWrapper_QWebElement::hasAttribute(QWebElement* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->hasAttribute(name)); +} + +bool PythonQtWrapper_QWebElement::hasAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name) const +{ + return ( theWrappedObject->hasAttributeNS(namespaceUri, name)); +} + +bool PythonQtWrapper_QWebElement::hasAttributes(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->hasAttributes()); +} + +bool PythonQtWrapper_QWebElement::hasClass(QWebElement* theWrappedObject, const QString& name) const +{ + return ( theWrappedObject->hasClass(name)); +} + +bool PythonQtWrapper_QWebElement::hasFocus(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->hasFocus()); +} + +bool PythonQtWrapper_QWebElement::isNull(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QWebElement PythonQtWrapper_QWebElement::lastChild(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->lastChild()); +} + +QString PythonQtWrapper_QWebElement::localName(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->localName()); +} + +QString PythonQtWrapper_QWebElement::namespaceUri(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->namespaceUri()); +} + +QWebElement PythonQtWrapper_QWebElement::nextSibling(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->nextSibling()); +} + +bool PythonQtWrapper_QWebElement::__ne__(QWebElement* theWrappedObject, const QWebElement& o) const +{ + return ( (*theWrappedObject)!= o); +} + +QWebElement* PythonQtWrapper_QWebElement::operator_assign(QWebElement* theWrappedObject, const QWebElement& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +bool PythonQtWrapper_QWebElement::__eq__(QWebElement* theWrappedObject, const QWebElement& o) const +{ + return ( (*theWrappedObject)== o); +} + +QWebElement PythonQtWrapper_QWebElement::parent(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->parent()); +} + +QString PythonQtWrapper_QWebElement::prefix(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->prefix()); +} + +void PythonQtWrapper_QWebElement::prependInside(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->prependInside(markup)); +} + +void PythonQtWrapper_QWebElement::prependInside(QWebElement* theWrappedObject, const QWebElement& element) +{ + ( theWrappedObject->prependInside(element)); +} + +void PythonQtWrapper_QWebElement::prependOutside(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->prependOutside(markup)); +} + +void PythonQtWrapper_QWebElement::prependOutside(QWebElement* theWrappedObject, const QWebElement& element) +{ + ( theWrappedObject->prependOutside(element)); +} + +QWebElement PythonQtWrapper_QWebElement::previousSibling(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->previousSibling()); +} + +void PythonQtWrapper_QWebElement::removeAllChildren(QWebElement* theWrappedObject) +{ + ( theWrappedObject->removeAllChildren()); +} + +void PythonQtWrapper_QWebElement::removeAttribute(QWebElement* theWrappedObject, const QString& name) +{ + ( theWrappedObject->removeAttribute(name)); +} + +void PythonQtWrapper_QWebElement::removeAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name) +{ + ( theWrappedObject->removeAttributeNS(namespaceUri, name)); +} + +void PythonQtWrapper_QWebElement::removeClass(QWebElement* theWrappedObject, const QString& name) +{ + ( theWrappedObject->removeClass(name)); +} + +void PythonQtWrapper_QWebElement::removeFromDocument(QWebElement* theWrappedObject) +{ + ( theWrappedObject->removeFromDocument()); +} + +void PythonQtWrapper_QWebElement::render(QWebElement* theWrappedObject, QPainter* painter) +{ + ( theWrappedObject->render(painter)); +} + +void PythonQtWrapper_QWebElement::render(QWebElement* theWrappedObject, QPainter* painter, const QRect& clipRect) +{ + ( theWrappedObject->render(painter, clipRect)); +} + +void PythonQtWrapper_QWebElement::replace(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->replace(markup)); +} + +void PythonQtWrapper_QWebElement::replace(QWebElement* theWrappedObject, const QWebElement& element) +{ + ( theWrappedObject->replace(element)); +} + +void PythonQtWrapper_QWebElement::setAttribute(QWebElement* theWrappedObject, const QString& name, const QString& value) +{ + ( theWrappedObject->setAttribute(name, value)); +} + +void PythonQtWrapper_QWebElement::setAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value) +{ + ( theWrappedObject->setAttributeNS(namespaceUri, name, value)); +} + +void PythonQtWrapper_QWebElement::setFocus(QWebElement* theWrappedObject) +{ + ( theWrappedObject->setFocus()); +} + +void PythonQtWrapper_QWebElement::setInnerXml(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->setInnerXml(markup)); +} + +void PythonQtWrapper_QWebElement::setOuterXml(QWebElement* theWrappedObject, const QString& markup) +{ + ( theWrappedObject->setOuterXml(markup)); +} + +void PythonQtWrapper_QWebElement::setPlainText(QWebElement* theWrappedObject, const QString& text) +{ + ( theWrappedObject->setPlainText(text)); +} + +void PythonQtWrapper_QWebElement::setStyleProperty(QWebElement* theWrappedObject, const QString& name, const QString& value) +{ + ( theWrappedObject->setStyleProperty(name, value)); +} + +QString PythonQtWrapper_QWebElement::styleProperty(QWebElement* theWrappedObject, const QString& name, QWebElement::StyleResolveStrategy strategy) const +{ + return ( theWrappedObject->styleProperty(name, strategy)); +} + +QString PythonQtWrapper_QWebElement::tagName(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->tagName()); +} + +QWebElement* PythonQtWrapper_QWebElement::takeFromDocument(QWebElement* theWrappedObject) +{ + return &( theWrappedObject->takeFromDocument()); +} + +QString PythonQtWrapper_QWebElement::toInnerXml(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->toInnerXml()); +} + +QString PythonQtWrapper_QWebElement::toOuterXml(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->toOuterXml()); +} + +QString PythonQtWrapper_QWebElement::toPlainText(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->toPlainText()); +} + +void PythonQtWrapper_QWebElement::toggleClass(QWebElement* theWrappedObject, const QString& name) +{ + ( theWrappedObject->toggleClass(name)); +} + +QWebFrame* PythonQtWrapper_QWebElement::webFrame(QWebElement* theWrappedObject) const +{ + return ( theWrappedObject->webFrame()); +} + + + +QWebElementCollection* PythonQtWrapper_QWebElementCollection::new_QWebElementCollection() +{ +return new QWebElementCollection(); } + +QWebElementCollection* PythonQtWrapper_QWebElementCollection::new_QWebElementCollection(const QWebElement& contextElement, const QString& query) +{ +return new QWebElementCollection(contextElement, query); } + +QWebElementCollection* PythonQtWrapper_QWebElementCollection::new_QWebElementCollection(const QWebElementCollection& arg__1) +{ +return new QWebElementCollection(arg__1); } + +void PythonQtWrapper_QWebElementCollection::append(QWebElementCollection* theWrappedObject, const QWebElementCollection& collection) +{ + ( theWrappedObject->append(collection)); +} + +QWebElement PythonQtWrapper_QWebElementCollection::at(QWebElementCollection* theWrappedObject, int i) const +{ + return ( theWrappedObject->at(i)); +} + +int PythonQtWrapper_QWebElementCollection::count(QWebElementCollection* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QWebElement PythonQtWrapper_QWebElementCollection::first(QWebElementCollection* theWrappedObject) const +{ + return ( theWrappedObject->first()); +} + +QWebElement PythonQtWrapper_QWebElementCollection::last(QWebElementCollection* theWrappedObject) const +{ + return ( theWrappedObject->last()); +} + +QWebElementCollection PythonQtWrapper_QWebElementCollection::__add__(QWebElementCollection* theWrappedObject, const QWebElementCollection& other) const +{ + return ( (*theWrappedObject)+ other); +} + +QWebElementCollection* PythonQtWrapper_QWebElementCollection::__iadd__(QWebElementCollection* theWrappedObject, const QWebElementCollection& other) +{ + return &( (*theWrappedObject)+= other); +} + +QWebElementCollection* PythonQtWrapper_QWebElementCollection::operator_assign(QWebElementCollection* theWrappedObject, const QWebElementCollection& arg__1) +{ + return &( (*theWrappedObject)= arg__1); +} + +QWebElement PythonQtWrapper_QWebElementCollection::operator_subscript(QWebElementCollection* theWrappedObject, int i) const +{ + return ( (*theWrappedObject)[i]); +} + +QList PythonQtWrapper_QWebElementCollection::toList(QWebElementCollection* theWrappedObject) const +{ + return ( theWrappedObject->toList()); +} + + + +void PythonQtWrapper_QWebFrame::addToJavaScriptWindowObject(QWebFrame* theWrappedObject, const QString& name, QObject* object, QWebFrame::ValueOwnership ownership) +{ + ( theWrappedObject->addToJavaScriptWindowObject(name, object, ownership)); +} + +QUrl PythonQtWrapper_QWebFrame::baseUrl(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->baseUrl()); +} + +QList PythonQtWrapper_QWebFrame::childFrames(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->childFrames()); +} + +QSize PythonQtWrapper_QWebFrame::contentsSize(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->contentsSize()); +} + +QWebElement PythonQtWrapper_QWebFrame::documentElement(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->documentElement()); +} + +QWebElementCollection PythonQtWrapper_QWebFrame::findAllElements(QWebFrame* theWrappedObject, const QString& selectorQuery) const +{ + return ( theWrappedObject->findAllElements(selectorQuery)); +} + +QWebElement PythonQtWrapper_QWebFrame::findFirstElement(QWebFrame* theWrappedObject, const QString& selectorQuery) const +{ + return ( theWrappedObject->findFirstElement(selectorQuery)); +} + +QString PythonQtWrapper_QWebFrame::frameName(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->frameName()); +} + +QRect PythonQtWrapper_QWebFrame::geometry(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->geometry()); +} + +bool PythonQtWrapper_QWebFrame::hasFocus(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->hasFocus()); +} + +QWebHitTestResult PythonQtWrapper_QWebFrame::hitTestContent(QWebFrame* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->hitTestContent(pos)); +} + +QIcon PythonQtWrapper_QWebFrame::icon(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +void PythonQtWrapper_QWebFrame::load(QWebFrame* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation, const QByteArray& body) +{ + ( theWrappedObject->load(request, operation, body)); +} + +void PythonQtWrapper_QWebFrame::load(QWebFrame* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->load(url)); +} + +QMultiMap PythonQtWrapper_QWebFrame::metaData(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->metaData()); +} + +QWebPage* PythonQtWrapper_QWebFrame::page(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->page()); +} + +QWebFrame* PythonQtWrapper_QWebFrame::parentFrame(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->parentFrame()); +} + +QPoint PythonQtWrapper_QWebFrame::pos(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +void PythonQtWrapper_QWebFrame::render(QWebFrame* theWrappedObject, QPainter* arg__1, QWebFrame::RenderLayers layer, const QRegion& clip) +{ + ( theWrappedObject->render(arg__1, layer, clip)); +} + +void PythonQtWrapper_QWebFrame::render(QWebFrame* theWrappedObject, QPainter* arg__1, const QRegion& clip) +{ + ( theWrappedObject->render(arg__1, clip)); +} + +QUrl PythonQtWrapper_QWebFrame::requestedUrl(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->requestedUrl()); +} + +void PythonQtWrapper_QWebFrame::scroll(QWebFrame* theWrappedObject, int arg__1, int arg__2) +{ + ( theWrappedObject->scroll(arg__1, arg__2)); +} + +QRect PythonQtWrapper_QWebFrame::scrollBarGeometry(QWebFrame* theWrappedObject, Qt::Orientation orientation) const +{ + return ( theWrappedObject->scrollBarGeometry(orientation)); +} + +int PythonQtWrapper_QWebFrame::scrollBarMaximum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const +{ + return ( theWrappedObject->scrollBarMaximum(orientation)); +} + +int PythonQtWrapper_QWebFrame::scrollBarMinimum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const +{ + return ( theWrappedObject->scrollBarMinimum(orientation)); +} + +Qt::ScrollBarPolicy PythonQtWrapper_QWebFrame::scrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation) const +{ + return ( theWrappedObject->scrollBarPolicy(orientation)); +} + +int PythonQtWrapper_QWebFrame::scrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation) const +{ + return ( theWrappedObject->scrollBarValue(orientation)); +} + +QPoint PythonQtWrapper_QWebFrame::scrollPosition(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->scrollPosition()); +} + +void PythonQtWrapper_QWebFrame::scrollToAnchor(QWebFrame* theWrappedObject, const QString& anchor) +{ + ( theWrappedObject->scrollToAnchor(anchor)); +} + +QWebSecurityOrigin PythonQtWrapper_QWebFrame::securityOrigin(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->securityOrigin()); +} + +void PythonQtWrapper_QWebFrame::setContent(QWebFrame* theWrappedObject, const QByteArray& data, const QString& mimeType, const QUrl& baseUrl) +{ + ( theWrappedObject->setContent(data, mimeType, baseUrl)); +} + +void PythonQtWrapper_QWebFrame::setFocus(QWebFrame* theWrappedObject) +{ + ( theWrappedObject->setFocus()); +} + +void PythonQtWrapper_QWebFrame::setHtml(QWebFrame* theWrappedObject, const QString& html, const QUrl& baseUrl) +{ + ( theWrappedObject->setHtml(html, baseUrl)); +} + +void PythonQtWrapper_QWebFrame::setScrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation, Qt::ScrollBarPolicy policy) +{ + ( theWrappedObject->setScrollBarPolicy(orientation, policy)); +} + +void PythonQtWrapper_QWebFrame::setScrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation, int value) +{ + ( theWrappedObject->setScrollBarValue(orientation, value)); +} + +void PythonQtWrapper_QWebFrame::setScrollPosition(QWebFrame* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->setScrollPosition(pos)); +} + +void PythonQtWrapper_QWebFrame::setTextSizeMultiplier(QWebFrame* theWrappedObject, qreal factor) +{ + ( theWrappedObject->setTextSizeMultiplier(factor)); +} + +void PythonQtWrapper_QWebFrame::setUrl(QWebFrame* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->setUrl(url)); +} + +void PythonQtWrapper_QWebFrame::setZoomFactor(QWebFrame* theWrappedObject, qreal factor) +{ + ( theWrappedObject->setZoomFactor(factor)); +} + +qreal PythonQtWrapper_QWebFrame::textSizeMultiplier(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->textSizeMultiplier()); +} + +QString PythonQtWrapper_QWebFrame::title(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +QString PythonQtWrapper_QWebFrame::toHtml(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->toHtml()); +} + +QString PythonQtWrapper_QWebFrame::toPlainText(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->toPlainText()); +} + +QUrl PythonQtWrapper_QWebFrame::url(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +qreal PythonQtWrapper_QWebFrame::zoomFactor(QWebFrame* theWrappedObject) const +{ + return ( theWrappedObject->zoomFactor()); +} + + + +void PythonQtWrapper_QWebHistory::back(QWebHistory* theWrappedObject) +{ + ( theWrappedObject->back()); +} + +QWebHistoryItem PythonQtWrapper_QWebHistory::backItem(QWebHistory* theWrappedObject) const +{ + return ( theWrappedObject->backItem()); +} + +QList PythonQtWrapper_QWebHistory::backItems(QWebHistory* theWrappedObject, int maxItems) const +{ + return ( theWrappedObject->backItems(maxItems)); +} + +bool PythonQtWrapper_QWebHistory::canGoBack(QWebHistory* theWrappedObject) const +{ + return ( theWrappedObject->canGoBack()); +} + +bool PythonQtWrapper_QWebHistory::canGoForward(QWebHistory* theWrappedObject) const +{ + return ( theWrappedObject->canGoForward()); +} + +void PythonQtWrapper_QWebHistory::clear(QWebHistory* theWrappedObject) +{ + ( theWrappedObject->clear()); +} + +int PythonQtWrapper_QWebHistory::count(QWebHistory* theWrappedObject) const +{ + return ( theWrappedObject->count()); +} + +QWebHistoryItem PythonQtWrapper_QWebHistory::currentItem(QWebHistory* theWrappedObject) const +{ + return ( theWrappedObject->currentItem()); +} + +int PythonQtWrapper_QWebHistory::currentItemIndex(QWebHistory* theWrappedObject) const +{ + return ( theWrappedObject->currentItemIndex()); +} + +void PythonQtWrapper_QWebHistory::forward(QWebHistory* theWrappedObject) +{ + ( theWrappedObject->forward()); +} + +QWebHistoryItem PythonQtWrapper_QWebHistory::forwardItem(QWebHistory* theWrappedObject) const +{ + return ( theWrappedObject->forwardItem()); +} + +QList PythonQtWrapper_QWebHistory::forwardItems(QWebHistory* theWrappedObject, int maxItems) const +{ + return ( theWrappedObject->forwardItems(maxItems)); +} + +void PythonQtWrapper_QWebHistory::goToItem(QWebHistory* theWrappedObject, const QWebHistoryItem& item) +{ + ( theWrappedObject->goToItem(item)); +} + +QWebHistoryItem PythonQtWrapper_QWebHistory::itemAt(QWebHistory* theWrappedObject, int i) const +{ + return ( theWrappedObject->itemAt(i)); +} + +QList PythonQtWrapper_QWebHistory::items(QWebHistory* theWrappedObject) const +{ + return ( theWrappedObject->items()); +} + +int PythonQtWrapper_QWebHistory::maximumItemCount(QWebHistory* theWrappedObject) const +{ + return ( theWrappedObject->maximumItemCount()); +} + +void PythonQtWrapper_QWebHistory::writeTo(QWebHistory* theWrappedObject, QDataStream& stream) +{ + stream << (*theWrappedObject); +} + +void PythonQtWrapper_QWebHistory::readFrom(QWebHistory* theWrappedObject, QDataStream& stream) +{ + stream >> (*theWrappedObject); +} + +void PythonQtWrapper_QWebHistory::setMaximumItemCount(QWebHistory* theWrappedObject, int count) +{ + ( theWrappedObject->setMaximumItemCount(count)); +} + + + +PythonQtShell_QWebHistoryInterface::~PythonQtShell_QWebHistoryInterface() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QWebHistoryInterface::addHistoryEntry(const QString& url0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("addHistoryEntry"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&url0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QWebHistoryInterface::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebHistoryInterface::childEvent(event0); +} +void PythonQtShell_QWebHistoryInterface::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebHistoryInterface::customEvent(event0); +} +bool PythonQtShell_QWebHistoryInterface::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebHistoryInterface::event(event0); +} +bool PythonQtShell_QWebHistoryInterface::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebHistoryInterface::eventFilter(watched0, event1); +} +bool PythonQtShell_QWebHistoryInterface::historyContains(const QString& url0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("historyContains"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("historyContains", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return bool(); +} +void PythonQtShell_QWebHistoryInterface::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebHistoryInterface::timerEvent(event0); +} +QWebHistoryInterface* PythonQtWrapper_QWebHistoryInterface::new_QWebHistoryInterface(QObject* parent) +{ +return new PythonQtShell_QWebHistoryInterface(parent); } + +const QMetaObject* PythonQtShell_QWebHistoryInterface::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWebHistoryInterface::staticMetaObject); + } else { + return &QWebHistoryInterface::staticMetaObject; + } +} +int PythonQtShell_QWebHistoryInterface::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWebHistoryInterface::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QWebHistoryInterface::addHistoryEntry(QWebHistoryInterface* theWrappedObject, const QString& url) +{ + ( theWrappedObject->addHistoryEntry(url)); +} + +QWebHistoryInterface* PythonQtWrapper_QWebHistoryInterface::static_QWebHistoryInterface_defaultInterface() +{ + return (QWebHistoryInterface::defaultInterface()); +} + +bool PythonQtWrapper_QWebHistoryInterface::historyContains(QWebHistoryInterface* theWrappedObject, const QString& url) const +{ + return ( theWrappedObject->historyContains(url)); +} + +void PythonQtWrapper_QWebHistoryInterface::static_QWebHistoryInterface_setDefaultInterface(QWebHistoryInterface* defaultInterface) +{ + (QWebHistoryInterface::setDefaultInterface(defaultInterface)); +} + + + +QWebHistoryItem* PythonQtWrapper_QWebHistoryItem::new_QWebHistoryItem(const QWebHistoryItem& other) +{ +return new QWebHistoryItem(other); } + +QIcon PythonQtWrapper_QWebHistoryItem::icon(QWebHistoryItem* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +bool PythonQtWrapper_QWebHistoryItem::isValid(QWebHistoryItem* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QDateTime PythonQtWrapper_QWebHistoryItem::lastVisited(QWebHistoryItem* theWrappedObject) const +{ + return ( theWrappedObject->lastVisited()); +} + +QUrl PythonQtWrapper_QWebHistoryItem::originalUrl(QWebHistoryItem* theWrappedObject) const +{ + return ( theWrappedObject->originalUrl()); +} + +void PythonQtWrapper_QWebHistoryItem::setUserData(QWebHistoryItem* theWrappedObject, const QVariant& userData) +{ + ( theWrappedObject->setUserData(userData)); +} + +QString PythonQtWrapper_QWebHistoryItem::title(QWebHistoryItem* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +QUrl PythonQtWrapper_QWebHistoryItem::url(QWebHistoryItem* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +QVariant PythonQtWrapper_QWebHistoryItem::userData(QWebHistoryItem* theWrappedObject) const +{ + return ( theWrappedObject->userData()); +} + + + +QWebHitTestResult* PythonQtWrapper_QWebHitTestResult::new_QWebHitTestResult() +{ +return new QWebHitTestResult(); } + +QWebHitTestResult* PythonQtWrapper_QWebHitTestResult::new_QWebHitTestResult(const QWebHitTestResult& other) +{ +return new QWebHitTestResult(other); } + +QString PythonQtWrapper_QWebHitTestResult::alternateText(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->alternateText()); +} + +QRect PythonQtWrapper_QWebHitTestResult::boundingRect(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->boundingRect()); +} + +QWebElement PythonQtWrapper_QWebHitTestResult::element(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->element()); +} + +QWebElement PythonQtWrapper_QWebHitTestResult::enclosingBlockElement(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->enclosingBlockElement()); +} + +QWebFrame* PythonQtWrapper_QWebHitTestResult::frame(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->frame()); +} + +QUrl PythonQtWrapper_QWebHitTestResult::imageUrl(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->imageUrl()); +} + +bool PythonQtWrapper_QWebHitTestResult::isContentEditable(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->isContentEditable()); +} + +bool PythonQtWrapper_QWebHitTestResult::isContentSelected(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->isContentSelected()); +} + +bool PythonQtWrapper_QWebHitTestResult::isNull(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QWebElement PythonQtWrapper_QWebHitTestResult::linkElement(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->linkElement()); +} + +QWebFrame* PythonQtWrapper_QWebHitTestResult::linkTargetFrame(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->linkTargetFrame()); +} + +QString PythonQtWrapper_QWebHitTestResult::linkText(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->linkText()); +} + +QUrl PythonQtWrapper_QWebHitTestResult::linkTitle(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->linkTitle()); +} + +QString PythonQtWrapper_QWebHitTestResult::linkTitleString(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->linkTitleString()); +} + +QUrl PythonQtWrapper_QWebHitTestResult::linkUrl(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->linkUrl()); +} + +QUrl PythonQtWrapper_QWebHitTestResult::mediaUrl(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->mediaUrl()); +} + +QPixmap PythonQtWrapper_QWebHitTestResult::pixmap(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->pixmap()); +} + +QPoint PythonQtWrapper_QWebHitTestResult::pos(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->pos()); +} + +QString PythonQtWrapper_QWebHitTestResult::title(QWebHitTestResult* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + + + +PythonQtShell_QWebInspector::~PythonQtShell_QWebInspector() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QWebInspector::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::actionEvent(event0); +} +void PythonQtShell_QWebInspector::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::changeEvent(arg__1); +} +void PythonQtShell_QWebInspector::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::childEvent(event0); +} +void PythonQtShell_QWebInspector::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::closeEvent(event0); +} +void PythonQtShell_QWebInspector::contextMenuEvent(QContextMenuEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::contextMenuEvent(event0); +} +void PythonQtShell_QWebInspector::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::customEvent(event0); +} +int PythonQtShell_QWebInspector::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebInspector::devType(); +} +void PythonQtShell_QWebInspector::dragEnterEvent(QDragEnterEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::dragEnterEvent(event0); +} +void PythonQtShell_QWebInspector::dragLeaveEvent(QDragLeaveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::dragLeaveEvent(event0); +} +void PythonQtShell_QWebInspector::dragMoveEvent(QDragMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::dragMoveEvent(event0); +} +void PythonQtShell_QWebInspector::dropEvent(QDropEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::dropEvent(event0); +} +void PythonQtShell_QWebInspector::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::enterEvent(event0); +} +bool PythonQtShell_QWebInspector::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebInspector::event(arg__1); +} +bool PythonQtShell_QWebInspector::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebInspector::eventFilter(watched0, event1); +} +void PythonQtShell_QWebInspector::focusInEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::focusInEvent(event0); +} +bool PythonQtShell_QWebInspector::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebInspector::focusNextPrevChild(next0); +} +void PythonQtShell_QWebInspector::focusOutEvent(QFocusEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::focusOutEvent(event0); +} +bool PythonQtShell_QWebInspector::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebInspector::hasHeightForWidth(); +} +int PythonQtShell_QWebInspector::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebInspector::heightForWidth(arg__1); +} +void PythonQtShell_QWebInspector::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::hideEvent(event0); +} +void PythonQtShell_QWebInspector::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::initPainter(painter0); +} +void PythonQtShell_QWebInspector::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QWebInspector::inputMethodQuery(Qt::InputMethodQuery arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebInspector::inputMethodQuery(arg__1); +} +void PythonQtShell_QWebInspector::keyPressEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::keyPressEvent(event0); +} +void PythonQtShell_QWebInspector::keyReleaseEvent(QKeyEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::keyReleaseEvent(event0); +} +void PythonQtShell_QWebInspector::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::leaveEvent(event0); +} +int PythonQtShell_QWebInspector::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebInspector::metric(arg__1); +} +QSize PythonQtShell_QWebInspector::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebInspector::minimumSizeHint(); +} +void PythonQtShell_QWebInspector::mouseDoubleClickEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::mouseDoubleClickEvent(event0); +} +void PythonQtShell_QWebInspector::mouseMoveEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::mouseMoveEvent(event0); +} +void PythonQtShell_QWebInspector::mousePressEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::mousePressEvent(event0); +} +void PythonQtShell_QWebInspector::mouseReleaseEvent(QMouseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::mouseReleaseEvent(event0); +} +void PythonQtShell_QWebInspector::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::moveEvent(event0); +} +bool PythonQtShell_QWebInspector::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebInspector::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QWebInspector::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebInspector::paintEngine(); +} +void PythonQtShell_QWebInspector::paintEvent(QPaintEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::paintEvent(event0); +} +QPaintDevice* PythonQtShell_QWebInspector::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebInspector::redirected(offset0); +} +void PythonQtShell_QWebInspector::resizeEvent(QResizeEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::resizeEvent(event0); +} +void PythonQtShell_QWebInspector::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::setVisible(visible0); +} +QPainter* PythonQtShell_QWebInspector::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebInspector::sharedPainter(); +} +void PythonQtShell_QWebInspector::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::showEvent(event0); +} +QSize PythonQtShell_QWebInspector::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebInspector::sizeHint(); +} +void PythonQtShell_QWebInspector::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::tabletEvent(event0); +} +void PythonQtShell_QWebInspector::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::timerEvent(event0); +} +void PythonQtShell_QWebInspector::wheelEvent(QWheelEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebInspector::wheelEvent(event0); +} +QWebInspector* PythonQtWrapper_QWebInspector::new_QWebInspector(QWidget* parent) +{ +return new PythonQtShell_QWebInspector(parent); } + +const QMetaObject* PythonQtShell_QWebInspector::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWebInspector::staticMetaObject); + } else { + return &QWebInspector::staticMetaObject; + } +} +int PythonQtShell_QWebInspector::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWebInspector::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QWebPage* PythonQtWrapper_QWebInspector::page(QWebInspector* theWrappedObject) const +{ + return ( theWrappedObject->page()); +} + +void PythonQtWrapper_QWebInspector::setPage(QWebInspector* theWrappedObject, QWebPage* page) +{ + ( theWrappedObject->setPage(page)); +} + + + +PythonQtShell_QWebPage::~PythonQtShell_QWebPage() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +bool PythonQtShell_QWebPage::acceptNavigationRequest(QWebFrame* frame0, const QNetworkRequest& request1, QWebPage::NavigationType type2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("acceptNavigationRequest"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QWebFrame*" , "const QNetworkRequest&" , "QWebPage::NavigationType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&frame0, (void*)&request1, (void*)&type2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("acceptNavigationRequest", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPage::acceptNavigationRequest(frame0, request1, type2); +} +void PythonQtShell_QWebPage::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebPage::childEvent(event0); +} +QString PythonQtShell_QWebPage::chooseFile(QWebFrame* originatingFrame0, const QString& oldFile1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("chooseFile"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "QWebFrame*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QString returnValue{}; + void* args[3] = {nullptr, (void*)&originatingFrame0, (void*)&oldFile1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("chooseFile", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPage::chooseFile(originatingFrame0, oldFile1); +} +QObject* PythonQtShell_QWebPage::createPlugin(const QString& classid0, const QUrl& url1, const QStringList& paramNames2, const QStringList& paramValues3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("createPlugin"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*" , "const QString&" , "const QUrl&" , "const QStringList&" , "const QStringList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QObject* returnValue{}; + void* args[5] = {nullptr, (void*)&classid0, (void*)&url1, (void*)¶mNames2, (void*)¶mValues3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createPlugin", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPage::createPlugin(classid0, url1, paramNames2, paramValues3); +} +QWebPage* PythonQtShell_QWebPage::createWindow(QWebPage::WebWindowType type0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("createWindow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWebPage*" , "QWebPage::WebWindowType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QWebPage* returnValue{}; + void* args[2] = {nullptr, (void*)&type0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createWindow", methodInfo, result); + } else { + returnValue = *((QWebPage**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPage::createWindow(type0); +} +void PythonQtShell_QWebPage::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebPage::customEvent(event0); +} +bool PythonQtShell_QWebPage::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPage::event(arg__1); +} +bool PythonQtShell_QWebPage::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPage::eventFilter(watched0, event1); +} +bool PythonQtShell_QWebPage::extension(QWebPage::Extension extension0, const QWebPage::ExtensionOption* option1, QWebPage::ExtensionReturn* output2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QWebPage::Extension" , "const QWebPage::ExtensionOption*" , "QWebPage::ExtensionReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&extension0, (void*)&option1, (void*)&output2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPage::extension(extension0, option1, output2); +} +void PythonQtShell_QWebPage::javaScriptAlert(QWebFrame* originatingFrame0, const QString& msg1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("javaScriptAlert"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWebFrame*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&originatingFrame0, (void*)&msg1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebPage::javaScriptAlert(originatingFrame0, msg1); +} +bool PythonQtShell_QWebPage::javaScriptConfirm(QWebFrame* originatingFrame0, const QString& msg1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("javaScriptConfirm"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QWebFrame*" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&originatingFrame0, (void*)&msg1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("javaScriptConfirm", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPage::javaScriptConfirm(originatingFrame0, msg1); +} +void PythonQtShell_QWebPage::javaScriptConsoleMessage(const QString& message0, int lineNumber1, const QString& sourceID2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("javaScriptConsoleMessage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&" , "int" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + void* args[4] = {nullptr, (void*)&message0, (void*)&lineNumber1, (void*)&sourceID2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebPage::javaScriptConsoleMessage(message0, lineNumber1, sourceID2); +} +bool PythonQtShell_QWebPage::javaScriptPrompt(QWebFrame* originatingFrame0, const QString& msg1, const QString& defaultValue2, QString* result3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("javaScriptPrompt"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QWebFrame*" , "const QString&" , "const QString&" , "QString*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + bool returnValue{}; + void* args[5] = {nullptr, (void*)&originatingFrame0, (void*)&msg1, (void*)&defaultValue2, (void*)&result3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("javaScriptPrompt", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPage::javaScriptPrompt(originatingFrame0, msg1, defaultValue2, result3); +} +bool PythonQtShell_QWebPage::shouldInterruptJavaScript() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("shouldInterruptJavaScript"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("shouldInterruptJavaScript", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPage::shouldInterruptJavaScript(); +} +bool PythonQtShell_QWebPage::supportsExtension(QWebPage::Extension extension0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QWebPage::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPage::supportsExtension(extension0); +} +void PythonQtShell_QWebPage::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebPage::timerEvent(event0); +} +void PythonQtShell_QWebPage::triggerAction(QWebPage::WebAction action0, bool checked1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("triggerAction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWebPage::WebAction" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&action0, (void*)&checked1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebPage::triggerAction(action0, checked1); +} +QString PythonQtShell_QWebPage::userAgentForUrl(const QUrl& url0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("userAgentForUrl"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue{}; + void* args[2] = {nullptr, (void*)&url0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("userAgentForUrl", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPage::userAgentForUrl(url0); +} +QWebPage* PythonQtWrapper_QWebPage::new_QWebPage(QObject* parent) +{ +return new PythonQtShell_QWebPage(parent); } + +const QMetaObject* PythonQtShell_QWebPage::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWebPage::staticMetaObject); + } else { + return &QWebPage::staticMetaObject; + } +} +int PythonQtShell_QWebPage::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWebPage::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +bool PythonQtWrapper_QWebPage::acceptNavigationRequest(QWebPage* theWrappedObject, QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type) +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_acceptNavigationRequest(frame, request, type)); +} + +QAction* PythonQtWrapper_QWebPage::action(QWebPage* theWrappedObject, QWebPage::WebAction action) const +{ + return ( theWrappedObject->action(action)); +} + +quint64 PythonQtWrapper_QWebPage::bytesReceived(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->bytesReceived()); +} + +QString PythonQtWrapper_QWebPage::chooseFile(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& oldFile) +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_chooseFile(originatingFrame, oldFile)); +} + +QObject* PythonQtWrapper_QWebPage::createPlugin(QWebPage* theWrappedObject, const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues) +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_createPlugin(classid, url, paramNames, paramValues)); +} + +QMenu* PythonQtWrapper_QWebPage::createStandardContextMenu(QWebPage* theWrappedObject) +{ + return ( theWrappedObject->createStandardContextMenu()); +} + +QWebPage* PythonQtWrapper_QWebPage::createWindow(QWebPage* theWrappedObject, QWebPage::WebWindowType type) +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_createWindow(type)); +} + +QWebFrame* PythonQtWrapper_QWebPage::currentFrame(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->currentFrame()); +} + +QAction* PythonQtWrapper_QWebPage::customAction(QWebPage* theWrappedObject, int action) const +{ + return ( theWrappedObject->customAction(action)); +} + +bool PythonQtWrapper_QWebPage::extension(QWebPage* theWrappedObject, QWebPage::Extension extension, const QWebPage::ExtensionOption* option, QWebPage::ExtensionReturn* output) +{ + return ( theWrappedObject->extension(extension, option, output)); +} + +bool PythonQtWrapper_QWebPage::findText(QWebPage* theWrappedObject, const QString& subString, QWebPage::FindFlags options) +{ + return ( theWrappedObject->findText(subString, options)); +} + +bool PythonQtWrapper_QWebPage::focusNextPrevChild(QWebPage* theWrappedObject, bool next) +{ + return ( theWrappedObject->focusNextPrevChild(next)); +} + +bool PythonQtWrapper_QWebPage::forwardUnsupportedContent(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->forwardUnsupportedContent()); +} + +QWebFrame* PythonQtWrapper_QWebPage::frameAt(QWebPage* theWrappedObject, const QPoint& pos) const +{ + return ( theWrappedObject->frameAt(pos)); +} + +bool PythonQtWrapper_QWebPage::hasSelection(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->hasSelection()); +} + +QWebHistory* PythonQtWrapper_QWebPage::history(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->history()); +} + +QVariant PythonQtWrapper_QWebPage::inputMethodQuery(QWebPage* theWrappedObject, Qt::InputMethodQuery property) const +{ + return ( theWrappedObject->inputMethodQuery(property)); +} + +bool PythonQtWrapper_QWebPage::isContentEditable(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->isContentEditable()); +} + +bool PythonQtWrapper_QWebPage::isModified(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->isModified()); +} + +void PythonQtWrapper_QWebPage::javaScriptAlert(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg) +{ + ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptAlert(originatingFrame, msg)); +} + +bool PythonQtWrapper_QWebPage::javaScriptConfirm(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg) +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptConfirm(originatingFrame, msg)); +} + +void PythonQtWrapper_QWebPage::javaScriptConsoleMessage(QWebPage* theWrappedObject, const QString& message, int lineNumber, const QString& sourceID) +{ + ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptConsoleMessage(message, lineNumber, sourceID)); +} + +bool PythonQtWrapper_QWebPage::javaScriptPrompt(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result) +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_javaScriptPrompt(originatingFrame, msg, defaultValue, result)); +} + +QWebPage::LinkDelegationPolicy PythonQtWrapper_QWebPage::linkDelegationPolicy(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->linkDelegationPolicy()); +} + +QWebFrame* PythonQtWrapper_QWebPage::mainFrame(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->mainFrame()); +} + +QNetworkAccessManager* PythonQtWrapper_QWebPage::networkAccessManager(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManager()); +} + +QPalette PythonQtWrapper_QWebPage::palette(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->palette()); +} + +QWebPluginFactory* PythonQtWrapper_QWebPage::pluginFactory(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->pluginFactory()); +} + +QSize PythonQtWrapper_QWebPage::preferredContentsSize(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->preferredContentsSize()); +} + +QString PythonQtWrapper_QWebPage::selectedHtml(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->selectedHtml()); +} + +QString PythonQtWrapper_QWebPage::selectedText(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->selectedText()); +} + +void PythonQtWrapper_QWebPage::setActualVisibleContentRect(QWebPage* theWrappedObject, const QRect& rect) const +{ + ( theWrappedObject->setActualVisibleContentRect(rect)); +} + +void PythonQtWrapper_QWebPage::setContentEditable(QWebPage* theWrappedObject, bool editable) +{ + ( theWrappedObject->setContentEditable(editable)); +} + +void PythonQtWrapper_QWebPage::setFeaturePermission(QWebPage* theWrappedObject, QWebFrame* frame, QWebPage::Feature feature, QWebPage::PermissionPolicy policy) +{ + ( theWrappedObject->setFeaturePermission(frame, feature, policy)); +} + +void PythonQtWrapper_QWebPage::setForwardUnsupportedContent(QWebPage* theWrappedObject, bool forward) +{ + ( theWrappedObject->setForwardUnsupportedContent(forward)); +} + +void PythonQtWrapper_QWebPage::setLinkDelegationPolicy(QWebPage* theWrappedObject, QWebPage::LinkDelegationPolicy policy) +{ + ( theWrappedObject->setLinkDelegationPolicy(policy)); +} + +void PythonQtWrapper_QWebPage::setNetworkAccessManager(QWebPage* theWrappedObject, QNetworkAccessManager* manager) +{ + ( theWrappedObject->setNetworkAccessManager(manager)); +} + +void PythonQtWrapper_QWebPage::setPalette(QWebPage* theWrappedObject, const QPalette& palette) +{ + ( theWrappedObject->setPalette(palette)); +} + +void PythonQtWrapper_QWebPage::setPluginFactory(QWebPage* theWrappedObject, QWebPluginFactory* factory) +{ + ( theWrappedObject->setPluginFactory(factory)); +} + +void PythonQtWrapper_QWebPage::setPreferredContentsSize(QWebPage* theWrappedObject, const QSize& size) const +{ + ( theWrappedObject->setPreferredContentsSize(size)); +} + +void PythonQtWrapper_QWebPage::setView(QWebPage* theWrappedObject, QWidget* view) +{ + ( theWrappedObject->setView(view)); +} + +void PythonQtWrapper_QWebPage::setViewportSize(QWebPage* theWrappedObject, const QSize& size) const +{ + ( theWrappedObject->setViewportSize(size)); +} + +void PythonQtWrapper_QWebPage::setVisibilityState(QWebPage* theWrappedObject, QWebPage::VisibilityState arg__1) +{ + ( theWrappedObject->setVisibilityState(arg__1)); +} + +QWebSettings* PythonQtWrapper_QWebPage::settings(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->settings()); +} + +bool PythonQtWrapper_QWebPage::shouldInterruptJavaScript(QWebPage* theWrappedObject) +{ + return ( theWrappedObject->shouldInterruptJavaScript()); +} + +QStringList PythonQtWrapper_QWebPage::supportedContentTypes(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->supportedContentTypes()); +} + +bool PythonQtWrapper_QWebPage::supportsContentType(QWebPage* theWrappedObject, const QString& mimeType) const +{ + return ( theWrappedObject->supportsContentType(mimeType)); +} + +bool PythonQtWrapper_QWebPage::supportsExtension(QWebPage* theWrappedObject, QWebPage::Extension extension) const +{ + return ( theWrappedObject->supportsExtension(extension)); +} + +bool PythonQtWrapper_QWebPage::swallowContextMenuEvent(QWebPage* theWrappedObject, QContextMenuEvent* event) +{ + return ( theWrappedObject->swallowContextMenuEvent(event)); +} + +quint64 PythonQtWrapper_QWebPage::totalBytes(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->totalBytes()); +} + +void PythonQtWrapper_QWebPage::triggerAction(QWebPage* theWrappedObject, QWebPage::WebAction action, bool checked) +{ + ( theWrappedObject->triggerAction(action, checked)); +} + +QUndoStack* PythonQtWrapper_QWebPage::undoStack(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->undoStack()); +} + +void PythonQtWrapper_QWebPage::updatePositionDependentActions(QWebPage* theWrappedObject, const QPoint& pos) +{ + ( theWrappedObject->updatePositionDependentActions(pos)); +} + +QString PythonQtWrapper_QWebPage::userAgentForUrl(QWebPage* theWrappedObject, const QUrl& url) const +{ + return ( ((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->promoted_userAgentForUrl(url)); +} + +QWidget* PythonQtWrapper_QWebPage::view(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->view()); +} + +QSize PythonQtWrapper_QWebPage::viewportSize(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->viewportSize()); +} + +QWebPage::VisibilityState PythonQtWrapper_QWebPage::visibilityState(QWebPage* theWrappedObject) const +{ + return ( theWrappedObject->visibilityState()); +} + + + +PythonQtShell_QWebPage__ChooseMultipleFilesExtensionOption::~PythonQtShell_QWebPage__ChooseMultipleFilesExtensionOption() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWebPage::ChooseMultipleFilesExtensionOption* PythonQtWrapper_QWebPage__ChooseMultipleFilesExtensionOption::new_QWebPage__ChooseMultipleFilesExtensionOption() +{ +return new PythonQtShell_QWebPage__ChooseMultipleFilesExtensionOption(); } + + + +PythonQtShell_QWebPage__ChooseMultipleFilesExtensionReturn::~PythonQtShell_QWebPage__ChooseMultipleFilesExtensionReturn() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWebPage::ChooseMultipleFilesExtensionReturn* PythonQtWrapper_QWebPage__ChooseMultipleFilesExtensionReturn::new_QWebPage__ChooseMultipleFilesExtensionReturn() +{ +return new PythonQtShell_QWebPage__ChooseMultipleFilesExtensionReturn(); } + + + +PythonQtShell_QWebPage__ErrorPageExtensionOption::~PythonQtShell_QWebPage__ErrorPageExtensionOption() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWebPage::ErrorPageExtensionOption* PythonQtWrapper_QWebPage__ErrorPageExtensionOption::new_QWebPage__ErrorPageExtensionOption() +{ +return new PythonQtShell_QWebPage__ErrorPageExtensionOption(); } + + + +PythonQtShell_QWebPage__ErrorPageExtensionReturn::~PythonQtShell_QWebPage__ErrorPageExtensionReturn() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWebPage::ErrorPageExtensionReturn* PythonQtWrapper_QWebPage__ErrorPageExtensionReturn::new_QWebPage__ErrorPageExtensionReturn() +{ +return new PythonQtShell_QWebPage__ErrorPageExtensionReturn(); } + + + +PythonQtShell_QWebPage__ExtensionOption::~PythonQtShell_QWebPage__ExtensionOption() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWebPage::ExtensionOption* PythonQtWrapper_QWebPage__ExtensionOption::new_QWebPage__ExtensionOption() +{ +return new PythonQtShell_QWebPage__ExtensionOption(); } + + + +PythonQtShell_QWebPage__ExtensionReturn::~PythonQtShell_QWebPage__ExtensionReturn() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWebPage::ExtensionReturn* PythonQtWrapper_QWebPage__ExtensionReturn::new_QWebPage__ExtensionReturn() +{ +return new PythonQtShell_QWebPage__ExtensionReturn(); } + + + +PythonQtShell_QWebPluginFactory::~PythonQtShell_QWebPluginFactory() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QWebPluginFactory::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebPluginFactory::childEvent(event0); +} +QObject* PythonQtShell_QWebPluginFactory::create(const QString& mimeType0, const QUrl& arg__2, const QStringList& argumentNames2, const QStringList& argumentValues3) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("create"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QObject*" , "const QString&" , "const QUrl&" , "const QStringList&" , "const QStringList&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + QObject* returnValue{}; + void* args[5] = {nullptr, (void*)&mimeType0, (void*)&arg__2, (void*)&argumentNames2, (void*)&argumentValues3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("create", methodInfo, result); + } else { + returnValue = *((QObject**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return nullptr; +} +void PythonQtShell_QWebPluginFactory::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebPluginFactory::customEvent(event0); +} +bool PythonQtShell_QWebPluginFactory::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPluginFactory::event(event0); +} +bool PythonQtShell_QWebPluginFactory::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPluginFactory::eventFilter(watched0, event1); +} +bool PythonQtShell_QWebPluginFactory::extension(QWebPluginFactory::Extension extension0, const QWebPluginFactory::ExtensionOption* option1, QWebPluginFactory::ExtensionReturn* output2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("extension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QWebPluginFactory::Extension" , "const QWebPluginFactory::ExtensionOption*" , "QWebPluginFactory::ExtensionReturn*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&extension0, (void*)&option1, (void*)&output2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("extension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPluginFactory::extension(extension0, option1, output2); +} +QList PythonQtShell_QWebPluginFactory::plugins() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("plugins"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QList"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QList returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("plugins", methodInfo, result); + } else { + returnValue = *((QList*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QList(); +} +void PythonQtShell_QWebPluginFactory::refreshPlugins() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("refreshPlugins"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebPluginFactory::refreshPlugins(); +} +bool PythonQtShell_QWebPluginFactory::supportsExtension(QWebPluginFactory::Extension extension0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("supportsExtension"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QWebPluginFactory::Extension"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&extension0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("supportsExtension", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebPluginFactory::supportsExtension(extension0); +} +void PythonQtShell_QWebPluginFactory::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebPluginFactory::timerEvent(event0); +} +QWebPluginFactory* PythonQtWrapper_QWebPluginFactory::new_QWebPluginFactory(QObject* parent) +{ +return new PythonQtShell_QWebPluginFactory(parent); } + +const QMetaObject* PythonQtShell_QWebPluginFactory::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWebPluginFactory::staticMetaObject); + } else { + return &QWebPluginFactory::staticMetaObject; + } +} +int PythonQtShell_QWebPluginFactory::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWebPluginFactory::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QObject* PythonQtWrapper_QWebPluginFactory::create(QWebPluginFactory* theWrappedObject, const QString& mimeType, const QUrl& arg__2, const QStringList& argumentNames, const QStringList& argumentValues) const +{ + return ( theWrappedObject->create(mimeType, arg__2, argumentNames, argumentValues)); +} + +bool PythonQtWrapper_QWebPluginFactory::extension(QWebPluginFactory* theWrappedObject, QWebPluginFactory::Extension extension, const QWebPluginFactory::ExtensionOption* option, QWebPluginFactory::ExtensionReturn* output) +{ + return ( theWrappedObject->extension(extension, option, output)); +} + +QList PythonQtWrapper_QWebPluginFactory::plugins(QWebPluginFactory* theWrappedObject) const +{ + return ( theWrappedObject->plugins()); +} + +void PythonQtWrapper_QWebPluginFactory::refreshPlugins(QWebPluginFactory* theWrappedObject) +{ + ( theWrappedObject->refreshPlugins()); +} + +bool PythonQtWrapper_QWebPluginFactory::supportsExtension(QWebPluginFactory* theWrappedObject, QWebPluginFactory::Extension extension) const +{ + return ( theWrappedObject->supportsExtension(extension)); +} + + + +PythonQtShell_QWebPluginFactory__ExtensionOption::~PythonQtShell_QWebPluginFactory__ExtensionOption() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWebPluginFactory::ExtensionOption* PythonQtWrapper_QWebPluginFactory__ExtensionOption::new_QWebPluginFactory__ExtensionOption() +{ +return new PythonQtShell_QWebPluginFactory__ExtensionOption(); } + + + +PythonQtShell_QWebPluginFactory__ExtensionReturn::~PythonQtShell_QWebPluginFactory__ExtensionReturn() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWebPluginFactory::ExtensionReturn* PythonQtWrapper_QWebPluginFactory__ExtensionReturn::new_QWebPluginFactory__ExtensionReturn() +{ +return new PythonQtShell_QWebPluginFactory__ExtensionReturn(); } + + + +PythonQtShell_QWebPluginFactory__MimeType::~PythonQtShell_QWebPluginFactory__MimeType() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWebPluginFactory::MimeType* PythonQtWrapper_QWebPluginFactory__MimeType::new_QWebPluginFactory__MimeType() +{ +return new PythonQtShell_QWebPluginFactory__MimeType(); } + +bool PythonQtWrapper_QWebPluginFactory__MimeType::__ne__(QWebPluginFactory::MimeType* theWrappedObject, const QWebPluginFactory::MimeType& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QWebPluginFactory__MimeType::__eq__(QWebPluginFactory::MimeType* theWrappedObject, const QWebPluginFactory::MimeType& other) const +{ + return ( (*theWrappedObject)== other); +} + + + +PythonQtShell_QWebPluginFactory__Plugin::~PythonQtShell_QWebPluginFactory__Plugin() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QWebPluginFactory::Plugin* PythonQtWrapper_QWebPluginFactory__Plugin::new_QWebPluginFactory__Plugin() +{ +return new PythonQtShell_QWebPluginFactory__Plugin(); } + + + +QWebSecurityOrigin* PythonQtWrapper_QWebSecurityOrigin::new_QWebSecurityOrigin(const QUrl& url) +{ +return new QWebSecurityOrigin(url); } + +QWebSecurityOrigin* PythonQtWrapper_QWebSecurityOrigin::new_QWebSecurityOrigin(const QWebSecurityOrigin& other) +{ +return new QWebSecurityOrigin(other); } + +void PythonQtWrapper_QWebSecurityOrigin::addAccessWhitelistEntry(QWebSecurityOrigin* theWrappedObject, const QString& scheme, const QString& host, QWebSecurityOrigin::SubdomainSetting subdomainSetting) +{ + ( theWrappedObject->addAccessWhitelistEntry(scheme, host, subdomainSetting)); +} + +void PythonQtWrapper_QWebSecurityOrigin::static_QWebSecurityOrigin_addLocalScheme(const QString& scheme) +{ + (QWebSecurityOrigin::addLocalScheme(scheme)); +} + +QList PythonQtWrapper_QWebSecurityOrigin::static_QWebSecurityOrigin_allOrigins() +{ + return (QWebSecurityOrigin::allOrigins()); +} + +qint64 PythonQtWrapper_QWebSecurityOrigin::databaseQuota(QWebSecurityOrigin* theWrappedObject) const +{ + return ( theWrappedObject->databaseQuota()); +} + +qint64 PythonQtWrapper_QWebSecurityOrigin::databaseUsage(QWebSecurityOrigin* theWrappedObject) const +{ + return ( theWrappedObject->databaseUsage()); +} + +QList PythonQtWrapper_QWebSecurityOrigin::databases(QWebSecurityOrigin* theWrappedObject) const +{ + return ( theWrappedObject->databases()); +} + +QString PythonQtWrapper_QWebSecurityOrigin::host(QWebSecurityOrigin* theWrappedObject) const +{ + return ( theWrappedObject->host()); +} + +QStringList PythonQtWrapper_QWebSecurityOrigin::static_QWebSecurityOrigin_localSchemes() +{ + return (QWebSecurityOrigin::localSchemes()); +} + +QWebSecurityOrigin* PythonQtWrapper_QWebSecurityOrigin::operator_assign(QWebSecurityOrigin* theWrappedObject, const QWebSecurityOrigin& other) +{ + return &( (*theWrappedObject)= other); +} + +int PythonQtWrapper_QWebSecurityOrigin::port(QWebSecurityOrigin* theWrappedObject) const +{ + return ( theWrappedObject->port()); +} + +void PythonQtWrapper_QWebSecurityOrigin::removeAccessWhitelistEntry(QWebSecurityOrigin* theWrappedObject, const QString& scheme, const QString& host, QWebSecurityOrigin::SubdomainSetting subdomainSetting) +{ + ( theWrappedObject->removeAccessWhitelistEntry(scheme, host, subdomainSetting)); +} + +void PythonQtWrapper_QWebSecurityOrigin::static_QWebSecurityOrigin_removeLocalScheme(const QString& scheme) +{ + (QWebSecurityOrigin::removeLocalScheme(scheme)); +} + +QString PythonQtWrapper_QWebSecurityOrigin::scheme(QWebSecurityOrigin* theWrappedObject) const +{ + return ( theWrappedObject->scheme()); +} + +void PythonQtWrapper_QWebSecurityOrigin::setApplicationCacheQuota(QWebSecurityOrigin* theWrappedObject, qint64 quota) +{ + ( theWrappedObject->setApplicationCacheQuota(quota)); +} + +void PythonQtWrapper_QWebSecurityOrigin::setDatabaseQuota(QWebSecurityOrigin* theWrappedObject, qint64 quota) +{ + ( theWrappedObject->setDatabaseQuota(quota)); +} + + + +void PythonQtWrapper_QWebSettings::static_QWebSettings_clearIconDatabase() +{ + (QWebSettings::clearIconDatabase()); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_clearMemoryCaches() +{ + (QWebSettings::clearMemoryCaches()); +} + +QString PythonQtWrapper_QWebSettings::cssMediaType(QWebSettings* theWrappedObject) const +{ + return ( theWrappedObject->cssMediaType()); +} + +QString PythonQtWrapper_QWebSettings::defaultTextEncoding(QWebSettings* theWrappedObject) const +{ + return ( theWrappedObject->defaultTextEncoding()); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_enablePersistentStorage(const QString& path) +{ + (QWebSettings::enablePersistentStorage(path)); +} + +QString PythonQtWrapper_QWebSettings::fontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which) const +{ + return ( theWrappedObject->fontFamily(which)); +} + +int PythonQtWrapper_QWebSettings::fontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type) const +{ + return ( theWrappedObject->fontSize(type)); +} + +QWebSettings* PythonQtWrapper_QWebSettings::static_QWebSettings_globalSettings() +{ + return (QWebSettings::globalSettings()); +} + +QString PythonQtWrapper_QWebSettings::static_QWebSettings_iconDatabasePath() +{ + return (QWebSettings::iconDatabasePath()); +} + +QIcon PythonQtWrapper_QWebSettings::static_QWebSettings_iconForUrl(const QUrl& url) +{ + return (QWebSettings::iconForUrl(url)); +} + +QString PythonQtWrapper_QWebSettings::localStoragePath(QWebSettings* theWrappedObject) const +{ + return ( theWrappedObject->localStoragePath()); +} + +int PythonQtWrapper_QWebSettings::static_QWebSettings_maximumPagesInCache() +{ + return (QWebSettings::maximumPagesInCache()); +} + +qint64 PythonQtWrapper_QWebSettings::static_QWebSettings_offlineStorageDefaultQuota() +{ + return (QWebSettings::offlineStorageDefaultQuota()); +} + +QString PythonQtWrapper_QWebSettings::static_QWebSettings_offlineStoragePath() +{ + return (QWebSettings::offlineStoragePath()); +} + +QString PythonQtWrapper_QWebSettings::static_QWebSettings_offlineWebApplicationCachePath() +{ + return (QWebSettings::offlineWebApplicationCachePath()); +} + +qint64 PythonQtWrapper_QWebSettings::static_QWebSettings_offlineWebApplicationCacheQuota() +{ + return (QWebSettings::offlineWebApplicationCacheQuota()); +} + +void PythonQtWrapper_QWebSettings::resetAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr) +{ + ( theWrappedObject->resetAttribute(attr)); +} + +void PythonQtWrapper_QWebSettings::resetFontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which) +{ + ( theWrappedObject->resetFontFamily(which)); +} + +void PythonQtWrapper_QWebSettings::resetFontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type) +{ + ( theWrappedObject->resetFontSize(type)); +} + +void PythonQtWrapper_QWebSettings::setAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr, bool on) +{ + ( theWrappedObject->setAttribute(attr, on)); +} + +void PythonQtWrapper_QWebSettings::setCSSMediaType(QWebSettings* theWrappedObject, const QString& arg__1) +{ + ( theWrappedObject->setCSSMediaType(arg__1)); +} + +void PythonQtWrapper_QWebSettings::setDefaultTextEncoding(QWebSettings* theWrappedObject, const QString& encoding) +{ + ( theWrappedObject->setDefaultTextEncoding(encoding)); +} + +void PythonQtWrapper_QWebSettings::setFontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which, const QString& family) +{ + ( theWrappedObject->setFontFamily(which, family)); +} + +void PythonQtWrapper_QWebSettings::setFontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type, int size) +{ + ( theWrappedObject->setFontSize(type, size)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setIconDatabasePath(const QString& location) +{ + (QWebSettings::setIconDatabasePath(location)); +} + +void PythonQtWrapper_QWebSettings::setLocalStoragePath(QWebSettings* theWrappedObject, const QString& path) +{ + ( theWrappedObject->setLocalStoragePath(path)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setMaximumPagesInCache(int pages) +{ + (QWebSettings::setMaximumPagesInCache(pages)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setObjectCacheCapacities(int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity) +{ + (QWebSettings::setObjectCacheCapacities(cacheMinDeadCapacity, cacheMaxDead, totalCapacity)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setOfflineStorageDefaultQuota(qint64 maximumSize) +{ + (QWebSettings::setOfflineStorageDefaultQuota(maximumSize)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setOfflineStoragePath(const QString& path) +{ + (QWebSettings::setOfflineStoragePath(path)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setOfflineWebApplicationCachePath(const QString& path) +{ + (QWebSettings::setOfflineWebApplicationCachePath(path)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setOfflineWebApplicationCacheQuota(qint64 maximumSize) +{ + (QWebSettings::setOfflineWebApplicationCacheQuota(maximumSize)); +} + +void PythonQtWrapper_QWebSettings::setThirdPartyCookiePolicy(QWebSettings* theWrappedObject, QWebSettings::ThirdPartyCookiePolicy arg__1) +{ + ( theWrappedObject->setThirdPartyCookiePolicy(arg__1)); +} + +void PythonQtWrapper_QWebSettings::setUserStyleSheetUrl(QWebSettings* theWrappedObject, const QUrl& location) +{ + ( theWrappedObject->setUserStyleSheetUrl(location)); +} + +void PythonQtWrapper_QWebSettings::static_QWebSettings_setWebGraphic(QWebSettings::WebGraphic type, const QPixmap& graphic) +{ + (QWebSettings::setWebGraphic(type, graphic)); +} + +bool PythonQtWrapper_QWebSettings::testAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr) const +{ + return ( theWrappedObject->testAttribute(attr)); +} + +QWebSettings::ThirdPartyCookiePolicy PythonQtWrapper_QWebSettings::thirdPartyCookiePolicy(QWebSettings* theWrappedObject) const +{ + return ( theWrappedObject->thirdPartyCookiePolicy()); +} + +QUrl PythonQtWrapper_QWebSettings::userStyleSheetUrl(QWebSettings* theWrappedObject) const +{ + return ( theWrappedObject->userStyleSheetUrl()); +} + +QPixmap PythonQtWrapper_QWebSettings::static_QWebSettings_webGraphic(QWebSettings::WebGraphic type) +{ + return (QWebSettings::webGraphic(type)); +} + + + +PythonQtShell_QWebView::~PythonQtShell_QWebView() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QWebView::actionEvent(QActionEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("actionEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QActionEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::actionEvent(event0); +} +void PythonQtShell_QWebView::changeEvent(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("changeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::changeEvent(arg__1); +} +void PythonQtShell_QWebView::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::childEvent(event0); +} +void PythonQtShell_QWebView::closeEvent(QCloseEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("closeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QCloseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::closeEvent(event0); +} +void PythonQtShell_QWebView::contextMenuEvent(QContextMenuEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("contextMenuEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QContextMenuEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::contextMenuEvent(arg__1); +} +QWebView* PythonQtShell_QWebView::createWindow(QWebPage::WebWindowType type0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("createWindow"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QWebView*" , "QWebPage::WebWindowType"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QWebView* returnValue{}; + void* args[2] = {nullptr, (void*)&type0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("createWindow", methodInfo, result); + } else { + returnValue = *((QWebView**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::createWindow(type0); +} +void PythonQtShell_QWebView::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::customEvent(event0); +} +int PythonQtShell_QWebView::devType() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("devType"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + int returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("devType", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::devType(); +} +void PythonQtShell_QWebView::dragEnterEvent(QDragEnterEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragEnterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragEnterEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::dragEnterEvent(arg__1); +} +void PythonQtShell_QWebView::dragLeaveEvent(QDragLeaveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragLeaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragLeaveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::dragLeaveEvent(arg__1); +} +void PythonQtShell_QWebView::dragMoveEvent(QDragMoveEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dragMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDragMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::dragMoveEvent(arg__1); +} +void PythonQtShell_QWebView::dropEvent(QDropEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("dropEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QDropEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::dropEvent(arg__1); +} +void PythonQtShell_QWebView::enterEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("enterEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::enterEvent(event0); +} +bool PythonQtShell_QWebView::event(QEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::event(arg__1); +} +bool PythonQtShell_QWebView::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::eventFilter(watched0, event1); +} +void PythonQtShell_QWebView::focusInEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusInEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::focusInEvent(arg__1); +} +bool PythonQtShell_QWebView::focusNextPrevChild(bool next0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusNextPrevChild"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&next0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("focusNextPrevChild", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::focusNextPrevChild(next0); +} +void PythonQtShell_QWebView::focusOutEvent(QFocusEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("focusOutEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QFocusEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::focusOutEvent(arg__1); +} +bool PythonQtShell_QWebView::hasHeightForWidth() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hasHeightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + bool returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("hasHeightForWidth", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::hasHeightForWidth(); +} +int PythonQtShell_QWebView::heightForWidth(int arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("heightForWidth"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "int"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("heightForWidth", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::heightForWidth(arg__1); +} +void PythonQtShell_QWebView::hideEvent(QHideEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("hideEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QHideEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::hideEvent(event0); +} +void PythonQtShell_QWebView::initPainter(QPainter* painter0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("initPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&painter0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::initPainter(painter0); +} +void PythonQtShell_QWebView::inputMethodEvent(QInputMethodEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QInputMethodEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::inputMethodEvent(arg__1); +} +QVariant PythonQtShell_QWebView::inputMethodQuery(Qt::InputMethodQuery property0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("inputMethodQuery"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "Qt::InputMethodQuery"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&property0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("inputMethodQuery", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::inputMethodQuery(property0); +} +void PythonQtShell_QWebView::keyPressEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyPressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::keyPressEvent(arg__1); +} +void PythonQtShell_QWebView::keyReleaseEvent(QKeyEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("keyReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QKeyEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::keyReleaseEvent(arg__1); +} +void PythonQtShell_QWebView::leaveEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("leaveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::leaveEvent(event0); +} +int PythonQtShell_QWebView::metric(QPaintDevice::PaintDeviceMetric arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("metric"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"int" , "QPaintDevice::PaintDeviceMetric"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + int returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("metric", methodInfo, result); + } else { + returnValue = *((int*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::metric(arg__1); +} +QSize PythonQtShell_QWebView::minimumSizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("minimumSizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("minimumSizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::minimumSizeHint(); +} +void PythonQtShell_QWebView::mouseDoubleClickEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseDoubleClickEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::mouseDoubleClickEvent(arg__1); +} +void PythonQtShell_QWebView::mouseMoveEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseMoveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::mouseMoveEvent(arg__1); +} +void PythonQtShell_QWebView::mousePressEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mousePressEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::mousePressEvent(arg__1); +} +void PythonQtShell_QWebView::mouseReleaseEvent(QMouseEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("mouseReleaseEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMouseEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::mouseReleaseEvent(arg__1); +} +void PythonQtShell_QWebView::moveEvent(QMoveEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("moveEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QMoveEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::moveEvent(event0); +} +bool PythonQtShell_QWebView::nativeEvent(const QByteArray& eventType0, void* message1, long* result2) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nativeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QByteArray&" , "void*" , "long*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(4, argumentList); + bool returnValue{}; + void* args[4] = {nullptr, (void*)&eventType0, (void*)&message1, (void*)&result2}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nativeEvent", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::nativeEvent(eventType0, message1, result2); +} +QPaintEngine* PythonQtShell_QWebView::paintEngine() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEngine"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintEngine*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPaintEngine* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("paintEngine", methodInfo, result); + } else { + returnValue = *((QPaintEngine**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::paintEngine(); +} +void PythonQtShell_QWebView::paintEvent(QPaintEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("paintEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QPaintEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::paintEvent(arg__1); +} +QPaintDevice* PythonQtShell_QWebView::redirected(QPoint* offset0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("redirected"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPaintDevice*" , "QPoint*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QPaintDevice* returnValue{}; + void* args[2] = {nullptr, (void*)&offset0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("redirected", methodInfo, result); + } else { + returnValue = *((QPaintDevice**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::redirected(offset0); +} +void PythonQtShell_QWebView::resizeEvent(QResizeEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resizeEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QResizeEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::resizeEvent(arg__1); +} +void PythonQtShell_QWebView::setVisible(bool visible0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("setVisible"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "bool"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&visible0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::setVisible(visible0); +} +QPainter* PythonQtShell_QWebView::sharedPainter() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sharedPainter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QPainter*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QPainter* returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sharedPainter", methodInfo, result); + } else { + returnValue = *((QPainter**)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::sharedPainter(); +} +void PythonQtShell_QWebView::showEvent(QShowEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("showEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QShowEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::showEvent(event0); +} +QSize PythonQtShell_QWebView::sizeHint() const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("sizeHint"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QSize"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + QSize returnValue{}; + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("sizeHint", methodInfo, result); + } else { + returnValue = *((QSize*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QWebView::sizeHint(); +} +void PythonQtShell_QWebView::tabletEvent(QTabletEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("tabletEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTabletEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::tabletEvent(event0); +} +void PythonQtShell_QWebView::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::timerEvent(event0); +} +void PythonQtShell_QWebView::wheelEvent(QWheelEvent* arg__1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("wheelEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QWheelEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QWebView::wheelEvent(arg__1); +} +QWebView* PythonQtWrapper_QWebView::new_QWebView(QWidget* parent) +{ +return new PythonQtShell_QWebView(parent); } + +const QMetaObject* PythonQtShell_QWebView::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QWebView::staticMetaObject); + } else { + return &QWebView::staticMetaObject; + } +} +int PythonQtShell_QWebView::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QWebView::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QWebView* PythonQtWrapper_QWebView::createWindow(QWebView* theWrappedObject, QWebPage::WebWindowType type) +{ + return ( ((PythonQtPublicPromoter_QWebView*)theWrappedObject)->promoted_createWindow(type)); +} + +bool PythonQtWrapper_QWebView::findText(QWebView* theWrappedObject, const QString& subString, QWebPage::FindFlags options) +{ + return ( theWrappedObject->findText(subString, options)); +} + +bool PythonQtWrapper_QWebView::hasSelection(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->hasSelection()); +} + +QWebHistory* PythonQtWrapper_QWebView::history(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->history()); +} + +QIcon PythonQtWrapper_QWebView::icon(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->icon()); +} + +bool PythonQtWrapper_QWebView::isModified(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->isModified()); +} + +void PythonQtWrapper_QWebView::load(QWebView* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation, const QByteArray& body) +{ + ( theWrappedObject->load(request, operation, body)); +} + +void PythonQtWrapper_QWebView::load(QWebView* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->load(url)); +} + +QWebPage* PythonQtWrapper_QWebView::page(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->page()); +} + +QAction* PythonQtWrapper_QWebView::pageAction(QWebView* theWrappedObject, QWebPage::WebAction action) const +{ + return ( theWrappedObject->pageAction(action)); +} + +QPainter::RenderHints PythonQtWrapper_QWebView::renderHints(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->renderHints()); +} + +QString PythonQtWrapper_QWebView::selectedHtml(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->selectedHtml()); +} + +QString PythonQtWrapper_QWebView::selectedText(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->selectedText()); +} + +void PythonQtWrapper_QWebView::setContent(QWebView* theWrappedObject, const QByteArray& data, const QString& mimeType, const QUrl& baseUrl) +{ + ( theWrappedObject->setContent(data, mimeType, baseUrl)); +} + +void PythonQtWrapper_QWebView::setHtml(QWebView* theWrappedObject, const QString& html, const QUrl& baseUrl) +{ + ( theWrappedObject->setHtml(html, baseUrl)); +} + +void PythonQtWrapper_QWebView::setPage(QWebView* theWrappedObject, QWebPage* page) +{ + ( theWrappedObject->setPage(page)); +} + +void PythonQtWrapper_QWebView::setRenderHint(QWebView* theWrappedObject, QPainter::RenderHint hint, bool enabled) +{ + ( theWrappedObject->setRenderHint(hint, enabled)); +} + +void PythonQtWrapper_QWebView::setRenderHints(QWebView* theWrappedObject, QPainter::RenderHints hints) +{ + ( theWrappedObject->setRenderHints(hints)); +} + +void PythonQtWrapper_QWebView::setTextSizeMultiplier(QWebView* theWrappedObject, qreal factor) +{ + ( theWrappedObject->setTextSizeMultiplier(factor)); +} + +void PythonQtWrapper_QWebView::setUrl(QWebView* theWrappedObject, const QUrl& url) +{ + ( theWrappedObject->setUrl(url)); +} + +void PythonQtWrapper_QWebView::setZoomFactor(QWebView* theWrappedObject, qreal factor) +{ + ( theWrappedObject->setZoomFactor(factor)); +} + +QWebSettings* PythonQtWrapper_QWebView::settings(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->settings()); +} + +qreal PythonQtWrapper_QWebView::textSizeMultiplier(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->textSizeMultiplier()); +} + +QString PythonQtWrapper_QWebView::title(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->title()); +} + +void PythonQtWrapper_QWebView::triggerPageAction(QWebView* theWrappedObject, QWebPage::WebAction action, bool checked) +{ + ( theWrappedObject->triggerPageAction(action, checked)); +} + +QUrl PythonQtWrapper_QWebView::url(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->url()); +} + +qreal PythonQtWrapper_QWebView::zoomFactor(QWebView* theWrappedObject) const +{ + return ( theWrappedObject->zoomFactor()); +} + + diff --git a/generated_cpp_5.10.1_triksdk/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.h new file mode 100644 index 000000000..40601b514 --- /dev/null +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.h @@ -0,0 +1,1410 @@ +#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_QGraphicsWebView : public QGraphicsWebView +{ +public: + PythonQtShell_QGraphicsWebView(QGraphicsItem* parent = nullptr):QGraphicsWebView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QGraphicsWebView() override; + +void advance(int phase) override; +QRectF boundingRect() const override; +void changeEvent(QEvent* event) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape) const override; +bool contains(const QPointF& point) const override; +void contextMenuEvent(QGraphicsSceneContextMenuEvent* arg__1) override; +void customEvent(QEvent* event) override; +void dragEnterEvent(QGraphicsSceneDragDropEvent* arg__1) override; +void dragLeaveEvent(QGraphicsSceneDragDropEvent* arg__1) override; +void dragMoveEvent(QGraphicsSceneDragDropEvent* arg__1) override; +void dropEvent(QGraphicsSceneDragDropEvent* arg__1) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QVariant extension(const QVariant& variant) const override; +void focusInEvent(QFocusEvent* arg__1) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* arg__1) override; +void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const override; +void grabKeyboardEvent(QEvent* event) override; +void grabMouseEvent(QEvent* event) override; +void hideEvent(QHideEvent* event) override; +void hoverEnterEvent(QGraphicsSceneHoverEvent* event) override; +void hoverLeaveEvent(QGraphicsSceneHoverEvent* arg__1) override; +void hoverMoveEvent(QGraphicsSceneHoverEvent* arg__1) override; +void initStyleOption(QStyleOption* option) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery query) const override; +bool isObscuredBy(const QGraphicsItem* item) const override; +QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* arg__1) override; +void mouseMoveEvent(QGraphicsSceneMouseEvent* arg__1) override; +void mousePressEvent(QGraphicsSceneMouseEvent* arg__1) override; +void mouseReleaseEvent(QGraphicsSceneMouseEvent* arg__1) override; +void moveEvent(QGraphicsSceneMoveEvent* event) override; +QPainterPath opaqueArea() const override; +void paint(QPainter* arg__1, const QStyleOptionGraphicsItem* options, QWidget* widget = nullptr) override; +void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; +void polishEvent() override; +QVariant propertyChange(const QString& propertyName, const QVariant& value) override; +void resizeEvent(QGraphicsSceneResizeEvent* event) override; +bool sceneEvent(QEvent* arg__1) override; +bool sceneEventFilter(QGraphicsItem* watched, QEvent* event) override; +void setExtension(QGraphicsItem::Extension extension, const QVariant& variant) override; +void setGeometry(const QRectF& rect) override; +QPainterPath shape() const override; +void showEvent(QShowEvent* event) override; +QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint) const override; +bool supportsExtension(QGraphicsItem::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +int type() const override; +void ungrabKeyboardEvent(QEvent* event) override; +void ungrabMouseEvent(QEvent* event) override; +void updateGeometry() override; +void wheelEvent(QGraphicsSceneWheelEvent* arg__1) override; +bool windowFrameEvent(QEvent* e) override; +Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QGraphicsWebView : public QGraphicsWebView +{ public: +inline void promoted_contextMenuEvent(QGraphicsSceneContextMenuEvent* arg__1) { this->contextMenuEvent(arg__1); } +inline void promoted_dragEnterEvent(QGraphicsSceneDragDropEvent* arg__1) { this->dragEnterEvent(arg__1); } +inline void promoted_dragLeaveEvent(QGraphicsSceneDragDropEvent* arg__1) { this->dragLeaveEvent(arg__1); } +inline void promoted_dragMoveEvent(QGraphicsSceneDragDropEvent* arg__1) { this->dragMoveEvent(arg__1); } +inline void promoted_dropEvent(QGraphicsSceneDragDropEvent* arg__1) { this->dropEvent(arg__1); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } +inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* arg__1) { this->hoverLeaveEvent(arg__1); } +inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* arg__1) { this->hoverMoveEvent(arg__1); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { this->keyReleaseEvent(arg__1); } +inline void promoted_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* arg__1) { this->mouseDoubleClickEvent(arg__1); } +inline void promoted_mouseMoveEvent(QGraphicsSceneMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QGraphicsSceneMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QGraphicsSceneMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline bool promoted_sceneEvent(QEvent* arg__1) { return this->sceneEvent(arg__1); } +inline void promoted_wheelEvent(QGraphicsSceneWheelEvent* arg__1) { this->wheelEvent(arg__1); } +inline void py_q_contextMenuEvent(QGraphicsSceneContextMenuEvent* arg__1) { QGraphicsWebView::contextMenuEvent(arg__1); } +inline void py_q_dragEnterEvent(QGraphicsSceneDragDropEvent* arg__1) { QGraphicsWebView::dragEnterEvent(arg__1); } +inline void py_q_dragLeaveEvent(QGraphicsSceneDragDropEvent* arg__1) { QGraphicsWebView::dragLeaveEvent(arg__1); } +inline void py_q_dragMoveEvent(QGraphicsSceneDragDropEvent* arg__1) { QGraphicsWebView::dragMoveEvent(arg__1); } +inline void py_q_dropEvent(QGraphicsSceneDragDropEvent* arg__1) { QGraphicsWebView::dropEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QGraphicsWebView::event(arg__1); } +inline void py_q_focusInEvent(QFocusEvent* arg__1) { QGraphicsWebView::focusInEvent(arg__1); } +inline bool py_q_focusNextPrevChild(bool next) { return QGraphicsWebView::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QGraphicsWebView::focusOutEvent(arg__1); } +inline void py_q_hoverLeaveEvent(QGraphicsSceneHoverEvent* arg__1) { QGraphicsWebView::hoverLeaveEvent(arg__1); } +inline void py_q_hoverMoveEvent(QGraphicsSceneHoverEvent* arg__1) { QGraphicsWebView::hoverMoveEvent(arg__1); } +inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QGraphicsWebView::inputMethodEvent(arg__1); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery query) const { return QGraphicsWebView::inputMethodQuery(query); } +inline QVariant py_q_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsWebView::itemChange(change, value); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QGraphicsWebView::keyPressEvent(arg__1); } +inline void py_q_keyReleaseEvent(QKeyEvent* arg__1) { QGraphicsWebView::keyReleaseEvent(arg__1); } +inline void py_q_mouseDoubleClickEvent(QGraphicsSceneMouseEvent* arg__1) { QGraphicsWebView::mouseDoubleClickEvent(arg__1); } +inline void py_q_mouseMoveEvent(QGraphicsSceneMouseEvent* arg__1) { QGraphicsWebView::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QGraphicsSceneMouseEvent* arg__1) { QGraphicsWebView::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QGraphicsSceneMouseEvent* arg__1) { QGraphicsWebView::mouseReleaseEvent(arg__1); } +inline void py_q_paint(QPainter* arg__1, const QStyleOptionGraphicsItem* options, QWidget* widget = nullptr) { QGraphicsWebView::paint(arg__1, options, widget); } +inline bool py_q_sceneEvent(QEvent* arg__1) { return QGraphicsWebView::sceneEvent(arg__1); } +inline void py_q_setGeometry(const QRectF& rect) { QGraphicsWebView::setGeometry(rect); } +inline QSizeF py_q_sizeHint(Qt::SizeHint which, const QSizeF& constraint) const { return QGraphicsWebView::sizeHint(which, constraint); } +inline void py_q_updateGeometry() { QGraphicsWebView::updateGeometry(); } +inline void py_q_wheelEvent(QGraphicsSceneWheelEvent* arg__1) { QGraphicsWebView::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QGraphicsWebView : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QGraphicsWebView* new_QGraphicsWebView(QGraphicsItem* parent = nullptr); +void delete_QGraphicsWebView(QGraphicsWebView* obj) { delete obj; } + void py_q_contextMenuEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneContextMenuEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_contextMenuEvent(arg__1));} + void py_q_dragEnterEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_dragEnterEvent(arg__1));} + void py_q_dragLeaveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_dragLeaveEvent(arg__1));} + void py_q_dragMoveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_dragMoveEvent(arg__1));} + void py_q_dropEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneDragDropEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_dropEvent(arg__1));} + bool py_q_event(QGraphicsWebView* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_event(arg__1));} + bool findText(QGraphicsWebView* theWrappedObject, const QString& subString, QWebPage::FindFlags options = QWebPage::FindFlags()); + void py_q_focusInEvent(QGraphicsWebView* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_focusInEvent(arg__1));} + bool py_q_focusNextPrevChild(QGraphicsWebView* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QGraphicsWebView* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_focusOutEvent(arg__1));} + QWebHistory* history(QGraphicsWebView* theWrappedObject) const; + void py_q_hoverLeaveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneHoverEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_hoverLeaveEvent(arg__1));} + void py_q_hoverMoveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneHoverEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_hoverMoveEvent(arg__1));} + QIcon icon(QGraphicsWebView* theWrappedObject) const; + void py_q_inputMethodEvent(QGraphicsWebView* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} + QVariant py_q_inputMethodQuery(QGraphicsWebView* theWrappedObject, Qt::InputMethodQuery query) const{ return (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_inputMethodQuery(query));} + bool isModified(QGraphicsWebView* theWrappedObject) const; + bool isTiledBackingStoreFrozen(QGraphicsWebView* theWrappedObject) const; + QVariant py_q_itemChange(QGraphicsWebView* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value){ return (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_itemChange(change, value));} + void py_q_keyPressEvent(QGraphicsWebView* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void py_q_keyReleaseEvent(QGraphicsWebView* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_keyReleaseEvent(arg__1));} + void load(QGraphicsWebView* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray& body = QByteArray()); + void load(QGraphicsWebView* theWrappedObject, const QUrl& url); + void py_q_mouseDoubleClickEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_mouseDoubleClickEvent(arg__1));} + void py_q_mouseMoveEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneMouseEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + QWebPage* page(QGraphicsWebView* theWrappedObject) const; + QAction* pageAction(QGraphicsWebView* theWrappedObject, QWebPage::WebAction action) const; + void py_q_paint(QGraphicsWebView* theWrappedObject, QPainter* arg__1, const QStyleOptionGraphicsItem* options, QWidget* widget = nullptr){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_paint(arg__1, options, widget));} + QPainter::RenderHints renderHints(QGraphicsWebView* theWrappedObject) const; + bool resizesToContents(QGraphicsWebView* theWrappedObject) const; + bool py_q_sceneEvent(QGraphicsWebView* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_sceneEvent(arg__1));} + void setContent(QGraphicsWebView* theWrappedObject, const QByteArray& data, const QString& mimeType = QString(), const QUrl& baseUrl = QUrl()); + void py_q_setGeometry(QGraphicsWebView* theWrappedObject, const QRectF& rect){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_setGeometry(rect));} + void setHtml(QGraphicsWebView* theWrappedObject, const QString& html, const QUrl& baseUrl = QUrl()); + void setPage(QGraphicsWebView* theWrappedObject, QWebPage* arg__1); + void setRenderHint(QGraphicsWebView* theWrappedObject, QPainter::RenderHint arg__1, bool enabled = true); + void setRenderHints(QGraphicsWebView* theWrappedObject, QPainter::RenderHints arg__1); + void setResizesToContents(QGraphicsWebView* theWrappedObject, bool enabled); + void setTiledBackingStoreFrozen(QGraphicsWebView* theWrappedObject, bool frozen); + void setUrl(QGraphicsWebView* theWrappedObject, const QUrl& arg__1); + void setZoomFactor(QGraphicsWebView* theWrappedObject, qreal arg__1); + QWebSettings* settings(QGraphicsWebView* theWrappedObject) const; + QSizeF py_q_sizeHint(QGraphicsWebView* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint) const{ return (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_sizeHint(which, constraint));} + QString title(QGraphicsWebView* theWrappedObject) const; + void triggerPageAction(QGraphicsWebView* theWrappedObject, QWebPage::WebAction action, bool checked = false); + void py_q_updateGeometry(QGraphicsWebView* theWrappedObject){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_updateGeometry());} + QUrl url(QGraphicsWebView* theWrappedObject) const; + void py_q_wheelEvent(QGraphicsWebView* theWrappedObject, QGraphicsSceneWheelEvent* arg__1){ (((PythonQtPublicPromoter_QGraphicsWebView*)theWrappedObject)->py_q_wheelEvent(arg__1));} + qreal zoomFactor(QGraphicsWebView* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QWebDatabase : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebDatabase* new_QWebDatabase(const QWebDatabase& other); +void delete_QWebDatabase(QWebDatabase* obj) { delete obj; } + QString displayName(QWebDatabase* theWrappedObject) const; + qint64 expectedSize(QWebDatabase* theWrappedObject) const; + QString fileName(QWebDatabase* theWrappedObject) const; + QString name(QWebDatabase* theWrappedObject) const; + QWebDatabase* operator_assign(QWebDatabase* theWrappedObject, const QWebDatabase& other); + QWebSecurityOrigin origin(QWebDatabase* theWrappedObject) const; + void static_QWebDatabase_removeAllDatabases(); + void static_QWebDatabase_removeDatabase(const QWebDatabase& arg__1); + qint64 size(QWebDatabase* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QWebElement : public QObject +{ Q_OBJECT +public: +Q_ENUMS(StyleResolveStrategy ) +enum StyleResolveStrategy{ + InlineStyle = QWebElement::InlineStyle, CascadedStyle = QWebElement::CascadedStyle, ComputedStyle = QWebElement::ComputedStyle}; +public Q_SLOTS: +QWebElement* new_QWebElement(); +QWebElement* new_QWebElement(const QWebElement& arg__1); +void delete_QWebElement(QWebElement* obj) { delete obj; } + void addClass(QWebElement* theWrappedObject, const QString& name); + void appendInside(QWebElement* theWrappedObject, const QString& markup); + void appendInside(QWebElement* theWrappedObject, const QWebElement& element); + void appendOutside(QWebElement* theWrappedObject, const QString& markup); + void appendOutside(QWebElement* theWrappedObject, const QWebElement& element); + QString attribute(QWebElement* theWrappedObject, const QString& name, const QString& defaultValue = QString()) const; + QString attributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& defaultValue = QString()) const; + QStringList attributeNames(QWebElement* theWrappedObject, const QString& namespaceUri = QString()) const; + QStringList classes(QWebElement* theWrappedObject) const; + QWebElement clone(QWebElement* theWrappedObject) const; + QWebElement document(QWebElement* theWrappedObject) const; + void encloseContentsWith(QWebElement* theWrappedObject, const QString& markup); + void encloseContentsWith(QWebElement* theWrappedObject, const QWebElement& element); + void encloseWith(QWebElement* theWrappedObject, const QString& markup); + void encloseWith(QWebElement* theWrappedObject, const QWebElement& element); + QVariant evaluateJavaScript(QWebElement* theWrappedObject, const QString& scriptSource); + QWebElementCollection findAll(QWebElement* theWrappedObject, const QString& selectorQuery) const; + QWebElement findFirst(QWebElement* theWrappedObject, const QString& selectorQuery) const; + QWebElement firstChild(QWebElement* theWrappedObject) const; + QRect geometry(QWebElement* theWrappedObject) const; + bool hasAttribute(QWebElement* theWrappedObject, const QString& name) const; + bool hasAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name) const; + bool hasAttributes(QWebElement* theWrappedObject) const; + bool hasClass(QWebElement* theWrappedObject, const QString& name) const; + bool hasFocus(QWebElement* theWrappedObject) const; + bool isNull(QWebElement* theWrappedObject) const; + QWebElement lastChild(QWebElement* theWrappedObject) const; + QString localName(QWebElement* theWrappedObject) const; + QString namespaceUri(QWebElement* theWrappedObject) const; + QWebElement nextSibling(QWebElement* theWrappedObject) const; + bool __ne__(QWebElement* theWrappedObject, const QWebElement& o) const; + QWebElement* operator_assign(QWebElement* theWrappedObject, const QWebElement& arg__1); + bool __eq__(QWebElement* theWrappedObject, const QWebElement& o) const; + QWebElement parent(QWebElement* theWrappedObject) const; + QString prefix(QWebElement* theWrappedObject) const; + void prependInside(QWebElement* theWrappedObject, const QString& markup); + void prependInside(QWebElement* theWrappedObject, const QWebElement& element); + void prependOutside(QWebElement* theWrappedObject, const QString& markup); + void prependOutside(QWebElement* theWrappedObject, const QWebElement& element); + QWebElement previousSibling(QWebElement* theWrappedObject) const; + void removeAllChildren(QWebElement* theWrappedObject); + void removeAttribute(QWebElement* theWrappedObject, const QString& name); + void removeAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name); + void removeClass(QWebElement* theWrappedObject, const QString& name); + void removeFromDocument(QWebElement* theWrappedObject); + void render(QWebElement* theWrappedObject, QPainter* painter); + void render(QWebElement* theWrappedObject, QPainter* painter, const QRect& clipRect); + void replace(QWebElement* theWrappedObject, const QString& markup); + void replace(QWebElement* theWrappedObject, const QWebElement& element); + void setAttribute(QWebElement* theWrappedObject, const QString& name, const QString& value); + void setAttributeNS(QWebElement* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value); + void setFocus(QWebElement* theWrappedObject); + void setInnerXml(QWebElement* theWrappedObject, const QString& markup); + void setOuterXml(QWebElement* theWrappedObject, const QString& markup); + void setPlainText(QWebElement* theWrappedObject, const QString& text); + void setStyleProperty(QWebElement* theWrappedObject, const QString& name, const QString& value); + QString styleProperty(QWebElement* theWrappedObject, const QString& name, QWebElement::StyleResolveStrategy strategy) const; + QString tagName(QWebElement* theWrappedObject) const; + QWebElement* takeFromDocument(QWebElement* theWrappedObject); + QString toInnerXml(QWebElement* theWrappedObject) const; + QString toOuterXml(QWebElement* theWrappedObject) const; + QString toPlainText(QWebElement* theWrappedObject) const; + void toggleClass(QWebElement* theWrappedObject, const QString& name); + QWebFrame* webFrame(QWebElement* theWrappedObject) const; + bool __nonzero__(QWebElement* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QWebElementCollection : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebElementCollection* new_QWebElementCollection(); +QWebElementCollection* new_QWebElementCollection(const QWebElement& contextElement, const QString& query); +QWebElementCollection* new_QWebElementCollection(const QWebElementCollection& arg__1); +void delete_QWebElementCollection(QWebElementCollection* obj) { delete obj; } + void append(QWebElementCollection* theWrappedObject, const QWebElementCollection& collection); + QWebElement at(QWebElementCollection* theWrappedObject, int i) const; + int count(QWebElementCollection* theWrappedObject) const; + QWebElement first(QWebElementCollection* theWrappedObject) const; + QWebElement last(QWebElementCollection* theWrappedObject) const; + QWebElementCollection __add__(QWebElementCollection* theWrappedObject, const QWebElementCollection& other) const; + QWebElementCollection* __iadd__(QWebElementCollection* theWrappedObject, const QWebElementCollection& other); + QWebElementCollection* operator_assign(QWebElementCollection* theWrappedObject, const QWebElementCollection& arg__1); + QWebElement operator_subscript(QWebElementCollection* theWrappedObject, int i) const; + QList toList(QWebElementCollection* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QWebFrame : public QObject +{ Q_OBJECT +public: +Q_ENUMS(RenderLayer ValueOwnership ) +Q_FLAGS(RenderLayers ) +enum RenderLayer{ + ContentsLayer = QWebFrame::ContentsLayer, ScrollBarLayer = QWebFrame::ScrollBarLayer, PanIconLayer = QWebFrame::PanIconLayer, AllLayers = QWebFrame::AllLayers}; +enum ValueOwnership{ + QtOwnership = QWebFrame::QtOwnership, ScriptOwnership = QWebFrame::ScriptOwnership, AutoOwnership = QWebFrame::AutoOwnership}; +Q_DECLARE_FLAGS(RenderLayers, RenderLayer) +public Q_SLOTS: + void addToJavaScriptWindowObject(QWebFrame* theWrappedObject, const QString& name, QObject* object, QWebFrame::ValueOwnership ownership = QWebFrame::QtOwnership); + QUrl baseUrl(QWebFrame* theWrappedObject) const; + QList childFrames(QWebFrame* theWrappedObject) const; + QSize contentsSize(QWebFrame* theWrappedObject) const; + QWebElement documentElement(QWebFrame* theWrappedObject) const; + QWebElementCollection findAllElements(QWebFrame* theWrappedObject, const QString& selectorQuery) const; + QWebElement findFirstElement(QWebFrame* theWrappedObject, const QString& selectorQuery) const; + QString frameName(QWebFrame* theWrappedObject) const; + QRect geometry(QWebFrame* theWrappedObject) const; + bool hasFocus(QWebFrame* theWrappedObject) const; + QWebHitTestResult hitTestContent(QWebFrame* theWrappedObject, const QPoint& pos) const; + QIcon icon(QWebFrame* theWrappedObject) const; + void load(QWebFrame* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray& body = QByteArray()); + void load(QWebFrame* theWrappedObject, const QUrl& url); + QMultiMap metaData(QWebFrame* theWrappedObject) const; + QWebPage* page(QWebFrame* theWrappedObject) const; + QWebFrame* parentFrame(QWebFrame* theWrappedObject) const; + QPoint pos(QWebFrame* theWrappedObject) const; + void render(QWebFrame* theWrappedObject, QPainter* arg__1, QWebFrame::RenderLayers layer, const QRegion& clip = QRegion()); + void render(QWebFrame* theWrappedObject, QPainter* arg__1, const QRegion& clip = QRegion()); + QUrl requestedUrl(QWebFrame* theWrappedObject) const; + void scroll(QWebFrame* theWrappedObject, int arg__1, int arg__2); + QRect scrollBarGeometry(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; + int scrollBarMaximum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; + int scrollBarMinimum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; + Qt::ScrollBarPolicy scrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; + int scrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; + QPoint scrollPosition(QWebFrame* theWrappedObject) const; + void scrollToAnchor(QWebFrame* theWrappedObject, const QString& anchor); + QWebSecurityOrigin securityOrigin(QWebFrame* theWrappedObject) const; + void setContent(QWebFrame* theWrappedObject, const QByteArray& data, const QString& mimeType = QString(), const QUrl& baseUrl = QUrl()); + void setFocus(QWebFrame* theWrappedObject); + void setHtml(QWebFrame* theWrappedObject, const QString& html, const QUrl& baseUrl = QUrl()); + void setScrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation, Qt::ScrollBarPolicy policy); + void setScrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation, int value); + void setScrollPosition(QWebFrame* theWrappedObject, const QPoint& pos); + void setTextSizeMultiplier(QWebFrame* theWrappedObject, qreal factor); + void setUrl(QWebFrame* theWrappedObject, const QUrl& url); + void setZoomFactor(QWebFrame* theWrappedObject, qreal factor); + qreal textSizeMultiplier(QWebFrame* theWrappedObject) const; + QString title(QWebFrame* theWrappedObject) const; + QString toHtml(QWebFrame* theWrappedObject) const; + QString toPlainText(QWebFrame* theWrappedObject) const; + QUrl url(QWebFrame* theWrappedObject) const; + qreal zoomFactor(QWebFrame* theWrappedObject) const; +}; + + + + + +class PythonQtWrapper_QWebHistory : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: + void back(QWebHistory* theWrappedObject); + QWebHistoryItem backItem(QWebHistory* theWrappedObject) const; + QList backItems(QWebHistory* theWrappedObject, int maxItems) const; + bool canGoBack(QWebHistory* theWrappedObject) const; + bool canGoForward(QWebHistory* theWrappedObject) const; + void clear(QWebHistory* theWrappedObject); + int count(QWebHistory* theWrappedObject) const; + QWebHistoryItem currentItem(QWebHistory* theWrappedObject) const; + int currentItemIndex(QWebHistory* theWrappedObject) const; + void forward(QWebHistory* theWrappedObject); + QWebHistoryItem forwardItem(QWebHistory* theWrappedObject) const; + QList forwardItems(QWebHistory* theWrappedObject, int maxItems) const; + void goToItem(QWebHistory* theWrappedObject, const QWebHistoryItem& item); + QWebHistoryItem itemAt(QWebHistory* theWrappedObject, int i) const; + QList items(QWebHistory* theWrappedObject) const; + int maximumItemCount(QWebHistory* theWrappedObject) const; + void writeTo(QWebHistory* theWrappedObject, QDataStream& stream); + void readFrom(QWebHistory* theWrappedObject, QDataStream& stream); + void setMaximumItemCount(QWebHistory* theWrappedObject, int count); +}; + + + + + +class PythonQtShell_QWebHistoryInterface : public QWebHistoryInterface +{ +public: + PythonQtShell_QWebHistoryInterface(QObject* parent = nullptr):QWebHistoryInterface(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebHistoryInterface() override; + +void addHistoryEntry(const QString& url) override; +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool historyContains(const QString& url) const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWebHistoryInterface : public QWebHistoryInterface +{ public: +inline void py_q_addHistoryEntry(const QString& url) { this->addHistoryEntry(url); } +inline bool py_q_historyContains(const QString& url) const { return this->historyContains(url); } +}; + +class PythonQtWrapper_QWebHistoryInterface : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebHistoryInterface* new_QWebHistoryInterface(QObject* parent = nullptr); +void delete_QWebHistoryInterface(QWebHistoryInterface* obj) { delete obj; } + void addHistoryEntry(QWebHistoryInterface* theWrappedObject, const QString& url); + void py_q_addHistoryEntry(QWebHistoryInterface* theWrappedObject, const QString& url){ (((PythonQtPublicPromoter_QWebHistoryInterface*)theWrappedObject)->py_q_addHistoryEntry(url));} + QWebHistoryInterface* static_QWebHistoryInterface_defaultInterface(); + bool historyContains(QWebHistoryInterface* theWrappedObject, const QString& url) const; + bool py_q_historyContains(QWebHistoryInterface* theWrappedObject, const QString& url) const{ return (((PythonQtPublicPromoter_QWebHistoryInterface*)theWrappedObject)->py_q_historyContains(url));} + void static_QWebHistoryInterface_setDefaultInterface(QWebHistoryInterface* defaultInterface); +}; + + + + + +class PythonQtWrapper_QWebHistoryItem : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebHistoryItem* new_QWebHistoryItem(const QWebHistoryItem& other); +void delete_QWebHistoryItem(QWebHistoryItem* obj) { delete obj; } + QIcon icon(QWebHistoryItem* theWrappedObject) const; + bool isValid(QWebHistoryItem* theWrappedObject) const; + QDateTime lastVisited(QWebHistoryItem* theWrappedObject) const; + QUrl originalUrl(QWebHistoryItem* theWrappedObject) const; + void setUserData(QWebHistoryItem* theWrappedObject, const QVariant& userData); + QString title(QWebHistoryItem* theWrappedObject) const; + QUrl url(QWebHistoryItem* theWrappedObject) const; + QVariant userData(QWebHistoryItem* theWrappedObject) const; + bool __nonzero__(QWebHistoryItem* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QWebHitTestResult : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebHitTestResult* new_QWebHitTestResult(); +QWebHitTestResult* new_QWebHitTestResult(const QWebHitTestResult& other); +void delete_QWebHitTestResult(QWebHitTestResult* obj) { delete obj; } + QString alternateText(QWebHitTestResult* theWrappedObject) const; + QRect boundingRect(QWebHitTestResult* theWrappedObject) const; + QWebElement element(QWebHitTestResult* theWrappedObject) const; + QWebElement enclosingBlockElement(QWebHitTestResult* theWrappedObject) const; + QWebFrame* frame(QWebHitTestResult* theWrappedObject) const; + QUrl imageUrl(QWebHitTestResult* theWrappedObject) const; + bool isContentEditable(QWebHitTestResult* theWrappedObject) const; + bool isContentSelected(QWebHitTestResult* theWrappedObject) const; + bool isNull(QWebHitTestResult* theWrappedObject) const; + QWebElement linkElement(QWebHitTestResult* theWrappedObject) const; + QWebFrame* linkTargetFrame(QWebHitTestResult* theWrappedObject) const; + QString linkText(QWebHitTestResult* theWrappedObject) const; + QUrl linkTitle(QWebHitTestResult* theWrappedObject) const; + QString linkTitleString(QWebHitTestResult* theWrappedObject) const; + QUrl linkUrl(QWebHitTestResult* theWrappedObject) const; + QUrl mediaUrl(QWebHitTestResult* theWrappedObject) const; + QPixmap pixmap(QWebHitTestResult* theWrappedObject) const; + QPoint pos(QWebHitTestResult* theWrappedObject) const; + QString title(QWebHitTestResult* theWrappedObject) const; + bool __nonzero__(QWebHitTestResult* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QWebInspector : public QWebInspector +{ +public: + PythonQtShell_QWebInspector(QWidget* parent = nullptr):QWebInspector(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebInspector() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* event) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* event) override; +void dragLeaveEvent(QDragLeaveEvent* event) override; +void dragMoveEvent(QDragMoveEvent* event) override; +void dropEvent(QDropEvent* event) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* event) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* event) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const override; +void keyPressEvent(QKeyEvent* event) override; +void keyReleaseEvent(QKeyEvent* event) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* event) override; +void mouseMoveEvent(QMouseEvent* event) override; +void mousePressEvent(QMouseEvent* event) override; +void mouseReleaseEvent(QMouseEvent* event) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* event) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* event) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWebInspector : public QWebInspector +{ public: +inline void promoted_closeEvent(QCloseEvent* event) { this->closeEvent(event); } +inline void promoted_hideEvent(QHideEvent* event) { this->hideEvent(event); } +inline void promoted_resizeEvent(QResizeEvent* event) { this->resizeEvent(event); } +inline void promoted_showEvent(QShowEvent* event) { this->showEvent(event); } +inline void py_q_closeEvent(QCloseEvent* event) { QWebInspector::closeEvent(event); } +inline bool py_q_event(QEvent* arg__1) { return QWebInspector::event(arg__1); } +inline void py_q_hideEvent(QHideEvent* event) { QWebInspector::hideEvent(event); } +inline void py_q_resizeEvent(QResizeEvent* event) { QWebInspector::resizeEvent(event); } +inline void py_q_showEvent(QShowEvent* event) { QWebInspector::showEvent(event); } +inline QSize py_q_sizeHint() const { return QWebInspector::sizeHint(); } +}; + +class PythonQtWrapper_QWebInspector : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebInspector* new_QWebInspector(QWidget* parent = nullptr); +void delete_QWebInspector(QWebInspector* obj) { delete obj; } + void py_q_closeEvent(QWebInspector* theWrappedObject, QCloseEvent* event){ (((PythonQtPublicPromoter_QWebInspector*)theWrappedObject)->py_q_closeEvent(event));} + bool py_q_event(QWebInspector* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QWebInspector*)theWrappedObject)->py_q_event(arg__1));} + void py_q_hideEvent(QWebInspector* theWrappedObject, QHideEvent* event){ (((PythonQtPublicPromoter_QWebInspector*)theWrappedObject)->py_q_hideEvent(event));} + QWebPage* page(QWebInspector* theWrappedObject) const; + void py_q_resizeEvent(QWebInspector* theWrappedObject, QResizeEvent* event){ (((PythonQtPublicPromoter_QWebInspector*)theWrappedObject)->py_q_resizeEvent(event));} + void setPage(QWebInspector* theWrappedObject, QWebPage* page); + void py_q_showEvent(QWebInspector* theWrappedObject, QShowEvent* event){ (((PythonQtPublicPromoter_QWebInspector*)theWrappedObject)->py_q_showEvent(event));} + QSize py_q_sizeHint(QWebInspector* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWebInspector*)theWrappedObject)->py_q_sizeHint());} +}; + + + + + +class PythonQtShell_QWebPage : public QWebPage +{ +public: + PythonQtShell_QWebPage(QObject* parent = nullptr):QWebPage(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebPage() override; + +bool acceptNavigationRequest(QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type) override; +void childEvent(QChildEvent* event) override; +QString chooseFile(QWebFrame* originatingFrame, const QString& oldFile) override; +QObject* createPlugin(const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues) override; +QWebPage* createWindow(QWebPage::WebWindowType type) override; +void customEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool extension(QWebPage::Extension extension, const QWebPage::ExtensionOption* option = nullptr, QWebPage::ExtensionReturn* output = nullptr) override; +void javaScriptAlert(QWebFrame* originatingFrame, const QString& msg) override; +bool javaScriptConfirm(QWebFrame* originatingFrame, const QString& msg) override; +void javaScriptConsoleMessage(const QString& message, int lineNumber, const QString& sourceID) override; +bool javaScriptPrompt(QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result) override; +bool shouldInterruptJavaScript() override; +bool supportsExtension(QWebPage::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; +void triggerAction(QWebPage::WebAction action, bool checked = false) override; +QString userAgentForUrl(const QUrl& url) const override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWebPage : public QWebPage +{ public: +inline bool promoted_acceptNavigationRequest(QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type) { return this->acceptNavigationRequest(frame, request, type); } +inline QString promoted_chooseFile(QWebFrame* originatingFrame, const QString& oldFile) { return this->chooseFile(originatingFrame, oldFile); } +inline QObject* promoted_createPlugin(const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues) { return this->createPlugin(classid, url, paramNames, paramValues); } +inline QWebPage* promoted_createWindow(QWebPage::WebWindowType type) { return this->createWindow(type); } +inline void promoted_javaScriptAlert(QWebFrame* originatingFrame, const QString& msg) { this->javaScriptAlert(originatingFrame, msg); } +inline bool promoted_javaScriptConfirm(QWebFrame* originatingFrame, const QString& msg) { return this->javaScriptConfirm(originatingFrame, msg); } +inline void promoted_javaScriptConsoleMessage(const QString& message, int lineNumber, const QString& sourceID) { this->javaScriptConsoleMessage(message, lineNumber, sourceID); } +inline bool promoted_javaScriptPrompt(QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result) { return this->javaScriptPrompt(originatingFrame, msg, defaultValue, result); } +inline QString promoted_userAgentForUrl(const QUrl& url) const { return this->userAgentForUrl(url); } +inline bool py_q_acceptNavigationRequest(QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type) { return QWebPage::acceptNavigationRequest(frame, request, type); } +inline QString py_q_chooseFile(QWebFrame* originatingFrame, const QString& oldFile) { return QWebPage::chooseFile(originatingFrame, oldFile); } +inline QObject* py_q_createPlugin(const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues) { return QWebPage::createPlugin(classid, url, paramNames, paramValues); } +inline QWebPage* py_q_createWindow(QWebPage::WebWindowType type) { return QWebPage::createWindow(type); } +inline bool py_q_event(QEvent* arg__1) { return QWebPage::event(arg__1); } +inline bool py_q_extension(QWebPage::Extension extension, const QWebPage::ExtensionOption* option = nullptr, QWebPage::ExtensionReturn* output = nullptr) { return QWebPage::extension(extension, option, output); } +inline void py_q_javaScriptAlert(QWebFrame* originatingFrame, const QString& msg) { QWebPage::javaScriptAlert(originatingFrame, msg); } +inline bool py_q_javaScriptConfirm(QWebFrame* originatingFrame, const QString& msg) { return QWebPage::javaScriptConfirm(originatingFrame, msg); } +inline void py_q_javaScriptConsoleMessage(const QString& message, int lineNumber, const QString& sourceID) { QWebPage::javaScriptConsoleMessage(message, lineNumber, sourceID); } +inline bool py_q_javaScriptPrompt(QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result) { return QWebPage::javaScriptPrompt(originatingFrame, msg, defaultValue, result); } +inline bool py_q_shouldInterruptJavaScript() { return QWebPage::shouldInterruptJavaScript(); } +inline bool py_q_supportsExtension(QWebPage::Extension extension) const { return QWebPage::supportsExtension(extension); } +inline void py_q_triggerAction(QWebPage::WebAction action, bool checked = false) { QWebPage::triggerAction(action, checked); } +inline QString py_q_userAgentForUrl(const QUrl& url) const { return QWebPage::userAgentForUrl(url); } +}; + +class PythonQtWrapper_QWebPage : public QObject +{ Q_OBJECT +public: +Q_ENUMS(ErrorDomain Extension Feature FindFlag PermissionPolicy WebWindowType ) +Q_FLAGS(FindFlags ) +enum ErrorDomain{ + QtNetwork = QWebPage::QtNetwork, Http = QWebPage::Http, WebKit = QWebPage::WebKit}; +enum Extension{ + ChooseMultipleFilesExtension = QWebPage::ChooseMultipleFilesExtension, ErrorPageExtension = QWebPage::ErrorPageExtension}; +enum Feature{ + Notifications = QWebPage::Notifications, Geolocation = QWebPage::Geolocation}; +enum FindFlag{ + FindBackward = QWebPage::FindBackward, FindCaseSensitively = QWebPage::FindCaseSensitively, FindWrapsAroundDocument = QWebPage::FindWrapsAroundDocument, HighlightAllOccurrences = QWebPage::HighlightAllOccurrences, FindAtWordBeginningsOnly = QWebPage::FindAtWordBeginningsOnly, TreatMedialCapitalAsWordBeginning = QWebPage::TreatMedialCapitalAsWordBeginning, FindBeginsInSelection = QWebPage::FindBeginsInSelection}; +enum PermissionPolicy{ + PermissionUnknown = QWebPage::PermissionUnknown, PermissionGrantedByUser = QWebPage::PermissionGrantedByUser, PermissionDeniedByUser = QWebPage::PermissionDeniedByUser}; +enum WebWindowType{ + WebBrowserWindow = QWebPage::WebBrowserWindow, WebModalDialog = QWebPage::WebModalDialog}; +Q_DECLARE_FLAGS(FindFlags, FindFlag) +public Q_SLOTS: +QWebPage* new_QWebPage(QObject* parent = nullptr); +void delete_QWebPage(QWebPage* obj) { delete obj; } + bool acceptNavigationRequest(QWebPage* theWrappedObject, QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type); + bool py_q_acceptNavigationRequest(QWebPage* theWrappedObject, QWebFrame* frame, const QNetworkRequest& request, QWebPage::NavigationType type){ return (((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->py_q_acceptNavigationRequest(frame, request, type));} + QAction* action(QWebPage* theWrappedObject, QWebPage::WebAction action) const; + quint64 bytesReceived(QWebPage* theWrappedObject) const; + QString chooseFile(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& oldFile); + QString py_q_chooseFile(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& oldFile){ return (((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->py_q_chooseFile(originatingFrame, oldFile));} + QObject* createPlugin(QWebPage* theWrappedObject, const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues); + QObject* py_q_createPlugin(QWebPage* theWrappedObject, const QString& classid, const QUrl& url, const QStringList& paramNames, const QStringList& paramValues){ return (((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->py_q_createPlugin(classid, url, paramNames, paramValues));} + QMenu* createStandardContextMenu(QWebPage* theWrappedObject); + QWebPage* createWindow(QWebPage* theWrappedObject, QWebPage::WebWindowType type); + QWebPage* py_q_createWindow(QWebPage* theWrappedObject, QWebPage::WebWindowType type){ return (((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->py_q_createWindow(type));} + QWebFrame* currentFrame(QWebPage* theWrappedObject) const; + QAction* customAction(QWebPage* theWrappedObject, int action) const; + bool py_q_event(QWebPage* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->py_q_event(arg__1));} + bool extension(QWebPage* theWrappedObject, QWebPage::Extension extension, const QWebPage::ExtensionOption* option = nullptr, QWebPage::ExtensionReturn* output = nullptr); + bool py_q_extension(QWebPage* theWrappedObject, QWebPage::Extension extension, const QWebPage::ExtensionOption* option = nullptr, QWebPage::ExtensionReturn* output = nullptr){ return (((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->py_q_extension(extension, option, output));} + bool findText(QWebPage* theWrappedObject, const QString& subString, QWebPage::FindFlags options = QWebPage::FindFlags()); + bool focusNextPrevChild(QWebPage* theWrappedObject, bool next); + bool forwardUnsupportedContent(QWebPage* theWrappedObject) const; + QWebFrame* frameAt(QWebPage* theWrappedObject, const QPoint& pos) const; + bool hasSelection(QWebPage* theWrappedObject) const; + QWebHistory* history(QWebPage* theWrappedObject) const; + QVariant inputMethodQuery(QWebPage* theWrappedObject, Qt::InputMethodQuery property) const; + bool isContentEditable(QWebPage* theWrappedObject) const; + bool isModified(QWebPage* theWrappedObject) const; + void javaScriptAlert(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg); + void py_q_javaScriptAlert(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg){ (((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->py_q_javaScriptAlert(originatingFrame, msg));} + bool javaScriptConfirm(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg); + bool py_q_javaScriptConfirm(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg){ return (((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->py_q_javaScriptConfirm(originatingFrame, msg));} + void javaScriptConsoleMessage(QWebPage* theWrappedObject, const QString& message, int lineNumber, const QString& sourceID); + void py_q_javaScriptConsoleMessage(QWebPage* theWrappedObject, const QString& message, int lineNumber, const QString& sourceID){ (((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->py_q_javaScriptConsoleMessage(message, lineNumber, sourceID));} + bool javaScriptPrompt(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result); + bool py_q_javaScriptPrompt(QWebPage* theWrappedObject, QWebFrame* originatingFrame, const QString& msg, const QString& defaultValue, QString* result){ return (((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->py_q_javaScriptPrompt(originatingFrame, msg, defaultValue, result));} + QWebPage::LinkDelegationPolicy linkDelegationPolicy(QWebPage* theWrappedObject) const; + QWebFrame* mainFrame(QWebPage* theWrappedObject) const; + QNetworkAccessManager* networkAccessManager(QWebPage* theWrappedObject) const; + QPalette palette(QWebPage* theWrappedObject) const; + QWebPluginFactory* pluginFactory(QWebPage* theWrappedObject) const; + QSize preferredContentsSize(QWebPage* theWrappedObject) const; + QString selectedHtml(QWebPage* theWrappedObject) const; + QString selectedText(QWebPage* theWrappedObject) const; + void setActualVisibleContentRect(QWebPage* theWrappedObject, const QRect& rect) const; + void setContentEditable(QWebPage* theWrappedObject, bool editable); + void setFeaturePermission(QWebPage* theWrappedObject, QWebFrame* frame, QWebPage::Feature feature, QWebPage::PermissionPolicy policy); + void setForwardUnsupportedContent(QWebPage* theWrappedObject, bool forward); + void setLinkDelegationPolicy(QWebPage* theWrappedObject, QWebPage::LinkDelegationPolicy policy); + void setNetworkAccessManager(QWebPage* theWrappedObject, QNetworkAccessManager* manager); + void setPalette(QWebPage* theWrappedObject, const QPalette& palette); + void setPluginFactory(QWebPage* theWrappedObject, QWebPluginFactory* factory); + void setPreferredContentsSize(QWebPage* theWrappedObject, const QSize& size) const; + void setView(QWebPage* theWrappedObject, QWidget* view); + void setViewportSize(QWebPage* theWrappedObject, const QSize& size) const; + void setVisibilityState(QWebPage* theWrappedObject, QWebPage::VisibilityState arg__1); + QWebSettings* settings(QWebPage* theWrappedObject) const; + bool shouldInterruptJavaScript(QWebPage* theWrappedObject); + bool py_q_shouldInterruptJavaScript(QWebPage* theWrappedObject){ return (((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->py_q_shouldInterruptJavaScript());} + QStringList supportedContentTypes(QWebPage* theWrappedObject) const; + bool supportsContentType(QWebPage* theWrappedObject, const QString& mimeType) const; + bool supportsExtension(QWebPage* theWrappedObject, QWebPage::Extension extension) const; + bool py_q_supportsExtension(QWebPage* theWrappedObject, QWebPage::Extension extension) const{ return (((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->py_q_supportsExtension(extension));} + bool swallowContextMenuEvent(QWebPage* theWrappedObject, QContextMenuEvent* event); + quint64 totalBytes(QWebPage* theWrappedObject) const; + void triggerAction(QWebPage* theWrappedObject, QWebPage::WebAction action, bool checked = false); + void py_q_triggerAction(QWebPage* theWrappedObject, QWebPage::WebAction action, bool checked = false){ (((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->py_q_triggerAction(action, checked));} + QUndoStack* undoStack(QWebPage* theWrappedObject) const; + void updatePositionDependentActions(QWebPage* theWrappedObject, const QPoint& pos); + QString userAgentForUrl(QWebPage* theWrappedObject, const QUrl& url) const; + QString py_q_userAgentForUrl(QWebPage* theWrappedObject, const QUrl& url) const{ return (((PythonQtPublicPromoter_QWebPage*)theWrappedObject)->py_q_userAgentForUrl(url));} + QWidget* view(QWebPage* theWrappedObject) const; + QSize viewportSize(QWebPage* theWrappedObject) const; + QWebPage::VisibilityState visibilityState(QWebPage* theWrappedObject) const; +}; + + + + + +class PythonQtShell_QWebPage__ChooseMultipleFilesExtensionOption : public QWebPage::ChooseMultipleFilesExtensionOption +{ +public: + PythonQtShell_QWebPage__ChooseMultipleFilesExtensionOption():QWebPage::ChooseMultipleFilesExtensionOption(),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebPage__ChooseMultipleFilesExtensionOption(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPage__ChooseMultipleFilesExtensionOption : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebPage::ChooseMultipleFilesExtensionOption* new_QWebPage__ChooseMultipleFilesExtensionOption(); +void delete_QWebPage__ChooseMultipleFilesExtensionOption(QWebPage::ChooseMultipleFilesExtensionOption* obj) { delete obj; } +void py_set_parentFrame(QWebPage::ChooseMultipleFilesExtensionOption* theWrappedObject, QWebFrame* parentFrame){ theWrappedObject->parentFrame = parentFrame; } +QWebFrame* py_get_parentFrame(QWebPage::ChooseMultipleFilesExtensionOption* theWrappedObject){ return theWrappedObject->parentFrame; } +void py_set_suggestedFileNames(QWebPage::ChooseMultipleFilesExtensionOption* theWrappedObject, QStringList suggestedFileNames){ theWrappedObject->suggestedFileNames = suggestedFileNames; } +QStringList py_get_suggestedFileNames(QWebPage::ChooseMultipleFilesExtensionOption* theWrappedObject){ return theWrappedObject->suggestedFileNames; } +}; + + + + + +class PythonQtShell_QWebPage__ChooseMultipleFilesExtensionReturn : public QWebPage::ChooseMultipleFilesExtensionReturn +{ +public: + PythonQtShell_QWebPage__ChooseMultipleFilesExtensionReturn():QWebPage::ChooseMultipleFilesExtensionReturn(),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebPage__ChooseMultipleFilesExtensionReturn(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPage__ChooseMultipleFilesExtensionReturn : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebPage::ChooseMultipleFilesExtensionReturn* new_QWebPage__ChooseMultipleFilesExtensionReturn(); +void delete_QWebPage__ChooseMultipleFilesExtensionReturn(QWebPage::ChooseMultipleFilesExtensionReturn* obj) { delete obj; } +void py_set_fileNames(QWebPage::ChooseMultipleFilesExtensionReturn* theWrappedObject, QStringList fileNames){ theWrappedObject->fileNames = fileNames; } +QStringList py_get_fileNames(QWebPage::ChooseMultipleFilesExtensionReturn* theWrappedObject){ return theWrappedObject->fileNames; } +}; + + + + + +class PythonQtShell_QWebPage__ErrorPageExtensionOption : public QWebPage::ErrorPageExtensionOption +{ +public: + PythonQtShell_QWebPage__ErrorPageExtensionOption():QWebPage::ErrorPageExtensionOption(),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebPage__ErrorPageExtensionOption(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPage__ErrorPageExtensionOption : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebPage::ErrorPageExtensionOption* new_QWebPage__ErrorPageExtensionOption(); +void delete_QWebPage__ErrorPageExtensionOption(QWebPage::ErrorPageExtensionOption* obj) { delete obj; } +void py_set_domain(QWebPage::ErrorPageExtensionOption* theWrappedObject, QWebPage::ErrorDomain domain){ theWrappedObject->domain = domain; } +QWebPage::ErrorDomain py_get_domain(QWebPage::ErrorPageExtensionOption* theWrappedObject){ return theWrappedObject->domain; } +void py_set_error(QWebPage::ErrorPageExtensionOption* theWrappedObject, int error){ theWrappedObject->error = error; } +int py_get_error(QWebPage::ErrorPageExtensionOption* theWrappedObject){ return theWrappedObject->error; } +void py_set_errorString(QWebPage::ErrorPageExtensionOption* theWrappedObject, QString errorString){ theWrappedObject->errorString = errorString; } +QString py_get_errorString(QWebPage::ErrorPageExtensionOption* theWrappedObject){ return theWrappedObject->errorString; } +void py_set_frame(QWebPage::ErrorPageExtensionOption* theWrappedObject, QWebFrame* frame){ theWrappedObject->frame = frame; } +QWebFrame* py_get_frame(QWebPage::ErrorPageExtensionOption* theWrappedObject){ return theWrappedObject->frame; } +void py_set_url(QWebPage::ErrorPageExtensionOption* theWrappedObject, QUrl url){ theWrappedObject->url = url; } +QUrl py_get_url(QWebPage::ErrorPageExtensionOption* theWrappedObject){ return theWrappedObject->url; } +}; + + + + + +class PythonQtShell_QWebPage__ErrorPageExtensionReturn : public QWebPage::ErrorPageExtensionReturn +{ +public: + PythonQtShell_QWebPage__ErrorPageExtensionReturn():QWebPage::ErrorPageExtensionReturn(),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebPage__ErrorPageExtensionReturn(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPage__ErrorPageExtensionReturn : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebPage::ErrorPageExtensionReturn* new_QWebPage__ErrorPageExtensionReturn(); +void delete_QWebPage__ErrorPageExtensionReturn(QWebPage::ErrorPageExtensionReturn* obj) { delete obj; } +void py_set_baseUrl(QWebPage::ErrorPageExtensionReturn* theWrappedObject, QUrl baseUrl){ theWrappedObject->baseUrl = baseUrl; } +QUrl py_get_baseUrl(QWebPage::ErrorPageExtensionReturn* theWrappedObject){ return theWrappedObject->baseUrl; } +void py_set_content(QWebPage::ErrorPageExtensionReturn* theWrappedObject, QByteArray content){ theWrappedObject->content = content; } +QByteArray py_get_content(QWebPage::ErrorPageExtensionReturn* theWrappedObject){ return theWrappedObject->content; } +void py_set_contentType(QWebPage::ErrorPageExtensionReturn* theWrappedObject, QString contentType){ theWrappedObject->contentType = contentType; } +QString py_get_contentType(QWebPage::ErrorPageExtensionReturn* theWrappedObject){ return theWrappedObject->contentType; } +void py_set_encoding(QWebPage::ErrorPageExtensionReturn* theWrappedObject, QString encoding){ theWrappedObject->encoding = encoding; } +QString py_get_encoding(QWebPage::ErrorPageExtensionReturn* theWrappedObject){ return theWrappedObject->encoding; } +}; + + + + + +class PythonQtShell_QWebPage__ExtensionOption : public QWebPage::ExtensionOption +{ +public: + PythonQtShell_QWebPage__ExtensionOption():QWebPage::ExtensionOption(),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebPage__ExtensionOption(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPage__ExtensionOption : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebPage::ExtensionOption* new_QWebPage__ExtensionOption(); +void delete_QWebPage__ExtensionOption(QWebPage::ExtensionOption* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QWebPage__ExtensionReturn : public QWebPage::ExtensionReturn +{ +public: + PythonQtShell_QWebPage__ExtensionReturn():QWebPage::ExtensionReturn(),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebPage__ExtensionReturn(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPage__ExtensionReturn : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebPage::ExtensionReturn* new_QWebPage__ExtensionReturn(); +void delete_QWebPage__ExtensionReturn(QWebPage::ExtensionReturn* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QWebPluginFactory : public QWebPluginFactory +{ +public: + PythonQtShell_QWebPluginFactory(QObject* parent = nullptr):QWebPluginFactory(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebPluginFactory() override; + +void childEvent(QChildEvent* event) override; +QObject* create(const QString& mimeType, const QUrl& arg__2, const QStringList& argumentNames, const QStringList& argumentValues) const override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +bool extension(QWebPluginFactory::Extension extension, const QWebPluginFactory::ExtensionOption* option = nullptr, QWebPluginFactory::ExtensionReturn* output = nullptr) override; +QList plugins() const override; +void refreshPlugins() override; +bool supportsExtension(QWebPluginFactory::Extension extension) const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWebPluginFactory : public QWebPluginFactory +{ public: +inline QObject* py_q_create(const QString& mimeType, const QUrl& arg__2, const QStringList& argumentNames, const QStringList& argumentValues) const { return this->create(mimeType, arg__2, argumentNames, argumentValues); } +inline bool py_q_extension(QWebPluginFactory::Extension extension, const QWebPluginFactory::ExtensionOption* option = nullptr, QWebPluginFactory::ExtensionReturn* output = nullptr) { return QWebPluginFactory::extension(extension, option, output); } +inline QList py_q_plugins() const { return this->plugins(); } +inline void py_q_refreshPlugins() { QWebPluginFactory::refreshPlugins(); } +inline bool py_q_supportsExtension(QWebPluginFactory::Extension extension) const { return QWebPluginFactory::supportsExtension(extension); } +}; + +class PythonQtWrapper_QWebPluginFactory : public QObject +{ Q_OBJECT +public: +Q_ENUMS(Extension ) +enum Extension{ +}; +public Q_SLOTS: +QWebPluginFactory* new_QWebPluginFactory(QObject* parent = nullptr); +void delete_QWebPluginFactory(QWebPluginFactory* obj) { delete obj; } + QObject* create(QWebPluginFactory* theWrappedObject, const QString& mimeType, const QUrl& arg__2, const QStringList& argumentNames, const QStringList& argumentValues) const; + QObject* py_q_create(QWebPluginFactory* theWrappedObject, const QString& mimeType, const QUrl& arg__2, const QStringList& argumentNames, const QStringList& argumentValues) const{ return (((PythonQtPublicPromoter_QWebPluginFactory*)theWrappedObject)->py_q_create(mimeType, arg__2, argumentNames, argumentValues));} + bool extension(QWebPluginFactory* theWrappedObject, QWebPluginFactory::Extension extension, const QWebPluginFactory::ExtensionOption* option = nullptr, QWebPluginFactory::ExtensionReturn* output = nullptr); + bool py_q_extension(QWebPluginFactory* theWrappedObject, QWebPluginFactory::Extension extension, const QWebPluginFactory::ExtensionOption* option = nullptr, QWebPluginFactory::ExtensionReturn* output = nullptr){ return (((PythonQtPublicPromoter_QWebPluginFactory*)theWrappedObject)->py_q_extension(extension, option, output));} + QList plugins(QWebPluginFactory* theWrappedObject) const; + QList py_q_plugins(QWebPluginFactory* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWebPluginFactory*)theWrappedObject)->py_q_plugins());} + void refreshPlugins(QWebPluginFactory* theWrappedObject); + void py_q_refreshPlugins(QWebPluginFactory* theWrappedObject){ (((PythonQtPublicPromoter_QWebPluginFactory*)theWrappedObject)->py_q_refreshPlugins());} + bool supportsExtension(QWebPluginFactory* theWrappedObject, QWebPluginFactory::Extension extension) const; + bool py_q_supportsExtension(QWebPluginFactory* theWrappedObject, QWebPluginFactory::Extension extension) const{ return (((PythonQtPublicPromoter_QWebPluginFactory*)theWrappedObject)->py_q_supportsExtension(extension));} +}; + + + + + +class PythonQtShell_QWebPluginFactory__ExtensionOption : public QWebPluginFactory::ExtensionOption +{ +public: + PythonQtShell_QWebPluginFactory__ExtensionOption():QWebPluginFactory::ExtensionOption(),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebPluginFactory__ExtensionOption(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPluginFactory__ExtensionOption : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebPluginFactory::ExtensionOption* new_QWebPluginFactory__ExtensionOption(); +void delete_QWebPluginFactory__ExtensionOption(QWebPluginFactory::ExtensionOption* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QWebPluginFactory__ExtensionReturn : public QWebPluginFactory::ExtensionReturn +{ +public: + PythonQtShell_QWebPluginFactory__ExtensionReturn():QWebPluginFactory::ExtensionReturn(),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebPluginFactory__ExtensionReturn(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPluginFactory__ExtensionReturn : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebPluginFactory::ExtensionReturn* new_QWebPluginFactory__ExtensionReturn(); +void delete_QWebPluginFactory__ExtensionReturn(QWebPluginFactory::ExtensionReturn* obj) { delete obj; } +}; + + + + + +class PythonQtShell_QWebPluginFactory__MimeType : public QWebPluginFactory::MimeType +{ +public: + PythonQtShell_QWebPluginFactory__MimeType():QWebPluginFactory::MimeType(),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebPluginFactory__MimeType(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPluginFactory__MimeType : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebPluginFactory::MimeType* new_QWebPluginFactory__MimeType(); +QWebPluginFactory::MimeType* new_QWebPluginFactory__MimeType(const QWebPluginFactory::MimeType& other) { +PythonQtShell_QWebPluginFactory__MimeType* a = new PythonQtShell_QWebPluginFactory__MimeType(); +*((QWebPluginFactory::MimeType*)a) = other; +return a; } +void delete_QWebPluginFactory__MimeType(QWebPluginFactory::MimeType* obj) { delete obj; } + bool __ne__(QWebPluginFactory::MimeType* theWrappedObject, const QWebPluginFactory::MimeType& other) const; + bool __eq__(QWebPluginFactory::MimeType* theWrappedObject, const QWebPluginFactory::MimeType& other) const; +void py_set_description(QWebPluginFactory::MimeType* theWrappedObject, QString description){ theWrappedObject->description = description; } +QString py_get_description(QWebPluginFactory::MimeType* theWrappedObject){ return theWrappedObject->description; } +void py_set_fileExtensions(QWebPluginFactory::MimeType* theWrappedObject, QStringList fileExtensions){ theWrappedObject->fileExtensions = fileExtensions; } +QStringList py_get_fileExtensions(QWebPluginFactory::MimeType* theWrappedObject){ return theWrappedObject->fileExtensions; } +void py_set_name(QWebPluginFactory::MimeType* theWrappedObject, QString name){ theWrappedObject->name = name; } +QString py_get_name(QWebPluginFactory::MimeType* theWrappedObject){ return theWrappedObject->name; } +}; + + + + + +class PythonQtShell_QWebPluginFactory__Plugin : public QWebPluginFactory::Plugin +{ +public: + PythonQtShell_QWebPluginFactory__Plugin():QWebPluginFactory::Plugin(),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebPluginFactory__Plugin(); + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QWebPluginFactory__Plugin : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebPluginFactory::Plugin* new_QWebPluginFactory__Plugin(); +QWebPluginFactory::Plugin* new_QWebPluginFactory__Plugin(const QWebPluginFactory::Plugin& other) { +PythonQtShell_QWebPluginFactory__Plugin* a = new PythonQtShell_QWebPluginFactory__Plugin(); +*((QWebPluginFactory::Plugin*)a) = other; +return a; } +void delete_QWebPluginFactory__Plugin(QWebPluginFactory::Plugin* obj) { delete obj; } +void py_set_description(QWebPluginFactory::Plugin* theWrappedObject, QString description){ theWrappedObject->description = description; } +QString py_get_description(QWebPluginFactory::Plugin* theWrappedObject){ return theWrappedObject->description; } +void py_set_name(QWebPluginFactory::Plugin* theWrappedObject, QString name){ theWrappedObject->name = name; } +QString py_get_name(QWebPluginFactory::Plugin* theWrappedObject){ return theWrappedObject->name; } +}; + + + + + +class PythonQtWrapper_QWebSecurityOrigin : public QObject +{ Q_OBJECT +public: +Q_ENUMS(SubdomainSetting ) +enum SubdomainSetting{ + AllowSubdomains = QWebSecurityOrigin::AllowSubdomains, DisallowSubdomains = QWebSecurityOrigin::DisallowSubdomains}; +public Q_SLOTS: +QWebSecurityOrigin* new_QWebSecurityOrigin(const QUrl& url); +QWebSecurityOrigin* new_QWebSecurityOrigin(const QWebSecurityOrigin& other); +void delete_QWebSecurityOrigin(QWebSecurityOrigin* obj) { delete obj; } + void addAccessWhitelistEntry(QWebSecurityOrigin* theWrappedObject, const QString& scheme, const QString& host, QWebSecurityOrigin::SubdomainSetting subdomainSetting); + void static_QWebSecurityOrigin_addLocalScheme(const QString& scheme); + QList static_QWebSecurityOrigin_allOrigins(); + qint64 databaseQuota(QWebSecurityOrigin* theWrappedObject) const; + qint64 databaseUsage(QWebSecurityOrigin* theWrappedObject) const; + QList databases(QWebSecurityOrigin* theWrappedObject) const; + QString host(QWebSecurityOrigin* theWrappedObject) const; + QStringList static_QWebSecurityOrigin_localSchemes(); + QWebSecurityOrigin* operator_assign(QWebSecurityOrigin* theWrappedObject, const QWebSecurityOrigin& other); + int port(QWebSecurityOrigin* theWrappedObject) const; + void removeAccessWhitelistEntry(QWebSecurityOrigin* theWrappedObject, const QString& scheme, const QString& host, QWebSecurityOrigin::SubdomainSetting subdomainSetting); + void static_QWebSecurityOrigin_removeLocalScheme(const QString& scheme); + QString scheme(QWebSecurityOrigin* theWrappedObject) const; + void setApplicationCacheQuota(QWebSecurityOrigin* theWrappedObject, qint64 quota); + void setDatabaseQuota(QWebSecurityOrigin* theWrappedObject, qint64 quota); +}; + + + + + +class PythonQtWrapper_QWebSettings : public QObject +{ Q_OBJECT +public: +Q_ENUMS(FontFamily FontSize ThirdPartyCookiePolicy WebAttribute WebGraphic ) +enum FontFamily{ + StandardFont = QWebSettings::StandardFont, FixedFont = QWebSettings::FixedFont, SerifFont = QWebSettings::SerifFont, SansSerifFont = QWebSettings::SansSerifFont, CursiveFont = QWebSettings::CursiveFont, FantasyFont = QWebSettings::FantasyFont}; +enum FontSize{ + MinimumFontSize = QWebSettings::MinimumFontSize, MinimumLogicalFontSize = QWebSettings::MinimumLogicalFontSize, DefaultFontSize = QWebSettings::DefaultFontSize, DefaultFixedFontSize = QWebSettings::DefaultFixedFontSize}; +enum ThirdPartyCookiePolicy{ + AlwaysAllowThirdPartyCookies = QWebSettings::AlwaysAllowThirdPartyCookies, AlwaysBlockThirdPartyCookies = QWebSettings::AlwaysBlockThirdPartyCookies, AllowThirdPartyWithExistingCookies = QWebSettings::AllowThirdPartyWithExistingCookies}; +enum WebAttribute{ + AutoLoadImages = QWebSettings::AutoLoadImages, JavascriptEnabled = QWebSettings::JavascriptEnabled, JavaEnabled = QWebSettings::JavaEnabled, PluginsEnabled = QWebSettings::PluginsEnabled, PrivateBrowsingEnabled = QWebSettings::PrivateBrowsingEnabled, JavascriptCanOpenWindows = QWebSettings::JavascriptCanOpenWindows, JavascriptCanAccessClipboard = QWebSettings::JavascriptCanAccessClipboard, DeveloperExtrasEnabled = QWebSettings::DeveloperExtrasEnabled, LinksIncludedInFocusChain = QWebSettings::LinksIncludedInFocusChain, ZoomTextOnly = QWebSettings::ZoomTextOnly, PrintElementBackgrounds = QWebSettings::PrintElementBackgrounds, OfflineStorageDatabaseEnabled = QWebSettings::OfflineStorageDatabaseEnabled, OfflineWebApplicationCacheEnabled = QWebSettings::OfflineWebApplicationCacheEnabled, LocalStorageEnabled = QWebSettings::LocalStorageEnabled, LocalStorageDatabaseEnabled = QWebSettings::LocalStorageDatabaseEnabled, LocalContentCanAccessRemoteUrls = QWebSettings::LocalContentCanAccessRemoteUrls, DnsPrefetchEnabled = QWebSettings::DnsPrefetchEnabled, XSSAuditingEnabled = QWebSettings::XSSAuditingEnabled, AcceleratedCompositingEnabled = QWebSettings::AcceleratedCompositingEnabled, SpatialNavigationEnabled = QWebSettings::SpatialNavigationEnabled, LocalContentCanAccessFileUrls = QWebSettings::LocalContentCanAccessFileUrls, TiledBackingStoreEnabled = QWebSettings::TiledBackingStoreEnabled, FrameFlatteningEnabled = QWebSettings::FrameFlatteningEnabled, SiteSpecificQuirksEnabled = QWebSettings::SiteSpecificQuirksEnabled, JavascriptCanCloseWindows = QWebSettings::JavascriptCanCloseWindows, WebGLEnabled = QWebSettings::WebGLEnabled, CSSRegionsEnabled = QWebSettings::CSSRegionsEnabled, HyperlinkAuditingEnabled = QWebSettings::HyperlinkAuditingEnabled, CSSGridLayoutEnabled = QWebSettings::CSSGridLayoutEnabled, ScrollAnimatorEnabled = QWebSettings::ScrollAnimatorEnabled, CaretBrowsingEnabled = QWebSettings::CaretBrowsingEnabled, NotificationsEnabled = QWebSettings::NotificationsEnabled, WebAudioEnabled = QWebSettings::WebAudioEnabled, Accelerated2dCanvasEnabled = QWebSettings::Accelerated2dCanvasEnabled}; +enum WebGraphic{ + MissingImageGraphic = QWebSettings::MissingImageGraphic, MissingPluginGraphic = QWebSettings::MissingPluginGraphic, DefaultFrameIconGraphic = QWebSettings::DefaultFrameIconGraphic, TextAreaSizeGripCornerGraphic = QWebSettings::TextAreaSizeGripCornerGraphic, DeleteButtonGraphic = QWebSettings::DeleteButtonGraphic, InputSpeechButtonGraphic = QWebSettings::InputSpeechButtonGraphic, SearchCancelButtonGraphic = QWebSettings::SearchCancelButtonGraphic, SearchCancelButtonPressedGraphic = QWebSettings::SearchCancelButtonPressedGraphic}; +public Q_SLOTS: + void static_QWebSettings_clearIconDatabase(); + void static_QWebSettings_clearMemoryCaches(); + QString cssMediaType(QWebSettings* theWrappedObject) const; + QString defaultTextEncoding(QWebSettings* theWrappedObject) const; + void static_QWebSettings_enablePersistentStorage(const QString& path = QString()); + QString fontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which) const; + int fontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type) const; + QWebSettings* static_QWebSettings_globalSettings(); + QString static_QWebSettings_iconDatabasePath(); + QIcon static_QWebSettings_iconForUrl(const QUrl& url); + QString localStoragePath(QWebSettings* theWrappedObject) const; + int static_QWebSettings_maximumPagesInCache(); + qint64 static_QWebSettings_offlineStorageDefaultQuota(); + QString static_QWebSettings_offlineStoragePath(); + QString static_QWebSettings_offlineWebApplicationCachePath(); + qint64 static_QWebSettings_offlineWebApplicationCacheQuota(); + void resetAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr); + void resetFontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which); + void resetFontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type); + void setAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr, bool on); + void setCSSMediaType(QWebSettings* theWrappedObject, const QString& arg__1); + void setDefaultTextEncoding(QWebSettings* theWrappedObject, const QString& encoding); + void setFontFamily(QWebSettings* theWrappedObject, QWebSettings::FontFamily which, const QString& family); + void setFontSize(QWebSettings* theWrappedObject, QWebSettings::FontSize type, int size); + void static_QWebSettings_setIconDatabasePath(const QString& location); + void setLocalStoragePath(QWebSettings* theWrappedObject, const QString& path); + void static_QWebSettings_setMaximumPagesInCache(int pages); + void static_QWebSettings_setObjectCacheCapacities(int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity); + void static_QWebSettings_setOfflineStorageDefaultQuota(qint64 maximumSize); + void static_QWebSettings_setOfflineStoragePath(const QString& path); + void static_QWebSettings_setOfflineWebApplicationCachePath(const QString& path); + void static_QWebSettings_setOfflineWebApplicationCacheQuota(qint64 maximumSize); + void setThirdPartyCookiePolicy(QWebSettings* theWrappedObject, QWebSettings::ThirdPartyCookiePolicy arg__1); + void setUserStyleSheetUrl(QWebSettings* theWrappedObject, const QUrl& location); + void static_QWebSettings_setWebGraphic(QWebSettings::WebGraphic type, const QPixmap& graphic); + bool testAttribute(QWebSettings* theWrappedObject, QWebSettings::WebAttribute attr) const; + QWebSettings::ThirdPartyCookiePolicy thirdPartyCookiePolicy(QWebSettings* theWrappedObject) const; + QUrl userStyleSheetUrl(QWebSettings* theWrappedObject) const; + QPixmap static_QWebSettings_webGraphic(QWebSettings::WebGraphic type); +}; + + + + + +class PythonQtShell_QWebView : public QWebView +{ +public: + PythonQtShell_QWebView(QWidget* parent = nullptr):QWebView(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QWebView() override; + +void actionEvent(QActionEvent* event) override; +void changeEvent(QEvent* arg__1) override; +void childEvent(QChildEvent* event) override; +void closeEvent(QCloseEvent* event) override; +void contextMenuEvent(QContextMenuEvent* arg__1) override; +QWebView* createWindow(QWebPage::WebWindowType type) override; +void customEvent(QEvent* event) override; +int devType() const override; +void dragEnterEvent(QDragEnterEvent* arg__1) override; +void dragLeaveEvent(QDragLeaveEvent* arg__1) override; +void dragMoveEvent(QDragMoveEvent* arg__1) override; +void dropEvent(QDropEvent* arg__1) override; +void enterEvent(QEvent* event) override; +bool event(QEvent* arg__1) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void focusInEvent(QFocusEvent* arg__1) override; +bool focusNextPrevChild(bool next) override; +void focusOutEvent(QFocusEvent* arg__1) override; +bool hasHeightForWidth() const override; +int heightForWidth(int arg__1) const override; +void hideEvent(QHideEvent* event) override; +void initPainter(QPainter* painter) const override; +void inputMethodEvent(QInputMethodEvent* arg__1) override; +QVariant inputMethodQuery(Qt::InputMethodQuery property) const override; +void keyPressEvent(QKeyEvent* arg__1) override; +void keyReleaseEvent(QKeyEvent* arg__1) override; +void leaveEvent(QEvent* event) override; +int metric(QPaintDevice::PaintDeviceMetric arg__1) const override; +QSize minimumSizeHint() const override; +void mouseDoubleClickEvent(QMouseEvent* arg__1) override; +void mouseMoveEvent(QMouseEvent* arg__1) override; +void mousePressEvent(QMouseEvent* arg__1) override; +void mouseReleaseEvent(QMouseEvent* arg__1) override; +void moveEvent(QMoveEvent* event) override; +bool nativeEvent(const QByteArray& eventType, void* message, long* result) override; +QPaintEngine* paintEngine() const override; +void paintEvent(QPaintEvent* arg__1) override; +QPaintDevice* redirected(QPoint* offset) const override; +void resizeEvent(QResizeEvent* arg__1) override; +void setVisible(bool visible) override; +QPainter* sharedPainter() const override; +void showEvent(QShowEvent* event) override; +QSize sizeHint() const override; +void tabletEvent(QTabletEvent* event) override; +void timerEvent(QTimerEvent* event) override; +void wheelEvent(QWheelEvent* arg__1) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QWebView : public QWebView +{ public: +inline void promoted_changeEvent(QEvent* arg__1) { this->changeEvent(arg__1); } +inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { this->contextMenuEvent(arg__1); } +inline QWebView* promoted_createWindow(QWebPage::WebWindowType type) { return this->createWindow(type); } +inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { this->dragEnterEvent(arg__1); } +inline void promoted_dragLeaveEvent(QDragLeaveEvent* arg__1) { this->dragLeaveEvent(arg__1); } +inline void promoted_dragMoveEvent(QDragMoveEvent* arg__1) { this->dragMoveEvent(arg__1); } +inline void promoted_dropEvent(QDropEvent* arg__1) { this->dropEvent(arg__1); } +inline void promoted_focusInEvent(QFocusEvent* arg__1) { this->focusInEvent(arg__1); } +inline bool promoted_focusNextPrevChild(bool next) { return this->focusNextPrevChild(next); } +inline void promoted_focusOutEvent(QFocusEvent* arg__1) { this->focusOutEvent(arg__1); } +inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { this->inputMethodEvent(arg__1); } +inline void promoted_keyPressEvent(QKeyEvent* arg__1) { this->keyPressEvent(arg__1); } +inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { this->keyReleaseEvent(arg__1); } +inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { this->mouseDoubleClickEvent(arg__1); } +inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { this->mouseMoveEvent(arg__1); } +inline void promoted_mousePressEvent(QMouseEvent* arg__1) { this->mousePressEvent(arg__1); } +inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { this->mouseReleaseEvent(arg__1); } +inline void promoted_paintEvent(QPaintEvent* arg__1) { this->paintEvent(arg__1); } +inline void promoted_resizeEvent(QResizeEvent* arg__1) { this->resizeEvent(arg__1); } +inline void promoted_wheelEvent(QWheelEvent* arg__1) { this->wheelEvent(arg__1); } +inline void py_q_changeEvent(QEvent* arg__1) { QWebView::changeEvent(arg__1); } +inline void py_q_contextMenuEvent(QContextMenuEvent* arg__1) { QWebView::contextMenuEvent(arg__1); } +inline QWebView* py_q_createWindow(QWebPage::WebWindowType type) { return QWebView::createWindow(type); } +inline void py_q_dragEnterEvent(QDragEnterEvent* arg__1) { QWebView::dragEnterEvent(arg__1); } +inline void py_q_dragLeaveEvent(QDragLeaveEvent* arg__1) { QWebView::dragLeaveEvent(arg__1); } +inline void py_q_dragMoveEvent(QDragMoveEvent* arg__1) { QWebView::dragMoveEvent(arg__1); } +inline void py_q_dropEvent(QDropEvent* arg__1) { QWebView::dropEvent(arg__1); } +inline bool py_q_event(QEvent* arg__1) { return QWebView::event(arg__1); } +inline void py_q_focusInEvent(QFocusEvent* arg__1) { QWebView::focusInEvent(arg__1); } +inline bool py_q_focusNextPrevChild(bool next) { return QWebView::focusNextPrevChild(next); } +inline void py_q_focusOutEvent(QFocusEvent* arg__1) { QWebView::focusOutEvent(arg__1); } +inline void py_q_inputMethodEvent(QInputMethodEvent* arg__1) { QWebView::inputMethodEvent(arg__1); } +inline QVariant py_q_inputMethodQuery(Qt::InputMethodQuery property) const { return QWebView::inputMethodQuery(property); } +inline void py_q_keyPressEvent(QKeyEvent* arg__1) { QWebView::keyPressEvent(arg__1); } +inline void py_q_keyReleaseEvent(QKeyEvent* arg__1) { QWebView::keyReleaseEvent(arg__1); } +inline void py_q_mouseDoubleClickEvent(QMouseEvent* arg__1) { QWebView::mouseDoubleClickEvent(arg__1); } +inline void py_q_mouseMoveEvent(QMouseEvent* arg__1) { QWebView::mouseMoveEvent(arg__1); } +inline void py_q_mousePressEvent(QMouseEvent* arg__1) { QWebView::mousePressEvent(arg__1); } +inline void py_q_mouseReleaseEvent(QMouseEvent* arg__1) { QWebView::mouseReleaseEvent(arg__1); } +inline void py_q_paintEvent(QPaintEvent* arg__1) { QWebView::paintEvent(arg__1); } +inline void py_q_resizeEvent(QResizeEvent* arg__1) { QWebView::resizeEvent(arg__1); } +inline QSize py_q_sizeHint() const { return QWebView::sizeHint(); } +inline void py_q_wheelEvent(QWheelEvent* arg__1) { QWebView::wheelEvent(arg__1); } +}; + +class PythonQtWrapper_QWebView : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QWebView* new_QWebView(QWidget* parent = nullptr); +void delete_QWebView(QWebView* obj) { delete obj; } + void py_q_changeEvent(QWebView* theWrappedObject, QEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_changeEvent(arg__1));} + void py_q_contextMenuEvent(QWebView* theWrappedObject, QContextMenuEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_contextMenuEvent(arg__1));} + QWebView* createWindow(QWebView* theWrappedObject, QWebPage::WebWindowType type); + QWebView* py_q_createWindow(QWebView* theWrappedObject, QWebPage::WebWindowType type){ return (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_createWindow(type));} + void py_q_dragEnterEvent(QWebView* theWrappedObject, QDragEnterEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_dragEnterEvent(arg__1));} + void py_q_dragLeaveEvent(QWebView* theWrappedObject, QDragLeaveEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_dragLeaveEvent(arg__1));} + void py_q_dragMoveEvent(QWebView* theWrappedObject, QDragMoveEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_dragMoveEvent(arg__1));} + void py_q_dropEvent(QWebView* theWrappedObject, QDropEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_dropEvent(arg__1));} + bool py_q_event(QWebView* theWrappedObject, QEvent* arg__1){ return (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_event(arg__1));} + bool findText(QWebView* theWrappedObject, const QString& subString, QWebPage::FindFlags options = QWebPage::FindFlags()); + void py_q_focusInEvent(QWebView* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_focusInEvent(arg__1));} + bool py_q_focusNextPrevChild(QWebView* theWrappedObject, bool next){ return (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_focusNextPrevChild(next));} + void py_q_focusOutEvent(QWebView* theWrappedObject, QFocusEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_focusOutEvent(arg__1));} + bool hasSelection(QWebView* theWrappedObject) const; + QWebHistory* history(QWebView* theWrappedObject) const; + QIcon icon(QWebView* theWrappedObject) const; + void py_q_inputMethodEvent(QWebView* theWrappedObject, QInputMethodEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_inputMethodEvent(arg__1));} + QVariant py_q_inputMethodQuery(QWebView* theWrappedObject, Qt::InputMethodQuery property) const{ return (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_inputMethodQuery(property));} + bool isModified(QWebView* theWrappedObject) const; + void py_q_keyPressEvent(QWebView* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_keyPressEvent(arg__1));} + void py_q_keyReleaseEvent(QWebView* theWrappedObject, QKeyEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_keyReleaseEvent(arg__1));} + void load(QWebView* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray& body = QByteArray()); + void load(QWebView* theWrappedObject, const QUrl& url); + void py_q_mouseDoubleClickEvent(QWebView* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_mouseDoubleClickEvent(arg__1));} + void py_q_mouseMoveEvent(QWebView* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_mouseMoveEvent(arg__1));} + void py_q_mousePressEvent(QWebView* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_mousePressEvent(arg__1));} + void py_q_mouseReleaseEvent(QWebView* theWrappedObject, QMouseEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_mouseReleaseEvent(arg__1));} + QWebPage* page(QWebView* theWrappedObject) const; + QAction* pageAction(QWebView* theWrappedObject, QWebPage::WebAction action) const; + void py_q_paintEvent(QWebView* theWrappedObject, QPaintEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_paintEvent(arg__1));} + QPainter::RenderHints renderHints(QWebView* theWrappedObject) const; + void py_q_resizeEvent(QWebView* theWrappedObject, QResizeEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_resizeEvent(arg__1));} + QString selectedHtml(QWebView* theWrappedObject) const; + QString selectedText(QWebView* theWrappedObject) const; + void setContent(QWebView* theWrappedObject, const QByteArray& data, const QString& mimeType = QString(), const QUrl& baseUrl = QUrl()); + void setHtml(QWebView* theWrappedObject, const QString& html, const QUrl& baseUrl = QUrl()); + void setPage(QWebView* theWrappedObject, QWebPage* page); + void setRenderHint(QWebView* theWrappedObject, QPainter::RenderHint hint, bool enabled = true); + void setRenderHints(QWebView* theWrappedObject, QPainter::RenderHints hints); + void setTextSizeMultiplier(QWebView* theWrappedObject, qreal factor); + void setUrl(QWebView* theWrappedObject, const QUrl& url); + void setZoomFactor(QWebView* theWrappedObject, qreal factor); + QWebSettings* settings(QWebView* theWrappedObject) const; + QSize py_q_sizeHint(QWebView* theWrappedObject) const{ return (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_sizeHint());} + qreal textSizeMultiplier(QWebView* theWrappedObject) const; + QString title(QWebView* theWrappedObject) const; + void triggerPageAction(QWebView* theWrappedObject, QWebPage::WebAction action, bool checked = false); + QUrl url(QWebView* theWrappedObject) const; + void py_q_wheelEvent(QWebView* theWrappedObject, QWheelEvent* arg__1){ (((PythonQtPublicPromoter_QWebView*)theWrappedObject)->py_q_wheelEvent(arg__1));} + qreal zoomFactor(QWebView* theWrappedObject) const; +}; + + diff --git a/generated_cpp_5.10.1_triksdk/com_trolltech_qt_webkit/com_trolltech_qt_webkit_init.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_webkit/com_trolltech_qt_webkit_init.cpp new file mode 100644 index 000000000..3f368b0d3 --- /dev/null +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_webkit/com_trolltech_qt_webkit_init.cpp @@ -0,0 +1,40 @@ +#include +#include +#include "com_trolltech_qt_webkit0.h" + + + +void PythonQt_init_QtWebKit(PyObject* module) { +PythonQt::priv()->registerClass(&QGraphicsWebView::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebDatabase", "", "QtWebKit", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QWebElement", "", "QtWebKit", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QWebElementCollection", "", "QtWebKit", PythonQtCreateObject, nullptr, module, PythonQt::Type_Add|PythonQt::Type_InplaceAdd); +PythonQt::priv()->registerClass(&QWebFrame::staticMetaObject, "QtWebKit", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QWebHistory", "", "QtWebKit", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QWebHistoryInterface::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebHistoryItem", "", "QtWebKit", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QWebHitTestResult", "", "QtWebKit", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerClass(&QWebInspector::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QWebPage::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPage::ChooseMultipleFilesExtensionOption", "QWebPage::ExtensionOption", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPage::ChooseMultipleFilesExtensionReturn", "QWebPage::ExtensionReturn", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPage::ErrorPageExtensionOption", "QWebPage::ExtensionOption", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPage::ErrorPageExtensionReturn", "QWebPage::ExtensionReturn", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPage::ExtensionOption", "", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPage::ExtensionReturn", "", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QWebPluginFactory::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPluginFactory::ExtensionOption", "", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPluginFactory::ExtensionReturn", "", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebPluginFactory::MimeType", "", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QWebPluginFactory::Plugin", "", "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QWebSecurityOrigin", "", "QtWebKit", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QWebSettings", "", "QtWebKit", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerClass(&QWebView::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + + +PythonQtRegisterListTemplateConverterForKnownClass(QList, QWebDatabase); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QWebElement); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QWebHistoryItem); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QWebPluginFactory::Plugin); +PythonQtRegisterListTemplateConverterForKnownClass(QList, QWebSecurityOrigin); +} diff --git a/generated_cpp_5.10.1/com_trolltech_qt_xml/com_trolltech_qt_xml.pri b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xml/com_trolltech_qt_xml.pri similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_xml/com_trolltech_qt_xml.pri rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_xml/com_trolltech_qt_xml.pri diff --git a/generated_cpp_5.10.1/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_xml/com_trolltech_qt_xml0.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_xml/com_trolltech_qt_xml0.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xml/com_trolltech_qt_xml0.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_xml/com_trolltech_qt_xml0.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_xml/com_trolltech_qt_xml0.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_xml/com_trolltech_qt_xml1.cpp diff --git a/generated_cpp_5.10.1/com_trolltech_qt_xml/com_trolltech_qt_xml1.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xml/com_trolltech_qt_xml1.h similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_xml/com_trolltech_qt_xml1.h rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_xml/com_trolltech_qt_xml1.h diff --git a/generated_cpp_5.10.1/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp similarity index 100% rename from generated_cpp_5.10.1/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp rename to generated_cpp_5.10.1_triksdk/com_trolltech_qt_xml/com_trolltech_qt_xml_init.cpp diff --git a/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri new file mode 100644 index 000000000..7e3085dad --- /dev/null +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns.pri @@ -0,0 +1,6 @@ +HEADERS += \ + $$PWD/com_trolltech_qt_xmlpatterns0.h \ + +SOURCES += \ + $$PWD/com_trolltech_qt_xmlpatterns0.cpp \ + $$PWD/com_trolltech_qt_xmlpatterns_init.cpp diff --git a/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp new file mode 100644 index 000000000..ea2984b5e --- /dev/null +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.cpp @@ -0,0 +1,3045 @@ +#include "com_trolltech_qt_xmlpatterns0.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 + +PythonQtShell_QAbstractMessageHandler::~PythonQtShell_QAbstractMessageHandler() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractMessageHandler::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractMessageHandler::childEvent(event0); +} +void PythonQtShell_QAbstractMessageHandler::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractMessageHandler::customEvent(event0); +} +bool PythonQtShell_QAbstractMessageHandler::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractMessageHandler::event(event0); +} +bool PythonQtShell_QAbstractMessageHandler::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractMessageHandler::eventFilter(watched0, event1); +} +void PythonQtShell_QAbstractMessageHandler::handleMessage(QtMsgType type0, const QString& description1, const QUrl& identifier2, const QSourceLocation& sourceLocation3) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("handleMessage"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QtMsgType" , "const QString&" , "const QUrl&" , "const QSourceLocation&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(5, argumentList); + void* args[5] = {nullptr, (void*)&type0, (void*)&description1, (void*)&identifier2, (void*)&sourceLocation3}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractMessageHandler::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractMessageHandler::timerEvent(event0); +} +QAbstractMessageHandler* PythonQtWrapper_QAbstractMessageHandler::new_QAbstractMessageHandler(QObject* parent) +{ +return new PythonQtShell_QAbstractMessageHandler(parent); } + +const QMetaObject* PythonQtShell_QAbstractMessageHandler::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractMessageHandler::staticMetaObject); + } else { + return &QAbstractMessageHandler::staticMetaObject; + } +} +int PythonQtShell_QAbstractMessageHandler::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractMessageHandler::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +void PythonQtWrapper_QAbstractMessageHandler::handleMessage(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation) +{ + ( ((PythonQtPublicPromoter_QAbstractMessageHandler*)theWrappedObject)->promoted_handleMessage(type, description, identifier, sourceLocation)); +} + +void PythonQtWrapper_QAbstractMessageHandler::message(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation) +{ + ( theWrappedObject->message(type, description, identifier, sourceLocation)); +} + + + +PythonQtShell_QAbstractUriResolver::~PythonQtShell_QAbstractUriResolver() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractUriResolver::childEvent(QChildEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("childEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QChildEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractUriResolver::childEvent(event0); +} +void PythonQtShell_QAbstractUriResolver::customEvent(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("customEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractUriResolver::customEvent(event0); +} +bool PythonQtShell_QAbstractUriResolver::event(QEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("event"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + bool returnValue{}; + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("event", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractUriResolver::event(event0); +} +bool PythonQtShell_QAbstractUriResolver::eventFilter(QObject* watched0, QEvent* event1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("eventFilter"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "QObject*" , "QEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&watched0, (void*)&event1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("eventFilter", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractUriResolver::eventFilter(watched0, event1); +} +QUrl PythonQtShell_QAbstractUriResolver::resolve(const QUrl& relative0, const QUrl& baseURI1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("resolve"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QUrl" , "const QUrl&" , "const QUrl&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QUrl returnValue{}; + void* args[3] = {nullptr, (void*)&relative0, (void*)&baseURI1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("resolve", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUrl(); +} +void PythonQtShell_QAbstractUriResolver::timerEvent(QTimerEvent* event0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("timerEvent"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "QTimerEvent*"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&event0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractUriResolver::timerEvent(event0); +} +QAbstractUriResolver* PythonQtWrapper_QAbstractUriResolver::new_QAbstractUriResolver(QObject* parent) +{ +return new PythonQtShell_QAbstractUriResolver(parent); } + +const QMetaObject* PythonQtShell_QAbstractUriResolver::metaObject() const { + if (QObject::d_ptr->metaObject) { + return QObject::d_ptr->dynamicMetaObject(); + } else if (_wrapper) { + return PythonQt::priv()->getDynamicMetaObject(_wrapper, &QAbstractUriResolver::staticMetaObject); + } else { + return &QAbstractUriResolver::staticMetaObject; + } +} +int PythonQtShell_QAbstractUriResolver::qt_metacall(QMetaObject::Call call, int id, void** args) { + int result = QAbstractUriResolver::qt_metacall(call, id, args); + return result >= 0 ? PythonQt::priv()->handleMetaCall(this, _wrapper, call, id, args) : result; +} +QUrl PythonQtWrapper_QAbstractUriResolver::resolve(QAbstractUriResolver* theWrappedObject, const QUrl& relative, const QUrl& baseURI) const +{ + return ( theWrappedObject->resolve(relative, baseURI)); +} + + + +PythonQtShell_QAbstractXmlNodeModel::~PythonQtShell_QAbstractXmlNodeModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QVector PythonQtShell_QAbstractXmlNodeModel::attributes(const QXmlNodeModelIndex& element0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("attributes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVector returnValue{}; + void* args[2] = {nullptr, (void*)&element0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("attributes", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVector(); +} +QUrl PythonQtShell_QAbstractXmlNodeModel::baseUri(const QXmlNodeModelIndex& ni0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("baseUri"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QUrl returnValue{}; + void* args[2] = {nullptr, (void*)&ni0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("baseUri", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUrl(); +} +QXmlNodeModelIndex::DocumentOrder PythonQtShell_QAbstractXmlNodeModel::compareOrder(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("compareOrder"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex::DocumentOrder" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QXmlNodeModelIndex::DocumentOrder returnValue{}; + void* args[3] = {nullptr, (void*)&ni10, (void*)&ni21}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("compareOrder", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex::DocumentOrder*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex::DocumentOrder(); +} +QUrl PythonQtShell_QAbstractXmlNodeModel::documentUri(const QXmlNodeModelIndex& ni0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("documentUri"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QUrl returnValue{}; + void* args[2] = {nullptr, (void*)&ni0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("documentUri", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUrl(); +} +QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::elementById(const QXmlName& NCName0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("elementById"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlNodeModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&NCName0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("elementById", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex(); +} +bool PythonQtShell_QAbstractXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("isDeepEqual"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&ni10, (void*)&ni21}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isDeepEqual", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractXmlNodeModel::isDeepEqual(ni10, ni21); +} +QXmlNodeModelIndex::NodeKind PythonQtShell_QAbstractXmlNodeModel::kind(const QXmlNodeModelIndex& ni0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("kind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex::NodeKind" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlNodeModelIndex::NodeKind returnValue{}; + void* args[2] = {nullptr, (void*)&ni0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("kind", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex::NodeKind*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex::NodeKind(); +} +QXmlName PythonQtShell_QAbstractXmlNodeModel::name(const QXmlNodeModelIndex& ni0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("name"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlName" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlName returnValue{}; + void* args[2] = {nullptr, (void*)&ni0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); + } else { + returnValue = *((QXmlName*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlName(); +} +QVector PythonQtShell_QAbstractXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex& n0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("namespaceBindings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVector returnValue{}; + void* args[2] = {nullptr, (void*)&n0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("namespaceBindings", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVector(); +} +short PythonQtShell_QAbstractXmlNodeModel::namespaceForPrefix(const QXmlNodeModelIndex& ni0, const short prefix1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("namespaceForPrefix"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"short" , "const QXmlNodeModelIndex&" , "const short"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + short returnValue{}; + void* args[3] = {nullptr, (void*)&ni0, (void*)&prefix1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("namespaceForPrefix", methodInfo, result); + } else { + returnValue = *((short*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QAbstractXmlNodeModel::namespaceForPrefix(ni0, prefix1); +} +QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis0, const QXmlNodeModelIndex& origin1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nextFromSimpleAxis"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "QAbstractXmlNodeModel::SimpleAxis" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QXmlNodeModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&axis0, (void*)&origin1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextFromSimpleAxis", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex(); +} +QVector PythonQtShell_QAbstractXmlNodeModel::nodesByIdref(const QXmlName& NCName0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nodesByIdref"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVector returnValue{}; + void* args[2] = {nullptr, (void*)&NCName0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nodesByIdref", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVector(); +} +QXmlNodeModelIndex PythonQtShell_QAbstractXmlNodeModel::root(const QXmlNodeModelIndex& n0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("root"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlNodeModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&n0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("root", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex(); +} +QString PythonQtShell_QAbstractXmlNodeModel::stringValue(const QXmlNodeModelIndex& n0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("stringValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue{}; + void* args[2] = {nullptr, (void*)&n0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stringValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QString(); +} +QVariant PythonQtShell_QAbstractXmlNodeModel::typedValue(const QXmlNodeModelIndex& n0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("typedValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&n0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("typedValue", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +QAbstractXmlNodeModel* PythonQtWrapper_QAbstractXmlNodeModel::new_QAbstractXmlNodeModel() +{ +return new PythonQtShell_QAbstractXmlNodeModel(); } + +QVector PythonQtWrapper_QAbstractXmlNodeModel::attributes(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& element) const +{ + return ( ((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->promoted_attributes(element)); +} + +QUrl PythonQtWrapper_QAbstractXmlNodeModel::baseUri(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const +{ + return ( theWrappedObject->baseUri(ni)); +} + +QXmlNodeModelIndex::DocumentOrder PythonQtWrapper_QAbstractXmlNodeModel::compareOrder(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const +{ + return ( theWrappedObject->compareOrder(ni1, ni2)); +} + +QXmlNodeModelIndex PythonQtWrapper_QAbstractXmlNodeModel::createIndex(QAbstractXmlNodeModel* theWrappedObject, qint64 data) const +{ + return ( ((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->promoted_createIndex(data)); +} + +QXmlNodeModelIndex PythonQtWrapper_QAbstractXmlNodeModel::createIndex(QAbstractXmlNodeModel* theWrappedObject, qint64 data, qint64 additionalData) const +{ + return ( ((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->promoted_createIndex(data, additionalData)); +} + +QXmlNodeModelIndex PythonQtWrapper_QAbstractXmlNodeModel::createIndex(QAbstractXmlNodeModel* theWrappedObject, void* pointer, qint64 additionalData) const +{ + return ( ((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->promoted_createIndex(pointer, additionalData)); +} + +QUrl PythonQtWrapper_QAbstractXmlNodeModel::documentUri(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const +{ + return ( theWrappedObject->documentUri(ni)); +} + +QXmlNodeModelIndex PythonQtWrapper_QAbstractXmlNodeModel::elementById(QAbstractXmlNodeModel* theWrappedObject, const QXmlName& NCName) const +{ + return ( theWrappedObject->elementById(NCName)); +} + +bool PythonQtWrapper_QAbstractXmlNodeModel::isDeepEqual(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const +{ + return ( theWrappedObject->isDeepEqual(ni1, ni2)); +} + +QXmlNodeModelIndex::NodeKind PythonQtWrapper_QAbstractXmlNodeModel::kind(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const +{ + return ( theWrappedObject->kind(ni)); +} + +QXmlName PythonQtWrapper_QAbstractXmlNodeModel::name(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const +{ + return ( theWrappedObject->name(ni)); +} + +QVector PythonQtWrapper_QAbstractXmlNodeModel::namespaceBindings(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const +{ + return ( theWrappedObject->namespaceBindings(n)); +} + +short PythonQtWrapper_QAbstractXmlNodeModel::namespaceForPrefix(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni, const short prefix) const +{ + return ( theWrappedObject->namespaceForPrefix(ni, prefix)); +} + +QXmlNodeModelIndex PythonQtWrapper_QAbstractXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel* theWrappedObject, QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const +{ + return ( ((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->promoted_nextFromSimpleAxis(axis, origin)); +} + +QVector PythonQtWrapper_QAbstractXmlNodeModel::nodesByIdref(QAbstractXmlNodeModel* theWrappedObject, const QXmlName& NCName) const +{ + return ( theWrappedObject->nodesByIdref(NCName)); +} + +QXmlNodeModelIndex PythonQtWrapper_QAbstractXmlNodeModel::root(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const +{ + return ( theWrappedObject->root(n)); +} + +QSourceLocation PythonQtWrapper_QAbstractXmlNodeModel::sourceLocation(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& index) const +{ + return ( theWrappedObject->sourceLocation(index)); +} + +QString PythonQtWrapper_QAbstractXmlNodeModel::stringValue(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const +{ + return ( theWrappedObject->stringValue(n)); +} + +QVariant PythonQtWrapper_QAbstractXmlNodeModel::typedValue(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const +{ + return ( theWrappedObject->typedValue(n)); +} + + + +PythonQtShell_QAbstractXmlReceiver::~PythonQtShell_QAbstractXmlReceiver() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QAbstractXmlReceiver::atomicValue(const QVariant& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("atomicValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::attribute(const QXmlName& name0, const QStringRef& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("attribute"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::characters(const QStringRef& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("characters"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::comment(const QString& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("comment"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::endDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("endDocument"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::endElement() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("endElement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::endOfSequence() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("endOfSequence"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::namespaceBinding(const QXmlName& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("namespaceBinding"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::processingInstruction(const QXmlName& target0, const QString& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("processingInstruction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&target0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::startDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("startDocument"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::startElement(const QXmlName& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("startElement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::startOfSequence() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("startOfSequence"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + +} +void PythonQtShell_QAbstractXmlReceiver::whitespaceOnly(const QStringRef& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("whitespaceOnly"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QAbstractXmlReceiver::whitespaceOnly(value0); +} +QAbstractXmlReceiver* PythonQtWrapper_QAbstractXmlReceiver::new_QAbstractXmlReceiver() +{ +return new PythonQtShell_QAbstractXmlReceiver(); } + +void PythonQtWrapper_QAbstractXmlReceiver::atomicValue(QAbstractXmlReceiver* theWrappedObject, const QVariant& value) +{ + ( theWrappedObject->atomicValue(value)); +} + +void PythonQtWrapper_QAbstractXmlReceiver::attribute(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name, const QStringRef& value) +{ + ( theWrappedObject->attribute(name, value)); +} + +void PythonQtWrapper_QAbstractXmlReceiver::characters(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value) +{ + ( theWrappedObject->characters(value)); +} + +void PythonQtWrapper_QAbstractXmlReceiver::comment(QAbstractXmlReceiver* theWrappedObject, const QString& value) +{ + ( theWrappedObject->comment(value)); +} + +void PythonQtWrapper_QAbstractXmlReceiver::endDocument(QAbstractXmlReceiver* theWrappedObject) +{ + ( theWrappedObject->endDocument()); +} + +void PythonQtWrapper_QAbstractXmlReceiver::endElement(QAbstractXmlReceiver* theWrappedObject) +{ + ( theWrappedObject->endElement()); +} + +void PythonQtWrapper_QAbstractXmlReceiver::endOfSequence(QAbstractXmlReceiver* theWrappedObject) +{ + ( theWrappedObject->endOfSequence()); +} + +void PythonQtWrapper_QAbstractXmlReceiver::namespaceBinding(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name) +{ + ( theWrappedObject->namespaceBinding(name)); +} + +void PythonQtWrapper_QAbstractXmlReceiver::processingInstruction(QAbstractXmlReceiver* theWrappedObject, const QXmlName& target, const QString& value) +{ + ( theWrappedObject->processingInstruction(target, value)); +} + +void PythonQtWrapper_QAbstractXmlReceiver::startDocument(QAbstractXmlReceiver* theWrappedObject) +{ + ( theWrappedObject->startDocument()); +} + +void PythonQtWrapper_QAbstractXmlReceiver::startElement(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name) +{ + ( theWrappedObject->startElement(name)); +} + +void PythonQtWrapper_QAbstractXmlReceiver::startOfSequence(QAbstractXmlReceiver* theWrappedObject) +{ + ( theWrappedObject->startOfSequence()); +} + +void PythonQtWrapper_QAbstractXmlReceiver::whitespaceOnly(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value) +{ + ( theWrappedObject->whitespaceOnly(value)); +} + + + + + + + +PythonQtShell_QSimpleXmlNodeModel::~PythonQtShell_QSimpleXmlNodeModel() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QVector PythonQtShell_QSimpleXmlNodeModel::attributes(const QXmlNodeModelIndex& element0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("attributes"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVector returnValue{}; + void* args[2] = {nullptr, (void*)&element0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("attributes", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVector(); +} +QUrl PythonQtShell_QSimpleXmlNodeModel::baseUri(const QXmlNodeModelIndex& node0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("baseUri"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QUrl returnValue{}; + void* args[2] = {nullptr, (void*)&node0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("baseUri", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSimpleXmlNodeModel::baseUri(node0); +} +QXmlNodeModelIndex::DocumentOrder PythonQtShell_QSimpleXmlNodeModel::compareOrder(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("compareOrder"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex::DocumentOrder" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QXmlNodeModelIndex::DocumentOrder returnValue{}; + void* args[3] = {nullptr, (void*)&ni10, (void*)&ni21}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("compareOrder", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex::DocumentOrder*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex::DocumentOrder(); +} +QUrl PythonQtShell_QSimpleXmlNodeModel::documentUri(const QXmlNodeModelIndex& ni0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("documentUri"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QUrl" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QUrl returnValue{}; + void* args[2] = {nullptr, (void*)&ni0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("documentUri", methodInfo, result); + } else { + returnValue = *((QUrl*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QUrl(); +} +QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::elementById(const QXmlName& id0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("elementById"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlNodeModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&id0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("elementById", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSimpleXmlNodeModel::elementById(id0); +} +bool PythonQtShell_QSimpleXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex& ni10, const QXmlNodeModelIndex& ni21) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("isDeepEqual"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"bool" , "const QXmlNodeModelIndex&" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + bool returnValue{}; + void* args[3] = {nullptr, (void*)&ni10, (void*)&ni21}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("isDeepEqual", methodInfo, result); + } else { + returnValue = *((bool*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSimpleXmlNodeModel::isDeepEqual(ni10, ni21); +} +QXmlNodeModelIndex::NodeKind PythonQtShell_QSimpleXmlNodeModel::kind(const QXmlNodeModelIndex& ni0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("kind"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex::NodeKind" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlNodeModelIndex::NodeKind returnValue{}; + void* args[2] = {nullptr, (void*)&ni0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("kind", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex::NodeKind*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex::NodeKind(); +} +QXmlName PythonQtShell_QSimpleXmlNodeModel::name(const QXmlNodeModelIndex& ni0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("name"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlName" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlName returnValue{}; + void* args[2] = {nullptr, (void*)&ni0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("name", methodInfo, result); + } else { + returnValue = *((QXmlName*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlName(); +} +QVector PythonQtShell_QSimpleXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex& arg__1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("namespaceBindings"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVector returnValue{}; + void* args[2] = {nullptr, (void*)&arg__1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("namespaceBindings", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSimpleXmlNodeModel::namespaceBindings(arg__1); +} +short PythonQtShell_QSimpleXmlNodeModel::namespaceForPrefix(const QXmlNodeModelIndex& ni0, const short prefix1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("namespaceForPrefix"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"short" , "const QXmlNodeModelIndex&" , "const short"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + short returnValue{}; + void* args[3] = {nullptr, (void*)&ni0, (void*)&prefix1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("namespaceForPrefix", methodInfo, result); + } else { + returnValue = *((short*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSimpleXmlNodeModel::namespaceForPrefix(ni0, prefix1); +} +QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis0, const QXmlNodeModelIndex& origin1) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nextFromSimpleAxis"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "QAbstractXmlNodeModel::SimpleAxis" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + QXmlNodeModelIndex returnValue{}; + void* args[3] = {nullptr, (void*)&axis0, (void*)&origin1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nextFromSimpleAxis", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex(); +} +QVector PythonQtShell_QSimpleXmlNodeModel::nodesByIdref(const QXmlName& idref0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("nodesByIdref"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVector" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVector returnValue{}; + void* args[2] = {nullptr, (void*)&idref0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("nodesByIdref", methodInfo, result); + } else { + returnValue = *((QVector*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSimpleXmlNodeModel::nodesByIdref(idref0); +} +QXmlNodeModelIndex PythonQtShell_QSimpleXmlNodeModel::root(const QXmlNodeModelIndex& n0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("root"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QXmlNodeModelIndex" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QXmlNodeModelIndex returnValue{}; + void* args[2] = {nullptr, (void*)&n0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("root", methodInfo, result); + } else { + returnValue = *((QXmlNodeModelIndex*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QXmlNodeModelIndex(); +} +QString PythonQtShell_QSimpleXmlNodeModel::stringValue(const QXmlNodeModelIndex& node0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("stringValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QString" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QString returnValue{}; + void* args[2] = {nullptr, (void*)&node0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("stringValue", methodInfo, result); + } else { + returnValue = *((QString*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QSimpleXmlNodeModel::stringValue(node0); +} +QVariant PythonQtShell_QSimpleXmlNodeModel::typedValue(const QXmlNodeModelIndex& n0) const +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("typedValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"QVariant" , "const QXmlNodeModelIndex&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + QVariant returnValue{}; + void* args[2] = {nullptr, (void*)&n0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { + args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, nullptr, &returnValue); + if (args[0]!=&returnValue) { + if (args[0]==nullptr) { + PythonQt::priv()->handleVirtualOverloadReturnError("typedValue", methodInfo, result); + } else { + returnValue = *((QVariant*)args[0]); + } + } + } + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return returnValue; + } else { + PyErr_Clear(); + } + } +} + return QVariant(); +} +QSimpleXmlNodeModel* PythonQtWrapper_QSimpleXmlNodeModel::new_QSimpleXmlNodeModel(const QXmlNamePool& namePool) +{ +return new PythonQtShell_QSimpleXmlNodeModel(namePool); } + +QXmlNamePool* PythonQtWrapper_QSimpleXmlNodeModel::namePool(QSimpleXmlNodeModel* theWrappedObject) const +{ + return &( theWrappedObject->namePool()); +} + + + +QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation() +{ +return new QSourceLocation(); } + +QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation(const QSourceLocation& other) +{ +return new QSourceLocation(other); } + +QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation(const QUrl& uri, int line, int column) +{ +return new QSourceLocation(uri, line, column); } + +qint64 PythonQtWrapper_QSourceLocation::column(QSourceLocation* theWrappedObject) const +{ + return ( theWrappedObject->column()); +} + +bool PythonQtWrapper_QSourceLocation::isNull(QSourceLocation* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +qint64 PythonQtWrapper_QSourceLocation::line(QSourceLocation* theWrappedObject) const +{ + return ( theWrappedObject->line()); +} + +bool PythonQtWrapper_QSourceLocation::__ne__(QSourceLocation* theWrappedObject, const QSourceLocation& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QSourceLocation::__eq__(QSourceLocation* theWrappedObject, const QSourceLocation& other) const +{ + return ( (*theWrappedObject)== other); +} + +void PythonQtWrapper_QSourceLocation::setColumn(QSourceLocation* theWrappedObject, qint64 newColumn) +{ + ( theWrappedObject->setColumn(newColumn)); +} + +void PythonQtWrapper_QSourceLocation::setLine(QSourceLocation* theWrappedObject, qint64 newLine) +{ + ( theWrappedObject->setLine(newLine)); +} + +void PythonQtWrapper_QSourceLocation::setUri(QSourceLocation* theWrappedObject, const QUrl& newUri) +{ + ( theWrappedObject->setUri(newUri)); +} + +QUrl PythonQtWrapper_QSourceLocation::uri(QSourceLocation* theWrappedObject) const +{ + return ( theWrappedObject->uri()); +} + +QString PythonQtWrapper_QSourceLocation::py_toString(QSourceLocation* obj) { + QString result; + QDebug d(&result); + d << *obj; + return result; +} + + + +PythonQtShell_QXmlFormatter::~PythonQtShell_QXmlFormatter() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QXmlFormatter::atomicValue(const QVariant& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("atomicValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::atomicValue(value0); +} +void PythonQtShell_QXmlFormatter::attribute(const QXmlName& name0, const QStringRef& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("attribute"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::attribute(name0, value1); +} +void PythonQtShell_QXmlFormatter::characters(const QStringRef& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("characters"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::characters(value0); +} +void PythonQtShell_QXmlFormatter::comment(const QString& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("comment"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::comment(value0); +} +void PythonQtShell_QXmlFormatter::endDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("endDocument"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::endDocument(); +} +void PythonQtShell_QXmlFormatter::endElement() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("endElement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::endElement(); +} +void PythonQtShell_QXmlFormatter::endOfSequence() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("endOfSequence"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::endOfSequence(); +} +void PythonQtShell_QXmlFormatter::namespaceBinding(const QXmlName& nb0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("namespaceBinding"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&nb0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::namespaceBinding(nb0); +} +void PythonQtShell_QXmlFormatter::processingInstruction(const QXmlName& name0, const QString& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("processingInstruction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::processingInstruction(name0, value1); +} +void PythonQtShell_QXmlFormatter::startDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("startDocument"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::startDocument(); +} +void PythonQtShell_QXmlFormatter::startElement(const QXmlName& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("startElement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::startElement(name0); +} +void PythonQtShell_QXmlFormatter::startOfSequence() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("startOfSequence"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::startOfSequence(); +} +void PythonQtShell_QXmlFormatter::whitespaceOnly(const QStringRef& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("whitespaceOnly"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlFormatter::whitespaceOnly(value0); +} +QXmlFormatter* PythonQtWrapper_QXmlFormatter::new_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice) +{ +return new PythonQtShell_QXmlFormatter(query, outputDevice); } + +int PythonQtWrapper_QXmlFormatter::indentationDepth(QXmlFormatter* theWrappedObject) const +{ + return ( theWrappedObject->indentationDepth()); +} + +void PythonQtWrapper_QXmlFormatter::setIndentationDepth(QXmlFormatter* theWrappedObject, int depth) +{ + ( theWrappedObject->setIndentationDepth(depth)); +} + + + +QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem() +{ +return new QXmlItem(); } + +QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QVariant& atomicValue) +{ +return new QXmlItem(atomicValue); } + +QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QXmlItem& other) +{ +return new QXmlItem(other); } + +QXmlItem* PythonQtWrapper_QXmlItem::new_QXmlItem(const QXmlNodeModelIndex& node) +{ +return new QXmlItem(node); } + +bool PythonQtWrapper_QXmlItem::isAtomicValue(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->isAtomicValue()); +} + +bool PythonQtWrapper_QXmlItem::isNode(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->isNode()); +} + +bool PythonQtWrapper_QXmlItem::isNull(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QVariant PythonQtWrapper_QXmlItem::toAtomicValue(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->toAtomicValue()); +} + +QXmlNodeModelIndex PythonQtWrapper_QXmlItem::toNodeModelIndex(QXmlItem* theWrappedObject) const +{ + return ( theWrappedObject->toNodeModelIndex()); +} + + + +QXmlName* PythonQtWrapper_QXmlName::new_QXmlName() +{ +return new QXmlName(); } + +QXmlName* PythonQtWrapper_QXmlName::new_QXmlName(QXmlNamePool& namePool, const QString& localName, const QString& namespaceURI, const QString& prefix) +{ +return new QXmlName(namePool, localName, namespaceURI, prefix); } + +QXmlName* PythonQtWrapper_QXmlName::new_QXmlName(const QXmlName& other) +{ +return new QXmlName(other); } + +QXmlName PythonQtWrapper_QXmlName::static_QXmlName_fromClarkName(const QString& clarkName, const QXmlNamePool& namePool) +{ + return (QXmlName::fromClarkName(clarkName, namePool)); +} + +bool PythonQtWrapper_QXmlName::static_QXmlName_isNCName(const QString& candidate) +{ + return (QXmlName::isNCName(candidate)); +} + +bool PythonQtWrapper_QXmlName::isNull(QXmlName* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +QString PythonQtWrapper_QXmlName::localName(QXmlName* theWrappedObject, const QXmlNamePool& query) const +{ + return ( theWrappedObject->localName(query)); +} + +QString PythonQtWrapper_QXmlName::namespaceUri(QXmlName* theWrappedObject, const QXmlNamePool& query) const +{ + return ( theWrappedObject->namespaceUri(query)); +} + +bool PythonQtWrapper_QXmlName::__ne__(QXmlName* theWrappedObject, const QXmlName& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QXmlName::__eq__(QXmlName* theWrappedObject, const QXmlName& other) const +{ + return ( (*theWrappedObject)== other); +} + +QString PythonQtWrapper_QXmlName::prefix(QXmlName* theWrappedObject, const QXmlNamePool& query) const +{ + return ( theWrappedObject->prefix(query)); +} + +QString PythonQtWrapper_QXmlName::toClarkName(QXmlName* theWrappedObject, const QXmlNamePool& query) const +{ + return ( theWrappedObject->toClarkName(query)); +} + + + +QXmlNamePool* PythonQtWrapper_QXmlNamePool::new_QXmlNamePool() +{ +return new QXmlNamePool(); } + +QXmlNamePool* PythonQtWrapper_QXmlNamePool::new_QXmlNamePool(const QXmlNamePool& other) +{ +return new QXmlNamePool(other); } + + + +QXmlNodeModelIndex* PythonQtWrapper_QXmlNodeModelIndex::new_QXmlNodeModelIndex() +{ +return new QXmlNodeModelIndex(); } + +QXmlNodeModelIndex* PythonQtWrapper_QXmlNodeModelIndex::new_QXmlNodeModelIndex(const QXmlNodeModelIndex& other) +{ +return new QXmlNodeModelIndex(other); } + +qint64 PythonQtWrapper_QXmlNodeModelIndex::additionalData(QXmlNodeModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->additionalData()); +} + +qint64 PythonQtWrapper_QXmlNodeModelIndex::data(QXmlNodeModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->data()); +} + +bool PythonQtWrapper_QXmlNodeModelIndex::isNull(QXmlNodeModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->isNull()); +} + +const QAbstractXmlNodeModel* PythonQtWrapper_QXmlNodeModelIndex::model(QXmlNodeModelIndex* theWrappedObject) const +{ + return ( theWrappedObject->model()); +} + +bool PythonQtWrapper_QXmlNodeModelIndex::__ne__(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const +{ + return ( (*theWrappedObject)!= other); +} + +bool PythonQtWrapper_QXmlNodeModelIndex::__eq__(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const +{ + return ( (*theWrappedObject)== other); +} + + + +QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery() +{ +return new QXmlQuery(); } + +QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery(QXmlQuery::QueryLanguage queryLanguage, const QXmlNamePool& np) +{ +return new QXmlQuery(queryLanguage, np); } + +QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery(const QXmlNamePool& np) +{ +return new QXmlQuery(np); } + +QXmlQuery* PythonQtWrapper_QXmlQuery::new_QXmlQuery(const QXmlQuery& other) +{ +return new QXmlQuery(other); } + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QString& localName, QIODevice* arg__2) +{ + ( theWrappedObject->bindVariable(localName, arg__2)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlItem& value) +{ + ( theWrappedObject->bindVariable(localName, value)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlQuery& query) +{ + ( theWrappedObject->bindVariable(localName, query)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, QIODevice* arg__2) +{ + ( theWrappedObject->bindVariable(name, arg__2)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlItem& value) +{ + ( theWrappedObject->bindVariable(name, value)); +} + +void PythonQtWrapper_QXmlQuery::bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlQuery& query) +{ + ( theWrappedObject->bindVariable(name, query)); +} + +bool PythonQtWrapper_QXmlQuery::evaluateTo(QXmlQuery* theWrappedObject, QIODevice* target) const +{ + return ( theWrappedObject->evaluateTo(target)); +} + +bool PythonQtWrapper_QXmlQuery::evaluateTo(QXmlQuery* theWrappedObject, QString* output) const +{ + return ( theWrappedObject->evaluateTo(output)); +} + +void PythonQtWrapper_QXmlQuery::evaluateTo(QXmlQuery* theWrappedObject, QXmlResultItems* result) const +{ + ( theWrappedObject->evaluateTo(result)); +} + +QXmlName PythonQtWrapper_QXmlQuery::initialTemplateName(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->initialTemplateName()); +} + +bool PythonQtWrapper_QXmlQuery::isValid(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +QAbstractMessageHandler* PythonQtWrapper_QXmlQuery::messageHandler(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->messageHandler()); +} + +QXmlNamePool PythonQtWrapper_QXmlQuery::namePool(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->namePool()); +} + +QNetworkAccessManager* PythonQtWrapper_QXmlQuery::networkAccessManager(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManager()); +} + +QXmlQuery* PythonQtWrapper_QXmlQuery::operator_assign(QXmlQuery* theWrappedObject, const QXmlQuery& other) +{ + return &( (*theWrappedObject)= other); +} + +QXmlQuery::QueryLanguage PythonQtWrapper_QXmlQuery::queryLanguage(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->queryLanguage()); +} + +bool PythonQtWrapper_QXmlQuery::setFocus(QXmlQuery* theWrappedObject, QIODevice* document) +{ + return ( theWrappedObject->setFocus(document)); +} + +bool PythonQtWrapper_QXmlQuery::setFocus(QXmlQuery* theWrappedObject, const QString& focus) +{ + return ( theWrappedObject->setFocus(focus)); +} + +bool PythonQtWrapper_QXmlQuery::setFocus(QXmlQuery* theWrappedObject, const QUrl& documentURI) +{ + return ( theWrappedObject->setFocus(documentURI)); +} + +void PythonQtWrapper_QXmlQuery::setFocus(QXmlQuery* theWrappedObject, const QXmlItem& item) +{ + ( theWrappedObject->setFocus(item)); +} + +void PythonQtWrapper_QXmlQuery::setInitialTemplateName(QXmlQuery* theWrappedObject, const QString& name) +{ + ( theWrappedObject->setInitialTemplateName(name)); +} + +void PythonQtWrapper_QXmlQuery::setInitialTemplateName(QXmlQuery* theWrappedObject, const QXmlName& name) +{ + ( theWrappedObject->setInitialTemplateName(name)); +} + +void PythonQtWrapper_QXmlQuery::setMessageHandler(QXmlQuery* theWrappedObject, QAbstractMessageHandler* messageHandler) +{ + ( theWrappedObject->setMessageHandler(messageHandler)); +} + +void PythonQtWrapper_QXmlQuery::setNetworkAccessManager(QXmlQuery* theWrappedObject, QNetworkAccessManager* newManager) +{ + ( theWrappedObject->setNetworkAccessManager(newManager)); +} + +void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, QIODevice* sourceCode, const QUrl& documentURI) +{ + ( theWrappedObject->setQuery(sourceCode, documentURI)); +} + +void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, const QString& sourceCode, const QUrl& documentURI) +{ + ( theWrappedObject->setQuery(sourceCode, documentURI)); +} + +void PythonQtWrapper_QXmlQuery::setQuery(QXmlQuery* theWrappedObject, const QUrl& queryURI, const QUrl& baseURI) +{ + ( theWrappedObject->setQuery(queryURI, baseURI)); +} + +void PythonQtWrapper_QXmlQuery::setUriResolver(QXmlQuery* theWrappedObject, const QAbstractUriResolver* resolver) +{ + ( theWrappedObject->setUriResolver(resolver)); +} + +const QAbstractUriResolver* PythonQtWrapper_QXmlQuery::uriResolver(QXmlQuery* theWrappedObject) const +{ + return ( theWrappedObject->uriResolver()); +} + + + +PythonQtShell_QXmlResultItems::~PythonQtShell_QXmlResultItems() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +QXmlResultItems* PythonQtWrapper_QXmlResultItems::new_QXmlResultItems() +{ +return new PythonQtShell_QXmlResultItems(); } + +QXmlItem PythonQtWrapper_QXmlResultItems::current(QXmlResultItems* theWrappedObject) const +{ + return ( theWrappedObject->current()); +} + +bool PythonQtWrapper_QXmlResultItems::hasError(QXmlResultItems* theWrappedObject) const +{ + return ( theWrappedObject->hasError()); +} + +QXmlItem PythonQtWrapper_QXmlResultItems::next(QXmlResultItems* theWrappedObject) +{ + return ( theWrappedObject->next()); +} + + + +QXmlSchema* PythonQtWrapper_QXmlSchema::new_QXmlSchema() +{ +return new QXmlSchema(); } + +QXmlSchema* PythonQtWrapper_QXmlSchema::new_QXmlSchema(const QXmlSchema& other) +{ +return new QXmlSchema(other); } + +QUrl PythonQtWrapper_QXmlSchema::documentUri(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->documentUri()); +} + +bool PythonQtWrapper_QXmlSchema::isValid(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->isValid()); +} + +bool PythonQtWrapper_QXmlSchema::load(QXmlSchema* theWrappedObject, QIODevice* source, const QUrl& documentUri) +{ + return ( theWrappedObject->load(source, documentUri)); +} + +bool PythonQtWrapper_QXmlSchema::load(QXmlSchema* theWrappedObject, const QByteArray& data, const QUrl& documentUri) +{ + return ( theWrappedObject->load(data, documentUri)); +} + +bool PythonQtWrapper_QXmlSchema::load(QXmlSchema* theWrappedObject, const QUrl& source) +{ + return ( theWrappedObject->load(source)); +} + +QAbstractMessageHandler* PythonQtWrapper_QXmlSchema::messageHandler(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->messageHandler()); +} + +QXmlNamePool PythonQtWrapper_QXmlSchema::namePool(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->namePool()); +} + +QNetworkAccessManager* PythonQtWrapper_QXmlSchema::networkAccessManager(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManager()); +} + +QXmlSchema* PythonQtWrapper_QXmlSchema::operator_assign(QXmlSchema* theWrappedObject, const QXmlSchema& other) +{ + return &( (*theWrappedObject)= other); +} + +void PythonQtWrapper_QXmlSchema::setMessageHandler(QXmlSchema* theWrappedObject, QAbstractMessageHandler* handler) +{ + ( theWrappedObject->setMessageHandler(handler)); +} + +void PythonQtWrapper_QXmlSchema::setNetworkAccessManager(QXmlSchema* theWrappedObject, QNetworkAccessManager* networkmanager) +{ + ( theWrappedObject->setNetworkAccessManager(networkmanager)); +} + +void PythonQtWrapper_QXmlSchema::setUriResolver(QXmlSchema* theWrappedObject, const QAbstractUriResolver* resolver) +{ + ( theWrappedObject->setUriResolver(resolver)); +} + +const QAbstractUriResolver* PythonQtWrapper_QXmlSchema::uriResolver(QXmlSchema* theWrappedObject) const +{ + return ( theWrappedObject->uriResolver()); +} + + + +QXmlSchemaValidator* PythonQtWrapper_QXmlSchemaValidator::new_QXmlSchemaValidator() +{ +return new QXmlSchemaValidator(); } + +QXmlSchemaValidator* PythonQtWrapper_QXmlSchemaValidator::new_QXmlSchemaValidator(const QXmlSchema& schema) +{ +return new QXmlSchemaValidator(schema); } + +QAbstractMessageHandler* PythonQtWrapper_QXmlSchemaValidator::messageHandler(QXmlSchemaValidator* theWrappedObject) const +{ + return ( theWrappedObject->messageHandler()); +} + +QXmlNamePool PythonQtWrapper_QXmlSchemaValidator::namePool(QXmlSchemaValidator* theWrappedObject) const +{ + return ( theWrappedObject->namePool()); +} + +QNetworkAccessManager* PythonQtWrapper_QXmlSchemaValidator::networkAccessManager(QXmlSchemaValidator* theWrappedObject) const +{ + return ( theWrappedObject->networkAccessManager()); +} + +void PythonQtWrapper_QXmlSchemaValidator::setMessageHandler(QXmlSchemaValidator* theWrappedObject, QAbstractMessageHandler* handler) +{ + ( theWrappedObject->setMessageHandler(handler)); +} + +void PythonQtWrapper_QXmlSchemaValidator::setNetworkAccessManager(QXmlSchemaValidator* theWrappedObject, QNetworkAccessManager* networkmanager) +{ + ( theWrappedObject->setNetworkAccessManager(networkmanager)); +} + +void PythonQtWrapper_QXmlSchemaValidator::setSchema(QXmlSchemaValidator* theWrappedObject, const QXmlSchema& schema) +{ + ( theWrappedObject->setSchema(schema)); +} + +void PythonQtWrapper_QXmlSchemaValidator::setUriResolver(QXmlSchemaValidator* theWrappedObject, const QAbstractUriResolver* resolver) +{ + ( theWrappedObject->setUriResolver(resolver)); +} + +const QAbstractUriResolver* PythonQtWrapper_QXmlSchemaValidator::uriResolver(QXmlSchemaValidator* theWrappedObject) const +{ + return ( theWrappedObject->uriResolver()); +} + +bool PythonQtWrapper_QXmlSchemaValidator::validate(QXmlSchemaValidator* theWrappedObject, QIODevice* source, const QUrl& documentUri) const +{ + return ( theWrappedObject->validate(source, documentUri)); +} + +bool PythonQtWrapper_QXmlSchemaValidator::validate(QXmlSchemaValidator* theWrappedObject, const QByteArray& data, const QUrl& documentUri) const +{ + return ( theWrappedObject->validate(data, documentUri)); +} + +bool PythonQtWrapper_QXmlSchemaValidator::validate(QXmlSchemaValidator* theWrappedObject, const QUrl& source) const +{ + return ( theWrappedObject->validate(source)); +} + + + +PythonQtShell_QXmlSerializer::~PythonQtShell_QXmlSerializer() { + PythonQtPrivate* priv = PythonQt::priv(); + if (priv) { priv->shellClassDeleted(this); } +} +void PythonQtShell_QXmlSerializer::atomicValue(const QVariant& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("atomicValue"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QVariant&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::atomicValue(value0); +} +void PythonQtShell_QXmlSerializer::attribute(const QXmlName& name0, const QStringRef& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("attribute"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::attribute(name0, value1); +} +void PythonQtShell_QXmlSerializer::characters(const QStringRef& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("characters"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::characters(value0); +} +void PythonQtShell_QXmlSerializer::comment(const QString& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("comment"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::comment(value0); +} +void PythonQtShell_QXmlSerializer::endDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("endDocument"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::endDocument(); +} +void PythonQtShell_QXmlSerializer::endElement() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("endElement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::endElement(); +} +void PythonQtShell_QXmlSerializer::endOfSequence() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("endOfSequence"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::endOfSequence(); +} +void PythonQtShell_QXmlSerializer::namespaceBinding(const QXmlName& nb0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("namespaceBinding"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&nb0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::namespaceBinding(nb0); +} +void PythonQtShell_QXmlSerializer::processingInstruction(const QXmlName& name0, const QString& value1) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("processingInstruction"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList); + void* args[3] = {nullptr, (void*)&name0, (void*)&value1}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::processingInstruction(name0, value1); +} +void PythonQtShell_QXmlSerializer::startDocument() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("startDocument"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::startDocument(); +} +void PythonQtShell_QXmlSerializer::startElement(const QXmlName& name0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("startElement"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QXmlName&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&name0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::startElement(name0); +} +void PythonQtShell_QXmlSerializer::startOfSequence() +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("startOfSequence"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={""}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList); + void* args[1] = {nullptr}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::startOfSequence(); +} +void PythonQtShell_QXmlSerializer::whitespaceOnly(const QStringRef& value0) +{ +if (_wrapper) { + PYTHONQT_GIL_SCOPE + if (Py_REFCNT((PyObject*)_wrapper) > 0) { + static PyObject* name = PyUnicode_FromString("whitespaceOnly"); + PyObject* obj = PyBaseObject_Type.tp_getattro((PyObject*)_wrapper, name); + if (obj) { + static const char* argumentList[] ={"" , "const QStringRef&"}; + static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList); + void* args[2] = {nullptr, (void*)&value0}; + PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); + if (result) { Py_DECREF(result); } + Py_DECREF(obj); + return; + } else { + PyErr_Clear(); + } + } +} + QXmlSerializer::whitespaceOnly(value0); +} +QXmlSerializer* PythonQtWrapper_QXmlSerializer::new_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice) +{ +return new PythonQtShell_QXmlSerializer(query, outputDevice); } + +const QTextCodec* PythonQtWrapper_QXmlSerializer::codec(QXmlSerializer* theWrappedObject) const +{ + return ( theWrappedObject->codec()); +} + +QIODevice* PythonQtWrapper_QXmlSerializer::outputDevice(QXmlSerializer* theWrappedObject) const +{ + return ( theWrappedObject->outputDevice()); +} + +void PythonQtWrapper_QXmlSerializer::setCodec(QXmlSerializer* theWrappedObject, const QTextCodec* codec) +{ + ( theWrappedObject->setCodec(codec)); +} + + diff --git a/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h new file mode 100644 index 000000000..438bd0487 --- /dev/null +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns0.h @@ -0,0 +1,723 @@ +#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_QAbstractMessageHandler : public QAbstractMessageHandler +{ +public: + PythonQtShell_QAbstractMessageHandler(QObject* parent = nullptr):QAbstractMessageHandler(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractMessageHandler() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +void handleMessage(QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation) override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractMessageHandler : public QAbstractMessageHandler +{ public: +inline void promoted_handleMessage(QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation) { this->handleMessage(type, description, identifier, sourceLocation); } +inline void py_q_handleMessage(QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation) { this->handleMessage(type, description, identifier, sourceLocation); } +}; + +class PythonQtWrapper_QAbstractMessageHandler : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QAbstractMessageHandler* new_QAbstractMessageHandler(QObject* parent = nullptr); +void delete_QAbstractMessageHandler(QAbstractMessageHandler* obj) { delete obj; } + void handleMessage(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation); + void py_q_handleMessage(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier, const QSourceLocation& sourceLocation){ (((PythonQtPublicPromoter_QAbstractMessageHandler*)theWrappedObject)->py_q_handleMessage(type, description, identifier, sourceLocation));} + void message(QAbstractMessageHandler* theWrappedObject, QtMsgType type, const QString& description, const QUrl& identifier = QUrl(), const QSourceLocation& sourceLocation = QSourceLocation()); +}; + + + + + +class PythonQtShell_QAbstractUriResolver : public QAbstractUriResolver +{ +public: + PythonQtShell_QAbstractUriResolver(QObject* parent = nullptr):QAbstractUriResolver(parent),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractUriResolver() override; + +void childEvent(QChildEvent* event) override; +void customEvent(QEvent* event) override; +bool event(QEvent* event) override; +bool eventFilter(QObject* watched, QEvent* event) override; +QUrl resolve(const QUrl& relative, const QUrl& baseURI) const override; +void timerEvent(QTimerEvent* event) override; + + const QMetaObject* metaObject() const override; + int qt_metacall(QMetaObject::Call call, int id, void** args) override; + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractUriResolver : public QAbstractUriResolver +{ public: +inline QUrl py_q_resolve(const QUrl& relative, const QUrl& baseURI) const { return this->resolve(relative, baseURI); } +}; + +class PythonQtWrapper_QAbstractUriResolver : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QAbstractUriResolver* new_QAbstractUriResolver(QObject* parent = nullptr); +void delete_QAbstractUriResolver(QAbstractUriResolver* obj) { delete obj; } + QUrl resolve(QAbstractUriResolver* theWrappedObject, const QUrl& relative, const QUrl& baseURI) const; + QUrl py_q_resolve(QAbstractUriResolver* theWrappedObject, const QUrl& relative, const QUrl& baseURI) const{ return (((PythonQtPublicPromoter_QAbstractUriResolver*)theWrappedObject)->py_q_resolve(relative, baseURI));} +}; + + + + + +class PythonQtShell_QAbstractXmlNodeModel : public QAbstractXmlNodeModel +{ +public: + PythonQtShell_QAbstractXmlNodeModel():QAbstractXmlNodeModel(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractXmlNodeModel() override; + +QVector attributes(const QXmlNodeModelIndex& element) const override; +QUrl baseUri(const QXmlNodeModelIndex& ni) const override; +QXmlNodeModelIndex::DocumentOrder compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const override; +QUrl documentUri(const QXmlNodeModelIndex& ni) const override; +QXmlNodeModelIndex elementById(const QXmlName& NCName) const override; +bool isDeepEqual(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const override; +QXmlNodeModelIndex::NodeKind kind(const QXmlNodeModelIndex& ni) const override; +QXmlName name(const QXmlNodeModelIndex& ni) const override; +QVector namespaceBindings(const QXmlNodeModelIndex& n) const override; +short namespaceForPrefix(const QXmlNodeModelIndex& ni, const short prefix) const override; +QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const override; +QVector nodesByIdref(const QXmlName& NCName) const override; +QXmlNodeModelIndex root(const QXmlNodeModelIndex& n) const override; +QString stringValue(const QXmlNodeModelIndex& n) const override; +QVariant typedValue(const QXmlNodeModelIndex& n) const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractXmlNodeModel : public QAbstractXmlNodeModel +{ public: +inline QVector promoted_attributes(const QXmlNodeModelIndex& element) const { return this->attributes(element); } +inline QXmlNodeModelIndex promoted_createIndex(qint64 data) const { return this->createIndex(data); } +inline QXmlNodeModelIndex promoted_createIndex(qint64 data, qint64 additionalData) const { return this->createIndex(data, additionalData); } +inline QXmlNodeModelIndex promoted_createIndex(void* pointer, qint64 additionalData = 0) const { return this->createIndex(pointer, additionalData); } +inline QXmlNodeModelIndex promoted_nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const { return this->nextFromSimpleAxis(axis, origin); } +inline QVector py_q_attributes(const QXmlNodeModelIndex& element) const { return this->attributes(element); } +inline QUrl py_q_baseUri(const QXmlNodeModelIndex& ni) const { return this->baseUri(ni); } +inline QXmlNodeModelIndex::DocumentOrder py_q_compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const { return this->compareOrder(ni1, ni2); } +inline QUrl py_q_documentUri(const QXmlNodeModelIndex& ni) const { return this->documentUri(ni); } +inline QXmlNodeModelIndex py_q_elementById(const QXmlName& NCName) const { return this->elementById(NCName); } +inline bool py_q_isDeepEqual(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const { return QAbstractXmlNodeModel::isDeepEqual(ni1, ni2); } +inline QXmlNodeModelIndex::NodeKind py_q_kind(const QXmlNodeModelIndex& ni) const { return this->kind(ni); } +inline QXmlName py_q_name(const QXmlNodeModelIndex& ni) const { return this->name(ni); } +inline QVector py_q_namespaceBindings(const QXmlNodeModelIndex& n) const { return this->namespaceBindings(n); } +inline short py_q_namespaceForPrefix(const QXmlNodeModelIndex& ni, const short prefix) const { return QAbstractXmlNodeModel::namespaceForPrefix(ni, prefix); } +inline QXmlNodeModelIndex py_q_nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const { return this->nextFromSimpleAxis(axis, origin); } +inline QVector py_q_nodesByIdref(const QXmlName& NCName) const { return this->nodesByIdref(NCName); } +inline QXmlNodeModelIndex py_q_root(const QXmlNodeModelIndex& n) const { return this->root(n); } +inline QString py_q_stringValue(const QXmlNodeModelIndex& n) const { return this->stringValue(n); } +inline QVariant py_q_typedValue(const QXmlNodeModelIndex& n) const { return this->typedValue(n); } +}; + +class PythonQtWrapper_QAbstractXmlNodeModel : public QObject +{ Q_OBJECT +public: +Q_ENUMS(NodeCopySetting SimpleAxis ) +enum NodeCopySetting{ + InheritNamespaces = QAbstractXmlNodeModel::InheritNamespaces, PreserveNamespaces = QAbstractXmlNodeModel::PreserveNamespaces}; +enum SimpleAxis{ + Parent = QAbstractXmlNodeModel::Parent, FirstChild = QAbstractXmlNodeModel::FirstChild, PreviousSibling = QAbstractXmlNodeModel::PreviousSibling, NextSibling = QAbstractXmlNodeModel::NextSibling}; +public Q_SLOTS: +QAbstractXmlNodeModel* new_QAbstractXmlNodeModel(); +void delete_QAbstractXmlNodeModel(QAbstractXmlNodeModel* obj) { delete obj; } + QVector attributes(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& element) const; + QVector py_q_attributes(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& element) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_attributes(element));} + QUrl baseUri(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const; + QUrl py_q_baseUri(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_baseUri(ni));} + QXmlNodeModelIndex::DocumentOrder compareOrder(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; + QXmlNodeModelIndex::DocumentOrder py_q_compareOrder(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_compareOrder(ni1, ni2));} + QXmlNodeModelIndex createIndex(QAbstractXmlNodeModel* theWrappedObject, qint64 data) const; + QXmlNodeModelIndex createIndex(QAbstractXmlNodeModel* theWrappedObject, qint64 data, qint64 additionalData) const; + QXmlNodeModelIndex createIndex(QAbstractXmlNodeModel* theWrappedObject, void* pointer, qint64 additionalData = 0) const; + QUrl documentUri(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const; + QUrl py_q_documentUri(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_documentUri(ni));} + QXmlNodeModelIndex elementById(QAbstractXmlNodeModel* theWrappedObject, const QXmlName& NCName) const; + QXmlNodeModelIndex py_q_elementById(QAbstractXmlNodeModel* theWrappedObject, const QXmlName& NCName) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_elementById(NCName));} + bool isDeepEqual(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const; + bool py_q_isDeepEqual(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_isDeepEqual(ni1, ni2));} + QXmlNodeModelIndex::NodeKind kind(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const; + QXmlNodeModelIndex::NodeKind py_q_kind(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_kind(ni));} + QXmlName name(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const; + QXmlName py_q_name(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_name(ni));} + QVector namespaceBindings(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const; + QVector py_q_namespaceBindings(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_namespaceBindings(n));} + short namespaceForPrefix(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni, const short prefix) const; + short py_q_namespaceForPrefix(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& ni, const short prefix) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_namespaceForPrefix(ni, prefix));} + QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel* theWrappedObject, QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const; + QXmlNodeModelIndex py_q_nextFromSimpleAxis(QAbstractXmlNodeModel* theWrappedObject, QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_nextFromSimpleAxis(axis, origin));} + QVector nodesByIdref(QAbstractXmlNodeModel* theWrappedObject, const QXmlName& NCName) const; + QVector py_q_nodesByIdref(QAbstractXmlNodeModel* theWrappedObject, const QXmlName& NCName) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_nodesByIdref(NCName));} + QXmlNodeModelIndex root(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const; + QXmlNodeModelIndex py_q_root(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_root(n));} + QSourceLocation sourceLocation(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& index) const; + QString stringValue(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const; + QString py_q_stringValue(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_stringValue(n));} + QVariant typedValue(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const; + QVariant py_q_typedValue(QAbstractXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& n) const{ return (((PythonQtPublicPromoter_QAbstractXmlNodeModel*)theWrappedObject)->py_q_typedValue(n));} +}; + + + + + +class PythonQtShell_QAbstractXmlReceiver : public QAbstractXmlReceiver +{ +public: + PythonQtShell_QAbstractXmlReceiver():QAbstractXmlReceiver(),_wrapper(nullptr) {}; + + ~PythonQtShell_QAbstractXmlReceiver() override; + +void atomicValue(const QVariant& value) override; +void attribute(const QXmlName& name, const QStringRef& value) override; +void characters(const QStringRef& value) override; +void comment(const QString& value) override; +void endDocument() override; +void endElement() override; +void endOfSequence() override; +void namespaceBinding(const QXmlName& name) override; +void processingInstruction(const QXmlName& target, const QString& value) override; +void startDocument() override; +void startElement(const QXmlName& name) override; +void startOfSequence() override; +void whitespaceOnly(const QStringRef& value) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QAbstractXmlReceiver : public QAbstractXmlReceiver +{ public: +inline void py_q_atomicValue(const QVariant& value) { this->atomicValue(value); } +inline void py_q_attribute(const QXmlName& name, const QStringRef& value) { this->attribute(name, value); } +inline void py_q_characters(const QStringRef& value) { this->characters(value); } +inline void py_q_comment(const QString& value) { this->comment(value); } +inline void py_q_endDocument() { this->endDocument(); } +inline void py_q_endElement() { this->endElement(); } +inline void py_q_endOfSequence() { this->endOfSequence(); } +inline void py_q_namespaceBinding(const QXmlName& name) { this->namespaceBinding(name); } +inline void py_q_processingInstruction(const QXmlName& target, const QString& value) { this->processingInstruction(target, value); } +inline void py_q_startDocument() { this->startDocument(); } +inline void py_q_startElement(const QXmlName& name) { this->startElement(name); } +inline void py_q_startOfSequence() { this->startOfSequence(); } +inline void py_q_whitespaceOnly(const QStringRef& value) { QAbstractXmlReceiver::whitespaceOnly(value); } +}; + +class PythonQtWrapper_QAbstractXmlReceiver : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QAbstractXmlReceiver* new_QAbstractXmlReceiver(); +void delete_QAbstractXmlReceiver(QAbstractXmlReceiver* obj) { delete obj; } + void atomicValue(QAbstractXmlReceiver* theWrappedObject, const QVariant& value); + void py_q_atomicValue(QAbstractXmlReceiver* theWrappedObject, const QVariant& value){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_atomicValue(value));} + void attribute(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name, const QStringRef& value); + void py_q_attribute(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name, const QStringRef& value){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_attribute(name, value));} + void characters(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value); + void py_q_characters(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_characters(value));} + void comment(QAbstractXmlReceiver* theWrappedObject, const QString& value); + void py_q_comment(QAbstractXmlReceiver* theWrappedObject, const QString& value){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_comment(value));} + void endDocument(QAbstractXmlReceiver* theWrappedObject); + void py_q_endDocument(QAbstractXmlReceiver* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_endDocument());} + void endElement(QAbstractXmlReceiver* theWrappedObject); + void py_q_endElement(QAbstractXmlReceiver* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_endElement());} + void endOfSequence(QAbstractXmlReceiver* theWrappedObject); + void py_q_endOfSequence(QAbstractXmlReceiver* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_endOfSequence());} + void namespaceBinding(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name); + void py_q_namespaceBinding(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_namespaceBinding(name));} + void processingInstruction(QAbstractXmlReceiver* theWrappedObject, const QXmlName& target, const QString& value); + void py_q_processingInstruction(QAbstractXmlReceiver* theWrappedObject, const QXmlName& target, const QString& value){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_processingInstruction(target, value));} + void startDocument(QAbstractXmlReceiver* theWrappedObject); + void py_q_startDocument(QAbstractXmlReceiver* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_startDocument());} + void startElement(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name); + void py_q_startElement(QAbstractXmlReceiver* theWrappedObject, const QXmlName& name){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_startElement(name));} + void startOfSequence(QAbstractXmlReceiver* theWrappedObject); + void py_q_startOfSequence(QAbstractXmlReceiver* theWrappedObject){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_startOfSequence());} + void whitespaceOnly(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value); + void py_q_whitespaceOnly(QAbstractXmlReceiver* theWrappedObject, const QStringRef& value){ (((PythonQtPublicPromoter_QAbstractXmlReceiver*)theWrappedObject)->py_q_whitespaceOnly(value));} +}; + + + + + +class PythonQtWrapper_QPatternist : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +}; + + + + + +class PythonQtWrapper_QPatternistSDK : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +}; + + + + + +class PythonQtShell_QSimpleXmlNodeModel : public QSimpleXmlNodeModel +{ +public: + PythonQtShell_QSimpleXmlNodeModel(const QXmlNamePool& namePool):QSimpleXmlNodeModel(namePool),_wrapper(nullptr) {}; + + ~PythonQtShell_QSimpleXmlNodeModel() override; + +QVector attributes(const QXmlNodeModelIndex& element) const override; +QUrl baseUri(const QXmlNodeModelIndex& node) const override; +QXmlNodeModelIndex::DocumentOrder compareOrder(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const override; +QUrl documentUri(const QXmlNodeModelIndex& ni) const override; +QXmlNodeModelIndex elementById(const QXmlName& id) const override; +bool isDeepEqual(const QXmlNodeModelIndex& ni1, const QXmlNodeModelIndex& ni2) const override; +QXmlNodeModelIndex::NodeKind kind(const QXmlNodeModelIndex& ni) const override; +QXmlName name(const QXmlNodeModelIndex& ni) const override; +QVector namespaceBindings(const QXmlNodeModelIndex& arg__1) const override; +short namespaceForPrefix(const QXmlNodeModelIndex& ni, const short prefix) const override; +QXmlNodeModelIndex nextFromSimpleAxis(QAbstractXmlNodeModel::SimpleAxis axis, const QXmlNodeModelIndex& origin) const override; +QVector nodesByIdref(const QXmlName& idref) const override; +QXmlNodeModelIndex root(const QXmlNodeModelIndex& n) const override; +QString stringValue(const QXmlNodeModelIndex& node) const override; +QVariant typedValue(const QXmlNodeModelIndex& n) const override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QSimpleXmlNodeModel : public QSimpleXmlNodeModel +{ public: +inline QUrl py_q_baseUri(const QXmlNodeModelIndex& node) const { return QSimpleXmlNodeModel::baseUri(node); } +inline QXmlNodeModelIndex py_q_elementById(const QXmlName& id) const { return QSimpleXmlNodeModel::elementById(id); } +inline QVector py_q_namespaceBindings(const QXmlNodeModelIndex& arg__1) const { return QSimpleXmlNodeModel::namespaceBindings(arg__1); } +inline QVector py_q_nodesByIdref(const QXmlName& idref) const { return QSimpleXmlNodeModel::nodesByIdref(idref); } +inline QString py_q_stringValue(const QXmlNodeModelIndex& node) const { return QSimpleXmlNodeModel::stringValue(node); } +}; + +class PythonQtWrapper_QSimpleXmlNodeModel : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QSimpleXmlNodeModel* new_QSimpleXmlNodeModel(const QXmlNamePool& namePool); +void delete_QSimpleXmlNodeModel(QSimpleXmlNodeModel* obj) { delete obj; } + QUrl py_q_baseUri(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& node) const{ return (((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->py_q_baseUri(node));} + QXmlNodeModelIndex py_q_elementById(QSimpleXmlNodeModel* theWrappedObject, const QXmlName& id) const{ return (((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->py_q_elementById(id));} + QXmlNamePool* namePool(QSimpleXmlNodeModel* theWrappedObject) const; + QVector py_q_namespaceBindings(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& arg__1) const{ return (((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->py_q_namespaceBindings(arg__1));} + QVector py_q_nodesByIdref(QSimpleXmlNodeModel* theWrappedObject, const QXmlName& idref) const{ return (((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->py_q_nodesByIdref(idref));} + QString py_q_stringValue(QSimpleXmlNodeModel* theWrappedObject, const QXmlNodeModelIndex& node) const{ return (((PythonQtPublicPromoter_QSimpleXmlNodeModel*)theWrappedObject)->py_q_stringValue(node));} +}; + + + + + +class PythonQtWrapper_QSourceLocation : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QSourceLocation* new_QSourceLocation(); +QSourceLocation* new_QSourceLocation(const QSourceLocation& other); +QSourceLocation* new_QSourceLocation(const QUrl& uri, int line = -1, int column = -1); +void delete_QSourceLocation(QSourceLocation* obj) { delete obj; } + qint64 column(QSourceLocation* theWrappedObject) const; + bool isNull(QSourceLocation* theWrappedObject) const; + qint64 line(QSourceLocation* theWrappedObject) const; + bool __ne__(QSourceLocation* theWrappedObject, const QSourceLocation& other) const; + bool __eq__(QSourceLocation* theWrappedObject, const QSourceLocation& other) const; + void setColumn(QSourceLocation* theWrappedObject, qint64 newColumn); + void setLine(QSourceLocation* theWrappedObject, qint64 newLine); + void setUri(QSourceLocation* theWrappedObject, const QUrl& newUri); + QUrl uri(QSourceLocation* theWrappedObject) const; + QString py_toString(QSourceLocation*); + bool __nonzero__(QSourceLocation* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtShell_QXmlFormatter : public QXmlFormatter +{ +public: + PythonQtShell_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice):QXmlFormatter(query, outputDevice),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlFormatter() override; + +void atomicValue(const QVariant& value) override; +void attribute(const QXmlName& name, const QStringRef& value) override; +void characters(const QStringRef& value) override; +void comment(const QString& value) override; +void endDocument() override; +void endElement() override; +void endOfSequence() override; +void namespaceBinding(const QXmlName& nb) override; +void processingInstruction(const QXmlName& name, const QString& value) override; +void startDocument() override; +void startElement(const QXmlName& name) override; +void startOfSequence() override; +void whitespaceOnly(const QStringRef& value) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QXmlFormatter : public QXmlFormatter +{ public: +inline void py_q_atomicValue(const QVariant& value) { QXmlFormatter::atomicValue(value); } +inline void py_q_attribute(const QXmlName& name, const QStringRef& value) { QXmlFormatter::attribute(name, value); } +inline void py_q_characters(const QStringRef& value) { QXmlFormatter::characters(value); } +inline void py_q_comment(const QString& value) { QXmlFormatter::comment(value); } +inline void py_q_endDocument() { QXmlFormatter::endDocument(); } +inline void py_q_endElement() { QXmlFormatter::endElement(); } +inline void py_q_endOfSequence() { QXmlFormatter::endOfSequence(); } +inline void py_q_processingInstruction(const QXmlName& name, const QString& value) { QXmlFormatter::processingInstruction(name, value); } +inline void py_q_startDocument() { QXmlFormatter::startDocument(); } +inline void py_q_startElement(const QXmlName& name) { QXmlFormatter::startElement(name); } +inline void py_q_startOfSequence() { QXmlFormatter::startOfSequence(); } +}; + +class PythonQtWrapper_QXmlFormatter : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QXmlFormatter* new_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice); +void delete_QXmlFormatter(QXmlFormatter* obj) { delete obj; } + void py_q_atomicValue(QXmlFormatter* theWrappedObject, const QVariant& value){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_atomicValue(value));} + void py_q_attribute(QXmlFormatter* theWrappedObject, const QXmlName& name, const QStringRef& value){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_attribute(name, value));} + void py_q_characters(QXmlFormatter* theWrappedObject, const QStringRef& value){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_characters(value));} + void py_q_comment(QXmlFormatter* theWrappedObject, const QString& value){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_comment(value));} + void py_q_endDocument(QXmlFormatter* theWrappedObject){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_endDocument());} + void py_q_endElement(QXmlFormatter* theWrappedObject){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_endElement());} + void py_q_endOfSequence(QXmlFormatter* theWrappedObject){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_endOfSequence());} + int indentationDepth(QXmlFormatter* theWrappedObject) const; + void py_q_processingInstruction(QXmlFormatter* theWrappedObject, const QXmlName& name, const QString& value){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_processingInstruction(name, value));} + void setIndentationDepth(QXmlFormatter* theWrappedObject, int depth); + void py_q_startDocument(QXmlFormatter* theWrappedObject){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_startDocument());} + void py_q_startElement(QXmlFormatter* theWrappedObject, const QXmlName& name){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_startElement(name));} + void py_q_startOfSequence(QXmlFormatter* theWrappedObject){ (((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->py_q_startOfSequence());} +}; + + + + + +class PythonQtWrapper_QXmlItem : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QXmlItem* new_QXmlItem(); +QXmlItem* new_QXmlItem(const QVariant& atomicValue); +QXmlItem* new_QXmlItem(const QXmlItem& other); +QXmlItem* new_QXmlItem(const QXmlNodeModelIndex& node); +void delete_QXmlItem(QXmlItem* obj) { delete obj; } + bool isAtomicValue(QXmlItem* theWrappedObject) const; + bool isNode(QXmlItem* theWrappedObject) const; + bool isNull(QXmlItem* theWrappedObject) const; + QVariant toAtomicValue(QXmlItem* theWrappedObject) const; + QXmlNodeModelIndex toNodeModelIndex(QXmlItem* theWrappedObject) const; + bool __nonzero__(QXmlItem* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QXmlName : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QXmlName* new_QXmlName(); +QXmlName* new_QXmlName(QXmlNamePool& namePool, const QString& localName, const QString& namespaceURI = QString(), const QString& prefix = QString()); +QXmlName* new_QXmlName(const QXmlName& other); +void delete_QXmlName(QXmlName* obj) { delete obj; } + QXmlName static_QXmlName_fromClarkName(const QString& clarkName, const QXmlNamePool& namePool); + bool static_QXmlName_isNCName(const QString& candidate); + bool isNull(QXmlName* theWrappedObject) const; + QString localName(QXmlName* theWrappedObject, const QXmlNamePool& query) const; + QString namespaceUri(QXmlName* theWrappedObject, const QXmlNamePool& query) const; + bool __ne__(QXmlName* theWrappedObject, const QXmlName& other) const; + bool __eq__(QXmlName* theWrappedObject, const QXmlName& other) const; + QString prefix(QXmlName* theWrappedObject, const QXmlNamePool& query) const; + QString toClarkName(QXmlName* theWrappedObject, const QXmlNamePool& query) const; + bool __nonzero__(QXmlName* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QXmlNamePool : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QXmlNamePool* new_QXmlNamePool(); +QXmlNamePool* new_QXmlNamePool(const QXmlNamePool& other); +void delete_QXmlNamePool(QXmlNamePool* obj) { delete obj; } +}; + + + + + +class PythonQtWrapper_QXmlNodeModelIndex : public QObject +{ Q_OBJECT +public: +Q_ENUMS(DocumentOrder NodeKind ) +enum DocumentOrder{ + Precedes = QXmlNodeModelIndex::Precedes, Is = QXmlNodeModelIndex::Is, Follows = QXmlNodeModelIndex::Follows}; +enum NodeKind{ + Attribute = QXmlNodeModelIndex::Attribute, Comment = QXmlNodeModelIndex::Comment, Document = QXmlNodeModelIndex::Document, Element = QXmlNodeModelIndex::Element, Namespace = QXmlNodeModelIndex::Namespace, ProcessingInstruction = QXmlNodeModelIndex::ProcessingInstruction, Text = QXmlNodeModelIndex::Text}; +public Q_SLOTS: +QXmlNodeModelIndex* new_QXmlNodeModelIndex(); +QXmlNodeModelIndex* new_QXmlNodeModelIndex(const QXmlNodeModelIndex& other); +void delete_QXmlNodeModelIndex(QXmlNodeModelIndex* obj) { delete obj; } + qint64 additionalData(QXmlNodeModelIndex* theWrappedObject) const; + qint64 data(QXmlNodeModelIndex* theWrappedObject) const; + bool isNull(QXmlNodeModelIndex* theWrappedObject) const; + const QAbstractXmlNodeModel* model(QXmlNodeModelIndex* theWrappedObject) const; + bool __ne__(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const; + bool __eq__(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const; + bool __nonzero__(QXmlNodeModelIndex* obj) { return !obj->isNull(); } +}; + + + + + +class PythonQtWrapper_QXmlQuery : public QObject +{ Q_OBJECT +public: +Q_ENUMS(QueryLanguage ) +enum QueryLanguage{ + XQuery10 = QXmlQuery::XQuery10, XSLT20 = QXmlQuery::XSLT20, XmlSchema11IdentityConstraintSelector = QXmlQuery::XmlSchema11IdentityConstraintSelector, XmlSchema11IdentityConstraintField = QXmlQuery::XmlSchema11IdentityConstraintField, XPath20 = QXmlQuery::XPath20}; +public Q_SLOTS: +QXmlQuery* new_QXmlQuery(); +QXmlQuery* new_QXmlQuery(QXmlQuery::QueryLanguage queryLanguage, const QXmlNamePool& np = QXmlNamePool()); +QXmlQuery* new_QXmlQuery(const QXmlNamePool& np); +QXmlQuery* new_QXmlQuery(const QXmlQuery& other); +void delete_QXmlQuery(QXmlQuery* obj) { delete obj; } + void bindVariable(QXmlQuery* theWrappedObject, const QString& localName, QIODevice* arg__2); + void bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlItem& value); + void bindVariable(QXmlQuery* theWrappedObject, const QString& localName, const QXmlQuery& query); + void bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, QIODevice* arg__2); + void bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlItem& value); + void bindVariable(QXmlQuery* theWrappedObject, const QXmlName& name, const QXmlQuery& query); + bool evaluateTo(QXmlQuery* theWrappedObject, QIODevice* target) const; + bool evaluateTo(QXmlQuery* theWrappedObject, QString* output) const; + void evaluateTo(QXmlQuery* theWrappedObject, QXmlResultItems* result) const; + QXmlName initialTemplateName(QXmlQuery* theWrappedObject) const; + bool isValid(QXmlQuery* theWrappedObject) const; + QAbstractMessageHandler* messageHandler(QXmlQuery* theWrappedObject) const; + QXmlNamePool namePool(QXmlQuery* theWrappedObject) const; + QNetworkAccessManager* networkAccessManager(QXmlQuery* theWrappedObject) const; + QXmlQuery* operator_assign(QXmlQuery* theWrappedObject, const QXmlQuery& other); + QXmlQuery::QueryLanguage queryLanguage(QXmlQuery* theWrappedObject) const; + bool setFocus(QXmlQuery* theWrappedObject, QIODevice* document); + bool setFocus(QXmlQuery* theWrappedObject, const QString& focus); + bool setFocus(QXmlQuery* theWrappedObject, const QUrl& documentURI); + void setFocus(QXmlQuery* theWrappedObject, const QXmlItem& item); + void setInitialTemplateName(QXmlQuery* theWrappedObject, const QString& name); + void setInitialTemplateName(QXmlQuery* theWrappedObject, const QXmlName& name); + void setMessageHandler(QXmlQuery* theWrappedObject, QAbstractMessageHandler* messageHandler); + void setNetworkAccessManager(QXmlQuery* theWrappedObject, QNetworkAccessManager* newManager); + void setQuery(QXmlQuery* theWrappedObject, QIODevice* sourceCode, const QUrl& documentURI = QUrl()); + void setQuery(QXmlQuery* theWrappedObject, const QString& sourceCode, const QUrl& documentURI = QUrl()); + void setQuery(QXmlQuery* theWrappedObject, const QUrl& queryURI, const QUrl& baseURI = QUrl()); + void setUriResolver(QXmlQuery* theWrappedObject, const QAbstractUriResolver* resolver); + const QAbstractUriResolver* uriResolver(QXmlQuery* theWrappedObject) const; + bool __nonzero__(QXmlQuery* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtShell_QXmlResultItems : public QXmlResultItems +{ +public: + PythonQtShell_QXmlResultItems():QXmlResultItems(),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlResultItems() override; + + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtWrapper_QXmlResultItems : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QXmlResultItems* new_QXmlResultItems(); +void delete_QXmlResultItems(QXmlResultItems* obj) { delete obj; } + QXmlItem current(QXmlResultItems* theWrappedObject) const; + bool hasError(QXmlResultItems* theWrappedObject) const; + QXmlItem next(QXmlResultItems* theWrappedObject); +}; + + + + + +class PythonQtWrapper_QXmlSchema : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QXmlSchema* new_QXmlSchema(); +QXmlSchema* new_QXmlSchema(const QXmlSchema& other); +void delete_QXmlSchema(QXmlSchema* obj) { delete obj; } + QUrl documentUri(QXmlSchema* theWrappedObject) const; + bool isValid(QXmlSchema* theWrappedObject) const; + bool load(QXmlSchema* theWrappedObject, QIODevice* source, const QUrl& documentUri = QUrl()); + bool load(QXmlSchema* theWrappedObject, const QByteArray& data, const QUrl& documentUri = QUrl()); + bool load(QXmlSchema* theWrappedObject, const QUrl& source); + QAbstractMessageHandler* messageHandler(QXmlSchema* theWrappedObject) const; + QXmlNamePool namePool(QXmlSchema* theWrappedObject) const; + QNetworkAccessManager* networkAccessManager(QXmlSchema* theWrappedObject) const; + QXmlSchema* operator_assign(QXmlSchema* theWrappedObject, const QXmlSchema& other); + void setMessageHandler(QXmlSchema* theWrappedObject, QAbstractMessageHandler* handler); + void setNetworkAccessManager(QXmlSchema* theWrappedObject, QNetworkAccessManager* networkmanager); + void setUriResolver(QXmlSchema* theWrappedObject, const QAbstractUriResolver* resolver); + const QAbstractUriResolver* uriResolver(QXmlSchema* theWrappedObject) const; + bool __nonzero__(QXmlSchema* obj) { return obj->isValid(); } +}; + + + + + +class PythonQtWrapper_QXmlSchemaValidator : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QXmlSchemaValidator* new_QXmlSchemaValidator(); +QXmlSchemaValidator* new_QXmlSchemaValidator(const QXmlSchema& schema); +void delete_QXmlSchemaValidator(QXmlSchemaValidator* obj) { delete obj; } + QAbstractMessageHandler* messageHandler(QXmlSchemaValidator* theWrappedObject) const; + QXmlNamePool namePool(QXmlSchemaValidator* theWrappedObject) const; + QNetworkAccessManager* networkAccessManager(QXmlSchemaValidator* theWrappedObject) const; + void setMessageHandler(QXmlSchemaValidator* theWrappedObject, QAbstractMessageHandler* handler); + void setNetworkAccessManager(QXmlSchemaValidator* theWrappedObject, QNetworkAccessManager* networkmanager); + void setSchema(QXmlSchemaValidator* theWrappedObject, const QXmlSchema& schema); + void setUriResolver(QXmlSchemaValidator* theWrappedObject, const QAbstractUriResolver* resolver); + const QAbstractUriResolver* uriResolver(QXmlSchemaValidator* theWrappedObject) const; + bool validate(QXmlSchemaValidator* theWrappedObject, QIODevice* source, const QUrl& documentUri = QUrl()) const; + bool validate(QXmlSchemaValidator* theWrappedObject, const QByteArray& data, const QUrl& documentUri = QUrl()) const; + bool validate(QXmlSchemaValidator* theWrappedObject, const QUrl& source) const; +}; + + + + + +class PythonQtShell_QXmlSerializer : public QXmlSerializer +{ +public: + PythonQtShell_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice):QXmlSerializer(query, outputDevice),_wrapper(nullptr) {}; + + ~PythonQtShell_QXmlSerializer() override; + +void atomicValue(const QVariant& value) override; +void attribute(const QXmlName& name, const QStringRef& value) override; +void characters(const QStringRef& value) override; +void comment(const QString& value) override; +void endDocument() override; +void endElement() override; +void endOfSequence() override; +void namespaceBinding(const QXmlName& nb) override; +void processingInstruction(const QXmlName& name, const QString& value) override; +void startDocument() override; +void startElement(const QXmlName& name) override; +void startOfSequence() override; +void whitespaceOnly(const QStringRef& value) override; + + PythonQtInstanceWrapper* _wrapper; +}; + +class PythonQtPublicPromoter_QXmlSerializer : public QXmlSerializer +{ public: +inline void py_q_atomicValue(const QVariant& value) { QXmlSerializer::atomicValue(value); } +inline void py_q_attribute(const QXmlName& name, const QStringRef& value) { QXmlSerializer::attribute(name, value); } +inline void py_q_characters(const QStringRef& value) { QXmlSerializer::characters(value); } +inline void py_q_comment(const QString& value) { QXmlSerializer::comment(value); } +inline void py_q_endDocument() { QXmlSerializer::endDocument(); } +inline void py_q_endElement() { QXmlSerializer::endElement(); } +inline void py_q_endOfSequence() { QXmlSerializer::endOfSequence(); } +inline void py_q_namespaceBinding(const QXmlName& nb) { QXmlSerializer::namespaceBinding(nb); } +inline void py_q_processingInstruction(const QXmlName& name, const QString& value) { QXmlSerializer::processingInstruction(name, value); } +inline void py_q_startDocument() { QXmlSerializer::startDocument(); } +inline void py_q_startElement(const QXmlName& name) { QXmlSerializer::startElement(name); } +inline void py_q_startOfSequence() { QXmlSerializer::startOfSequence(); } +}; + +class PythonQtWrapper_QXmlSerializer : public QObject +{ Q_OBJECT +public: +public Q_SLOTS: +QXmlSerializer* new_QXmlSerializer(const QXmlQuery& query, QIODevice* outputDevice); +void delete_QXmlSerializer(QXmlSerializer* obj) { delete obj; } + void py_q_atomicValue(QXmlSerializer* theWrappedObject, const QVariant& value){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_atomicValue(value));} + void py_q_attribute(QXmlSerializer* theWrappedObject, const QXmlName& name, const QStringRef& value){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_attribute(name, value));} + void py_q_characters(QXmlSerializer* theWrappedObject, const QStringRef& value){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_characters(value));} + const QTextCodec* codec(QXmlSerializer* theWrappedObject) const; + void py_q_comment(QXmlSerializer* theWrappedObject, const QString& value){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_comment(value));} + void py_q_endDocument(QXmlSerializer* theWrappedObject){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_endDocument());} + void py_q_endElement(QXmlSerializer* theWrappedObject){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_endElement());} + void py_q_endOfSequence(QXmlSerializer* theWrappedObject){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_endOfSequence());} + void py_q_namespaceBinding(QXmlSerializer* theWrappedObject, const QXmlName& nb){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_namespaceBinding(nb));} + QIODevice* outputDevice(QXmlSerializer* theWrappedObject) const; + void py_q_processingInstruction(QXmlSerializer* theWrappedObject, const QXmlName& name, const QString& value){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_processingInstruction(name, value));} + void setCodec(QXmlSerializer* theWrappedObject, const QTextCodec* codec); + void py_q_startDocument(QXmlSerializer* theWrappedObject){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_startDocument());} + void py_q_startElement(QXmlSerializer* theWrappedObject, const QXmlName& name){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_startElement(name));} + void py_q_startOfSequence(QXmlSerializer* theWrappedObject){ (((PythonQtPublicPromoter_QXmlSerializer*)theWrappedObject)->py_q_startOfSequence());} +}; + + diff --git a/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp new file mode 100644 index 000000000..48553c77b --- /dev/null +++ b/generated_cpp_5.10.1_triksdk/com_trolltech_qt_xmlpatterns/com_trolltech_qt_xmlpatterns_init.cpp @@ -0,0 +1,30 @@ +#include +#include +#include "com_trolltech_qt_xmlpatterns0.h" + + + +void PythonQt_init_QtXmlPatterns(PyObject* module) { +PythonQt::priv()->registerClass(&QAbstractMessageHandler::staticMetaObject, "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerClass(&QAbstractUriResolver::staticMetaObject, "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAbstractXmlNodeModel", "", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QAbstractXmlReceiver", "", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QPatternist", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QPatternistSDK", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QSimpleXmlNodeModel", "QAbstractXmlNodeModel", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QSourceLocation", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlFormatter", "QXmlSerializer", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QXmlItem", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QXmlName", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlNamePool", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QXmlNodeModelIndex", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); +PythonQt::priv()->registerCPPClass("QXmlQuery", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QXmlResultItems", "", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); +PythonQt::priv()->registerCPPClass("QXmlSchema", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, PythonQt::Type_NonZero); +PythonQt::priv()->registerCPPClass("QXmlSchemaValidator", "", "QtXmlPatterns", PythonQtCreateObject, nullptr, module, 0); +PythonQt::priv()->registerCPPClass("QXmlSerializer", "QAbstractXmlReceiver", "QtXmlPatterns", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); + + +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QXmlName); +PythonQtRegisterListTemplateConverterForKnownClass(QVector, QXmlNodeModelIndex); +}