/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.6.1
 *
 * Copyright (c) 2022 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt6-Charts.
 * 
 * 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 "sipAPIQtCharts.h"

#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qboxset.sip"
#include <qboxset.h>
#line 29 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"

#line 24 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 33 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 36 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtGui/qbrush.sip"
#include <qbrush.h>
#line 39 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtGui/qpen.sip"
#include <qpen.h>
#line 42 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 1193 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 45 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 151 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 50 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 53 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 241 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 59 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 228 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 65 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 68 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 30 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 71 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 74 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 150 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 79 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 82 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 25 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 85 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 88 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 91 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"


class sipQBoxSet : public  ::QBoxSet
{
public:
    sipQBoxSet(const  ::QString, ::QObject*);
    sipQBoxSet(const  ::qreal,const  ::qreal,const  ::qreal,const  ::qreal,const  ::qreal,const  ::QString, ::QObject*);
    virtual ~sipQBoxSet();

    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:
    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;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipQBoxSet::sipQBoxSet(const  ::QString a0, ::QObject*a1):  ::QBoxSet(a0,a1), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQBoxSet::sipQBoxSet(const  ::qreal a0,const  ::qreal a1,const  ::qreal a2,const  ::qreal a3,const  ::qreal a4,const  ::QString a5, ::QObject*a6):  ::QBoxSet(a0,a1,a2,a3,a4,a5,a6), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQBoxSet::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCharts_qt_metaobject(sipPySelf,sipType_QBoxSet);

    return  ::QBoxSet::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtCharts_qt_metacast(sipPySelf, sipType_QBoxSet, _clname, &sipCpp) ? sipCpp :  ::QBoxSet::qt_metacast(_clname));
}

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

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

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

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

    return sipVH_QtCharts_5(sipGILState, sipImportedVirtErrorHandlers_QtCharts_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtCharts_3(sipGILState, sipImportedVirtErrorHandlers_QtCharts_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtCharts_2(sipGILState, sipImportedVirtErrorHandlers_QtCharts_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtCharts_1(sipGILState, sipImportedVirtErrorHandlers_QtCharts_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtCharts_0(sipGILState, sipImportedVirtErrorHandlers_QtCharts_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtCharts_0(sipGILState, sipImportedVirtErrorHandlers_QtCharts_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QBoxSet_append, "append(self, float)\n"
"append(self, Iterable[float])");

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

    {
         ::qreal a0;
         ::QBoxSet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QBoxSet, &sipCpp, &a0))
        {
            sipCpp->append(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QList< ::qreal>* a0;
        int a0State = 0;
         ::QBoxSet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QBoxSet, &sipCpp, sipType_QList_2400, &a0, &a0State))
        {
            sipCpp->append(*a0);
            sipReleaseType(const_cast< ::QList< ::qreal> *>(a0), sipType_QList_2400, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxSet, sipName_append, doc_QBoxSet_append);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxSet_clear, "clear(self)");

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

    {
         ::QBoxSet *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxSet, sipName_clear, doc_QBoxSet_clear);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxSet_setLabel, "setLabel(self, str)");

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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QBoxSet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QBoxSet, &sipCpp, sipType_QString, &a0, &a0State))
        {
            sipCpp->setLabel(*a0);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxSet, sipName_setLabel, doc_QBoxSet_setLabel);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxSet_label, "label(self) -> str");

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

    {
        const  ::QBoxSet *sipCpp;

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

            sipRes = new  ::QString(sipCpp->label());

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

    sipNoMethod(sipParseErr, sipName_QBoxSet, sipName_label, doc_QBoxSet_label);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxSet_setValue, "setValue(self, int, float)");

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

    {
        int a0;
         ::qreal a1;
         ::QBoxSet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bid", &sipSelf, sipType_QBoxSet, &sipCpp, &a0, &a1))
        {
            sipCpp->setValue(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxSet, sipName_setValue, doc_QBoxSet_setValue);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxSet_at, "at(self, int) -> float");

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

    {
        int a0;
        const  ::QBoxSet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBoxSet, &sipCpp, &a0))
        {
             ::qreal sipRes;

            sipRes = sipCpp->at(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxSet, sipName_at, doc_QBoxSet_at);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxSet_count, "count(self) -> int");

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

    {
        const  ::QBoxSet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBoxSet, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxSet, sipName_count, doc_QBoxSet_count);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxSet_setPen, "setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])");

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

    {
        const  ::QPen* a0;
        int a0State = 0;
         ::QBoxSet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QBoxSet, &sipCpp, sipType_QPen, &a0, &a0State))
        {
            sipCpp->setPen(*a0);
            sipReleaseType(const_cast< ::QPen *>(a0), sipType_QPen, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxSet, sipName_setPen, doc_QBoxSet_setPen);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxSet_pen, "pen(self) -> QPen");

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

    {
        const  ::QBoxSet *sipCpp;

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

            sipRes = new  ::QPen(sipCpp->pen());

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

    sipNoMethod(sipParseErr, sipName_QBoxSet, sipName_pen, doc_QBoxSet_pen);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxSet_setBrush, "setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])");

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

    {
        const  ::QBrush* a0;
        int a0State = 0;
         ::QBoxSet *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QBoxSet, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setBrush(*a0);
            sipReleaseType(const_cast< ::QBrush *>(a0), sipType_QBrush, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxSet, sipName_setBrush, doc_QBoxSet_setBrush);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxSet_brush, "brush(self) -> QBrush");

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

    {
        const  ::QBoxSet *sipCpp;

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

            sipRes = new  ::QBrush(sipCpp->brush());

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

    sipNoMethod(sipParseErr, sipName_QBoxSet, sipName_brush, doc_QBoxSet_brush);

    return SIP_NULLPTR;
}


extern "C" {static Py_ssize_t slot_QBoxSet___len__(PyObject *);}
static Py_ssize_t slot_QBoxSet___len__(PyObject *sipSelf)
{
     ::QBoxSet *sipCpp = reinterpret_cast< ::QBoxSet *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QBoxSet));

    if (!sipCpp)
        return 0;


    {
        {
            Py_ssize_t sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (Py_ssize_t)sipCpp->count();
#line 629 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxSet.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QBoxSet___getitem__(PyObject *,PyObject *);}
static PyObject *slot_QBoxSet___getitem__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QBoxSet *sipCpp = reinterpret_cast< ::QBoxSet *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QBoxSet));

    if (!sipCpp)
        return SIP_NULLPTR;

    PyObject *sipParseErr = SIP_NULLPTR;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
             ::qreal sipRes;

            sipRes = (*sipCpp)[a0];

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxSet, sipName___getitem__, SIP_NULLPTR);

    return SIP_NULLPTR;
}


extern "C" {static PyObject *slot_QBoxSet___lshift__(PyObject *,PyObject *);}
static PyObject *slot_QBoxSet___lshift__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QBoxSet* a0;
         ::qreal a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_QBoxSet, &a0, &a1))
        {
             ::QBoxSet*sipRes;

            sipRes = &(*a0 << a1);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return SIP_NULLPTR;

    return sipPySlotExtend(&sipModuleAPI_QtCharts, lshift_slot, SIP_NULLPTR, sipArg0, sipArg1);
}


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

    if (targetType == sipType_QBoxSet)
        return sipCppV;

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return SIP_NULLPTR;
}


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

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


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


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

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


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

    {
        const  ::QString a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
         ::QObject* a1 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J1JH", sipType_QString, &a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQBoxSet(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
         ::qreal a0;
         ::qreal a1;
         ::qreal a2;
         ::qreal a3;
         ::qreal a4;
        const  ::QString a5def = QString();
        const  ::QString* a5 = &a5def;
        int a5State = 0;
         ::QObject* a6 = 0;

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

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "ddddd|J1JH", &a0, &a1, &a2, &a3, &a4, sipType_QString, &a5, &a5State, sipType_QObject, &a6, sipOwner))
        {
            sipCpp = new sipQBoxSet(a0,a1,a2,a3,a4,*a5,a6);
            sipReleaseType(const_cast< ::QString *>(a5), sipType_QString, a5State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


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


/* Define this type's Python slots. */
static sipPySlotDef slots_QBoxSet[] = {
    {(void *)slot_QBoxSet___len__, len_slot},
    {(void *)slot_QBoxSet___getitem__, getitem_slot},
    {(void *)slot_QBoxSet___lshift__, lshift_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QBoxSet[] = {
    {sipName_append, meth_QBoxSet_append, METH_VARARGS, doc_QBoxSet_append},
    {sipName_at, meth_QBoxSet_at, METH_VARARGS, doc_QBoxSet_at},
    {sipName_brush, meth_QBoxSet_brush, METH_VARARGS, doc_QBoxSet_brush},
    {sipName_clear, meth_QBoxSet_clear, METH_VARARGS, doc_QBoxSet_clear},
    {sipName_count, meth_QBoxSet_count, METH_VARARGS, doc_QBoxSet_count},
    {sipName_label, meth_QBoxSet_label, METH_VARARGS, doc_QBoxSet_label},
    {sipName_pen, meth_QBoxSet_pen, METH_VARARGS, doc_QBoxSet_pen},
    {sipName_setBrush, meth_QBoxSet_setBrush, METH_VARARGS, doc_QBoxSet_setBrush},
    {sipName_setLabel, meth_QBoxSet_setLabel, METH_VARARGS, doc_QBoxSet_setLabel},
    {sipName_setPen, meth_QBoxSet_setPen, METH_VARARGS, doc_QBoxSet_setPen},
    {sipName_setValue, meth_QBoxSet_setValue, METH_VARARGS, doc_QBoxSet_setValue}
};


/* Define the enum members and ints to be added to this type. */
static sipIntInstanceDef intInstances_QBoxSet[] = {
    {sipName_LowerExtreme, static_cast<int>( ::QBoxSet::LowerExtreme)},
    {sipName_LowerQuartile, static_cast<int>( ::QBoxSet::LowerQuartile)},
    {sipName_Median, static_cast<int>( ::QBoxSet::Median)},
    {sipName_UpperQuartile, static_cast<int>( ::QBoxSet::UpperQuartile)},
    {sipName_UpperExtreme, static_cast<int>( ::QBoxSet::UpperExtreme)},
    {0, 0}
};

PyDoc_STRVAR(doc_QBoxSet, "\1QBoxSet(label: str = '', parent: QObject = None)\n"
"QBoxSet(float, float, float, float, float, label: str = '', parent: QObject = None)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QBoxSet[] = {
    {"doubleClicked()", "\1doubleClicked(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"released()", "\1released(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"pressed()", "\1pressed(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"cleared()", "\1cleared(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"valueChanged(int)", "\1valueChanged(self, int)", SIP_NULLPTR, SIP_NULLPTR},
    {"valuesChanged()", "\1valuesChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"brushChanged()", "\1brushChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"penChanged()", "\1penChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"hovered(bool)", "\1hovered(self, bool)", SIP_NULLPTR, SIP_NULLPTR},
    {"clicked()", "\1clicked(self)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QBoxSet = {
    & ::QBoxSet::staticMetaObject,
    signals_QBoxSet,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtCharts_QBoxSet = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QBoxSet,
        SIP_NULLPTR,
        &plugin_QBoxSet
    },
    {
        sipNameNr_QBoxSet,
        {0, 0, 1},
        11, methods_QBoxSet,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QBoxSet, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QBoxSet,
    -1,
    -1,
    supers_QBoxSet,
    slots_QBoxSet,
    init_type_QBoxSet,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QBoxSet,
    SIP_NULLPTR,
    array_QBoxSet,
    SIP_NULLPTR,
    release_QBoxSet,
    cast_QBoxSet,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR
};
