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

#line 26 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/sip/QtGraphs/qbarseries.sip"
#include <qbarseries.h>
#line 29 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"

#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 33 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 26 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/sip/QtGraphs/qbarset.sip"
#include <qbarset.h>
#line 36 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 135 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 39 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 24 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 42 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtQml/qqmlcomponent.sip"
#include <qqmlcomponent.h>
#line 45 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 48 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtGui/qcolor.sip"
#include <qcolor.h>
#line 51 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 37 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/sip/QtGraphs/qabstractseries.sip"
#include <qabstractseries.h>
#line 54 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 26 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/sip/QtGraphs/qabstractaxis.sip"
#include <qabstractaxis.h>
#line 57 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 110 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpoint.sip"
#include <qpoint.h>
#line 60 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 63 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 26 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/sip/QtGraphs/qabstractseries.sip"
#include <qabstractseries.h>
#line 66 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 154 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 71 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 74 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 77 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 277 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 80 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 254 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 83 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 86 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 89 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 30 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 92 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 135 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 95 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 154 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 100 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 103 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qanystringview.sip"
#include <qanystringview.h>
#line 106 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 25 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 109 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 112 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 115 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"


class sipQBarSeries : public ::QBarSeries
{
public:
    sipQBarSeries(::QObject*);
    virtual ~sipQBarSeries();

    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;
    void componentComplete() SIP_OVERRIDE;
    void classBegin() SIP_OVERRIDE;
    ::QAbstractSeries::SeriesType type() const SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[10];
};

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

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

const QMetaObject *sipQBarSeries::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtGraphs_qt_metaobject(sipPySelf, sipType_QBarSeries);

    return ::QBarSeries::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtGraphs_qt_metacast(sipPySelf, sipType_QBarSeries, _clname, &sipCpp) ? sipCpp : ::QBarSeries::qt_metacast(_clname));
}

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

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

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

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

    sipVH_QtGraphs_0(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtGraphs_0(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtGraphs_1(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtGraphs_2(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtGraphs_3(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    return sipVH_QtGraphs_5(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQBarSeries::componentComplete()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::QBarSeries::componentComplete();
        return;
    }

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

    sipVH_QtGraphs_7(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQBarSeries::classBegin()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        ::QBarSeries::classBegin();
        return;
    }

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

    sipVH_QtGraphs_7(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtGraphs_8(sipGILState, sipImportedVirtErrorHandlers_QtGraphs_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}


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

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

    {
        const ::QBarSeries *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_type, doc_QBarSeries_type);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_seriesColors, "seriesColors(self) -> list[QColor]");

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

    {
        const ::QBarSeries *sipCpp;

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

            sipRes = new QList< ::QColor>(sipCpp->seriesColors());

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

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_seriesColors, doc_QBarSeries_seriesColors);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_setSeriesColors, "setSeriesColors(self, newSeriesColors: Iterable[QColor|Qt.GlobalColor|int])");

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

    {
        const QList< ::QColor>* a0;
        int a0State = 0;
        ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QBarSeries, &sipCpp, sipType_QList_0100QColor, &a0, &a0State))
        {
            sipCpp->setSeriesColors(*a0);
            sipReleaseType(const_cast<QList< ::QColor> *>(a0), sipType_QList_0100QColor, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_setSeriesColors, doc_QBarSeries_setSeriesColors);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_borderColors, "borderColors(self) -> list[QColor]");

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

    {
        const ::QBarSeries *sipCpp;

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

            sipRes = new QList< ::QColor>(sipCpp->borderColors());

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

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_borderColors, doc_QBarSeries_borderColors);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_setBorderColors, "setBorderColors(self, newBorderColors: Iterable[QColor|Qt.GlobalColor|int])");

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

    {
        const QList< ::QColor>* a0;
        int a0State = 0;
        ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QBarSeries, &sipCpp, sipType_QList_0100QColor, &a0, &a0State))
        {
            sipCpp->setBorderColors(*a0);
            sipReleaseType(const_cast<QList< ::QColor> *>(a0), sipType_QList_0100QColor, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_setBorderColors, doc_QBarSeries_setBorderColors);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_setBarsType, "setBarsType(self, type: QBarSeries.BarsType)");

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

    {
        ::QBarSeries::BarsType a0;
        ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QBarSeries, &sipCpp, sipType_QBarSeries_BarsType, &a0))
        {
            sipCpp->setBarsType(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_setBarsType, doc_QBarSeries_setBarsType);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_barsType, "barsType(self) -> QBarSeries.BarsType");

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

    {
        const ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBarSeries, &sipCpp))
        {
            ::QBarSeries::BarsType sipRes;

            sipRes = sipCpp->barsType();

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

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_barsType, doc_QBarSeries_barsType);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_setBarWidth, "setBarWidth(self, width: float)");

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

    {
        ::qreal a0;
        ::QBarSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_setBarWidth, doc_QBarSeries_setBarWidth);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_barWidth, "barWidth(self) -> float");

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

    {
        const ::QBarSeries *sipCpp;

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

            sipRes = sipCpp->barWidth();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_barWidth, doc_QBarSeries_barWidth);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_append, "append(self, set: QBarSet|None) -> bool\n"
"append(self, sets: Iterable[QBarSet]) -> bool");

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

    {
        ::QBarSet* a0;
        ::QBarSeries *sipCpp;

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

            sipRes = sipCpp->append(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QList< ::QBarSet*>* a0;
        int a0State = 0;
        ::QBarSeries *sipCpp;

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

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

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_append, doc_QBarSeries_append);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_take, "take(self, set: QBarSet|None) -> bool");

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

    {
        ::QBarSet* a0;
        ::QBarSeries *sipCpp;

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

            sipRes = sipCpp->take(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_take, doc_QBarSeries_take);

    return SIP_NULLPTR;
}


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

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

    {
        const ::QBarSeries *sipCpp;

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

            sipRes = sipCpp->count();

            return PyLong_FromLongLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_count, doc_QBarSeries_count);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_remove, "remove(self, index: int) -> bool\n"
"remove(self, set: QBarSet|None) -> bool");

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

    {
        ::qsizetype a0;
        ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QBarSeries, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->remove(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        ::QBarSet* a0;
        ::QBarSeries *sipCpp;

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

            sipRes = sipCpp->remove(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_remove, doc_QBarSeries_remove);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_removeMultiple, "removeMultiple(self, index: int, count: int)");

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

    {
        ::qsizetype a0;
        ::qsizetype a1;
        ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bnn", &sipSelf, sipType_QBarSeries, &sipCpp, &a0, &a1))
        {
            sipCpp->removeMultiple(a0, a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_removeMultiple, doc_QBarSeries_removeMultiple);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_insert, "insert(self, index: int, set: QBarSet|None) -> bool");

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

    {
        ::qsizetype a0;
        ::QBarSet* a1;
        ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BnJ:", &sipSelf, sipType_QBarSeries, &sipCpp, &a0, sipType_QBarSet, &a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_insert, doc_QBarSeries_insert);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_replace, "replace(self, index: int, set: QBarSet|None)\n"
"replace(self, oldValue: QBarSet|None, newValue: QBarSet|None) -> bool\n"
"replace(self, sets: Iterable[QBarSet]) -> bool");

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

    {
        ::qsizetype a0;
        ::QBarSet* a1;
        ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BnJ:", &sipSelf, sipType_QBarSeries, &sipCpp, &a0, sipType_QBarSet, &a1))
        {
            sipCpp->replace(a0, a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        ::QBarSet* a0;
        ::QBarSet* a1;
        ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J:", &sipSelf, sipType_QBarSeries, &sipCpp, sipType_QBarSet, &a0, sipType_QBarSet, &a1))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QList< ::QBarSet*>* a0;
        int a0State = 0;
        ::QBarSeries *sipCpp;

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

            sipRes = sipCpp->replace(*a0);
            sipReleaseType(const_cast<QList< ::QBarSet*> *>(a0), sipType_QList_0101QBarSet, a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_replace, doc_QBarSeries_replace);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_at, "at(self, index: int) -> QBarSet|None");

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

    {
        ::qsizetype a0;
        ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QBarSeries, &sipCpp, &a0))
        {
            ::QBarSet*sipRes;

            sipRes = sipCpp->at(a0);

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

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_at, doc_QBarSeries_at);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_find, "find(self, set: QBarSet|None) -> int");

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

    {
        ::QBarSet* a0;
        const ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QBarSeries, &sipCpp, sipType_QBarSet, &a0))
        {
            ::qsizetype sipRes;

            sipRes = sipCpp->find(a0);

            return PyLong_FromLongLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_find, doc_QBarSeries_find);

    return SIP_NULLPTR;
}


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

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

    {
        ::QBarSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_clear, doc_QBarSeries_clear);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_barSets, "barSets(self) -> list[QBarSet]");

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

    {
        const ::QBarSeries *sipCpp;

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

            sipRes = new QList< ::QBarSet*>(sipCpp->barSets());

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

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_barSets, doc_QBarSeries_barSets);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_setLabelsVisible, "setLabelsVisible(self, visible: bool = True)");

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

    {
        bool a0 = 1;
        ::QBarSeries *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_QBarSeries, &sipCpp, &a0))
        {
            sipCpp->setLabelsVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_setLabelsVisible, doc_QBarSeries_setLabelsVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_labelsVisible, "labelsVisible(self) -> bool");

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

    {
        const ::QBarSeries *sipCpp;

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

            sipRes = sipCpp->labelsVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_labelsVisible, doc_QBarSeries_labelsVisible);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_setLabelsFormat, "setLabelsFormat(self, format: str|None)");

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

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

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_setLabelsFormat, doc_QBarSeries_setLabelsFormat);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_labelsFormat, "labelsFormat(self) -> str");

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

    {
        const ::QBarSeries *sipCpp;

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

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

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

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_labelsFormat, doc_QBarSeries_labelsFormat);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_setLabelsMargin, "setLabelsMargin(self, margin: float)");

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

    {
        ::qreal a0;
        ::QBarSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_setLabelsMargin, doc_QBarSeries_setLabelsMargin);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_labelsMargin, "labelsMargin(self) -> float");

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

    {
        const ::QBarSeries *sipCpp;

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

            sipRes = sipCpp->labelsMargin();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_labelsMargin, doc_QBarSeries_labelsMargin);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_setLabelsAngle, "setLabelsAngle(self, angle: float)");

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

    {
        ::qreal a0;
        ::QBarSeries *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_setLabelsAngle, doc_QBarSeries_setLabelsAngle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_labelsAngle, "labelsAngle(self) -> float");

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

    {
        const ::QBarSeries *sipCpp;

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

            sipRes = sipCpp->labelsAngle();

            return PyFloat_FromDouble(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_labelsAngle, doc_QBarSeries_labelsAngle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_setLabelsPosition, "setLabelsPosition(self, position: QBarSeries.LabelsPosition)");

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

    {
        ::QBarSeries::LabelsPosition a0;
        ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QBarSeries, &sipCpp, sipType_QBarSeries_LabelsPosition, &a0))
        {
            sipCpp->setLabelsPosition(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_setLabelsPosition, doc_QBarSeries_setLabelsPosition);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_labelsPosition, "labelsPosition(self) -> QBarSeries.LabelsPosition");

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

    {
        const ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBarSeries, &sipCpp))
        {
            ::QBarSeries::LabelsPosition sipRes;

            sipRes = sipCpp->labelsPosition();

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

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_labelsPosition, doc_QBarSeries_labelsPosition);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_setLabelsPrecision, "setLabelsPrecision(self, precision: int)");

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

    {
        int a0;
        ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBarSeries, &sipCpp, &a0))
        {
            sipCpp->setLabelsPrecision(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_setLabelsPrecision, doc_QBarSeries_setLabelsPrecision);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_labelsPrecision, "labelsPrecision(self) -> int");

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

    {
        const ::QBarSeries *sipCpp;

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

            sipRes = sipCpp->labelsPrecision();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_labelsPrecision, doc_QBarSeries_labelsPrecision);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_barDelegate, "barDelegate(self) -> QQmlComponent|None");

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

    {
        const ::QBarSeries *sipCpp;

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

            sipRes = sipCpp->barDelegate();

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

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_barDelegate, doc_QBarSeries_barDelegate);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_setBarDelegate, "setBarDelegate(self, newBarDelegate: QQmlComponent|None)");

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

    {
        ::QQmlComponent* a0;
        ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QBarSeries, &sipCpp, sipType_QQmlComponent, &a0))
        {
            sipCpp->setBarDelegate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_setBarDelegate, doc_QBarSeries_setBarDelegate);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBarSeries_componentComplete, "componentComplete(self)");

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

    {
        ::QBarSeries *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "p", &sipSelf, sipType_QBarSeries, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->::QBarSeries::componentComplete() : sipCpp->componentComplete());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBarSeries, sipName_componentComplete, doc_QBarSeries_componentComplete);

    return SIP_NULLPTR;
}


extern "C" {static Py_ssize_t slot_QBarSeries___len__(PyObject *);}
static Py_ssize_t slot_QBarSeries___len__(PyObject *sipSelf)
{
    ::QBarSeries *sipCpp = reinterpret_cast< ::QBarSeries *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf, sipType_QBarSeries));

    if (!sipCpp)
        return 0;


    {
        {
            Py_ssize_t sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (Py_ssize_t)sipCpp->count();
#line 1374 "/build/pyqt6-graphs/src/pyqt6_graphs-6.11.0/build/QtGraphs/sipQtGraphsQBarSeries.cpp"

            return sipRes;
        }
    }

    return 0;
}


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

    if (targetType == sipType_QBarSeries)
        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_QBarSeries(void *, int);}
static void release_QBarSeries(void *sipCppV, int)
{
    ::QBarSeries *sipCpp = reinterpret_cast< ::QBarSeries *>(sipCppV);

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


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


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


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

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


extern "C" {static void *init_type_QBarSeries(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QBarSeries(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQBarSeries *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 sipQBarSeries(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


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


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


static PyMethodDef methods_QBarSeries[] = {
    {sipName_append, meth_QBarSeries_append, METH_VARARGS, doc_QBarSeries_append},
    {sipName_at, meth_QBarSeries_at, METH_VARARGS, doc_QBarSeries_at},
    {sipName_barDelegate, meth_QBarSeries_barDelegate, METH_VARARGS, doc_QBarSeries_barDelegate},
    {sipName_barSets, meth_QBarSeries_barSets, METH_VARARGS, doc_QBarSeries_barSets},
    {sipName_barWidth, meth_QBarSeries_barWidth, METH_VARARGS, doc_QBarSeries_barWidth},
    {sipName_barsType, meth_QBarSeries_barsType, METH_VARARGS, doc_QBarSeries_barsType},
    {sipName_borderColors, meth_QBarSeries_borderColors, METH_VARARGS, doc_QBarSeries_borderColors},
    {sipName_clear, meth_QBarSeries_clear, METH_VARARGS, doc_QBarSeries_clear},
    {sipName_componentComplete, meth_QBarSeries_componentComplete, METH_VARARGS, doc_QBarSeries_componentComplete},
    {sipName_count, meth_QBarSeries_count, METH_VARARGS, doc_QBarSeries_count},
    {sipName_find, meth_QBarSeries_find, METH_VARARGS, doc_QBarSeries_find},
    {sipName_insert, meth_QBarSeries_insert, METH_VARARGS, doc_QBarSeries_insert},
    {sipName_labelsAngle, meth_QBarSeries_labelsAngle, METH_VARARGS, doc_QBarSeries_labelsAngle},
    {sipName_labelsFormat, meth_QBarSeries_labelsFormat, METH_VARARGS, doc_QBarSeries_labelsFormat},
    {sipName_labelsMargin, meth_QBarSeries_labelsMargin, METH_VARARGS, doc_QBarSeries_labelsMargin},
    {sipName_labelsPosition, meth_QBarSeries_labelsPosition, METH_VARARGS, doc_QBarSeries_labelsPosition},
    {sipName_labelsPrecision, meth_QBarSeries_labelsPrecision, METH_VARARGS, doc_QBarSeries_labelsPrecision},
    {sipName_labelsVisible, meth_QBarSeries_labelsVisible, METH_VARARGS, doc_QBarSeries_labelsVisible},
    {sipName_remove, meth_QBarSeries_remove, METH_VARARGS, doc_QBarSeries_remove},
    {sipName_removeMultiple, meth_QBarSeries_removeMultiple, METH_VARARGS, doc_QBarSeries_removeMultiple},
    {sipName_replace, meth_QBarSeries_replace, METH_VARARGS, doc_QBarSeries_replace},
    {sipName_seriesColors, meth_QBarSeries_seriesColors, METH_VARARGS, doc_QBarSeries_seriesColors},
    {sipName_setBarDelegate, meth_QBarSeries_setBarDelegate, METH_VARARGS, doc_QBarSeries_setBarDelegate},
    {sipName_setBarWidth, meth_QBarSeries_setBarWidth, METH_VARARGS, doc_QBarSeries_setBarWidth},
    {sipName_setBarsType, meth_QBarSeries_setBarsType, METH_VARARGS, doc_QBarSeries_setBarsType},
    {sipName_setBorderColors, meth_QBarSeries_setBorderColors, METH_VARARGS, doc_QBarSeries_setBorderColors},
    {sipName_setLabelsAngle, meth_QBarSeries_setLabelsAngle, METH_VARARGS, doc_QBarSeries_setLabelsAngle},
    {sipName_setLabelsFormat, meth_QBarSeries_setLabelsFormat, METH_VARARGS, doc_QBarSeries_setLabelsFormat},
    {sipName_setLabelsMargin, meth_QBarSeries_setLabelsMargin, METH_VARARGS, doc_QBarSeries_setLabelsMargin},
    {sipName_setLabelsPosition, meth_QBarSeries_setLabelsPosition, METH_VARARGS, doc_QBarSeries_setLabelsPosition},
    {sipName_setLabelsPrecision, meth_QBarSeries_setLabelsPrecision, METH_VARARGS, doc_QBarSeries_setLabelsPrecision},
    {sipName_setLabelsVisible, SIP_MLMETH_CAST(meth_QBarSeries_setLabelsVisible), METH_VARARGS|METH_KEYWORDS, doc_QBarSeries_setLabelsVisible},
    {sipName_setSeriesColors, meth_QBarSeries_setSeriesColors, METH_VARARGS, doc_QBarSeries_setSeriesColors},
    {sipName_take, meth_QBarSeries_take, METH_VARARGS, doc_QBarSeries_take},
    {sipName_type, meth_QBarSeries_type, METH_VARARGS, doc_QBarSeries_type}
};


/* Define the enum members and ints to be added to this type. */
static sipIntInstanceDef intInstances_QBarSeries[] = {
    {sipName_Groups, static_cast<int>(::QBarSeries::BarsType::Groups)},
    {sipName_Stacked, static_cast<int>(::QBarSeries::BarsType::Stacked)},
    {sipName_StackedPercent, static_cast<int>(::QBarSeries::BarsType::StackedPercent)},
    {sipName_Center, static_cast<int>(::QBarSeries::LabelsPosition::Center)},
    {sipName_InsideEnd, static_cast<int>(::QBarSeries::LabelsPosition::InsideEnd)},
    {sipName_InsideBase, static_cast<int>(::QBarSeries::LabelsPosition::InsideBase)},
    {sipName_OutsideEnd, static_cast<int>(::QBarSeries::LabelsPosition::OutsideEnd)},
    {0, 0}
};

PyDoc_STRVAR(doc_QBarSeries, "\1QBarSeries(parent: QObject|None = None)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QBarSeries[] = {
    {"released(qsizetype,QBarSet*)", "\1released(self, index: int, barset: QBarSet|None)", SIP_NULLPTR, SIP_NULLPTR},
    {"pressed(qsizetype,QBarSet*)", "\1pressed(self, index: int, barset: QBarSet|None)", SIP_NULLPTR, SIP_NULLPTR},
    {"doubleClicked(qsizetype,QBarSet*)", "\1doubleClicked(self, index: int, barset: QBarSet|None)", SIP_NULLPTR, SIP_NULLPTR},
    {"clicked(qsizetype,QBarSet*)", "\1clicked(self, index: int, barset: QBarSet|None)", SIP_NULLPTR, SIP_NULLPTR},
    {"barSetsChanged()", "\1barSetsChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"setValueRemoved(qsizetype,qsizetype,QBarSet*)", "\1setValueRemoved(self, index: int, count: int, barset: QBarSet|None)", SIP_NULLPTR, SIP_NULLPTR},
    {"setValueAdded(qsizetype,qsizetype,QBarSet*)", "\1setValueAdded(self, index: int, count: int, barset: QBarSet|None)", SIP_NULLPTR, SIP_NULLPTR},
    {"setValueChanged(qsizetype,QBarSet*)", "\1setValueChanged(self, index: int, barset: QBarSet|None)", SIP_NULLPTR, SIP_NULLPTR},
    {"barsetsRemoved(QList<QBarSet*>)", "\1barsetsRemoved(self, sets: Iterable[QBarSet])", SIP_NULLPTR, SIP_NULLPTR},
    {"barsetsReplaced(QList<QBarSet*>)", "\1barsetsReplaced(self, sets: Iterable[QBarSet])", SIP_NULLPTR, SIP_NULLPTR},
    {"barsetsAdded(QList<QBarSet*>)", "\1barsetsAdded(self, sets: Iterable[QBarSet])", SIP_NULLPTR, SIP_NULLPTR},
    {"barDelegateChanged()", "\1barDelegateChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"labelsPrecisionChanged(int)", "\1labelsPrecisionChanged(self, precision: int)", SIP_NULLPTR, SIP_NULLPTR},
    {"labelsAngleChanged(qreal)", "\1labelsAngleChanged(self, angle: float)", SIP_NULLPTR, SIP_NULLPTR},
    {"labelsMarginChanged(qreal)", "\1labelsMarginChanged(self, margin: float)", SIP_NULLPTR, SIP_NULLPTR},
    {"barsTypeChanged(QBarSeries::BarsType)", "\1barsTypeChanged(self, type: QBarSeries.BarsType)", SIP_NULLPTR, SIP_NULLPTR},
    {"labelsPositionChanged(QBarSeries::LabelsPosition)", "\1labelsPositionChanged(self, position: QBarSeries.LabelsPosition)", SIP_NULLPTR, SIP_NULLPTR},
    {"labelsFormatChanged(QString)", "\1labelsFormatChanged(self, format: str|None)", SIP_NULLPTR, SIP_NULLPTR},
    {"labelsVisibleChanged(bool)", "\1labelsVisibleChanged(self, visible: bool)", SIP_NULLPTR, SIP_NULLPTR},
    {"barWidthChanged()", "\1barWidthChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"countChanged()", "\1countChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"borderColorsChanged()", "\1borderColorsChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"seriesColorsChanged()", "\1seriesColorsChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"updatedBars()", "\1updatedBars(self)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QBarSeries = {
    &::QBarSeries::staticMetaObject,
    signals_QBarSeries,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtGraphs_QBarSeries = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QBarSeries,
        SIP_NULLPTR,
        &plugin_QBarSeries,
    },
    {
        sipNameNr_QBarSeries,
        {0, 0, 1},
        35, methods_QBarSeries,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QBarSeries, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QBarSeries,
    -1,
    -1,
    supers_QBarSeries,
    slots_QBarSeries,
    init_type_QBarSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QBarSeries,
    SIP_NULLPTR,
    array_QBarSeries,
    SIP_NULLPTR,
    release_QBarSeries,
    cast_QBarSeries,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QBarSeries,
    sizeof (::QBarSeries),
};
