/*
 * 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 "sipAPIQtWidgets.h"

#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qcolordialog.sip"
#include <qcolordialog.h>
#line 29 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 36 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 39 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 24 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 45 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 48 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 334 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 51 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 276 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 312 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 57 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 290 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 60 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 206 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 63 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qsize.sip"
#include <qsize.h>
#line 66 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qscreen.sip"
#include <qscreen.h>
#line 69 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.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 74 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qicon.sip"
#include <qicon.h>
#line 77 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 80 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 30 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 83 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 72 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 86 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 89 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 92 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 95 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qrect.sip"
#include <qrect.h>
#line 98 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 104 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 107 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 110 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 113 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 101 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 116 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 119 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 122 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 125 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qregion.sip"
#include <qregion.h>
#line 128 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 131 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 134 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 137 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qfont.sip"
#include <qfont.h>
#line 140 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 143 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 361 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 146 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 323 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 149 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 422 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 152 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 472 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 155 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 444 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 158 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 461 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 161 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 527 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 164 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 773 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 167 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 262 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 247 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 173 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 754 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 182 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 720 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qevent.sip"
#include <qevent.h>
#line 185 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 50 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 188 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.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/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 238 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 135 "/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/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 244 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 247 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 250 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 253 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"


class sipQColorDialog : public  ::QColorDialog
{
public:
    sipQColorDialog( ::QWidget*);
    sipQColorDialog(const  ::QColor&, ::QWidget*);
    virtual ~sipQColorDialog();

    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 initPainter( ::QPainter*) const SIP_OVERRIDE;
     ::QPainter* sharedPainter() const SIP_OVERRIDE;
    bool nativeEvent(const  ::QByteArray&,void*, ::qintptr*) SIP_OVERRIDE;
    bool hasHeightForWidth() const SIP_OVERRIDE;
    bool focusNextPrevChild(bool) SIP_OVERRIDE;
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const SIP_OVERRIDE;
    void inputMethodEvent( ::QInputMethodEvent*) SIP_OVERRIDE;
    void changeEvent( ::QEvent*) SIP_OVERRIDE;
    void hideEvent( ::QHideEvent*) SIP_OVERRIDE;
    void showEvent( ::QShowEvent*) SIP_OVERRIDE;
    void dropEvent( ::QDropEvent*) SIP_OVERRIDE;
    void dragLeaveEvent( ::QDragLeaveEvent*) SIP_OVERRIDE;
    void dragMoveEvent( ::QDragMoveEvent*) SIP_OVERRIDE;
    void dragEnterEvent( ::QDragEnterEvent*) SIP_OVERRIDE;
    void actionEvent( ::QActionEvent*) SIP_OVERRIDE;
    void tabletEvent( ::QTabletEvent*) SIP_OVERRIDE;
    void contextMenuEvent( ::QContextMenuEvent*) SIP_OVERRIDE;
    void closeEvent( ::QCloseEvent*) SIP_OVERRIDE;
    void resizeEvent( ::QResizeEvent*) SIP_OVERRIDE;
    void moveEvent( ::QMoveEvent*) SIP_OVERRIDE;
    void paintEvent( ::QPaintEvent*) SIP_OVERRIDE;
    void leaveEvent( ::QEvent*) SIP_OVERRIDE;
    void enterEvent( ::QEnterEvent*) SIP_OVERRIDE;
    void focusOutEvent( ::QFocusEvent*) SIP_OVERRIDE;
    void focusInEvent( ::QFocusEvent*) SIP_OVERRIDE;
    void keyReleaseEvent( ::QKeyEvent*) SIP_OVERRIDE;
    void keyPressEvent( ::QKeyEvent*) SIP_OVERRIDE;
    void wheelEvent( ::QWheelEvent*) SIP_OVERRIDE;
    void mouseMoveEvent( ::QMouseEvent*) SIP_OVERRIDE;
    void mouseDoubleClickEvent( ::QMouseEvent*) SIP_OVERRIDE;
    void mouseReleaseEvent( ::QMouseEvent*) SIP_OVERRIDE;
    void mousePressEvent( ::QMouseEvent*) SIP_OVERRIDE;
    int heightForWidth(int) const SIP_OVERRIDE;
     ::QSize minimumSizeHint() const SIP_OVERRIDE;
     ::QSize sizeHint() const SIP_OVERRIDE;
    void setVisible(bool) SIP_OVERRIDE;
    int devType() const SIP_OVERRIDE;
     ::QPaintEngine* paintEngine() const SIP_OVERRIDE;
    int metric( ::QPaintDevice::PaintDeviceMetric) const SIP_OVERRIDE;
    bool event( ::QEvent*) SIP_OVERRIDE;
    bool eventFilter( ::QObject*, ::QEvent*) SIP_OVERRIDE;
    void timerEvent( ::QTimerEvent*) SIP_OVERRIDE;
    void childEvent( ::QChildEvent*) SIP_OVERRIDE;
    void customEvent( ::QEvent*) SIP_OVERRIDE;
    void connectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void disconnectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    int exec() SIP_OVERRIDE;
    void done(int) SIP_OVERRIDE;
    void accept() SIP_OVERRIDE;
    void reject() SIP_OVERRIDE;
    void open() SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[51];
};

sipQColorDialog::sipQColorDialog( ::QWidget*a0):  ::QColorDialog(a0), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQColorDialog::sipQColorDialog(const  ::QColor& a0, ::QWidget*a1):  ::QColorDialog(a0,a1), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQColorDialog::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QColorDialog);

    return  ::QColorDialog::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QColorDialog, _clname, &sipCpp) ? sipCpp :  ::QColorDialog::qt_metacast(_clname));
}

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

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

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

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

    sipVH_QtWidgets_36(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtWidgets_35(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

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

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

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

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

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

    return sipVH_QtWidgets_33(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtWidgets_32(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtWidgets_31(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_30(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_29(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_28(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_27(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_26(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_25(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_24(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_23(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_22(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_21(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_20(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_19(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_18(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_17(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_16(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_15(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_14(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_13(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_12(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtWidgets_11(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtWidgets_10(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    sipVH_QtWidgets_9(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtWidgets_7(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtWidgets_6(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtWidgets_5(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtWidgets_3(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_2(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_1(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWidgets_0(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQColorDialog::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QColorDialog::exec();

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

    return sipVH_QtWidgets_8(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQColorDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[47], &sipPySelf, SIP_NULLPTR, sipName_done);

    if (!sipMeth)
    {
         ::QColorDialog::done(a0);
        return;
    }

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

    sipVH_QtWidgets_61(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQColorDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[48], &sipPySelf, SIP_NULLPTR, sipName_accept);

    if (!sipMeth)
    {
         ::QColorDialog::accept();
        return;
    }

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

    sipVH_QtWidgets_38(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQColorDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[49], &sipPySelf, SIP_NULLPTR, sipName_reject);

    if (!sipMeth)
    {
         ::QColorDialog::reject();
        return;
    }

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

    sipVH_QtWidgets_38(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQColorDialog::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[50], &sipPySelf, SIP_NULLPTR, sipName_open);

    if (!sipMeth)
    {
         ::QColorDialog::open();
        return;
    }

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

    sipVH_QtWidgets_38(sipGILState, sipImportedVirtErrorHandlers_QtWidgets_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QColorDialog_getColor, "getColor(initial: Union[QColor, Qt.GlobalColor, int, QGradient] = Qt.white, parent: QWidget = None, title: str = '', options: QColorDialog.ColorDialogOption = QColorDialog.ColorDialogOptions()) -> QColor");

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

    {
        const  ::QColor& a0def = Qt::white;
        const  ::QColor* a0 = &a0def;
        int a0State = 0;
         ::QWidget* a1 = 0;
        const  ::QString& a2def = QString();
        const  ::QString* a2 = &a2def;
        int a2State = 0;
         ::QColorDialog::ColorDialogOptions a3def = QColorDialog::ColorDialogOptions();
         ::QColorDialog::ColorDialogOptions* a3 = &a3def;
        int a3State = 0;

        static const char *sipKwdList[] = {
            sipName_initial,
            sipName_parent,
            sipName_title,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "C|J1J8J1J1", &sipSelf, sipType_QColor, &a0, &a0State, sipType_QWidget, &a1, sipType_QString, &a2, &a2State, sipType_QFlags_0100QColorDialog_ColorDialogOption, &a3, &a3State))
        {
             ::QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new  ::QColor( ::QColorDialog::getColor(*a0,a1,*a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QColor *>(a0), sipType_QColor, a0State);
            sipReleaseType(const_cast< ::QString *>(a2), sipType_QString, a2State);
            sipReleaseType(a3, sipType_QFlags_0100QColorDialog_ColorDialogOption, a3State);

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

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_getColor, doc_QColorDialog_getColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_customCount, "customCount() -> int");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, "C", &sipSelf))
        {
            int sipRes;

            sipRes =  ::QColorDialog::customCount();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_customCount, doc_QColorDialog_customCount);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_customColor, "customColor(int) -> QColor");

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

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "Ci", &sipSelf, &a0))
        {
             ::QColor*sipRes;

            sipRes = new  ::QColor( ::QColorDialog::customColor(a0));

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

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_customColor, doc_QColorDialog_customColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_setCustomColor, "setCustomColor(int, Union[QColor, Qt.GlobalColor, int, QGradient])");

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

    {
        int a0;
         ::QColor* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "CiJ1", &sipSelf, &a0, sipType_QColor, &a1, &a1State))
        {
             ::QColorDialog::setCustomColor(a0,*a1);
            sipReleaseType(a1, sipType_QColor, a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_setCustomColor, doc_QColorDialog_setCustomColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_standardColor, "standardColor(int) -> QColor");

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

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "Ci", &sipSelf, &a0))
        {
             ::QColor*sipRes;

            sipRes = new  ::QColor( ::QColorDialog::standardColor(a0));

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

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_standardColor, doc_QColorDialog_standardColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_setStandardColor, "setStandardColor(int, Union[QColor, Qt.GlobalColor, int, QGradient])");

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

    {
        int a0;
         ::QColor* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "CiJ1", &sipSelf, &a0, sipType_QColor, &a1, &a1State))
        {
             ::QColorDialog::setStandardColor(a0,*a1);
            sipReleaseType(a1, sipType_QColor, a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_setStandardColor, doc_QColorDialog_setStandardColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_open, "open(self)\n"
"open(self, PYQT_SLOT)");

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

    {
         ::QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QColorDialog, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QColorDialog::open() : sipCpp->open());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        PyObject * a0;
         ::QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BP0", &sipSelf, sipType_QColorDialog, &sipCpp, &a0))
        {
            sipErrorState sipError = sipErrorNone;

#line 69 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtWidgets/qcolordialog.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt6_qtwidgets_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone)
        {
            sipCpp->open(receiver, slot_signature.constData());
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 1483 "/build/pyqt6/src/PyQt6-6.3.1/build/QtWidgets/sipQtWidgetsQColorDialog.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_open, doc_QColorDialog_open);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_changeEvent, "changeEvent(self, QEvent)");

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

    {
         ::QEvent* a0;
         ::QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QEvent, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QColorDialog::changeEvent(a0) : sipCpp->changeEvent(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_changeEvent, doc_QColorDialog_changeEvent);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_done, "done(self, int)");

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

    {
        int a0;
         ::QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pi", &sipSelf, sipType_QColorDialog, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QColorDialog::done(a0) : sipCpp->done(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_done, doc_QColorDialog_done);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_setCurrentColor, "setCurrentColor(self, Union[QColor, Qt.GlobalColor, int, QGradient])");

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

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setCurrentColor(*a0);
            sipReleaseType(const_cast< ::QColor *>(a0), sipType_QColor, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_setCurrentColor, doc_QColorDialog_setCurrentColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_currentColor, "currentColor(self) -> QColor");

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

    {
        const  ::QColorDialog *sipCpp;

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

            sipRes = new  ::QColor(sipCpp->currentColor());

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

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_currentColor, doc_QColorDialog_currentColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_selectedColor, "selectedColor(self) -> QColor");

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

    {
        const  ::QColorDialog *sipCpp;

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

            sipRes = new  ::QColor(sipCpp->selectedColor());

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

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_selectedColor, doc_QColorDialog_selectedColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_setOption, "setOption(self, QColorDialog.ColorDialogOption, on: bool = True)");

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

    {
         ::QColorDialog::ColorDialogOption a0;
        bool a1 = 1;
         ::QColorDialog *sipCpp;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_on,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE|b", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QColorDialog_ColorDialogOption, &a0, &a1))
        {
            sipCpp->setOption(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_setOption, doc_QColorDialog_setOption);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_testOption, "testOption(self, QColorDialog.ColorDialogOption) -> bool");

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

    {
         ::QColorDialog::ColorDialogOption a0;
        const  ::QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QColorDialog_ColorDialogOption, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->testOption(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_testOption, doc_QColorDialog_testOption);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_setOptions, "setOptions(self, QColorDialog.ColorDialogOption)");

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

    {
         ::QColorDialog::ColorDialogOptions* a0;
        int a0State = 0;
         ::QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QFlags_0100QColorDialog_ColorDialogOption, &a0, &a0State))
        {
            sipCpp->setOptions(*a0);
            sipReleaseType(a0, sipType_QFlags_0100QColorDialog_ColorDialogOption, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_setOptions, doc_QColorDialog_setOptions);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_options, "options(self) -> QColorDialog.ColorDialogOption");

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

    {
        const  ::QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QColorDialog, &sipCpp))
        {
             ::QColorDialog::ColorDialogOptions*sipRes;

            sipRes = new  ::QColorDialog::ColorDialogOptions(sipCpp->options());

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

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_options, doc_QColorDialog_options);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QColorDialog_setVisible, "setVisible(self, bool)");

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

    {
        bool a0;
         ::QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QColorDialog, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QColorDialog::setVisible(a0) : sipCpp->setVisible(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_setVisible, doc_QColorDialog_setVisible);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QColorDialog)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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


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


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

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


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

    {
         ::QWidget* a0 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQColorDialog(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QColor* a0;
        int a0State = 0;
         ::QWidget* a1 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QColor, &a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQColorDialog(*a0,a1);
            sipReleaseType(const_cast< ::QColor *>(a0), sipType_QColor, a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QColorDialog[] = {{50, 255, 1}};


static PyMethodDef methods_QColorDialog[] = {
    {sipName_changeEvent, meth_QColorDialog_changeEvent, METH_VARARGS, doc_QColorDialog_changeEvent},
    {sipName_currentColor, meth_QColorDialog_currentColor, METH_VARARGS, doc_QColorDialog_currentColor},
    {sipName_customColor, meth_QColorDialog_customColor, METH_VARARGS, doc_QColorDialog_customColor},
    {sipName_customCount, meth_QColorDialog_customCount, METH_VARARGS, doc_QColorDialog_customCount},
    {sipName_done, meth_QColorDialog_done, METH_VARARGS, doc_QColorDialog_done},
    {sipName_getColor, SIP_MLMETH_CAST(meth_QColorDialog_getColor), METH_VARARGS|METH_KEYWORDS, doc_QColorDialog_getColor},
    {sipName_open, meth_QColorDialog_open, METH_VARARGS, doc_QColorDialog_open},
    {sipName_options, meth_QColorDialog_options, METH_VARARGS, doc_QColorDialog_options},
    {sipName_selectedColor, meth_QColorDialog_selectedColor, METH_VARARGS, doc_QColorDialog_selectedColor},
    {sipName_setCurrentColor, meth_QColorDialog_setCurrentColor, METH_VARARGS, doc_QColorDialog_setCurrentColor},
    {sipName_setCustomColor, meth_QColorDialog_setCustomColor, METH_VARARGS, doc_QColorDialog_setCustomColor},
    {sipName_setOption, SIP_MLMETH_CAST(meth_QColorDialog_setOption), METH_VARARGS|METH_KEYWORDS, doc_QColorDialog_setOption},
    {sipName_setOptions, meth_QColorDialog_setOptions, METH_VARARGS, doc_QColorDialog_setOptions},
    {sipName_setStandardColor, meth_QColorDialog_setStandardColor, METH_VARARGS, doc_QColorDialog_setStandardColor},
    {sipName_setVisible, meth_QColorDialog_setVisible, METH_VARARGS, doc_QColorDialog_setVisible},
    {sipName_standardColor, meth_QColorDialog_standardColor, METH_VARARGS, doc_QColorDialog_standardColor},
    {sipName_testOption, meth_QColorDialog_testOption, METH_VARARGS, doc_QColorDialog_testOption}
};


/* Define the enum members and ints to be added to this type. */
static sipIntInstanceDef intInstances_QColorDialog[] = {
    {sipName_ShowAlphaChannel, static_cast<int>( ::QColorDialog::ShowAlphaChannel)},
    {sipName_NoButtons, static_cast<int>( ::QColorDialog::NoButtons)},
    {sipName_DontUseNativeDialog, static_cast<int>( ::QColorDialog::DontUseNativeDialog)},
    {0, 0}
};

PyDoc_STRVAR(doc_QColorDialog, "\1QColorDialog(parent: QWidget = None)\n"
"QColorDialog(Union[QColor, Qt.GlobalColor, int, QGradient], parent: QWidget = None)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QColorDialog[] = {
    {"currentColorChanged(QColor)", "\1currentColorChanged(self, Union[QColor, Qt.GlobalColor, int, QGradient])", SIP_NULLPTR, SIP_NULLPTR},
    {"colorSelected(QColor)", "\1colorSelected(self, Union[QColor, Qt.GlobalColor, int, QGradient])", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QColorDialog = {
    & ::QColorDialog::staticMetaObject,
    signals_QColorDialog,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtWidgets_QColorDialog = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QColorDialog,
        SIP_NULLPTR,
        &plugin_QColorDialog
    },
    {
        sipNameNr_QColorDialog,
        {0, 0, 1},
        17, methods_QColorDialog,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QColorDialog, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QColorDialog,
    -1,
    -1,
    supers_QColorDialog,
    SIP_NULLPTR,
    init_type_QColorDialog,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QColorDialog,
    SIP_NULLPTR,
    array_QColorDialog,
    SIP_NULLPTR,
    release_QColorDialog,
    cast_QColorDialog,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QColorDialog,
    sizeof ( ::QColorDialog),
};
