/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.6.2
 *
 * Copyright (c) 2022 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt6.
 * 
 * This file may be used under the terms of the GNU General Public License
 * version 3.0 as published by the Free Software Foundation and appearing in
 * the file LICENSE included in the packaging of this file.  Please review the
 * following information to ensure the GNU General Public License version 3.0
 * requirements will be met: http://www.gnu.org/copyleft/gpl.html.
 * 
 * If you do not wish to use this file under the terms of the GPL version 3.0
 * then you may purchase a commercial license.  For more information contact
 * info@riverbankcomputing.com.
 * 
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#include "sipAPIQtOpenGLWidgets.h"

#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtOpenGLWidgets/qopenglwidget.sip"
#include <qopenglwidget.h>
#line 29 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"

#line 28 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 33 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 36 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 150 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 41 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 50 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 44 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 47 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 276 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 53 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 247 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 56 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qimage.sip"
#include <qimage.h>
#line 59 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 46 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qopenglcontext.sip"
#include <qopenglcontext.h>
#line 62 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qsurfaceformat.sip"
#include <qsurfaceformat.h>
#line 65 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qscreen.sip"
#include <qscreen.h>
#line 68 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 24 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 71 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qicon.sip"
#include <qicon.h>
#line 74 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 77 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 30 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 80 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 72 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 83 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 86 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 89 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 92 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 95 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 98 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 101 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 104 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 107 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 101 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 110 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 113 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 116 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qregion.sip"
#include <qregion.h>
#line 119 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 122 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 125 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 128 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 131 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qfont.sip"
#include <qfont.h>
#line 134 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 137 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 361 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 140 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 323 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 312 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 422 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 149 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 472 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 152 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 444 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 155 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 461 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 158 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 527 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 161 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 773 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 164 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 334 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 290 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 262 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 173 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 708 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 176 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 232 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 179 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 206 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 182 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 754 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 185 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 720 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 188 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 135 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 191 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qaction.sip"
#include <qaction.h>
#line 194 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 197 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 200 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 203 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 206 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 209 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 212 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 215 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 91 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 218 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 221 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 151 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 226 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 229 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 245 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 232 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 232 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 235 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 238 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 241 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 135 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 244 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 247 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 250 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 253 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 256 "/build/pyqt6/src/PyQt6-6.3.1/build/QtOpenGLWidgets/sipQtOpenGLWidgetsQOpenGLWidget.cpp"


class sipQOpenGLWidget : public  ::QOpenGLWidget
{
public:
    sipQOpenGLWidget( ::QWidget*, ::Qt::WindowFlags);
    virtual ~sipQOpenGLWidget();

    int qt_metacall(QMetaObject::Call, int, void **) SIP_OVERRIDE;
    void *qt_metacast(const char *) SIP_OVERRIDE;
    const QMetaObject *metaObject() const SIP_OVERRIDE;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void paintGL() SIP_OVERRIDE;
    void resizeGL(int,int) SIP_OVERRIDE;
    void initializeGL() SIP_OVERRIDE;
    void disconnectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void connectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void customEvent( ::QEvent*) SIP_OVERRIDE;
    void childEvent( ::QChildEvent*) SIP_OVERRIDE;
    void timerEvent( ::QTimerEvent*) SIP_OVERRIDE;
    bool eventFilter( ::QObject*, ::QEvent*) SIP_OVERRIDE;
    bool event( ::QEvent*) SIP_OVERRIDE;
    int metric( ::QPaintDevice::PaintDeviceMetric) const SIP_OVERRIDE;
     ::QPaintEngine* paintEngine() const SIP_OVERRIDE;
    int devType() const SIP_OVERRIDE;
    void setVisible(bool) SIP_OVERRIDE;
     ::QSize sizeHint() const SIP_OVERRIDE;
     ::QSize minimumSizeHint() const SIP_OVERRIDE;
    int heightForWidth(int) const SIP_OVERRIDE;
    void mousePressEvent( ::QMouseEvent*) SIP_OVERRIDE;
    void mouseReleaseEvent( ::QMouseEvent*) SIP_OVERRIDE;
    void mouseDoubleClickEvent( ::QMouseEvent*) SIP_OVERRIDE;
    void mouseMoveEvent( ::QMouseEvent*) SIP_OVERRIDE;
    void wheelEvent( ::QWheelEvent*) SIP_OVERRIDE;
    void keyPressEvent( ::QKeyEvent*) SIP_OVERRIDE;
    void keyReleaseEvent( ::QKeyEvent*) SIP_OVERRIDE;
    void focusInEvent( ::QFocusEvent*) SIP_OVERRIDE;
    void focusOutEvent( ::QFocusEvent*) SIP_OVERRIDE;
    void enterEvent( ::QEnterEvent*) SIP_OVERRIDE;
    void leaveEvent( ::QEvent*) SIP_OVERRIDE;
    void paintEvent( ::QPaintEvent*) SIP_OVERRIDE;
    void moveEvent( ::QMoveEvent*) SIP_OVERRIDE;
    void resizeEvent( ::QResizeEvent*) SIP_OVERRIDE;
    void closeEvent( ::QCloseEvent*) SIP_OVERRIDE;
    void contextMenuEvent( ::QContextMenuEvent*) SIP_OVERRIDE;
    void tabletEvent( ::QTabletEvent*) SIP_OVERRIDE;
    void actionEvent( ::QActionEvent*) SIP_OVERRIDE;
    void dragEnterEvent( ::QDragEnterEvent*) SIP_OVERRIDE;
    void dragMoveEvent( ::QDragMoveEvent*) SIP_OVERRIDE;
    void dragLeaveEvent( ::QDragLeaveEvent*) SIP_OVERRIDE;
    void dropEvent( ::QDropEvent*) SIP_OVERRIDE;
    void showEvent( ::QShowEvent*) SIP_OVERRIDE;
    void hideEvent( ::QHideEvent*) SIP_OVERRIDE;
    void changeEvent( ::QEvent*) SIP_OVERRIDE;
    void inputMethodEvent( ::QInputMethodEvent*) SIP_OVERRIDE;
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const SIP_OVERRIDE;
    bool focusNextPrevChild(bool) SIP_OVERRIDE;
    bool hasHeightForWidth() const SIP_OVERRIDE;
    bool nativeEvent(const  ::QByteArray&,void*, ::qintptr*) SIP_OVERRIDE;
     ::QPainter* sharedPainter() const SIP_OVERRIDE;
    void initPainter( ::QPainter*) const SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQOpenGLWidget(const sipQOpenGLWidget &);
    sipQOpenGLWidget &operator = (const sipQOpenGLWidget &);

    char sipPyMethods[49];
};

sipQOpenGLWidget::sipQOpenGLWidget( ::QWidget*a0, ::Qt::WindowFlags a1):  ::QOpenGLWidget(a0,a1), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQOpenGLWidget::~sipQOpenGLWidget()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

const QMetaObject *sipQOpenGLWidget::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtOpenGLWidgets_qt_metaobject(sipPySelf,sipType_QOpenGLWidget);

    return  ::QOpenGLWidget::metaObject();
}

int sipQOpenGLWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QOpenGLWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
    {
        SIP_BLOCK_THREADS
        _id = sip_QtOpenGLWidgets_qt_metacall(sipPySelf,sipType_QOpenGLWidget,_c,_id,_a);
        SIP_UNBLOCK_THREADS
    }

    return _id;
}

void *sipQOpenGLWidget::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtOpenGLWidgets_qt_metacast(sipPySelf, sipType_QOpenGLWidget, _clname, &sipCpp) ? sipCpp :  ::QOpenGLWidget::qt_metacast(_clname));
}

void sipQOpenGLWidget::paintGL()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[0], &sipPySelf, SIP_NULLPTR, sipName_paintGL);

    if (!sipMeth)
    {
         ::QOpenGLWidget::paintGL();
        return;
    }

    extern void sipVH_QtOpenGLWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtOpenGLWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQOpenGLWidget::resizeGL(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[1], &sipPySelf, SIP_NULLPTR, sipName_resizeGL);

    if (!sipMeth)
    {
         ::QOpenGLWidget::resizeGL(a0,a1);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_QtOpenGLWidgets_38(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQOpenGLWidget::initializeGL()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[2], &sipPySelf, SIP_NULLPTR, sipName_initializeGL);

    if (!sipMeth)
    {
         ::QOpenGLWidget::initializeGL();
        return;
    }

    extern void sipVH_QtOpenGLWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtOpenGLWidgets_37(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQOpenGLWidget::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[3], &sipPySelf, SIP_NULLPTR, sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QOpenGLWidget::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtOpenGLWidgets_36(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[4], &sipPySelf, SIP_NULLPTR, sipName_connectNotify);

    if (!sipMeth)
    {
         ::QOpenGLWidget::connectNotify(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtOpenGLWidgets_36(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[5], &sipPySelf, SIP_NULLPTR, sipName_customEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::customEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtOpenGLWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[6], &sipPySelf, SIP_NULLPTR, sipName_childEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::childEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtOpenGLWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[7], &sipPySelf, SIP_NULLPTR, sipName_timerEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::timerEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtOpenGLWidgets_34(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQOpenGLWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[8], &sipPySelf, SIP_NULLPTR, sipName_eventFilter);

    if (!sipMeth)
        return  ::QOpenGLWidget::eventFilter(a0,a1);

    extern bool sipVH_QtOpenGLWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtOpenGLWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQOpenGLWidget::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[9], &sipPySelf, SIP_NULLPTR, sipName_event);

    if (!sipMeth)
        return  ::QOpenGLWidget::event(a0);

    extern bool sipVH_QtOpenGLWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtOpenGLWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQOpenGLWidget::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[10]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_metric);

    if (!sipMeth)
        return  ::QOpenGLWidget::metric(a0);

    extern int sipVH_QtOpenGLWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_QtOpenGLWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipQOpenGLWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[11]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_paintEngine);

    if (!sipMeth)
        return  ::QOpenGLWidget::paintEngine();

    extern  ::QPaintEngine* sipVH_QtOpenGLWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtOpenGLWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQOpenGLWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[12]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_devType);

    if (!sipMeth)
        return  ::QOpenGLWidget::devType();

    extern int sipVH_QtOpenGLWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtOpenGLWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQOpenGLWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[13], &sipPySelf, SIP_NULLPTR, sipName_setVisible);

    if (!sipMeth)
    {
         ::QOpenGLWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtOpenGLWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipQOpenGLWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[14]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_sizeHint);

    if (!sipMeth)
        return  ::QOpenGLWidget::sizeHint();

    extern  ::QSize sipVH_QtOpenGLWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtOpenGLWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipQOpenGLWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[15]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::QOpenGLWidget::minimumSizeHint();

    extern  ::QSize sipVH_QtOpenGLWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtOpenGLWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQOpenGLWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[16]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_heightForWidth);

    if (!sipMeth)
        return  ::QOpenGLWidget::heightForWidth(a0);

    extern int sipVH_QtOpenGLWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtOpenGLWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[17], &sipPySelf, SIP_NULLPTR, sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtOpenGLWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[18], &sipPySelf, SIP_NULLPTR, sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtOpenGLWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[19], &sipPySelf, SIP_NULLPTR, sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtOpenGLWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[20], &sipPySelf, SIP_NULLPTR, sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_QtOpenGLWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[21], &sipPySelf, SIP_NULLPTR, sipName_wheelEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_QtOpenGLWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[22], &sipPySelf, SIP_NULLPTR, sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::keyPressEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtOpenGLWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[23], &sipPySelf, SIP_NULLPTR, sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_QtOpenGLWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[24], &sipPySelf, SIP_NULLPTR, sipName_focusInEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::focusInEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtOpenGLWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[25], &sipPySelf, SIP_NULLPTR, sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::focusOutEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_QtOpenGLWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::enterEvent( ::QEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[26], &sipPySelf, SIP_NULLPTR, sipName_enterEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::enterEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEnterEvent*);

    sipVH_QtOpenGLWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[27], &sipPySelf, SIP_NULLPTR, sipName_leaveEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::leaveEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtOpenGLWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[28], &sipPySelf, SIP_NULLPTR, sipName_paintEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::paintEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_QtOpenGLWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[29], &sipPySelf, SIP_NULLPTR, sipName_moveEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_QtOpenGLWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[30], &sipPySelf, SIP_NULLPTR, sipName_resizeEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_QtOpenGLWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[31], &sipPySelf, SIP_NULLPTR, sipName_closeEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_QtOpenGLWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[32], &sipPySelf, SIP_NULLPTR, sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_QtOpenGLWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[33], &sipPySelf, SIP_NULLPTR, sipName_tabletEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::tabletEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_QtOpenGLWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[34], &sipPySelf, SIP_NULLPTR, sipName_actionEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_QtOpenGLWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[35], &sipPySelf, SIP_NULLPTR, sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_QtOpenGLWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[36], &sipPySelf, SIP_NULLPTR, sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_QtOpenGLWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[37], &sipPySelf, SIP_NULLPTR, sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_QtOpenGLWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[38], &sipPySelf, SIP_NULLPTR, sipName_dropEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_QtOpenGLWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[39], &sipPySelf, SIP_NULLPTR, sipName_showEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::showEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_QtOpenGLWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[40], &sipPySelf, SIP_NULLPTR, sipName_hideEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::hideEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_QtOpenGLWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[41], &sipPySelf, SIP_NULLPTR, sipName_changeEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::changeEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtOpenGLWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[42], &sipPySelf, SIP_NULLPTR, sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::QOpenGLWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_QtOpenGLWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipQOpenGLWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[43]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::QOpenGLWidget::inputMethodQuery(a0);

    extern  ::QVariant sipVH_QtOpenGLWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_QtOpenGLWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQOpenGLWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[44], &sipPySelf, SIP_NULLPTR, sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::QOpenGLWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtOpenGLWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtOpenGLWidgets_4(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQOpenGLWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[45]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::QOpenGLWidget::hasHeightForWidth();

    extern bool sipVH_QtOpenGLWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtOpenGLWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQOpenGLWidget::nativeEvent(const  ::QByteArray& a0,void*a1, ::qintptr*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[46], &sipPySelf, SIP_NULLPTR, sipName_nativeEvent);

    if (!sipMeth)
        return  ::QOpenGLWidget::nativeEvent(a0,a1,a2);

    extern bool sipVH_QtOpenGLWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*, ::qintptr*);

    return sipVH_QtOpenGLWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipQOpenGLWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[47]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_sharedPainter);

    if (!sipMeth)
        return  ::QOpenGLWidget::sharedPainter();

    extern  ::QPainter* sipVH_QtOpenGLWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtOpenGLWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQOpenGLWidget::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[48]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_initPainter);

    if (!sipMeth)
    {
         ::QOpenGLWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtOpenGLWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_QtOpenGLWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtOpenGLWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QOpenGLWidget_setFormat, "setFormat(self, QSurfaceFormat)");

extern "C" {static PyObject *meth_QOpenGLWidget_setFormat(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_setFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QSurfaceFormat* a0;
         ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QSurfaceFormat, &a0))
        {
            sipCpp->setFormat(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_setFormat, doc_QOpenGLWidget_setFormat);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_format, "format(self) -> QSurfaceFormat");

extern "C" {static PyObject *meth_QOpenGLWidget_format(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_format(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
             ::QSurfaceFormat*sipRes;

            sipRes = new  ::QSurfaceFormat(sipCpp->format());

            return sipConvertFromNewType(sipRes,sipType_QSurfaceFormat,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_format, doc_QOpenGLWidget_format);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_isValid, "isValid(self) -> bool");

extern "C" {static PyObject *meth_QOpenGLWidget_isValid(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_isValid, doc_QOpenGLWidget_isValid);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_makeCurrent, "makeCurrent(self)");

extern "C" {static PyObject *meth_QOpenGLWidget_makeCurrent(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_makeCurrent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            sipCpp->makeCurrent();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_makeCurrent, doc_QOpenGLWidget_makeCurrent);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_doneCurrent, "doneCurrent(self)");

extern "C" {static PyObject *meth_QOpenGLWidget_doneCurrent(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_doneCurrent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            sipCpp->doneCurrent();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_doneCurrent, doc_QOpenGLWidget_doneCurrent);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_context, "context(self) -> QOpenGLContext");

extern "C" {static PyObject *meth_QOpenGLWidget_context(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_context(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
             ::QOpenGLContext*sipRes;

            sipRes = sipCpp->context();

            return sipConvertFromType(sipRes,sipType_QOpenGLContext,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_context, doc_QOpenGLWidget_context);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_defaultFramebufferObject, "defaultFramebufferObject(self) -> int");

extern "C" {static PyObject *meth_QOpenGLWidget_defaultFramebufferObject(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_defaultFramebufferObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
             ::GLuint sipRes;

            sipRes = sipCpp->defaultFramebufferObject();

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_defaultFramebufferObject, doc_QOpenGLWidget_defaultFramebufferObject);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_grabFramebuffer, "grabFramebuffer(self) -> QImage");

extern "C" {static PyObject *meth_QOpenGLWidget_grabFramebuffer(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_grabFramebuffer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
             ::QImage*sipRes;

            sipRes = new  ::QImage(sipCpp->grabFramebuffer());

            return sipConvertFromNewType(sipRes,sipType_QImage,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_grabFramebuffer, doc_QOpenGLWidget_grabFramebuffer);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_initializeGL, "initializeGL(self)");

extern "C" {static PyObject *meth_QOpenGLWidget_initializeGL(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_initializeGL(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QOpenGLWidget)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QOpenGLWidget::initializeGL() : sipCpp->initializeGL());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_initializeGL, doc_QOpenGLWidget_initializeGL);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_resizeGL, "resizeGL(self, int, int)");

extern "C" {static PyObject *meth_QOpenGLWidget_resizeGL(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_resizeGL(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QOpenGLWidget)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
         ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pii", &sipSelf, sipType_QOpenGLWidget, &sipCpp, &a0, &a1))
        {
            (sipSelfWasArg ? sipCpp-> ::QOpenGLWidget::resizeGL(a0,a1) : sipCpp->resizeGL(a0,a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_resizeGL, doc_QOpenGLWidget_resizeGL);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_paintGL, "paintGL(self)");

extern "C" {static PyObject *meth_QOpenGLWidget_paintGL(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_paintGL(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QOpenGLWidget)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QOpenGLWidget::paintGL() : sipCpp->paintGL());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_paintGL, doc_QOpenGLWidget_paintGL);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_paintEvent, "paintEvent(self, QPaintEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QOpenGLWidget)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintEvent* a0;
         ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QOpenGLWidget::paintEvent(a0) : sipCpp->paintEvent(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_paintEvent, doc_QOpenGLWidget_paintEvent);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_resizeEvent, "resizeEvent(self, QResizeEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QOpenGLWidget)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
         ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QOpenGLWidget::resizeEvent(a0) : sipCpp->resizeEvent(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_resizeEvent, doc_QOpenGLWidget_resizeEvent);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_event, "event(self, QEvent) -> bool");

extern "C" {static PyObject *meth_QOpenGLWidget_event(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QOpenGLWidget)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
         ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QOpenGLWidget::event(a0) : sipCpp->event(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_event, doc_QOpenGLWidget_event);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_metric, "metric(self, QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QOpenGLWidget_metric(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_metric(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QOpenGLWidget)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintDevice::PaintDeviceMetric a0;
        const  ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pE", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QOpenGLWidget::metric(a0) : sipCpp->metric(a0));

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_metric, doc_QOpenGLWidget_metric);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_paintEngine, "paintEngine(self) -> QPaintEngine");

extern "C" {static PyObject *meth_QOpenGLWidget_paintEngine(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_paintEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QOpenGLWidget)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
             ::QPaintEngine*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QOpenGLWidget::paintEngine() : sipCpp->paintEngine());

            return sipConvertFromType(sipRes,sipType_QPaintEngine,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_paintEngine, doc_QOpenGLWidget_paintEngine);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_setUpdateBehavior, "setUpdateBehavior(self, QOpenGLWidget.UpdateBehavior)");

extern "C" {static PyObject *meth_QOpenGLWidget_setUpdateBehavior(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_setUpdateBehavior(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QOpenGLWidget::UpdateBehavior a0;
         ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QOpenGLWidget_UpdateBehavior, &a0))
        {
            sipCpp->setUpdateBehavior(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_setUpdateBehavior, doc_QOpenGLWidget_setUpdateBehavior);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_updateBehavior, "updateBehavior(self) -> QOpenGLWidget.UpdateBehavior");

extern "C" {static PyObject *meth_QOpenGLWidget_updateBehavior(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_updateBehavior(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
             ::QOpenGLWidget::UpdateBehavior sipRes;

            sipRes = sipCpp->updateBehavior();

            return sipConvertFromEnum(static_cast<int>(sipRes), sipType_QOpenGLWidget_UpdateBehavior);
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_updateBehavior, doc_QOpenGLWidget_updateBehavior);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_textureFormat, "textureFormat(self) -> int");

extern "C" {static PyObject *meth_QOpenGLWidget_textureFormat(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_textureFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
             ::GLenum sipRes;

            sipRes = sipCpp->textureFormat();

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_textureFormat, doc_QOpenGLWidget_textureFormat);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QOpenGLWidget_setTextureFormat, "setTextureFormat(self, int)");

extern "C" {static PyObject *meth_QOpenGLWidget_setTextureFormat(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_setTextureFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::GLenum a0;
         ::QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bu", &sipSelf, sipType_QOpenGLWidget, &sipCpp, &a0))
        {
            sipCpp->setTextureFormat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_setTextureFormat, doc_QOpenGLWidget_setTextureFormat);

    return SIP_NULLPTR;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QOpenGLWidget(void *, const sipTypeDef *);}
static void *cast_QOpenGLWidget(void *sipCppV, const sipTypeDef *targetType)
{
     ::QOpenGLWidget *sipCpp = reinterpret_cast< ::QOpenGLWidget *>(sipCppV);

    if (targetType == sipType_QOpenGLWidget)
        return sipCppV;

    sipCppV = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast(static_cast< ::QWidget *>(sipCpp), targetType);
    if (sipCppV)
        return sipCppV;

    return SIP_NULLPTR;
}


/* Call the instance's destructor. */
extern "C" {static void release_QOpenGLWidget(void *, int);}
static void release_QOpenGLWidget(void *sipCppV, int)
{
     ::QOpenGLWidget *sipCpp = reinterpret_cast< ::QOpenGLWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void *array_QOpenGLWidget(Py_ssize_t);}
static void *array_QOpenGLWidget(Py_ssize_t sipNrElem)
{
    return new  ::QOpenGLWidget[sipNrElem];
}


extern "C" {static void array_delete_QOpenGLWidget(void *);}
static void array_delete_QOpenGLWidget(void *sipCpp)
{
    delete[] reinterpret_cast< ::QOpenGLWidget *>(sipCpp);
}


extern "C" {static void dealloc_QOpenGLWidget(sipSimpleWrapper *);}
static void dealloc_QOpenGLWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQOpenGLWidget *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QOpenGLWidget(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QOpenGLWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QOpenGLWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQOpenGLWidget *sipCpp = SIP_NULLPTR;

    {
         ::QWidget* a0 = 0;
         ::Qt::WindowFlags a1def = Qt::WindowFlags();
         ::Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_QFlags_0100Qt_WindowType, &a1, &a1State))
        {
            sipCpp = new sipQOpenGLWidget(a0,*a1);
            sipReleaseType(a1, sipType_QFlags_0100Qt_WindowType, a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QOpenGLWidget[] = {{0, 2, 1}};


static PyMethodDef methods_QOpenGLWidget[] = {
    {sipName_context, meth_QOpenGLWidget_context, METH_VARARGS, doc_QOpenGLWidget_context},
    {sipName_defaultFramebufferObject, meth_QOpenGLWidget_defaultFramebufferObject, METH_VARARGS, doc_QOpenGLWidget_defaultFramebufferObject},
    {sipName_doneCurrent, meth_QOpenGLWidget_doneCurrent, METH_VARARGS, doc_QOpenGLWidget_doneCurrent},
    {sipName_event, meth_QOpenGLWidget_event, METH_VARARGS, doc_QOpenGLWidget_event},
    {sipName_format, meth_QOpenGLWidget_format, METH_VARARGS, doc_QOpenGLWidget_format},
    {sipName_grabFramebuffer, meth_QOpenGLWidget_grabFramebuffer, METH_VARARGS, doc_QOpenGLWidget_grabFramebuffer},
    {sipName_initializeGL, meth_QOpenGLWidget_initializeGL, METH_VARARGS, doc_QOpenGLWidget_initializeGL},
    {sipName_isValid, meth_QOpenGLWidget_isValid, METH_VARARGS, doc_QOpenGLWidget_isValid},
    {sipName_makeCurrent, meth_QOpenGLWidget_makeCurrent, METH_VARARGS, doc_QOpenGLWidget_makeCurrent},
    {sipName_metric, meth_QOpenGLWidget_metric, METH_VARARGS, doc_QOpenGLWidget_metric},
    {sipName_paintEngine, meth_QOpenGLWidget_paintEngine, METH_VARARGS, doc_QOpenGLWidget_paintEngine},
    {sipName_paintEvent, meth_QOpenGLWidget_paintEvent, METH_VARARGS, doc_QOpenGLWidget_paintEvent},
    {sipName_paintGL, meth_QOpenGLWidget_paintGL, METH_VARARGS, doc_QOpenGLWidget_paintGL},
    {sipName_resizeEvent, meth_QOpenGLWidget_resizeEvent, METH_VARARGS, doc_QOpenGLWidget_resizeEvent},
    {sipName_resizeGL, meth_QOpenGLWidget_resizeGL, METH_VARARGS, doc_QOpenGLWidget_resizeGL},
    {sipName_setFormat, meth_QOpenGLWidget_setFormat, METH_VARARGS, doc_QOpenGLWidget_setFormat},
    {sipName_setTextureFormat, meth_QOpenGLWidget_setTextureFormat, METH_VARARGS, doc_QOpenGLWidget_setTextureFormat},
    {sipName_setUpdateBehavior, meth_QOpenGLWidget_setUpdateBehavior, METH_VARARGS, doc_QOpenGLWidget_setUpdateBehavior},
    {sipName_textureFormat, meth_QOpenGLWidget_textureFormat, METH_VARARGS, doc_QOpenGLWidget_textureFormat},
    {sipName_updateBehavior, meth_QOpenGLWidget_updateBehavior, METH_VARARGS, doc_QOpenGLWidget_updateBehavior}
};


/* Define the enum members and ints to be added to this type. */
static sipIntInstanceDef intInstances_QOpenGLWidget[] = {
    {sipName_NoPartialUpdate, static_cast<int>( ::QOpenGLWidget::NoPartialUpdate)},
    {sipName_PartialUpdate, static_cast<int>( ::QOpenGLWidget::PartialUpdate)},
    {0, 0}
};

PyDoc_STRVAR(doc_QOpenGLWidget, "\1QOpenGLWidget(parent: QWidget = None, flags: Qt.WindowType = Qt.WindowFlags())");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QOpenGLWidget[] = {
    {"resized()", "\1resized(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"aboutToResize()", "\1aboutToResize(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"frameSwapped()", "\1frameSwapped(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"aboutToCompose()", "\1aboutToCompose(self)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QOpenGLWidget = {
    & ::QOpenGLWidget::staticMetaObject,
    signals_QOpenGLWidget,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtOpenGLWidgets_QOpenGLWidget = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QOpenGLWidget,
        SIP_NULLPTR,
        &plugin_QOpenGLWidget
    },
    {
        sipNameNr_QOpenGLWidget,
        {0, 0, 1},
        20, methods_QOpenGLWidget,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QOpenGLWidget, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QOpenGLWidget,
    -1,
    -1,
    supers_QOpenGLWidget,
    SIP_NULLPTR,
    init_type_QOpenGLWidget,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QOpenGLWidget,
    SIP_NULLPTR,
    array_QOpenGLWidget,
    SIP_NULLPTR,
    release_QOpenGLWidget,
    cast_QOpenGLWidget,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QOpenGLWidget,
    sizeof ( ::QOpenGLWidget),
};
