#include #include "PythonQtWrapper_QCursor.h" #include "PythonQtWrapper_QWhatsThis.h" #include "PythonQtWrapper_QTreeWidgetItem.h" #include "PythonQtWrapper_QGradient.h" #include "PythonQtWrapper_QUndoCommand.h" #include "PythonQtWrapper_QAccessible2Interface.h" #include "PythonQtWrapper_QPixmapCache.h" #include "PythonQtWrapper_QLayoutItem.h" #include "PythonQtWrapper_QStandardItem.h" #include "PythonQtWrapper_QStyleFactory.h" #include "PythonQtWrapper_QListWidgetItem.h" #include "PythonQtWrapper_QImageReader.h" #include "PythonQtWrapper_QReadWriteLock.h" #include "PythonQtWrapper_QFontMetrics.h" #include "PythonQtWrapper_QImageWriter.h" #include "PythonQtWrapper_QTextDocumentFragment.h" #include "PythonQtWrapper_QPainter.h" #include "PythonQtWrapper_QPaintEngine.h" #include "PythonQtWrapper_QTextBlock.h" #include "PythonQtWrapper_QFontMetricsF.h" #include "PythonQtWrapper_QIconEngine.h" #include "PythonQtWrapper_QPolygonF.h" #include "PythonQtWrapper_QPainterPath.h" #include "PythonQtWrapper_QPainterPathStroker.h" #include "PythonQtWrapper_QTextCursor.h" #include "PythonQtWrapper_QPaintDevice.h" #include "PythonQtWrapper_QStyleHintReturn.h" #include "PythonQtWrapper_QMatrix.h" #include "PythonQtWrapper_QItemSelection.h" #include "PythonQtWrapper_QTextObjectInterface.h" #include "PythonQtWrapper_QItemEditorCreatorBase.h" #include "PythonQtWrapper_QGraphicsLayoutItem.h" #include "PythonQtWrapper_QPalette.h" #include "PythonQtWrapper_QPictureIO.h" #include "PythonQtWrapper_QKeySequence.h" #include "PythonQtWrapper_QTextLine.h" #include "PythonQtWrapper_QSizePolicy.h" #include "PythonQtWrapper_QAccessible.h" #include "PythonQtWrapper_QTableWidgetItem.h" #include "PythonQtWrapper_QPen.h" #include "PythonQtWrapper_QToolTip.h" #include "PythonQtWrapper_QTextFragment.h" #include "PythonQtWrapper_QPlainTextDocumentLayout.h" #include "PythonQtWrapper_QTextBlockUserData.h" #include "PythonQtWrapper_QTransform.h" #include "PythonQtWrapper_QTextInlineObject.h" #include "PythonQtWrapper_QFileIconProvider.h" #include "PythonQtWrapper_QAccessibleBridge.h" #include "PythonQtWrapper_QIcon.h" #include "PythonQtWrapper_QTextTableCell.h" #include "PythonQtWrapper_QFontInfo.h" #include "PythonQtWrapper_QGraphicsItem.h" #include "PythonQtWrapper_QItemEditorFactory.h" #include "PythonQtWrapper_QTextFormat.h" #include "PythonQtWrapper_QTextLength.h" #include "PythonQtWrapper_QRegion.h" #include "PythonQtWrapper_QTextItem.h" #include "PythonQtWrapper_QPaintEngineState.h" #include "PythonQtWrapper_QBrush.h" #include "PythonQtWrapper_QColor.h" #include "PythonQtWrapper_QPolygon.h" #include "PythonQtWrapper_QDesktopServices.h" #include "PythonQtWrapper_QStyleOption.h" #include "PythonQtWrapper_QItemSelectionRange.h" #include "PythonQtWrapper_QInputContextFactory.h" #include "PythonQtWrapper_QImageIOHandler.h" #include "PythonQtWrapper_QFont.h" #include "PythonQtWrapper_QTableWidgetSelectionRange.h" #include "PythonQtWrapper_QPrintEngine.h" #include "PythonQtWrapper_QStyleHintReturnMask.h" #include "PythonQtWrapper_QInputContext.h" #include "PythonQtWrapper_QShortcutEvent.h" #include "PythonQtWrapper_QHoverEvent.h" #include "PythonQtWrapper_QShowEvent.h" #include "PythonQtWrapper_QStyleOptionGraphicsItem.h" #include "PythonQtWrapper_QGraphicsTextItem.h" #include "PythonQtWrapper_QDataWidgetMapper.h" #include "PythonQtWrapper_QShortcut.h" #include "PythonQtWrapper_QStyleOptionDockWidget.h" #include "PythonQtWrapper_QImage.h" #include "PythonQtWrapper_QClipboardEvent.h" #include "PythonQtWrapper_QGraphicsScene.h" #include "PythonQtWrapper_QTextBlockFormat.h" #include "PythonQtWrapper_QDropEvent.h" #include "PythonQtWrapper_QConicalGradient.h" #include "PythonQtWrapper_QGraphicsItemGroup.h" #include "PythonQtWrapper_QWidgetItem.h" #include "PythonQtWrapper_QCompleter.h" #include "PythonQtWrapper_QToolBarChangeEvent.h" #include "PythonQtWrapper_QMovie.h" #include "PythonQtWrapper_QTextDocument.h" #include "PythonQtWrapper_QUndoStack.h" #include "PythonQtWrapper_QStyleOptionProgressBar.h" #include "PythonQtWrapper_QPicture.h" #include "PythonQtWrapper_QGraphicsLineItem.h" #include "PythonQtWrapper_QValidator.h" #include "PythonQtWrapper_QPixmap.h" #include "PythonQtWrapper_QStyleOptionViewItem.h" #include "PythonQtWrapper_QMoveEvent.h" #include "PythonQtWrapper_QWidget.h" #include "PythonQtWrapper_QItemSelectionModel.h" #include "PythonQtWrapper_QSessionManager.h" #include "PythonQtWrapper_QButtonGroup.h" #include "PythonQtWrapper_QIconEnginePluginV2.h" #include "PythonQtWrapper_QStyleOptionMenuItem.h" #include "PythonQtWrapper_QStyleOptionFocusRect.h" #include "PythonQtWrapper_QImageIOPlugin.h" #include "PythonQtWrapper_QAccessibleEvent.h" #include "PythonQtWrapper_QClipboard.h" #include "PythonQtWrapper_QResizeEvent.h" #include "PythonQtWrapper_QSystemTrayIcon.h" #include "PythonQtWrapper_QLayout.h" #include "PythonQtWrapper_QPaintEvent.h" #include "PythonQtWrapper_QIconDragEvent.h" #include "PythonQtWrapper_QGraphicsWidget.h" #include "PythonQtWrapper_QAbstractItemDelegate.h" #include "PythonQtWrapper_QTextObject.h" #include "PythonQtWrapper_QTextFrameFormat.h" #include "PythonQtWrapper_QAccessiblePlugin.h" #include "PythonQtWrapper_QLinearGradient.h" #include "PythonQtWrapper_QPrinter.h" #include "PythonQtWrapper_QRadialGradient.h" #include "PythonQtWrapper_QAction.h" #include "PythonQtWrapper_QAccessibleInterface.h" #include "PythonQtWrapper_QFocusEvent.h" #include "PythonQtWrapper_QWhatsThisClickedEvent.h" #include "PythonQtWrapper_QDragResponseEvent.h" #include "PythonQtWrapper_QDrag.h" #include "PythonQtWrapper_QGraphicsItemAnimation.h" #include "PythonQtWrapper_QStyleOptionToolBox.h" #include "PythonQtWrapper_QStyleOptionTab.h" #include "PythonQtWrapper_QStatusTipEvent.h" #include "PythonQtWrapper_QDragLeaveEvent.h" #include "PythonQtWrapper_QStylePlugin.h" #include "PythonQtWrapper_QStyleOptionButton.h" #include "PythonQtWrapper_QFileOpenEvent.h" #include "PythonQtWrapper_QInputEvent.h" #include "PythonQtWrapper_QAccessibleTableInterface.h" #include "PythonQtWrapper_QActionGroup.h" #include "PythonQtWrapper_QStyleOptionToolBar.h" #include "PythonQtWrapper_QGraphicsLayout.h" #include "PythonQtWrapper_QStylePainter.h" #include "PythonQtWrapper_QWindowStateChangeEvent.h" #include "PythonQtWrapper_QHelpEvent.h" #include "PythonQtWrapper_QUndoGroup.h" #include "PythonQtWrapper_QSyntaxHighlighter.h" #include "PythonQtWrapper_QStyleOptionHeader.h" #include "PythonQtWrapper_QStyleOptionTabWidgetFrame.h" #include "PythonQtWrapper_QSound.h" #include "PythonQtWrapper_QAbstractGraphicsShapeItem.h" #include "PythonQtWrapper_QGraphicsSceneEvent.h" #include "PythonQtWrapper_QInputContextPlugin.h" #include "PythonQtWrapper_QSpacerItem.h" #include "PythonQtWrapper_QStyleOptionRubberBand.h" #include "PythonQtWrapper_QGraphicsPixmapItem.h" #include "PythonQtWrapper_QHideEvent.h" #include "PythonQtWrapper_QStyle.h" #include "PythonQtWrapper_QStyleOptionFrame.h" #include "PythonQtWrapper_QCloseEvent.h" #include "PythonQtWrapper_QTextListFormat.h" #include "PythonQtWrapper_QActionEvent.h" #include "PythonQtWrapper_QStyleOptionTabBarBase.h" #include "PythonQtWrapper_QStyleHintReturnVariant.h" #include "PythonQtWrapper_QPictureFormatPlugin.h" #include "PythonQtWrapper_QTextCharFormat.h" #include "PythonQtWrapper_QStyleOptionViewItemV2.h" #include "PythonQtWrapper_QGraphicsSceneMoveEvent.h" #include "PythonQtWrapper_QStackedLayout.h" #include "PythonQtWrapper_QMouseEvent.h" #include "PythonQtWrapper_QGroupBox.h" #include "PythonQtWrapper_QStyleOptionGroupBox.h" #include "PythonQtWrapper_QGraphicsPathItem.h" #include "PythonQtWrapper_QFocusFrame.h" #include "PythonQtWrapper_QGraphicsRectItem.h" #include "PythonQtWrapper_QGraphicsPolygonItem.h" #include "PythonQtWrapper_QStyledItemDelegate.h" #include "PythonQtWrapper_QGraphicsSceneHoverEvent.h" #include "PythonQtWrapper_QStyleOptionSizeGrip.h" #include "PythonQtWrapper_QStyleOptionToolBoxV2.h" #include "PythonQtWrapper_QRubberBand.h" #include "PythonQtWrapper_QStandardItemModel.h" #include "PythonQtWrapper_QToolBar.h" #include "PythonQtWrapper_QStyleOptionToolButton.h" #include "PythonQtWrapper_QAccessibleObject.h" #include "PythonQtWrapper_QBitmap.h" #include "PythonQtWrapper_QGridLayout.h" #include "PythonQtWrapper_QApplication.h" #include "PythonQtWrapper_QDragMoveEvent.h" #include "PythonQtWrapper_QMdiSubWindow.h" #include "PythonQtWrapper_QWizardPage.h" #include "PythonQtWrapper_QTabWidget.h" #include "PythonQtWrapper_QWheelEvent.h" #include "PythonQtWrapper_QGraphicsSimpleTextItem.h" #include "PythonQtWrapper_QStatusBar.h" #include "PythonQtWrapper_QDialog.h" #include "PythonQtWrapper_QTextFrame.h" #include "PythonQtWrapper_QStyleOptionComboBox.h" #include "PythonQtWrapper_QFrame.h" #include "PythonQtWrapper_QDoubleValidator.h" #include "PythonQtWrapper_QContextMenuEvent.h" #include "PythonQtWrapper_QStyleOptionTabV2.h" #include "PythonQtWrapper_QGraphicsSceneResizeEvent.h" #include "PythonQtWrapper_QStyleOptionProgressBarV2.h" #include "PythonQtWrapper_QAbstractSlider.h" #include "PythonQtWrapper_QGraphicsSceneWheelEvent.h" #include "PythonQtWrapper_QGraphicsLinearLayout.h" #include "PythonQtWrapper_QGraphicsSceneMouseEvent.h" #include "PythonQtWrapper_QStyleOptionSpinBox.h" #include "PythonQtWrapper_QSplitterHandle.h" #include "PythonQtWrapper_QBoxLayout.h" #include "PythonQtWrapper_QCommonStyle.h" #include "PythonQtWrapper_QDesktopWidget.h" #include "PythonQtWrapper_QStyleOptionTitleBar.h" #include "PythonQtWrapper_QComboBox.h" #include "PythonQtWrapper_QSizeGrip.h" #include "PythonQtWrapper_QTextBlockGroup.h" #include "PythonQtWrapper_QGraphicsProxyWidget.h" #include "PythonQtWrapper_QItemDelegate.h" #include "PythonQtWrapper_QPrintPreviewWidget.h" #include "PythonQtWrapper_QStyleOptionSlider.h" #include "PythonQtWrapper_QAbstractSpinBox.h" #include "PythonQtWrapper_QWorkspace.h" #include "PythonQtWrapper_QMenuBar.h" #include "PythonQtWrapper_QAccessibleInterfaceEx.h" #include "PythonQtWrapper_QTabletEvent.h" #include "PythonQtWrapper_QGraphicsGridLayout.h" #include "PythonQtWrapper_QDialogButtonBox.h" #include "PythonQtWrapper_QLineEdit.h" #include "PythonQtWrapper_QGraphicsEllipseItem.h" #include "PythonQtWrapper_QCalendarWidget.h" #include "PythonQtWrapper_QGraphicsSceneContextMenuEvent.h" #include "PythonQtWrapper_QProgressBar.h" #include "PythonQtWrapper_QMainWindow.h" #include "PythonQtWrapper_QIntValidator.h" #include "PythonQtWrapper_QDockWidget.h" #include "PythonQtWrapper_QWidgetAction.h" #include "PythonQtWrapper_QTextTableCellFormat.h" #include "PythonQtWrapper_QFormLayout.h" #include "PythonQtWrapper_QGraphicsSceneHelpEvent.h" #include "PythonQtWrapper_QRegExpValidator.h" #include "PythonQtWrapper_QTabBar.h" #include "PythonQtWrapper_QTextImageFormat.h" #include "PythonQtWrapper_QMenu.h" #include "PythonQtWrapper_QAbstractButton.h" #include "PythonQtWrapper_QKeyEvent.h" #include "PythonQtWrapper_QStyleOptionDockWidgetV2.h" #include "PythonQtWrapper_QStyleOptionFrameV2.h" #include "PythonQtWrapper_QTextTableFormat.h" #include "PythonQtWrapper_QSplashScreen.h" #include "PythonQtWrapper_QInputDialog.h" #include "PythonQtWrapper_QWindowsStyle.h" #include "PythonQtWrapper_QSpinBox.h" #include "PythonQtWrapper_QAbstractScrollArea.h" #include "PythonQtWrapper_QFontDialog.h" #include "PythonQtWrapper_QVBoxLayout.h" #include "PythonQtWrapper_QToolButton.h" #include "PythonQtWrapper_QFontComboBox.h" #include "PythonQtWrapper_QLabel.h" #include "PythonQtWrapper_QDateTimeEdit.h" #include "PythonQtWrapper_QMessageBox.h" #include "PythonQtWrapper_QHBoxLayout.h" #include "PythonQtWrapper_QDragEnterEvent.h" #include "PythonQtWrapper_QErrorMessage.h" #include "PythonQtWrapper_QLCDNumber.h" #include "PythonQtWrapper_QDoubleSpinBox.h" #include "PythonQtWrapper_QTextTable.h" #include "PythonQtWrapper_QScrollBar.h" #include "PythonQtWrapper_QMotifStyle.h" #include "PythonQtWrapper_QSplitter.h" #include "PythonQtWrapper_QToolBox.h" #include "PythonQtWrapper_QCheckBox.h" #include "PythonQtWrapper_QWizard.h" #include "PythonQtWrapper_QProgressDialog.h" #include "PythonQtWrapper_QStringListModel.h" #include "PythonQtWrapper_QFileDialog.h" #include "PythonQtWrapper_QSlider.h" #include "PythonQtWrapper_QAccessibleObjectEx.h" #include "PythonQtWrapper_QRadioButton.h" #include "PythonQtWrapper_QPrintPreviewDialog.h" #include "PythonQtWrapper_QAbstractPageSetupDialog.h" #include "PythonQtWrapper_QStyleOptionViewItemV3.h" #include "PythonQtWrapper_QTextList.h" #include "PythonQtWrapper_QDial.h" #include "PythonQtWrapper_QColorDialog.h" #include "PythonQtWrapper_QAccessibleWidget.h" #include "PythonQtWrapper_QPushButton.h" #include "PythonQtWrapper_QAbstractPrintDialog.h" #include "PythonQtWrapper_QStackedWidget.h" #include "PythonQtWrapper_QPageSetupDialog.h" #include "PythonQtWrapper_QStyleOptionViewItemV4.h" #include "PythonQtWrapper_QMdiArea.h" #include "PythonQtWrapper_QTimeEdit.h" #include "PythonQtWrapper_QScrollArea.h" #include "PythonQtWrapper_QTextEdit.h" #include "PythonQtWrapper_QPrintDialog.h" #include "PythonQtWrapper_QCommandLinkButton.h" #include "PythonQtWrapper_QCDEStyle.h" #include "PythonQtWrapper_QAccessibleWidgetEx.h" #include "PythonQtWrapper_QPlainTextEdit.h" #include "PythonQtWrapper_QDateEdit.h" #include "PythonQtWrapper_QPlastiqueStyle.h" #include "PythonQtWrapper_QCleanlooksStyle.h" #include "PythonQtWrapper_QGraphicsView.h" #include "PythonQtWrapper_QAbstractItemView.h" #include "PythonQtWrapper_QColumnView.h" #include "PythonQtWrapper_QTreeView.h" #include "PythonQtWrapper_QTableView.h" #include "PythonQtWrapper_QTextBrowser.h" #include "PythonQtWrapper_QHeaderView.h" #include "PythonQtWrapper_QListView.h" #include "PythonQtWrapper_QListWidget.h" #include "PythonQtWrapper_QTreeWidget.h" #include "PythonQtWrapper_QTableWidget.h" #include "PythonQtWrapper_QUndoView.h" static void* polymorphichandler_QGradient(const void *ptr, char **class_name) { Q_ASSERT(ptr != 0); QGradient *object = (QGradient *)ptr; if (object->type() == QGradient::NoGradient) { *class_name = "QGradient"; return (QGradient*)object; } if (object->type() == QGradient::ConicalGradient) { *class_name = "QConicalGradient"; return (QConicalGradient*)object; } if (object->type() == QGradient::LinearGradient) { *class_name = "QLinearGradient"; return (QLinearGradient*)object; } if (object->type() == QGradient::RadialGradient) { *class_name = "QRadialGradient"; return (QRadialGradient*)object; } return NULL; } static void* polymorphichandler_QGraphicsItem(const void *ptr, char **class_name) { Q_ASSERT(ptr != 0); QGraphicsItem *object = (QGraphicsItem *)ptr; if (object->type() == QGraphicsItem::Type) { *class_name = "QGraphicsItem"; return (QGraphicsItem*)object; } if (object->type() == QGraphicsTextItem::Type) { *class_name = "QGraphicsTextItem"; return (QGraphicsTextItem*)object; } if (object->type() == QGraphicsItemGroup::Type) { *class_name = "QGraphicsItemGroup"; return (QGraphicsItemGroup*)object; } if (object->type() == QGraphicsLineItem::Type) { *class_name = "QGraphicsLineItem"; return (QGraphicsLineItem*)object; } if (object->type() == QGraphicsWidget::Type) { *class_name = "QGraphicsWidget"; return (QGraphicsWidget*)object; } if (object->type() == QAbstractGraphicsShapeItem::Type) { *class_name = "QAbstractGraphicsShapeItem"; return (QAbstractGraphicsShapeItem*)object; } if (object->type() == QGraphicsPixmapItem::Type) { *class_name = "QGraphicsPixmapItem"; return (QGraphicsPixmapItem*)object; } return NULL; } static void* polymorphichandler_QStyleOption(const void *ptr, char **class_name) { Q_ASSERT(ptr != 0); QStyleOption *object = (QStyleOption *)ptr; if (object->type == QStyleOption::SO_Default) { *class_name = "QStyleOption"; return (QStyleOption*)object; } if (object->type == QStyleOptionGraphicsItem::Type && object->version == QStyleOptionGraphicsItem::Version) { *class_name = "QStyleOptionGraphicsItem"; return (QStyleOptionGraphicsItem*)object; } if (object->type == QStyleOptionDockWidget::Type && object->version == QStyleOptionDockWidget::Version) { *class_name = "QStyleOptionDockWidget"; return (QStyleOptionDockWidget*)object; } if (object->type == QStyleOptionComplex::Type && object->version == QStyleOptionComplex::Version) { *class_name = "QStyleOptionComplex"; return (QStyleOptionComplex*)object; } if (object->type == QStyleOptionProgressBar::Type && object->version == QStyleOptionProgressBar::Version) { *class_name = "QStyleOptionProgressBar"; return (QStyleOptionProgressBar*)object; } if (object->type == QStyleOptionViewItem::Type && object->version == QStyleOptionViewItem::Version) { *class_name = "QStyleOptionViewItem"; return (QStyleOptionViewItem*)object; } if (object->type == QStyleOptionMenuItem::Type && object->version == QStyleOptionMenuItem::Version) { *class_name = "QStyleOptionMenuItem"; return (QStyleOptionMenuItem*)object; } if (object->type == QStyleOptionFocusRect::Type && object->version == QStyleOptionFocusRect::Version) { *class_name = "QStyleOptionFocusRect"; return (QStyleOptionFocusRect*)object; } if (object->type == QStyleOptionToolBox::Type && object->version == QStyleOptionToolBox::Version) { *class_name = "QStyleOptionToolBox"; return (QStyleOptionToolBox*)object; } if (object->type == QStyleOptionTab::Type && object->version == QStyleOptionTab::Version) { *class_name = "QStyleOptionTab"; return (QStyleOptionTab*)object; } if (object->type == QStyleOptionButton::Type && object->version == QStyleOptionButton::Version) { *class_name = "QStyleOptionButton"; return (QStyleOptionButton*)object; } if (object->type == QStyleOptionToolBar::Type && object->version == QStyleOptionToolBar::Version) { *class_name = "QStyleOptionToolBar"; return (QStyleOptionToolBar*)object; } if (object->type == QStyleOptionHeader::Type && object->version == QStyleOptionHeader::Version) { *class_name = "QStyleOptionHeader"; return (QStyleOptionHeader*)object; } if (object->type == QStyleOptionTabWidgetFrame::Type && object->version == QStyleOptionTabWidgetFrame::Version) { *class_name = "QStyleOptionTabWidgetFrame"; return (QStyleOptionTabWidgetFrame*)object; } if (object->type == QStyleOptionRubberBand::Type && object->version == QStyleOptionRubberBand::Version) { *class_name = "QStyleOptionRubberBand"; return (QStyleOptionRubberBand*)object; } if (object->type == QStyleOptionFrame::Type && object->version == QStyleOptionFrame::Version) { *class_name = "QStyleOptionFrame"; return (QStyleOptionFrame*)object; } if (object->type == QStyleOptionTabBarBase::Type && object->version == QStyleOptionTabBarBase::Version) { *class_name = "QStyleOptionTabBarBase"; return (QStyleOptionTabBarBase*)object; } if (object->type == QStyleOptionViewItemV2::Type && object->version == QStyleOptionViewItemV2::Version) { *class_name = "QStyleOptionViewItemV2"; return (QStyleOptionViewItemV2*)object; } if (object->type == QStyleOptionGroupBox::Type && object->version == QStyleOptionGroupBox::Version) { *class_name = "QStyleOptionGroupBox"; return (QStyleOptionGroupBox*)object; } if (object->type == QStyleOptionSizeGrip::Type && object->version == QStyleOptionSizeGrip::Version) { *class_name = "QStyleOptionSizeGrip"; return (QStyleOptionSizeGrip*)object; } if (object->type == QStyleOptionToolBoxV2::Type && object->version == QStyleOptionToolBoxV2::Version) { *class_name = "QStyleOptionToolBoxV2"; return (QStyleOptionToolBoxV2*)object; } if (object->type == QStyleOptionToolButton::Type && object->version == QStyleOptionToolButton::Version) { *class_name = "QStyleOptionToolButton"; return (QStyleOptionToolButton*)object; } if (object->type == QStyleOptionComboBox::Type && object->version == QStyleOptionComboBox::Version) { *class_name = "QStyleOptionComboBox"; return (QStyleOptionComboBox*)object; } if (object->type == QStyleOptionTabV2::Type && object->version == QStyleOptionTabV2::Version) { *class_name = "QStyleOptionTabV2"; return (QStyleOptionTabV2*)object; } if (object->type == QStyleOptionProgressBarV2::Type && object->version == QStyleOptionProgressBarV2::Version) { *class_name = "QStyleOptionProgressBarV2"; return (QStyleOptionProgressBarV2*)object; } if (object->type == QStyleOptionSpinBox::Type && object->version == QStyleOptionSpinBox::Version) { *class_name = "QStyleOptionSpinBox"; return (QStyleOptionSpinBox*)object; } if (object->type == QStyleOptionTitleBar::Type && object->version == QStyleOptionTitleBar::Version) { *class_name = "QStyleOptionTitleBar"; return (QStyleOptionTitleBar*)object; } if (object->type == QStyleOptionSlider::Type && object->version == QStyleOptionSlider::Version) { *class_name = "QStyleOptionSlider"; return (QStyleOptionSlider*)object; } if (object->type == QStyleOptionDockWidgetV2::Type && object->version == QStyleOptionDockWidgetV2::Version) { *class_name = "QStyleOptionDockWidgetV2"; return (QStyleOptionDockWidgetV2*)object; } if (object->type == QStyleOptionFrameV2::Type && object->version == QStyleOptionFrameV2::Version) { *class_name = "QStyleOptionFrameV2"; return (QStyleOptionFrameV2*)object; } if (object->type == QStyleOptionViewItemV3::Type && object->version == QStyleOptionViewItemV3::Version) { *class_name = "QStyleOptionViewItemV3"; return (QStyleOptionViewItemV3*)object; } if (object->type == QStyleOptionViewItemV4::Type && object->version == QStyleOptionViewItemV4::Version) { *class_name = "QStyleOptionViewItemV4"; return (QStyleOptionViewItemV4*)object; } return NULL; } static void* polymorphichandler_QEvent(const void *ptr, char **class_name) { Q_ASSERT(ptr != 0); QEvent *object = (QEvent *)ptr; if (object->type() == QEvent::Shortcut) { *class_name = "QShortcutEvent"; return (QShortcutEvent*)object; } if (object->type() == QEvent::HoverEnter || object->type() == QEvent::HoverLeave || object->type() == QEvent::HoverMove) { *class_name = "QHoverEvent"; return (QHoverEvent*)object; } if (object->type() == QEvent::Show) { *class_name = "QShowEvent"; return (QShowEvent*)object; } if (object->type() == QEvent::Clipboard) { *class_name = "QClipboardEvent"; return (QClipboardEvent*)object; } if (object->type() == QEvent::Drop) { *class_name = "QDropEvent"; return (QDropEvent*)object; } if (object->type() == QEvent::ToolBarChange) { *class_name = "QToolBarChangeEvent"; return (QToolBarChangeEvent*)object; } if (object->type() == QEvent::Move) { *class_name = "QMoveEvent"; return (QMoveEvent*)object; } if (object->type() == QEvent::AccessibilityDescription || object->type() == QEvent::AccessibilityHelp) { *class_name = "QAccessibleEvent"; return (QAccessibleEvent*)object; } if (object->type() == QEvent::Resize) { *class_name = "QResizeEvent"; return (QResizeEvent*)object; } if (object->type() == QEvent::Paint) { *class_name = "QPaintEvent"; return (QPaintEvent*)object; } if (object->type() == QEvent::IconDrag) { *class_name = "QIconDragEvent"; return (QIconDragEvent*)object; } if (object->type() == QEvent::FocusIn || object->type() == QEvent::FocusOut) { *class_name = "QFocusEvent"; return (QFocusEvent*)object; } if (object->type() == QEvent::WhatsThisClicked) { *class_name = "QWhatsThisClickedEvent"; return (QWhatsThisClickedEvent*)object; } if (object->type() == QEvent::DragResponse) { *class_name = "QDragResponseEvent"; return (QDragResponseEvent*)object; } if (object->type() == QEvent::StatusTip) { *class_name = "QStatusTipEvent"; return (QStatusTipEvent*)object; } if (object->type() == QEvent::DragLeave) { *class_name = "QDragLeaveEvent"; return (QDragLeaveEvent*)object; } if (object->type() == QEvent::FileOpen) { *class_name = "QFileOpenEvent"; return (QFileOpenEvent*)object; } if (object->type() == QEvent::WindowStateChange) { *class_name = "QWindowStateChangeEvent"; return (QWindowStateChangeEvent*)object; } if (object->type() == QEvent::ToolTip || object->type() == QEvent::WhatsThis) { *class_name = "QHelpEvent"; return (QHelpEvent*)object; } if (object->type() == QEvent::Hide) { *class_name = "QHideEvent"; return (QHideEvent*)object; } if (object->type() == QEvent::Close) { *class_name = "QCloseEvent"; return (QCloseEvent*)object; } if (object->type() == QEvent::ActionAdded || object->type() == QEvent::ActionRemoved || object->type() == QEvent::ActionChanged) { *class_name = "QActionEvent"; return (QActionEvent*)object; } if (object->type() == QEvent::GraphicsSceneMove) { *class_name = "QGraphicsSceneMoveEvent"; return (QGraphicsSceneMoveEvent*)object; } if (object->type() == QEvent::MouseButtonDblClick || object->type() == QEvent::MouseButtonPress || object->type() == QEvent::MouseButtonRelease || object->type() == QEvent::MouseMove) { *class_name = "QMouseEvent"; return (QMouseEvent*)object; } if (object->type() == QEvent::GraphicsSceneHoverEnter || object->type() == QEvent::GraphicsSceneHoverLeave || object->type() == QEvent::GraphicsSceneHoverMove) { *class_name = "QGraphicsSceneHoverEvent"; return (QGraphicsSceneHoverEvent*)object; } if (object->type() == QEvent::DragMove) { *class_name = "QDragMoveEvent"; return (QDragMoveEvent*)object; } if (object->type() == QEvent::Wheel) { *class_name = "QWheelEvent"; return (QWheelEvent*)object; } if (object->type() == QEvent::ContextMenu) { *class_name = "QContextMenuEvent"; return (QContextMenuEvent*)object; } if (object->type() == QEvent::GraphicsSceneResize) { *class_name = "QGraphicsSceneResizeEvent"; return (QGraphicsSceneResizeEvent*)object; } if (object->type() == QEvent::GraphicsSceneWheel) { *class_name = "QGraphicsSceneWheelEvent"; return (QGraphicsSceneWheelEvent*)object; } if (object->type() == QEvent::GraphicsSceneMouseDoubleClick || object->type() == QEvent::GraphicsSceneMouseMove || object->type() == QEvent::GraphicsSceneMousePress || object->type() == QEvent::GraphicsSceneMouseRelease) { *class_name = "QGraphicsSceneMouseEvent"; return (QGraphicsSceneMouseEvent*)object; } if (object->type() == QEvent::TabletMove || object->type() == QEvent::TabletPress || object->type() == QEvent::TabletRelease) { *class_name = "QTabletEvent"; return (QTabletEvent*)object; } if (object->type() == QEvent::GraphicsSceneContextMenu) { *class_name = "QGraphicsSceneContextMenuEvent"; return (QGraphicsSceneContextMenuEvent*)object; } if (object->type() == QEvent::GraphicsSceneHelp) { *class_name = "QGraphicsSceneHelpEvent"; return (QGraphicsSceneHelpEvent*)object; } if (object->type() == QEvent::KeyPress || object->type() == QEvent::KeyRelease) { *class_name = "QKeyEvent"; return (QKeyEvent*)object; } if (object->type() == QEvent::DragEnter) { *class_name = "QDragEnterEvent"; return (QDragEnterEvent*)object; } return NULL; } void PythonQt_init_QtGui() { PythonQt::self()->registerCPPClass("QWhatsThis", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QTreeWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGradient", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QUndoCommand", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QAccessible2Interface", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QPixmapCache", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QLayoutItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStandardItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleFactory", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QListWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QImageReader", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QReadWriteLock", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QFontMetrics", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QImageWriter", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QTextDocumentFragment", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QPainter", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QPaintEngine", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QTextBlock", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QFontMetricsF", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QIconEngine", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QPolygonF", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QPainterPath", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QPainterPathStroker", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QTextCursor", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QPaintDevice", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleHintReturn", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QItemSelection", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QTextObjectInterface", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QItemEditorCreatorBase", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsLayoutItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QPictureIO", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QTextLine", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QAccessible", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QTableWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QPen", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QToolTip", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QTextFragment", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QPlainTextDocumentLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QTextBlockUserData", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QTransform", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QTextInlineObject", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QFileIconProvider", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QAccessibleBridge", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QTextTableCell", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QFontInfo", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QGraphicsItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QItemEditorFactory", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QTextItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QPaintEngineState", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QDesktopServices", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOption", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QItemSelectionRange", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QInputContextFactory", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QImageIOHandler", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QTableWidgetSelectionRange", "", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QPrintEngine", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleHintReturnMask", "QStyleHintReturn", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QInputContext::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QShortcutEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QHoverEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QShowEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QStyleOptionGraphicsItem", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QGraphicsTextItem::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->addParentClass("QGraphicsTextItem", "QGraphicsItem",PythonQtUpcastingOffset()); PythonQt::self()->registerClass(&QDataWidgetMapper::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QShortcut::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionDockWidget", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QClipboardEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QGraphicsScene::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QTextBlockFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QDropEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QConicalGradient", "QGradient", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QGraphicsItemGroup", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->addParentClass("QGraphicsItemGroup", "QGraphicsItem",PythonQtUpcastingOffset()); PythonQt::self()->registerCPPClass("QWidgetItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->addParentClass("QWidgetItem", "QLayoutItem",PythonQtUpcastingOffset()); PythonQt::self()->registerClass(&QCompleter::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QToolBarChangeEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QMovie::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTextDocument::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QUndoStack::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionProgressBar", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QPicture", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->addParentClass("QPicture", "QPaintDevice",PythonQtUpcastingOffset()); PythonQt::self()->registerCPPClass("QGraphicsLineItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->addParentClass("QGraphicsLineItem", "QGraphicsItem",PythonQtUpcastingOffset()); PythonQt::self()->registerClass(&QValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionViewItem", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QMoveEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->addParentClass("QWidget", "QPaintDevice",PythonQtUpcastingOffset()); PythonQt::self()->registerClass(&QItemSelectionModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QSessionManager::staticMetaObject, "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QButtonGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QIconEnginePluginV2::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionMenuItem", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionFocusRect", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QImageIOPlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QAccessibleEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QClipboard::staticMetaObject, "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QResizeEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QSystemTrayIcon::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->addParentClass("QLayout", "QLayoutItem",PythonQtUpcastingOffset()); PythonQt::self()->registerCPPClass("QPaintEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QIconDragEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QGraphicsWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->addParentClass("QGraphicsWidget", "QGraphicsItem",PythonQtUpcastingOffset()); PythonQt::self()->addParentClass("QGraphicsWidget", "QGraphicsLayoutItem",PythonQtUpcastingOffset()); PythonQt::self()->registerClass(&QAbstractItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTextObject::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QTextFrameFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QAccessiblePlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QLinearGradient", "QGradient", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QPrinter", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->addParentClass("QPrinter", "QPaintDevice",PythonQtUpcastingOffset()); PythonQt::self()->registerCPPClass("QRadialGradient", "QGradient", "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QAction::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QAccessibleInterface", "QAccessible", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QFocusEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QWhatsThisClickedEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QDragResponseEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QDrag::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QGraphicsItemAnimation::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionToolBox", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionTab", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStatusTipEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QDragLeaveEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QStylePlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionButton", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QFileOpenEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QInputEvent", "QEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QAccessibleTableInterface", "QAccessible2Interface", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QActionGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionToolBar", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsLayout", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->addParentClass("QGraphicsLayout", "QGraphicsLayoutItem",PythonQtUpcastingOffset()); PythonQt::self()->registerCPPClass("QStylePainter", "QPainter", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QWindowStateChangeEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QHelpEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QUndoGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QSyntaxHighlighter::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionHeader", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionTabWidgetFrame", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QSound::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QAbstractGraphicsShapeItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->addParentClass("QAbstractGraphicsShapeItem", "QGraphicsItem",PythonQtUpcastingOffset()); PythonQt::self()->registerCPPClass("QGraphicsSceneEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QInputContextPlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QSpacerItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->addParentClass("QSpacerItem", "QLayoutItem",PythonQtUpcastingOffset()); PythonQt::self()->registerCPPClass("QStyleOptionRubberBand", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsPixmapItem", "", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->addParentClass("QGraphicsPixmapItem", "QGraphicsItem",PythonQtUpcastingOffset()); PythonQt::self()->registerCPPClass("QHideEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionFrame", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QCloseEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QTextListFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QActionEvent", "QEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QStyleOptionTabBarBase", "QStyleOption", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleHintReturnVariant", "QStyleHintReturn", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QPictureFormatPlugin::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QTextCharFormat", "QTextFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionViewItemV2", "QStyleOptionViewItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsSceneMoveEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QStackedLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QMouseEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QGroupBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionGroupBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsPathItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QFocusFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsRectItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsPolygonItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QStyledItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsSceneHoverEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QStyleOptionSizeGrip", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionToolBoxV2", "QStyleOptionToolBox", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QRubberBand::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QStandardItemModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QToolBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionToolButton", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QAccessibleObject", "QAccessibleInterface", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QGridLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QApplication::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QDragMoveEvent", "QDropEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QMdiSubWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QWizardPage::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTabWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QWheelEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsSimpleTextItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QStatusBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTextFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionComboBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QFrame::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QDoubleValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QContextMenuEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionTabV2", "QStyleOptionTab", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsSceneResizeEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QStyleOptionProgressBarV2", "QStyleOptionProgressBar", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QAbstractSlider::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsSceneWheelEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QGraphicsLinearLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsSceneMouseEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QStyleOptionSpinBox", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QSplitterHandle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QCommonStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QDesktopWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionTitleBar", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QComboBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QSizeGrip::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTextBlockGroup::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QGraphicsProxyWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QItemDelegate::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QPrintPreviewWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionSlider", "QStyleOptionComplex", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QAbstractSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QWorkspace::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QMenuBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QAccessibleInterfaceEx", "QAccessibleInterface", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QTabletEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsGridLayout", "QGraphicsLayout", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QDialogButtonBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QLineEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsEllipseItem", "QAbstractGraphicsShapeItem", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QCalendarWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsSceneContextMenuEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QProgressBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QMainWindow::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QIntValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QDockWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QWidgetAction::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QTextTableCellFormat", "QTextCharFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QFormLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QGraphicsSceneHelpEvent", "QGraphicsSceneEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QRegExpValidator::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTabBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QTextImageFormat", "QTextCharFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QMenu::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QAbstractButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QKeyEvent", "QInputEvent", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionDockWidgetV2", "QStyleOptionDockWidget", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionFrameV2", "QStyleOptionFrame", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QTextTableFormat", "QTextFrameFormat", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QSplashScreen::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QInputDialog::staticMetaObject, "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QWindowsStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QAbstractScrollArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QFontDialog::staticMetaObject, "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QVBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QToolButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QFontComboBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QLabel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QDateTimeEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QMessageBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QHBoxLayout::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QDragEnterEvent", "QDragMoveEvent", "QtGui", PythonQtCreateObject); PythonQt::self()->registerClass(&QErrorMessage::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QLCDNumber::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QDoubleSpinBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTextTable::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QScrollBar::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QMotifStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QSplitter::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QToolBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QCheckBox::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QWizard::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QProgressDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QStringListModel::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QFileDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QSlider::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QAccessibleObjectEx", "QAccessibleInterfaceEx", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QRadioButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QPrintPreviewDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QAbstractPageSetupDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionViewItemV3", "QStyleOptionViewItemV2", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTextList::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QDial::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QColorDialog::staticMetaObject, "QtGui", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QAccessibleWidget", "QAccessibleObject", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QPushButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QAbstractPrintDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QStackedWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QPageSetupDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QStyleOptionViewItemV4", "QStyleOptionViewItemV3", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QMdiArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTimeEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QScrollArea::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTextEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QPrintDialog::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QCommandLinkButton::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QCDEStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerCPPClass("QAccessibleWidgetEx", "QAccessibleObjectEx", "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QPlainTextEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QDateEdit::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QPlastiqueStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QCleanlooksStyle::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QGraphicsView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QAbstractItemView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QColumnView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTreeView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTableView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTextBrowser::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QHeaderView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QListView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QListWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTreeWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QTableWidget::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QUndoView::staticMetaObject, "QtGui", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->addPolymorphicHandler("QGradient", polymorphichandler_QGradient); PythonQt::self()->addPolymorphicHandler("QGraphicsItem", polymorphichandler_QGraphicsItem); PythonQt::self()->addPolymorphicHandler("QStyleOption", polymorphichandler_QStyleOption); PythonQt::self()->addPolymorphicHandler("QEvent", polymorphichandler_QEvent); }