/*
 * 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/qboxplotseries.sip"
#include <qboxplotseries.h>
#line 29 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"

#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 33 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qboxset.sip"
#include <qboxset.h>
#line 36 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 39 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.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/sipQtChartsQBoxPlotSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtGui/qbrush.sip"
#include <qbrush.h>
#line 45 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qabstractseries.sip"
#include <qabstractseries.h>
#line 48 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 51 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qabstractaxis.sip"
#include <qabstractaxis.h>
#line 54 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 26 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/sip/QtCharts/qchart.sip"
#include <qchart.h>
#line 57 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 24 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 60 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.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 65 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 68 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 71 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 241 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 74 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 228 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 77 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 80 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 83 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 30 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 86 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 89 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.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 94 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 97 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 25 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 100 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 103 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 106 "/build/pyqt6-charts/src/PyQt6_Charts-6.3.0/build/QtCharts/sipQtChartsQBoxPlotSeries.cpp"


class sipQBoxPlotSeries : public  ::QBoxPlotSeries
{
public:
    sipQBoxPlotSeries( ::QObject*);
    virtual ~sipQBoxPlotSeries();

    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 disconnectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void connectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void customEvent( ::QEvent*) SIP_OVERRIDE;
    void childEvent( ::QChildEvent*) SIP_OVERRIDE;
    void timerEvent( ::QTimerEvent*) SIP_OVERRIDE;
    bool eventFilter( ::QObject*, ::QEvent*) SIP_OVERRIDE;
    bool event( ::QEvent*) SIP_OVERRIDE;
     ::QAbstractSeries::SeriesType type() const SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[8];
};

sipQBoxPlotSeries::sipQBoxPlotSeries( ::QObject*a0):  ::QBoxPlotSeries(a0), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

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

    return  ::QBoxPlotSeries::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtCharts_qt_metacast(sipPySelf, sipType_QBoxPlotSeries, _clname, &sipCpp) ? sipCpp :  ::QBoxPlotSeries::qt_metacast(_clname));
}

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

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

    if (!sipMeth)
    {
         ::QBoxPlotSeries::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);
}

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

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

    if (!sipMeth)
    {
         ::QBoxPlotSeries::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 sipQBoxPlotSeries::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QBoxPlotSeries::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 sipQBoxPlotSeries::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QBoxPlotSeries::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 sipQBoxPlotSeries::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QBoxPlotSeries::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);
}

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

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

    if (!sipMeth)
        return  ::QBoxPlotSeries::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);
}

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

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

    if (!sipMeth)
        return  ::QBoxPlotSeries::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);
}

 ::QAbstractSeries::SeriesType sipQBoxPlotSeries::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QBoxPlotSeries::type();

    extern  ::QAbstractSeries::SeriesType sipVH_QtCharts_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

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


PyDoc_STRVAR(doc_QBoxPlotSeries_append, "append(self, QBoxSet) -> bool\n"
"append(self, Iterable[QBoxSet]) -> bool");

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

    {
         ::QBoxSet* a0;
         ::QBoxPlotSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QBoxPlotSeries, &sipCpp, sipType_QBoxSet, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->append(a0);

            return PyBool_FromLong(sipRes);
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ3", &sipSelf, sipType_QBoxPlotSeries, &sipCpp, sipType_QList_0101QBoxSet, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->append(*a0);
            sipReleaseType(const_cast<QList< ::QBoxSet*> *>(a0), sipType_QList_0101QBoxSet, a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxPlotSeries, sipName_append, doc_QBoxPlotSeries_append);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxPlotSeries_remove, "remove(self, QBoxSet) -> bool");

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

    {
         ::QBoxSet* a0;
         ::QBoxPlotSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QBoxPlotSeries, &sipCpp, sipType_QBoxSet, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->remove(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxPlotSeries, sipName_remove, doc_QBoxPlotSeries_remove);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxPlotSeries_take, "take(self, QBoxSet) -> bool");

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

    {
         ::QBoxSet* a0;
         ::QBoxPlotSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QBoxPlotSeries, &sipCpp, sipType_QBoxSet, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->take(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxPlotSeries, sipName_take, doc_QBoxPlotSeries_take);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxPlotSeries_insert, "insert(self, int, QBoxSet) -> bool");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QBoxPlotSeries, &sipCpp, &a0, sipType_QBoxSet, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->insert(a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxPlotSeries, sipName_insert, doc_QBoxPlotSeries_insert);

    return SIP_NULLPTR;
}


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

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

    {
        const  ::QBoxPlotSeries *sipCpp;

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

            sipRes = sipCpp->count();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxPlotSeries, sipName_count, doc_QBoxPlotSeries_count);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxPlotSeries_boxSets, "boxSets(self) -> List[QBoxSet]");

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

    {
        const  ::QBoxPlotSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBoxPlotSeries, &sipCpp))
        {
            QList< ::QBoxSet*>*sipRes;

            sipRes = new QList< ::QBoxSet*>(sipCpp->boxSets());

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

    sipNoMethod(sipParseErr, sipName_QBoxPlotSeries, sipName_boxSets, doc_QBoxPlotSeries_boxSets);

    return SIP_NULLPTR;
}


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

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

    {
         ::QBoxPlotSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxPlotSeries, sipName_clear, doc_QBoxPlotSeries_clear);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxPlotSeries_type, "type(self) -> QAbstractSeries.SeriesType");

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

    {
        const  ::QBoxPlotSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBoxPlotSeries, &sipCpp))
        {
             ::QAbstractSeries::SeriesType sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QBoxPlotSeries::type() : sipCpp->type());

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

    sipNoMethod(sipParseErr, sipName_QBoxPlotSeries, sipName_type, doc_QBoxPlotSeries_type);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxPlotSeries_setBoxOutlineVisible, "setBoxOutlineVisible(self, bool)");

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

    {
        bool a0;
         ::QBoxPlotSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QBoxPlotSeries, &sipCpp, &a0))
        {
            sipCpp->setBoxOutlineVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxPlotSeries, sipName_setBoxOutlineVisible, doc_QBoxPlotSeries_setBoxOutlineVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxPlotSeries_boxOutlineVisible, "boxOutlineVisible(self) -> bool");

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

    {
         ::QBoxPlotSeries *sipCpp;

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

            sipRes = sipCpp->boxOutlineVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxPlotSeries, sipName_boxOutlineVisible, doc_QBoxPlotSeries_boxOutlineVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxPlotSeries_setBoxWidth, "setBoxWidth(self, float)");

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

    {
         ::qreal a0;
         ::QBoxPlotSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxPlotSeries, sipName_setBoxWidth, doc_QBoxPlotSeries_setBoxWidth);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBoxPlotSeries_boxWidth, "boxWidth(self) -> float");

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

    {
         ::QBoxPlotSeries *sipCpp;

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

            sipRes = sipCpp->boxWidth();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBoxPlotSeries, sipName_boxWidth, doc_QBoxPlotSeries_boxWidth);

    return SIP_NULLPTR;
}


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

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QBoxPlotSeries, &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_QBoxPlotSeries, sipName_setBrush, doc_QBoxPlotSeries_setBrush);

    return SIP_NULLPTR;
}


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

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

    {
        const  ::QBoxPlotSeries *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QBoxPlotSeries, sipName_brush, doc_QBoxPlotSeries_brush);

    return SIP_NULLPTR;
}


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

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QBoxPlotSeries, &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_QBoxPlotSeries, sipName_setPen, doc_QBoxPlotSeries_setPen);

    return SIP_NULLPTR;
}


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

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

    {
        const  ::QBoxPlotSeries *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QBoxPlotSeries, sipName_pen, doc_QBoxPlotSeries_pen);

    return SIP_NULLPTR;
}


extern "C" {static Py_ssize_t slot_QBoxPlotSeries___len__(PyObject *);}
static Py_ssize_t slot_QBoxPlotSeries___len__(PyObject *sipSelf)
{
     ::QBoxPlotSeries *sipCpp = reinterpret_cast< ::QBoxPlotSeries *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QBoxPlotSeries));

    if (!sipCpp)
        return 0;


    {
        {
            Py_ssize_t sipRes = 0;

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

            return sipRes;
        }
    }

    return 0;
}


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

    if (targetType == sipType_QBoxPlotSeries)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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


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

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


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

    {
         ::QObject* a0 = 0;

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


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


/* Define this type's Python slots. */
static sipPySlotDef slots_QBoxPlotSeries[] = {
    {(void *)slot_QBoxPlotSeries___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QBoxPlotSeries[] = {
    {sipName_append, meth_QBoxPlotSeries_append, METH_VARARGS, doc_QBoxPlotSeries_append},
    {sipName_boxOutlineVisible, meth_QBoxPlotSeries_boxOutlineVisible, METH_VARARGS, doc_QBoxPlotSeries_boxOutlineVisible},
    {sipName_boxSets, meth_QBoxPlotSeries_boxSets, METH_VARARGS, doc_QBoxPlotSeries_boxSets},
    {sipName_boxWidth, meth_QBoxPlotSeries_boxWidth, METH_VARARGS, doc_QBoxPlotSeries_boxWidth},
    {sipName_brush, meth_QBoxPlotSeries_brush, METH_VARARGS, doc_QBoxPlotSeries_brush},
    {sipName_clear, meth_QBoxPlotSeries_clear, METH_VARARGS, doc_QBoxPlotSeries_clear},
    {sipName_count, meth_QBoxPlotSeries_count, METH_VARARGS, doc_QBoxPlotSeries_count},
    {sipName_insert, meth_QBoxPlotSeries_insert, METH_VARARGS, doc_QBoxPlotSeries_insert},
    {sipName_pen, meth_QBoxPlotSeries_pen, METH_VARARGS, doc_QBoxPlotSeries_pen},
    {sipName_remove, meth_QBoxPlotSeries_remove, METH_VARARGS, doc_QBoxPlotSeries_remove},
    {sipName_setBoxOutlineVisible, meth_QBoxPlotSeries_setBoxOutlineVisible, METH_VARARGS, doc_QBoxPlotSeries_setBoxOutlineVisible},
    {sipName_setBoxWidth, meth_QBoxPlotSeries_setBoxWidth, METH_VARARGS, doc_QBoxPlotSeries_setBoxWidth},
    {sipName_setBrush, meth_QBoxPlotSeries_setBrush, METH_VARARGS, doc_QBoxPlotSeries_setBrush},
    {sipName_setPen, meth_QBoxPlotSeries_setPen, METH_VARARGS, doc_QBoxPlotSeries_setPen},
    {sipName_take, meth_QBoxPlotSeries_take, METH_VARARGS, doc_QBoxPlotSeries_take},
    {sipName_type, meth_QBoxPlotSeries_type, METH_VARARGS, doc_QBoxPlotSeries_type}
};

PyDoc_STRVAR(doc_QBoxPlotSeries, "\1QBoxPlotSeries(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QBoxPlotSeries[] = {
    {"doubleClicked(QBoxSet*)", "\1doubleClicked(self, QBoxSet)", SIP_NULLPTR, SIP_NULLPTR},
    {"released(QBoxSet*)", "\1released(self, QBoxSet)", SIP_NULLPTR, SIP_NULLPTR},
    {"pressed(QBoxSet*)", "\1pressed(self, QBoxSet)", SIP_NULLPTR, SIP_NULLPTR},
    {"boxsetsRemoved(QList<QBoxSet*>)", "\1boxsetsRemoved(self, Iterable[QBoxSet])", SIP_NULLPTR, SIP_NULLPTR},
    {"boxsetsAdded(QList<QBoxSet*>)", "\1boxsetsAdded(self, Iterable[QBoxSet])", SIP_NULLPTR, SIP_NULLPTR},
    {"boxWidthChanged()", "\1boxWidthChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"boxOutlineVisibilityChanged()", "\1boxOutlineVisibilityChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"brushChanged()", "\1brushChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"penChanged()", "\1penChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"countChanged()", "\1countChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"hovered(bool,QBoxSet*)", "\1hovered(self, bool, QBoxSet)", SIP_NULLPTR, SIP_NULLPTR},
    {"clicked(QBoxSet*)", "\1clicked(self, QBoxSet)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QBoxPlotSeries = {
    & ::QBoxPlotSeries::staticMetaObject,
    signals_QBoxPlotSeries,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtCharts_QBoxPlotSeries = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QBoxPlotSeries,
        SIP_NULLPTR,
        &plugin_QBoxPlotSeries
    },
    {
        sipNameNr_QBoxPlotSeries,
        {0, 0, 1},
        16, methods_QBoxPlotSeries,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QBoxPlotSeries,
    -1,
    -1,
    supers_QBoxPlotSeries,
    slots_QBoxPlotSeries,
    init_type_QBoxPlotSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QBoxPlotSeries,
    SIP_NULLPTR,
    array_QBoxPlotSeries,
    SIP_NULLPTR,
    release_QBoxPlotSeries,
    cast_QBoxPlotSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR
};
