/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt for Python.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 3 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL3 included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 3 requirements
** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 2.0 or (at your option) the GNU General
** Public license version 3 or any later version approved by the KDE Free
** Qt Foundation. The licenses are as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-2.0.html and
** https://www.gnu.org/licenses/gpl-3.0.html.
**
** $QT_END_LICENSE$
**
****************************************************************************/

//workaround to access protected functions
#define protected public

// default includes
#include <shiboken.h>
#ifndef QT_NO_VERSION_TAGGING
#  define QT_NO_VERSION_TAGGING
#endif
#include <QDebug>
#include <pysidesignal.h>
#include <pysideproperty.h>
#include <pyside.h>
#include <pysideqenum.h>
#include <feature_select.h>
QT_WARNING_DISABLE_DEPRECATED

#include <typeinfo>
#include <signalmanager.h>
#include <pysidemetafunction.h>
#include <algorithm>
#include <set>
#include <iterator>

// module include
#include "pyside6_qtdesigner_python.h"

// main header
#include "qdesignerformwindowinterface_wrapper.h"

// inner classes

// Extra includes
#include <QList>
#include <QtDesigner/abstractformeditor.h>
#include <QtDesigner/abstractformwindow.h>
#include <QtDesigner/abstractformwindowcursor.h>
#include <QtDesigner/abstractformwindowtool.h>
#include <QtGui/qaction.h>
#include <QtGui/qbackingstore.h>
#include <QtGui/qbitmap.h>
#include <QtGui/qcursor.h>
#include <QtGui/qevent.h>
#include <QtGui/qfont.h>
#include <QtGui/qfontinfo.h>
#include <QtGui/qfontmetrics.h>
#include <QtGui/qicon.h>
#include <QtGui/qkeysequence.h>
#include <QtGui/qpaintdevice.h>
#include <QtGui/qpaintengine.h>
#include <QtGui/qpainter.h>
#include <QtGui/qpalette.h>
#include <QtGui/qpixmap.h>
#include <QtGui/qregion.h>
#include <QtGui/qscreen.h>
#include <QtGui/qundostack.h>
#include <QtGui/qwindow.h>
#include <QtWidgets/qgraphicseffect.h>
#include <QtWidgets/qgraphicsproxywidget.h>
#include <QtWidgets/qlayout.h>
#include <QtWidgets/qsizepolicy.h>
#include <QtWidgets/qstyle.h>
#include <QtWidgets/qwidget.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qdir.h>
#include <qiodevice.h>
#include <qlocale.h>
#include <qmargins.h>
#include <qmetaobject.h>
#include <qobject.h>
#include <qobjectdefs.h>
#include <qpoint.h>
#include <qrect.h>
#include <qsize.h>


#include <cctype>
#include <cstring>



template <class T>
static const char *typeNameOf(const T &t)
{
    const char *typeName =  typeid(t).name();
    auto size = std::strlen(typeName);
#if defined(Q_CC_MSVC) // MSVC: "class QPaintDevice * __ptr64"
    if (auto lastStar = strchr(typeName, '*')) {
        // MSVC: "class QPaintDevice * __ptr64"
        while (*--lastStar == ' ') {
        }
        size = lastStar - typeName + 1;
    }
#else // g++, Clang: "QPaintDevice *" -> "P12QPaintDevice"
    if (size > 2 && typeName[0] == 'P' && std::isdigit(typeName[1])) {
        ++typeName;
        --size;
    }
#endif
    char *result = new char[size + 1];
    result[size] = '\0';
    memcpy(result, typeName, size);
    return result;
}


// Target ---------------------------------------------------------

extern "C" {
static int
Sbk_QDesignerFormWindowInterface_Init(PyObject *self, PyObject *args, PyObject *kwds)
{
    const QMetaObject *metaObject;
    SbkObject *sbkSelf = reinterpret_cast<SbkObject *>(self);
    PyTypeObject *type = self->ob_type;
    PyTypeObject *myType = SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX];
    SBK_UNUSED(sbkSelf)
    SBK_UNUSED(type)
    SBK_UNUSED(myType)
    SBK_UNUSED(metaObject)
    PyErr_SetString(PyExc_NotImplementedError,
        "Abstract class  'QDesignerFormWindowInterface' cannot be instantiated since the wrapper has been disabled.");
    return -1;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_absoluteDir(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.absoluteDir";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // absoluteDir()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.absoluteDir()' not implemented.");
                return {};
            }
            QDir cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->absoluteDir();
            pyResult = Shiboken::Conversions::copyToPython(SbkPySide6_QtCoreTypes[SBK_QDIR_IDX], &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_activateResourceFilePaths(PyObject *self, PyObject *args, PyObject *kwds)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.activateResourceFilePaths";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp[3];
    SBK_UNUSED(pythonToCpp)
    const Py_ssize_t numArgs = PyTuple_GET_SIZE(args);
    SBK_UNUSED(numArgs)
    PyObject *pyArgs[] = {0, 0, 0};

    // invalid argument lengths
    if (numArgs > 3) {
        static PyObject *const too_many = Shiboken::String::createStaticString(">");
        errInfo.reset(too_many);
        Py_INCREF(errInfo.object());
        goto Sbk_QDesignerFormWindowInterfaceFunc_activateResourceFilePaths_TypeError;
    } else if (numArgs < 1) {
        static PyObject *const too_few = Shiboken::String::createStaticString("<");
        errInfo.reset(too_few);
        Py_INCREF(errInfo.object());
        goto Sbk_QDesignerFormWindowInterfaceFunc_activateResourceFilePaths_TypeError;
    }

    if (!PyArg_ParseTuple(args, "|OOO:activateResourceFilePaths", &(pyArgs[0]), &(pyArgs[1]), &(pyArgs[2])))
        return {};


    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::activateResourceFilePaths(QStringList,int*,QString*)
    if (numArgs >= 1
        && (pythonToCpp[0] = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRINGLIST_IDX], (pyArgs[0])))) {
        if (numArgs == 1) {
            overloadId = 0; // activateResourceFilePaths(QStringList,int*,QString*)
        } else if (numArgs >= 2
            && (pythonToCpp[1] = Shiboken::Conversions::pythonToCppConversion(Shiboken::Conversions::PrimitiveTypeConverter<int>(), (pyArgs[1])))) {
            if (numArgs == 2) {
                overloadId = 0; // activateResourceFilePaths(QStringList,int*,QString*)
            } else if (numArgs >= 3
                && (pythonToCpp[2] = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArgs[2])))) {
                overloadId = 0; // activateResourceFilePaths(QStringList,int*,QString*)
            }
        }
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_activateResourceFilePaths_TypeError;

    // Call function/method
    {
        if (kwds && PyDict_Size(kwds) > 0) {
            PyObject *value{};
            Shiboken::AutoDecRef kwds_dup(PyDict_Copy(kwds));
            static PyObject *const key_errorCount = Shiboken::String::createStaticString("errorCount");
            if (PyDict_Contains(kwds, key_errorCount)) {
                value = PyDict_GetItem(kwds, key_errorCount);
                if (value && pyArgs[1]) {
                    errInfo.reset(key_errorCount);
                    Py_INCREF(errInfo.object());
                    goto Sbk_QDesignerFormWindowInterfaceFunc_activateResourceFilePaths_TypeError;
                }
                if (value) {
                    pyArgs[1] = value;
                    if (!(pythonToCpp[1] = Shiboken::Conversions::pythonToCppConversion(Shiboken::Conversions::PrimitiveTypeConverter<int>(), (pyArgs[1]))))
                        goto Sbk_QDesignerFormWindowInterfaceFunc_activateResourceFilePaths_TypeError;
                }
                PyDict_DelItem(kwds_dup, key_errorCount);
            }
            static PyObject *const key_errorMessages = Shiboken::String::createStaticString("errorMessages");
            if (PyDict_Contains(kwds, key_errorMessages)) {
                value = PyDict_GetItem(kwds, key_errorMessages);
                if (value && pyArgs[2]) {
                    errInfo.reset(key_errorMessages);
                    Py_INCREF(errInfo.object());
                    goto Sbk_QDesignerFormWindowInterfaceFunc_activateResourceFilePaths_TypeError;
                }
                if (value) {
                    pyArgs[2] = value;
                    if (!(pythonToCpp[2] = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArgs[2]))))
                        goto Sbk_QDesignerFormWindowInterfaceFunc_activateResourceFilePaths_TypeError;
                }
                PyDict_DelItem(kwds_dup, key_errorMessages);
            }
            if (PyDict_Size(kwds_dup) > 0) {
                errInfo.reset(kwds_dup.release());
                goto Sbk_QDesignerFormWindowInterfaceFunc_activateResourceFilePaths_TypeError;
            }
        }
        ::QStringList cppArg0;
        pythonToCpp[0](pyArgs[0], &cppArg0);
        int *cppArg1 = nullptr;
        if (pythonToCpp[1])
            pythonToCpp[1](pyArgs[1], &cppArg1);
        ::QString *cppArg2 = nullptr;
        if (pythonToCpp[2])
            pythonToCpp[2](pyArgs[2], &cppArg2);

        if (!PyErr_Occurred()) {
            // activateResourceFilePaths(QStringList,int*,QString*)
            cppSelf->activateResourceFilePaths(cppArg0, cppArg1, cppArg2);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_activateResourceFilePaths_TypeError:
        Shiboken::setErrorAboutWrongArguments(args, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_activeResourceFilePaths(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.activeResourceFilePaths";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // activeResourceFilePaths()const
            QStringList cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->activeResourceFilePaths();
            pyResult = Shiboken::Conversions::copyToPython(SbkPySide6_QtCoreTypeConverters[SBK_QSTRINGLIST_IDX], &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_addResourceFile(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.addResourceFile";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::addResourceFile(QString)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArg)))) {
        overloadId = 0; // addResourceFile(QString)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_addResourceFile_TypeError;

    // Call function/method
    {
        ::QString cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // addResourceFile(QString)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.addResourceFile()' not implemented.");
                return {};
            }
            cppSelf->addResourceFile(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_addResourceFile_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_author(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.author";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // author()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.author()' not implemented.");
                return {};
            }
            QString cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->author();
            pyResult = Shiboken::Conversions::copyToPython(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_beginCommand(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.beginCommand";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::beginCommand(QString)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArg)))) {
        overloadId = 0; // beginCommand(QString)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_beginCommand_TypeError;

    // Call function/method
    {
        ::QString cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // beginCommand(QString)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.beginCommand()' not implemented.");
                return {};
            }
            cppSelf->beginCommand(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_beginCommand_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_checkContents(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.checkContents";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // checkContents()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.checkContents()' not implemented.");
                return {};
            }
            QStringList cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->checkContents();
            pyResult = Shiboken::Conversions::copyToPython(SbkPySide6_QtCoreTypeConverters[SBK_QSTRINGLIST_IDX], &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_clearSelection(PyObject *self, PyObject *args, PyObject *kwds)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.clearSelection";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp[1];
    SBK_UNUSED(pythonToCpp)
    const Py_ssize_t numArgs = PyTuple_GET_SIZE(args);
    SBK_UNUSED(numArgs)
    PyObject *pyArgs[] = {0};

    // invalid argument lengths
    if (numArgs > 1) {
        static PyObject *const too_many = Shiboken::String::createStaticString(">");
        errInfo.reset(too_many);
        Py_INCREF(errInfo.object());
        goto Sbk_QDesignerFormWindowInterfaceFunc_clearSelection_TypeError;
    }

    if (!PyArg_ParseTuple(args, "|O:clearSelection", &(pyArgs[0])))
        return {};


    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::clearSelection(bool)
    if (numArgs == 0) {
        overloadId = 0; // clearSelection(bool)
    } else if (numArgs >= 1
        && (pythonToCpp[0] = Shiboken::Conversions::pythonToCppConversion(Shiboken::Conversions::PrimitiveTypeConverter<bool>(), (pyArgs[0])))) {
        overloadId = 0; // clearSelection(bool)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_clearSelection_TypeError;

    // Call function/method
    {
        if (kwds && PyDict_Size(kwds) > 0) {
            PyObject *value{};
            Shiboken::AutoDecRef kwds_dup(PyDict_Copy(kwds));
            static PyObject *const key_changePropertyDisplay = Shiboken::String::createStaticString("changePropertyDisplay");
            if (PyDict_Contains(kwds, key_changePropertyDisplay)) {
                value = PyDict_GetItem(kwds, key_changePropertyDisplay);
                if (value && pyArgs[0]) {
                    errInfo.reset(key_changePropertyDisplay);
                    Py_INCREF(errInfo.object());
                    goto Sbk_QDesignerFormWindowInterfaceFunc_clearSelection_TypeError;
                }
                if (value) {
                    pyArgs[0] = value;
                    if (!(pythonToCpp[0] = Shiboken::Conversions::pythonToCppConversion(Shiboken::Conversions::PrimitiveTypeConverter<bool>(), (pyArgs[0]))))
                        goto Sbk_QDesignerFormWindowInterfaceFunc_clearSelection_TypeError;
                }
                PyDict_DelItem(kwds_dup, key_changePropertyDisplay);
            }
            if (PyDict_Size(kwds_dup) > 0) {
                errInfo.reset(kwds_dup.release());
                goto Sbk_QDesignerFormWindowInterfaceFunc_clearSelection_TypeError;
            }
        }
        bool cppArg0 = true;
        if (pythonToCpp[0])
            pythonToCpp[0](pyArgs[0], &cppArg0);

        if (!PyErr_Occurred()) {
            // clearSelection(bool)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.clearSelection()' not implemented.");
                return {};
            }
            cppSelf->clearSelection(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_clearSelection_TypeError:
        Shiboken::setErrorAboutWrongArguments(args, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_commandHistory(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.commandHistory";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // commandHistory()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.commandHistory()' not implemented.");
                return {};
            }
            QUndoStack * cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->commandHistory();
            pyResult = Shiboken::Conversions::pointerToPython(SbkPySide6_QtGuiTypes[SBK_QUNDOSTACK_IDX], cppResult);
            Shiboken::Object::setParent(self, pyResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_comment(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.comment";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // comment()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.comment()' not implemented.");
                return {};
            }
            QString cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->comment();
            pyResult = Shiboken::Conversions::copyToPython(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_contents(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.contents";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // contents()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.contents()' not implemented.");
                return {};
            }
            QString cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->contents();
            pyResult = Shiboken::Conversions::copyToPython(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_core(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.core";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // core()const
            QDesignerFormEditorInterface * cppResult = Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))
                ? const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->::QDesignerFormWindowInterface::core()
                : const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->core();
            pyResult = Shiboken::Conversions::pointerToPython(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMEDITORINTERFACE_IDX], cppResult);
            Shiboken::Object::setParent(self, pyResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_currentTool(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.currentTool";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // currentTool()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.currentTool()' not implemented.");
                return {};
            }
            int cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->currentTool();
            pyResult = Shiboken::Conversions::copyToPython(Shiboken::Conversions::PrimitiveTypeConverter<int>(), &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_cursor(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.cursor";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // cursor()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.cursor()' not implemented.");
                return {};
            }
            QDesignerFormWindowCursorInterface * cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->cursor();
            pyResult = Shiboken::Conversions::pointerToPython(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWCURSORINTERFACE_IDX], cppResult);
            Shiboken::Object::setParent(self, pyResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_editWidgets(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.editWidgets";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // editWidgets()
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.editWidgets()' not implemented.");
                return {};
            }
            cppSelf->editWidgets();
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_emitSelectionChanged(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.emitSelectionChanged";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // emitSelectionChanged()
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.emitSelectionChanged()' not implemented.");
                return {};
            }
            cppSelf->emitSelectionChanged();
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_endCommand(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.endCommand";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // endCommand()
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.endCommand()' not implemented.");
                return {};
            }
            cppSelf->endCommand();
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_ensureUniqueObjectName(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.ensureUniqueObjectName";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::ensureUniqueObjectName(QObject*)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppPointerConversion(SbkPySide6_QtCoreTypes[SBK_QOBJECT_IDX], (pyArg)))) {
        overloadId = 0; // ensureUniqueObjectName(QObject*)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_ensureUniqueObjectName_TypeError;

    // Call function/method
    {
        if (!Shiboken::Object::isValid(pyArg))
            return {};
        ::QObject *cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // ensureUniqueObjectName(QObject*)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.ensureUniqueObjectName()' not implemented.");
                return {};
            }
            cppSelf->ensureUniqueObjectName(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_ensureUniqueObjectName_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_exportMacro(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.exportMacro";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // exportMacro()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.exportMacro()' not implemented.");
                return {};
            }
            QString cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->exportMacro();
            pyResult = Shiboken::Conversions::copyToPython(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_features(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.features";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // features()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.features()' not implemented.");
                return {};
            }
            QFlags<QDesignerFormWindowInterface::FeatureFlag> cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->features();
            pyResult = Shiboken::Conversions::copyToPython(PepType_PFTP(reinterpret_cast<PySideQFlagsType *>(SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]))->converter, &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_fileName(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.fileName";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // fileName()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.fileName()' not implemented.");
                return {};
            }
            QString cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->fileName();
            pyResult = Shiboken::Conversions::copyToPython(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_findFormWindow(PyObject *self, PyObject *pyArg)
{
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.findFormWindow";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: static QDesignerFormWindowInterface::findFormWindow(QObject*)->QDesignerFormWindowInterface*
    // 1: static QDesignerFormWindowInterface::findFormWindow(QWidget*)->QDesignerFormWindowInterface*
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppPointerConversion(SbkPySide6_QtWidgetsTypes[SBK_QWIDGET_IDX], (pyArg)))) {
        overloadId = 1; // findFormWindow(QWidget*)
    } else if ((pythonToCpp = Shiboken::Conversions::pythonToCppPointerConversion(SbkPySide6_QtCoreTypes[SBK_QOBJECT_IDX], (pyArg)))) {
        overloadId = 0; // findFormWindow(QObject*)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_findFormWindow_TypeError;

    // Call function/method
    switch (overloadId) {
        case 0: // findFormWindow(QObject * obj)
        {
            if (!Shiboken::Object::isValid(pyArg))
                return {};
            ::QObject *cppArg0;
            pythonToCpp(pyArg, &cppArg0);

            if (!PyErr_Occurred()) {
                // findFormWindow(QObject*)
                QDesignerFormWindowInterface * cppResult = ::QDesignerFormWindowInterface::findFormWindow(cppArg0);
                pyResult = Shiboken::Conversions::pointerToPython(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], cppResult);
            }
            break;
        }
        case 1: // findFormWindow(QWidget * w)
        {
            if (!Shiboken::Object::isValid(pyArg))
                return {};
            ::QWidget *cppArg0;
            pythonToCpp(pyArg, &cppArg0);

            if (!PyErr_Occurred()) {
                // findFormWindow(QWidget*)
                QDesignerFormWindowInterface * cppResult = ::QDesignerFormWindowInterface::findFormWindow(cppArg0);
                pyResult = Shiboken::Conversions::pointerToPython(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], cppResult);
            }
            break;
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;

    Sbk_QDesignerFormWindowInterfaceFunc_findFormWindow_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_formContainer(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.formContainer";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // formContainer()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.formContainer()' not implemented.");
                return {};
            }
            QWidget * cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->formContainer();
            pyResult = Shiboken::Conversions::pointerToPython(SbkPySide6_QtWidgetsTypes[SBK_QWIDGET_IDX], cppResult);
            Shiboken::Object::setParent(self, pyResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_grid(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.grid";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // grid()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.grid()' not implemented.");
                return {};
            }
            QPoint cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->grid();
            pyResult = Shiboken::Conversions::copyToPython(SbkPySide6_QtCoreTypes[SBK_QPOINT_IDX], &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_hasFeature(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.hasFeature";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::hasFeature(QFlags<QDesignerFormWindowInterface::FeatureFlag>)const->bool
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(PepType_PFTP(reinterpret_cast<PySideQFlagsType *>(SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]))->converter, (pyArg)))) {
        overloadId = 0; // hasFeature(QFlags<QDesignerFormWindowInterface::FeatureFlag>)const
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_hasFeature_TypeError;

    // Call function/method
    {
        ::QFlags<QDesignerFormWindowInterface::FeatureFlag> cppArg0 = QFlags<QDesignerFormWindowInterface::FeatureFlag>(0);
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // hasFeature(QFlags<QDesignerFormWindowInterface::FeatureFlag>)const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.hasFeature()' not implemented.");
                return {};
            }
            bool cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->hasFeature(cppArg0);
            pyResult = Shiboken::Conversions::copyToPython(Shiboken::Conversions::PrimitiveTypeConverter<bool>(), &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;

    Sbk_QDesignerFormWindowInterfaceFunc_hasFeature_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_includeHints(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.includeHints";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // includeHints()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.includeHints()' not implemented.");
                return {};
            }
            QStringList cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->includeHints();
            pyResult = Shiboken::Conversions::copyToPython(SbkPySide6_QtCoreTypeConverters[SBK_QSTRINGLIST_IDX], &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_isDirty(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.isDirty";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // isDirty()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.isDirty()' not implemented.");
                return {};
            }
            bool cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->isDirty();
            pyResult = Shiboken::Conversions::copyToPython(Shiboken::Conversions::PrimitiveTypeConverter<bool>(), &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_isManaged(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.isManaged";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::isManaged(QWidget*)const->bool
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppPointerConversion(SbkPySide6_QtWidgetsTypes[SBK_QWIDGET_IDX], (pyArg)))) {
        overloadId = 0; // isManaged(QWidget*)const
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_isManaged_TypeError;

    // Call function/method
    {
        if (!Shiboken::Object::isValid(pyArg))
            return {};
        ::QWidget *cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // isManaged(QWidget*)const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.isManaged()' not implemented.");
                return {};
            }
            bool cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->isManaged(cppArg0);
            pyResult = Shiboken::Conversions::copyToPython(Shiboken::Conversions::PrimitiveTypeConverter<bool>(), &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;

    Sbk_QDesignerFormWindowInterfaceFunc_isManaged_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_layoutDefault(PyObject *self, PyObject *args)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.layoutDefault";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp[2];
    SBK_UNUSED(pythonToCpp)
    const Py_ssize_t numArgs = PyTuple_GET_SIZE(args);
    SBK_UNUSED(numArgs)
    PyObject *pyArgs[] = {0, 0};

    // invalid argument lengths


    if (!PyArg_UnpackTuple(args, "layoutDefault", 2, 2, &(pyArgs[0]), &(pyArgs[1])))
        return {};


    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::layoutDefault(int*,int*)
    if (numArgs == 2
        && (pythonToCpp[0] = Shiboken::Conversions::pythonToCppConversion(Shiboken::Conversions::PrimitiveTypeConverter<int>(), (pyArgs[0])))
        && (pythonToCpp[1] = Shiboken::Conversions::pythonToCppConversion(Shiboken::Conversions::PrimitiveTypeConverter<int>(), (pyArgs[1])))) {
        overloadId = 0; // layoutDefault(int*,int*)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_layoutDefault_TypeError;

    // Call function/method
    {
        int *cppArg0;
        pythonToCpp[0](pyArgs[0], &cppArg0);
        int *cppArg1;
        pythonToCpp[1](pyArgs[1], &cppArg1);

        if (!PyErr_Occurred()) {
            // layoutDefault(int*,int*)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.layoutDefault()' not implemented.");
                return {};
            }
            cppSelf->layoutDefault(cppArg0, cppArg1);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_layoutDefault_TypeError:
        Shiboken::setErrorAboutWrongArguments(args, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_layoutFunction(PyObject *self, PyObject *args)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.layoutFunction";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp[2];
    SBK_UNUSED(pythonToCpp)
    const Py_ssize_t numArgs = PyTuple_GET_SIZE(args);
    SBK_UNUSED(numArgs)
    PyObject *pyArgs[] = {0, 0};

    // invalid argument lengths


    if (!PyArg_UnpackTuple(args, "layoutFunction", 2, 2, &(pyArgs[0]), &(pyArgs[1])))
        return {};


    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::layoutFunction(QString*,QString*)
    if (numArgs == 2
        && (pythonToCpp[0] = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArgs[0])))
        && (pythonToCpp[1] = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArgs[1])))) {
        overloadId = 0; // layoutFunction(QString*,QString*)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_layoutFunction_TypeError;

    // Call function/method
    {
        ::QString *cppArg0;
        pythonToCpp[0](pyArgs[0], &cppArg0);
        ::QString *cppArg1;
        pythonToCpp[1](pyArgs[1], &cppArg1);

        if (!PyErr_Occurred()) {
            // layoutFunction(QString*,QString*)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.layoutFunction()' not implemented.");
                return {};
            }
            cppSelf->layoutFunction(cppArg0, cppArg1);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_layoutFunction_TypeError:
        Shiboken::setErrorAboutWrongArguments(args, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_mainContainer(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.mainContainer";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // mainContainer()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.mainContainer()' not implemented.");
                return {};
            }
            QWidget * cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->mainContainer();
            pyResult = Shiboken::Conversions::pointerToPython(SbkPySide6_QtWidgetsTypes[SBK_QWIDGET_IDX], cppResult);
            Shiboken::Object::setParent(self, pyResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_manageWidget(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.manageWidget";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::manageWidget(QWidget*)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppPointerConversion(SbkPySide6_QtWidgetsTypes[SBK_QWIDGET_IDX], (pyArg)))) {
        overloadId = 0; // manageWidget(QWidget*)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_manageWidget_TypeError;

    // Call function/method
    {
        if (!Shiboken::Object::isValid(pyArg))
            return {};
        ::QWidget *cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // manageWidget(QWidget*)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.manageWidget()' not implemented.");
                return {};
            }
            cppSelf->manageWidget(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_manageWidget_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_pixmapFunction(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.pixmapFunction";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // pixmapFunction()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.pixmapFunction()' not implemented.");
                return {};
            }
            QString cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->pixmapFunction();
            pyResult = Shiboken::Conversions::copyToPython(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_registerTool(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.registerTool";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::registerTool(QDesignerFormWindowToolInterface*)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppPointerConversion(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWTOOLINTERFACE_IDX], (pyArg)))) {
        overloadId = 0; // registerTool(QDesignerFormWindowToolInterface*)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_registerTool_TypeError;

    // Call function/method
    {
        if (!Shiboken::Object::isValid(pyArg))
            return {};
        ::QDesignerFormWindowToolInterface *cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // registerTool(QDesignerFormWindowToolInterface*)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.registerTool()' not implemented.");
                return {};
            }
            cppSelf->registerTool(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_registerTool_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_removeResourceFile(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.removeResourceFile";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::removeResourceFile(QString)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArg)))) {
        overloadId = 0; // removeResourceFile(QString)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_removeResourceFile_TypeError;

    // Call function/method
    {
        ::QString cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // removeResourceFile(QString)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.removeResourceFile()' not implemented.");
                return {};
            }
            cppSelf->removeResourceFile(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_removeResourceFile_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_resourceFileSaveMode(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.resourceFileSaveMode";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // resourceFileSaveMode()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.resourceFileSaveMode()' not implemented.");
                return {};
            }
            QDesignerFormWindowInterface::ResourceFileSaveMode cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->resourceFileSaveMode();
            pyResult = Shiboken::Conversions::copyToPython(PepType_SETP(reinterpret_cast<SbkEnumType *>(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_RESOURCEFILESAVEMODE_IDX]))->converter, &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_resourceFiles(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.resourceFiles";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // resourceFiles()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.resourceFiles()' not implemented.");
                return {};
            }
            QStringList cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->resourceFiles();
            pyResult = Shiboken::Conversions::copyToPython(SbkPySide6_QtCoreTypeConverters[SBK_QSTRINGLIST_IDX], &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_selectWidget(PyObject *self, PyObject *args, PyObject *kwds)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.selectWidget";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp[2];
    SBK_UNUSED(pythonToCpp)
    const Py_ssize_t numArgs = PyTuple_GET_SIZE(args);
    SBK_UNUSED(numArgs)
    PyObject *pyArgs[] = {0, 0};

    // invalid argument lengths
    if (numArgs > 2) {
        static PyObject *const too_many = Shiboken::String::createStaticString(">");
        errInfo.reset(too_many);
        Py_INCREF(errInfo.object());
        goto Sbk_QDesignerFormWindowInterfaceFunc_selectWidget_TypeError;
    } else if (numArgs < 1) {
        static PyObject *const too_few = Shiboken::String::createStaticString("<");
        errInfo.reset(too_few);
        Py_INCREF(errInfo.object());
        goto Sbk_QDesignerFormWindowInterfaceFunc_selectWidget_TypeError;
    }

    if (!PyArg_ParseTuple(args, "|OO:selectWidget", &(pyArgs[0]), &(pyArgs[1])))
        return {};


    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::selectWidget(QWidget*,bool)
    if (numArgs >= 1
        && (pythonToCpp[0] = Shiboken::Conversions::pythonToCppPointerConversion(SbkPySide6_QtWidgetsTypes[SBK_QWIDGET_IDX], (pyArgs[0])))) {
        if (numArgs == 1) {
            overloadId = 0; // selectWidget(QWidget*,bool)
        } else if (numArgs >= 2
            && (pythonToCpp[1] = Shiboken::Conversions::pythonToCppConversion(Shiboken::Conversions::PrimitiveTypeConverter<bool>(), (pyArgs[1])))) {
            overloadId = 0; // selectWidget(QWidget*,bool)
        }
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_selectWidget_TypeError;

    // Call function/method
    {
        if (kwds && PyDict_Size(kwds) > 0) {
            PyObject *value{};
            Shiboken::AutoDecRef kwds_dup(PyDict_Copy(kwds));
            static PyObject *const key_select = Shiboken::String::createStaticString("select");
            if (PyDict_Contains(kwds, key_select)) {
                value = PyDict_GetItem(kwds, key_select);
                if (value && pyArgs[1]) {
                    errInfo.reset(key_select);
                    Py_INCREF(errInfo.object());
                    goto Sbk_QDesignerFormWindowInterfaceFunc_selectWidget_TypeError;
                }
                if (value) {
                    pyArgs[1] = value;
                    if (!(pythonToCpp[1] = Shiboken::Conversions::pythonToCppConversion(Shiboken::Conversions::PrimitiveTypeConverter<bool>(), (pyArgs[1]))))
                        goto Sbk_QDesignerFormWindowInterfaceFunc_selectWidget_TypeError;
                }
                PyDict_DelItem(kwds_dup, key_select);
            }
            if (PyDict_Size(kwds_dup) > 0) {
                errInfo.reset(kwds_dup.release());
                goto Sbk_QDesignerFormWindowInterfaceFunc_selectWidget_TypeError;
            }
        }
        if (!Shiboken::Object::isValid(pyArgs[0]))
            return {};
        ::QWidget *cppArg0;
        pythonToCpp[0](pyArgs[0], &cppArg0);
        bool cppArg1 = true;
        if (pythonToCpp[1])
            pythonToCpp[1](pyArgs[1], &cppArg1);

        if (!PyErr_Occurred()) {
            // selectWidget(QWidget*,bool)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.selectWidget()' not implemented.");
                return {};
            }
            cppSelf->selectWidget(cppArg0, cppArg1);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_selectWidget_TypeError:
        Shiboken::setErrorAboutWrongArguments(args, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setAuthor(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setAuthor";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setAuthor(QString)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArg)))) {
        overloadId = 0; // setAuthor(QString)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setAuthor_TypeError;

    // Call function/method
    {
        ::QString cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // setAuthor(QString)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setAuthor()' not implemented.");
                return {};
            }
            cppSelf->setAuthor(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_setAuthor_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setComment(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setComment";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setComment(QString)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArg)))) {
        overloadId = 0; // setComment(QString)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setComment_TypeError;

    // Call function/method
    {
        ::QString cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // setComment(QString)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setComment()' not implemented.");
                return {};
            }
            cppSelf->setComment(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_setComment_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setContents(PyObject *self, PyObject *args, PyObject *kwds)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setContents";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp[2];
    SBK_UNUSED(pythonToCpp)
    const Py_ssize_t numArgs = PyTuple_GET_SIZE(args);
    SBK_UNUSED(numArgs)
    PyObject *pyArgs[] = {0, 0};

    // invalid argument lengths
    if (numArgs > 2) {
        static PyObject *const too_many = Shiboken::String::createStaticString(">");
        errInfo.reset(too_many);
        Py_INCREF(errInfo.object());
        goto Sbk_QDesignerFormWindowInterfaceFunc_setContents_TypeError;
    } else if (numArgs < 1) {
        static PyObject *const too_few = Shiboken::String::createStaticString("<");
        errInfo.reset(too_few);
        Py_INCREF(errInfo.object());
        goto Sbk_QDesignerFormWindowInterfaceFunc_setContents_TypeError;
    }

    if (!PyArg_ParseTuple(args, "|OO:setContents", &(pyArgs[0]), &(pyArgs[1])))
        return {};


    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setContents(QString)->bool
    // 1: QDesignerFormWindowInterface::setContents(QIODevice*,QString*)->bool
    if (numArgs >= 1
        && (pythonToCpp[0] = Shiboken::Conversions::pythonToCppPointerConversion(SbkPySide6_QtCoreTypes[SBK_QIODEVICE_IDX], (pyArgs[0])))) {
        if (numArgs == 1) {
            overloadId = 1; // setContents(QIODevice*,QString*)
        } else if (numArgs >= 2
            && (pythonToCpp[1] = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArgs[1])))) {
            overloadId = 1; // setContents(QIODevice*,QString*)
        }
    } else if (numArgs == 1
        && (pythonToCpp[0] = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArgs[0])))) {
        overloadId = 0; // setContents(QString)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setContents_TypeError;

    // Call function/method
    switch (overloadId) {
        case 0: // setContents(const QString & contents)
        {
            if (kwds && PyDict_Size(kwds) > 0) {
                errInfo.reset(kwds);
                Py_INCREF(errInfo.object());
                goto Sbk_QDesignerFormWindowInterfaceFunc_setContents_TypeError;
            }
            ::QString cppArg0;
            pythonToCpp[0](pyArgs[0], &cppArg0);

            if (!PyErr_Occurred()) {
                // setContents(QString)
                if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                    PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setContents()' not implemented.");
                    return {};
                }
                bool cppResult = cppSelf->setContents(cppArg0);
                pyResult = Shiboken::Conversions::copyToPython(Shiboken::Conversions::PrimitiveTypeConverter<bool>(), &cppResult);
            }
            break;
        }
        case 1: // setContents(QIODevice * dev, QString * errorMessage)
        {
            if (kwds && PyDict_Size(kwds) > 0) {
                PyObject *value{};
                Shiboken::AutoDecRef kwds_dup(PyDict_Copy(kwds));
                static PyObject *const key_errorMessage = Shiboken::String::createStaticString("errorMessage");
                if (PyDict_Contains(kwds, key_errorMessage)) {
                    value = PyDict_GetItem(kwds, key_errorMessage);
                    if (value && pyArgs[1]) {
                        errInfo.reset(key_errorMessage);
                        Py_INCREF(errInfo.object());
                        goto Sbk_QDesignerFormWindowInterfaceFunc_setContents_TypeError;
                    }
                    if (value) {
                        pyArgs[1] = value;
                        if (!(pythonToCpp[1] = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArgs[1]))))
                            goto Sbk_QDesignerFormWindowInterfaceFunc_setContents_TypeError;
                    }
                    PyDict_DelItem(kwds_dup, key_errorMessage);
                }
                if (PyDict_Size(kwds_dup) > 0) {
                    errInfo.reset(kwds_dup.release());
                    goto Sbk_QDesignerFormWindowInterfaceFunc_setContents_TypeError;
                }
            }
            if (!Shiboken::Object::isValid(pyArgs[0]))
                return {};
            ::QIODevice *cppArg0;
            pythonToCpp[0](pyArgs[0], &cppArg0);
            ::QString *cppArg1 = nullptr;
            if (pythonToCpp[1])
                pythonToCpp[1](pyArgs[1], &cppArg1);

            if (!PyErr_Occurred()) {
                // setContents(QIODevice*,QString*)
                if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                    PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setContents()' not implemented.");
                    return {};
                }
                bool cppResult = cppSelf->setContents(cppArg0, cppArg1);
                pyResult = Shiboken::Conversions::copyToPython(Shiboken::Conversions::PrimitiveTypeConverter<bool>(), &cppResult);
            }
            break;
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;

    Sbk_QDesignerFormWindowInterfaceFunc_setContents_TypeError:
        Shiboken::setErrorAboutWrongArguments(args, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setCurrentTool(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setCurrentTool";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setCurrentTool(int)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(Shiboken::Conversions::PrimitiveTypeConverter<int>(), (pyArg)))) {
        overloadId = 0; // setCurrentTool(int)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setCurrentTool_TypeError;

    // Call function/method
    {
        int cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // setCurrentTool(int)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setCurrentTool()' not implemented.");
                return {};
            }
            cppSelf->setCurrentTool(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_setCurrentTool_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setDirty(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setDirty";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setDirty(bool)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(Shiboken::Conversions::PrimitiveTypeConverter<bool>(), (pyArg)))) {
        overloadId = 0; // setDirty(bool)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setDirty_TypeError;

    // Call function/method
    {
        bool cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // setDirty(bool)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setDirty()' not implemented.");
                return {};
            }
            cppSelf->setDirty(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_setDirty_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setExportMacro(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setExportMacro";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setExportMacro(QString)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArg)))) {
        overloadId = 0; // setExportMacro(QString)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setExportMacro_TypeError;

    // Call function/method
    {
        ::QString cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // setExportMacro(QString)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setExportMacro()' not implemented.");
                return {};
            }
            cppSelf->setExportMacro(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_setExportMacro_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setFeatures(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setFeatures";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setFeatures(QFlags<QDesignerFormWindowInterface::FeatureFlag>)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(PepType_PFTP(reinterpret_cast<PySideQFlagsType *>(SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]))->converter, (pyArg)))) {
        overloadId = 0; // setFeatures(QFlags<QDesignerFormWindowInterface::FeatureFlag>)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setFeatures_TypeError;

    // Call function/method
    {
        ::QFlags<QDesignerFormWindowInterface::FeatureFlag> cppArg0 = QFlags<QDesignerFormWindowInterface::FeatureFlag>(0);
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // setFeatures(QFlags<QDesignerFormWindowInterface::FeatureFlag>)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setFeatures()' not implemented.");
                return {};
            }
            cppSelf->setFeatures(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_setFeatures_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setFileName(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setFileName";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setFileName(QString)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArg)))) {
        overloadId = 0; // setFileName(QString)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setFileName_TypeError;

    // Call function/method
    {
        ::QString cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // setFileName(QString)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setFileName()' not implemented.");
                return {};
            }
            cppSelf->setFileName(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_setFileName_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setGrid(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setGrid";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setGrid(QPoint)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppReferenceConversion(SbkPySide6_QtCoreTypes[SBK_QPOINT_IDX], (pyArg)))) {
        overloadId = 0; // setGrid(QPoint)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setGrid_TypeError;

    // Call function/method
    {
        if (!Shiboken::Object::isValid(pyArg))
            return {};
        ::QPoint cppArg0_local;
        ::QPoint *cppArg0 = &cppArg0_local;
        if (pythonToCpp.isValue())
            pythonToCpp(pyArg, &cppArg0_local);
        else
            pythonToCpp(pyArg, &cppArg0);


        if (!PyErr_Occurred()) {
            // setGrid(QPoint)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setGrid()' not implemented.");
                return {};
            }
            cppSelf->setGrid(*cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_setGrid_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setIncludeHints(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setIncludeHints";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setIncludeHints(QStringList)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRINGLIST_IDX], (pyArg)))) {
        overloadId = 0; // setIncludeHints(QStringList)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setIncludeHints_TypeError;

    // Call function/method
    {
        ::QStringList cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // setIncludeHints(QStringList)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setIncludeHints()' not implemented.");
                return {};
            }
            cppSelf->setIncludeHints(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_setIncludeHints_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setLayoutDefault(PyObject *self, PyObject *args)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setLayoutDefault";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp[2];
    SBK_UNUSED(pythonToCpp)
    const Py_ssize_t numArgs = PyTuple_GET_SIZE(args);
    SBK_UNUSED(numArgs)
    PyObject *pyArgs[] = {0, 0};

    // invalid argument lengths


    if (!PyArg_UnpackTuple(args, "setLayoutDefault", 2, 2, &(pyArgs[0]), &(pyArgs[1])))
        return {};


    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setLayoutDefault(int,int)
    if (numArgs == 2
        && (pythonToCpp[0] = Shiboken::Conversions::pythonToCppConversion(Shiboken::Conversions::PrimitiveTypeConverter<int>(), (pyArgs[0])))
        && (pythonToCpp[1] = Shiboken::Conversions::pythonToCppConversion(Shiboken::Conversions::PrimitiveTypeConverter<int>(), (pyArgs[1])))) {
        overloadId = 0; // setLayoutDefault(int,int)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setLayoutDefault_TypeError;

    // Call function/method
    {
        int cppArg0;
        pythonToCpp[0](pyArgs[0], &cppArg0);
        int cppArg1;
        pythonToCpp[1](pyArgs[1], &cppArg1);

        if (!PyErr_Occurred()) {
            // setLayoutDefault(int,int)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setLayoutDefault()' not implemented.");
                return {};
            }
            cppSelf->setLayoutDefault(cppArg0, cppArg1);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_setLayoutDefault_TypeError:
        Shiboken::setErrorAboutWrongArguments(args, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setLayoutFunction(PyObject *self, PyObject *args)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setLayoutFunction";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp[2];
    SBK_UNUSED(pythonToCpp)
    const Py_ssize_t numArgs = PyTuple_GET_SIZE(args);
    SBK_UNUSED(numArgs)
    PyObject *pyArgs[] = {0, 0};

    // invalid argument lengths


    if (!PyArg_UnpackTuple(args, "setLayoutFunction", 2, 2, &(pyArgs[0]), &(pyArgs[1])))
        return {};


    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setLayoutFunction(QString,QString)
    if (numArgs == 2
        && (pythonToCpp[0] = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArgs[0])))
        && (pythonToCpp[1] = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArgs[1])))) {
        overloadId = 0; // setLayoutFunction(QString,QString)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setLayoutFunction_TypeError;

    // Call function/method
    {
        ::QString cppArg0;
        pythonToCpp[0](pyArgs[0], &cppArg0);
        ::QString cppArg1;
        pythonToCpp[1](pyArgs[1], &cppArg1);

        if (!PyErr_Occurred()) {
            // setLayoutFunction(QString,QString)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setLayoutFunction()' not implemented.");
                return {};
            }
            cppSelf->setLayoutFunction(cppArg0, cppArg1);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_setLayoutFunction_TypeError:
        Shiboken::setErrorAboutWrongArguments(args, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setMainContainer(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setMainContainer";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setMainContainer(QWidget*)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppPointerConversion(SbkPySide6_QtWidgetsTypes[SBK_QWIDGET_IDX], (pyArg)))) {
        overloadId = 0; // setMainContainer(QWidget*)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setMainContainer_TypeError;

    // Call function/method
    {
        if (!Shiboken::Object::isValid(pyArg))
            return {};
        ::QWidget *cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // setMainContainer(QWidget*)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setMainContainer()' not implemented.");
                return {};
            }
            cppSelf->setMainContainer(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_setMainContainer_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setPixmapFunction(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setPixmapFunction";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setPixmapFunction(QString)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtCoreTypeConverters[SBK_QSTRING_IDX], (pyArg)))) {
        overloadId = 0; // setPixmapFunction(QString)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setPixmapFunction_TypeError;

    // Call function/method
    {
        ::QString cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // setPixmapFunction(QString)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setPixmapFunction()' not implemented.");
                return {};
            }
            cppSelf->setPixmapFunction(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_setPixmapFunction_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_setResourceFileSaveMode(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.setResourceFileSaveMode";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::setResourceFileSaveMode(QDesignerFormWindowInterface::ResourceFileSaveMode)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(PepType_SETP(reinterpret_cast<SbkEnumType *>(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_RESOURCEFILESAVEMODE_IDX]))->converter, (pyArg)))) {
        overloadId = 0; // setResourceFileSaveMode(QDesignerFormWindowInterface::ResourceFileSaveMode)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_setResourceFileSaveMode_TypeError;

    // Call function/method
    {
        ::QDesignerFormWindowInterface::ResourceFileSaveMode cppArg0{QDesignerFormWindowInterface::SaveAllResourceFiles};
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // setResourceFileSaveMode(QDesignerFormWindowInterface::ResourceFileSaveMode)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.setResourceFileSaveMode()' not implemented.");
                return {};
            }
            cppSelf->setResourceFileSaveMode(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_setResourceFileSaveMode_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_simplifySelection(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.simplifySelection";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::simplifySelection(QList<QWidget*>*)const
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(SbkPySide6_QtDesignerTypeConverters[SBK_QTDESIGNER_QLIST_QWIDGETPTR_IDX], (pyArg)))) {
        overloadId = 0; // simplifySelection(QList<QWidget*>*)const
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_simplifySelection_TypeError;

    // Call function/method
    {
        ::QList<QWidget* > *cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // simplifySelection(QList<QWidget*>*)const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.simplifySelection()' not implemented.");
                return {};
            }
            const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->simplifySelection(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_simplifySelection_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_tool(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.tool";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::tool(int)const->QDesignerFormWindowToolInterface*
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppConversion(Shiboken::Conversions::PrimitiveTypeConverter<int>(), (pyArg)))) {
        overloadId = 0; // tool(int)const
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_tool_TypeError;

    // Call function/method
    {
        int cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // tool(int)const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.tool()' not implemented.");
                return {};
            }
            QDesignerFormWindowToolInterface * cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->tool(cppArg0);
            pyResult = Shiboken::Conversions::pointerToPython(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWTOOLINTERFACE_IDX], cppResult);
            Shiboken::Object::setParent(self, pyResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;

    Sbk_QDesignerFormWindowInterfaceFunc_tool_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_toolCount(PyObject *self)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    PyObject *pyResult{};
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.toolCount";
    SBK_UNUSED(fullName)

    // Call function/method
    {

        if (!PyErr_Occurred()) {
            // toolCount()const
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.toolCount()' not implemented.");
                return {};
            }
            int cppResult = const_cast<const ::QDesignerFormWindowInterface *>(cppSelf)->toolCount();
            pyResult = Shiboken::Conversions::copyToPython(Shiboken::Conversions::PrimitiveTypeConverter<int>(), &cppResult);
        }
    }

    if (PyErr_Occurred() || !pyResult) {
        Py_XDECREF(pyResult);
        return {};
    }
    return pyResult;
}

static PyObject *Sbk_QDesignerFormWindowInterfaceFunc_unmanageWidget(PyObject *self, PyObject *pyArg)
{
    if (!Shiboken::Object::isValid(self))
        return {};
    auto cppSelf = reinterpret_cast< ::QDesignerFormWindowInterface *>(Shiboken::Conversions::cppPointer(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX], reinterpret_cast<SbkObject *>(self)));
    SBK_UNUSED(cppSelf)
    Shiboken::AutoDecRef errInfo{};
    static const char *fullName = "PySide6.QtDesigner.QDesignerFormWindowInterface.unmanageWidget";
    SBK_UNUSED(fullName)
    int overloadId = -1;
    Shiboken::Conversions::PythonToCppConversion pythonToCpp;
    SBK_UNUSED(pythonToCpp)

    // Overloaded function decisor
    // 0: QDesignerFormWindowInterface::unmanageWidget(QWidget*)
    if ((pythonToCpp = Shiboken::Conversions::pythonToCppPointerConversion(SbkPySide6_QtWidgetsTypes[SBK_QWIDGET_IDX], (pyArg)))) {
        overloadId = 0; // unmanageWidget(QWidget*)
    }

    // Function signature not found.
    if (overloadId == -1) goto Sbk_QDesignerFormWindowInterfaceFunc_unmanageWidget_TypeError;

    // Call function/method
    {
        if (!Shiboken::Object::isValid(pyArg))
            return {};
        ::QWidget *cppArg0;
        pythonToCpp(pyArg, &cppArg0);

        if (!PyErr_Occurred()) {
            // unmanageWidget(QWidget*)
            if (Shiboken::Object::hasCppWrapper(reinterpret_cast<SbkObject *>(self))) {
                PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QDesignerFormWindowInterface.unmanageWidget()' not implemented.");
                return {};
            }
            cppSelf->unmanageWidget(cppArg0);
        }
    }

    if (PyErr_Occurred()) {
        return {};
    }
    Py_RETURN_NONE;

    Sbk_QDesignerFormWindowInterfaceFunc_unmanageWidget_TypeError:
        Shiboken::setErrorAboutWrongArguments(pyArg, fullName, errInfo);
        return {};
}


static const char *Sbk_QDesignerFormWindowInterface_PropertyStrings[] = {
    nullptr // Sentinel
};

static PyMethodDef Sbk_QDesignerFormWindowInterface_methods[] = {
    {"absoluteDir", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_absoluteDir), METH_NOARGS},
    {"activateResourceFilePaths", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_activateResourceFilePaths), METH_VARARGS|METH_KEYWORDS},
    {"activeResourceFilePaths", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_activeResourceFilePaths), METH_NOARGS},
    {"addResourceFile", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_addResourceFile), METH_O},
    {"author", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_author), METH_NOARGS},
    {"beginCommand", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_beginCommand), METH_O},
    {"checkContents", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_checkContents), METH_NOARGS},
    {"clearSelection", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_clearSelection), METH_VARARGS|METH_KEYWORDS},
    {"commandHistory", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_commandHistory), METH_NOARGS},
    {"comment", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_comment), METH_NOARGS},
    {"contents", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_contents), METH_NOARGS},
    {"core", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_core), METH_NOARGS},
    {"currentTool", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_currentTool), METH_NOARGS},
    {"cursor", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_cursor), METH_NOARGS},
    {"editWidgets", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_editWidgets), METH_NOARGS},
    {"emitSelectionChanged", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_emitSelectionChanged), METH_NOARGS},
    {"endCommand", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_endCommand), METH_NOARGS},
    {"ensureUniqueObjectName", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_ensureUniqueObjectName), METH_O},
    {"exportMacro", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_exportMacro), METH_NOARGS},
    {"features", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_features), METH_NOARGS},
    {"fileName", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_fileName), METH_NOARGS},
    {"findFormWindow", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_findFormWindow), METH_O|METH_STATIC},
    {"formContainer", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_formContainer), METH_NOARGS},
    {"grid", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_grid), METH_NOARGS},
    {"hasFeature", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_hasFeature), METH_O},
    {"includeHints", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_includeHints), METH_NOARGS},
    {"isDirty", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_isDirty), METH_NOARGS},
    {"isManaged", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_isManaged), METH_O},
    {"layoutDefault", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_layoutDefault), METH_VARARGS},
    {"layoutFunction", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_layoutFunction), METH_VARARGS},
    {"mainContainer", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_mainContainer), METH_NOARGS},
    {"manageWidget", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_manageWidget), METH_O},
    {"pixmapFunction", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_pixmapFunction), METH_NOARGS},
    {"registerTool", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_registerTool), METH_O},
    {"removeResourceFile", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_removeResourceFile), METH_O},
    {"resourceFileSaveMode", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_resourceFileSaveMode), METH_NOARGS},
    {"resourceFiles", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_resourceFiles), METH_NOARGS},
    {"selectWidget", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_selectWidget), METH_VARARGS|METH_KEYWORDS},
    {"setAuthor", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setAuthor), METH_O},
    {"setComment", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setComment), METH_O},
    {"setContents", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setContents), METH_VARARGS|METH_KEYWORDS},
    {"setCurrentTool", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setCurrentTool), METH_O},
    {"setDirty", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setDirty), METH_O},
    {"setExportMacro", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setExportMacro), METH_O},
    {"setFeatures", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setFeatures), METH_O},
    {"setFileName", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setFileName), METH_O},
    {"setGrid", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setGrid), METH_O},
    {"setIncludeHints", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setIncludeHints), METH_O},
    {"setLayoutDefault", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setLayoutDefault), METH_VARARGS},
    {"setLayoutFunction", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setLayoutFunction), METH_VARARGS},
    {"setMainContainer", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setMainContainer), METH_O},
    {"setPixmapFunction", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setPixmapFunction), METH_O},
    {"setResourceFileSaveMode", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_setResourceFileSaveMode), METH_O},
    {"simplifySelection", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_simplifySelection), METH_O},
    {"tool", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_tool), METH_O},
    {"toolCount", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_toolCount), METH_NOARGS},
    {"unmanageWidget", reinterpret_cast<PyCFunction>(Sbk_QDesignerFormWindowInterfaceFunc_unmanageWidget), METH_O},

    {nullptr, nullptr} // Sentinel
};

static int Sbk_QDesignerFormWindowInterface_setattro(PyObject *self, PyObject *name, PyObject *value)
{
    PySide::Feature::Select(self);
    Shiboken::AutoDecRef pp(reinterpret_cast<PyObject *>(PySide::Property::getObject(self, name)));
    if (!pp.isNull())
        return PySide::Property::setValue(reinterpret_cast<PySideProperty *>(pp.object()), self, value);
    return PyObject_GenericSetAttr(self, name, value);
}

} // extern "C"

static int Sbk_QDesignerFormWindowInterface_traverse(PyObject *self, visitproc visit, void *arg)
{
    return SbkObject_TypeF()->tp_traverse(self, visit, arg);
}
static int Sbk_QDesignerFormWindowInterface_clear(PyObject *self)
{
    return reinterpret_cast<PyTypeObject *>(SbkObject_TypeF())->tp_clear(self);
}
static void * Sbk_QDesignerFormWindowInterfaceSpecialCastFunction(void *obj, PyTypeObject *desiredType)
{
    auto me = reinterpret_cast< ::QDesignerFormWindowInterface *>(obj);
    if (desiredType == SbkPySide6_QtWidgetsTypes[SBK_QWIDGET_IDX])
        return static_cast< ::QWidget *>(me);
    else if (desiredType == SbkPySide6_QtCoreTypes[SBK_QOBJECT_IDX])
        return static_cast< ::QObject *>(me);
    else if (desiredType == SbkPySide6_QtGuiTypes[SBK_QPAINTDEVICE_IDX])
        return static_cast< ::QPaintDevice *>(me);
    return me;
}


// Class Definition -----------------------------------------------
extern "C" {
static PyTypeObject *_Sbk_QDesignerFormWindowInterface_Type = nullptr;
static PyTypeObject *Sbk_QDesignerFormWindowInterface_TypeF(void)
{
    return _Sbk_QDesignerFormWindowInterface_Type;
}

static PyType_Slot Sbk_QDesignerFormWindowInterface_slots[] = {
    {Py_tp_base,        nullptr}, // inserted by introduceWrapperType
    {Py_tp_dealloc,     reinterpret_cast<void *>(&SbkDeallocWrapper)},
    {Py_tp_repr,        nullptr},
    {Py_tp_hash,        nullptr},
    {Py_tp_call,        nullptr},
    {Py_tp_str,         nullptr},
    {Py_tp_getattro,    nullptr},
    {Py_tp_setattro,    reinterpret_cast<void *>(Sbk_QDesignerFormWindowInterface_setattro)},
    {Py_tp_traverse,    reinterpret_cast<void *>(Sbk_QDesignerFormWindowInterface_traverse)},
    {Py_tp_clear,       reinterpret_cast<void *>(Sbk_QDesignerFormWindowInterface_clear)},
    {Py_tp_richcompare, nullptr},
    {Py_tp_iter,        nullptr},
    {Py_tp_iternext,    nullptr},
    {Py_tp_methods,     reinterpret_cast<void *>(Sbk_QDesignerFormWindowInterface_methods)},
    {Py_tp_getset,      nullptr},
    {Py_tp_init,        reinterpret_cast<void *>(Sbk_QDesignerFormWindowInterface_Init)},
    {Py_tp_new,         reinterpret_cast<void *>(SbkObjectTpNew)},
    {0, nullptr}
};
static PyType_Spec Sbk_QDesignerFormWindowInterface_spec = {
    "2:PySide6.QtDesigner.QDesignerFormWindowInterface",
    sizeof(SbkObject),
    0,
    Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
    Sbk_QDesignerFormWindowInterface_slots
};

} //extern "C"

static void *Sbk_QDesignerFormWindowInterface_typeDiscovery(void *cptr, PyTypeObject *instanceType)
{
    if (instanceType == Shiboken::SbkType< ::QObject >())
        return dynamic_cast< ::QDesignerFormWindowInterface *>(reinterpret_cast< ::QObject *>(cptr));
    if (instanceType == Shiboken::SbkType< ::QPaintDevice >())
        return dynamic_cast< ::QDesignerFormWindowInterface *>(reinterpret_cast< ::QPaintDevice *>(cptr));
    return {};
}

PyObject *SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag___and__(PyObject *self, PyObject *pyArg)
{
    ::QDesignerFormWindowInterface::Feature cppResult, cppSelf, cppArg;
    cppSelf = static_cast<::QDesignerFormWindowInterface::Feature>(int(PyLong_AsLong(self)));
    if (PyErr_Occurred())
        return nullptr;
    cppArg = static_cast<QDesignerFormWindowInterface::Feature>(int(PyLong_AsLong(pyArg)));
    if (PyErr_Occurred())
        return nullptr;
    cppResult = cppSelf & cppArg;
    return Shiboken::Conversions::copyToPython(PepType_PFTP(reinterpret_cast<PySideQFlagsType *>(SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]))->converter, &cppResult);
}

PyObject *SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag___or__(PyObject *self, PyObject *pyArg)
{
    ::QDesignerFormWindowInterface::Feature cppResult, cppSelf, cppArg;
    cppSelf = static_cast<::QDesignerFormWindowInterface::Feature>(int(PyLong_AsLong(self)));
    if (PyErr_Occurred())
        return nullptr;
    cppArg = static_cast<QDesignerFormWindowInterface::Feature>(int(PyLong_AsLong(pyArg)));
    if (PyErr_Occurred())
        return nullptr;
    cppResult = cppSelf | cppArg;
    return Shiboken::Conversions::copyToPython(PepType_PFTP(reinterpret_cast<PySideQFlagsType *>(SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]))->converter, &cppResult);
}

PyObject *SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag___xor__(PyObject *self, PyObject *pyArg)
{
    ::QDesignerFormWindowInterface::Feature cppResult, cppSelf, cppArg;
    cppSelf = static_cast<::QDesignerFormWindowInterface::Feature>(int(PyLong_AsLong(self)));
    if (PyErr_Occurred())
        return nullptr;
    cppArg = static_cast<QDesignerFormWindowInterface::Feature>(int(PyLong_AsLong(pyArg)));
    if (PyErr_Occurred())
        return nullptr;
    cppResult = cppSelf ^ cppArg;
    return Shiboken::Conversions::copyToPython(PepType_PFTP(reinterpret_cast<PySideQFlagsType *>(SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]))->converter, &cppResult);
}

PyObject *SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag___invert__(PyObject *self, PyObject *pyArg)
{
    ::QDesignerFormWindowInterface::Feature cppSelf;
    Shiboken::Conversions::pythonToCppCopy(PepType_PFTP(reinterpret_cast<PySideQFlagsType *>(SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]))->converter, self, &cppSelf);
    ::QDesignerFormWindowInterface::Feature cppResult = ~cppSelf;
    return Shiboken::Conversions::copyToPython(PepType_PFTP(reinterpret_cast<PySideQFlagsType *>(SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]))->converter, &cppResult);
}

static PyObject *SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag_long(PyObject *self)
{
    int val;
    Shiboken::Conversions::pythonToCppCopy(PepType_PFTP(reinterpret_cast<PySideQFlagsType *>(SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]))->converter, self, &val);
    return Shiboken::Conversions::copyToPython(Shiboken::Conversions::PrimitiveTypeConverter<int>(), &val);
}
static int SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag__nonzero(PyObject *self)
{
    int val;
    Shiboken::Conversions::pythonToCppCopy(PepType_PFTP(reinterpret_cast<PySideQFlagsType *>(SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]))->converter, self, &val);
    return val != 0;
}

static PyType_Slot SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag_number_slots[] = {
    {Py_nb_bool,    reinterpret_cast<void *>(SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag__nonzero)},
    {Py_nb_invert,  reinterpret_cast<void *>(SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag___invert__)},
    {Py_nb_and,     reinterpret_cast<void *>(SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag___and__)},
    {Py_nb_xor,     reinterpret_cast<void *>(SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag___xor__)},
    {Py_nb_or,      reinterpret_cast<void *>(SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag___or__)},
    {Py_nb_int,     reinterpret_cast<void *>(SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag_long)},
    {Py_nb_index,   reinterpret_cast<void *>(SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag_long)},
    {0, nullptr} // sentinel
};



// Type conversion functions.

// Python to C++ enum conversion.
static void QDesignerFormWindowInterface_FeatureFlag_PythonToCpp_QDesignerFormWindowInterface_FeatureFlag(PyObject *pyIn, void *cppOut)
{
    *reinterpret_cast<::QDesignerFormWindowInterface::FeatureFlag *>(cppOut) =
        static_cast<::QDesignerFormWindowInterface::FeatureFlag>(Shiboken::Enum::getValue(pyIn));

}
static PythonToCppFunc is_QDesignerFormWindowInterface_FeatureFlag_PythonToCpp_QDesignerFormWindowInterface_FeatureFlag_Convertible(PyObject *pyIn)
{
    if (PyObject_TypeCheck(pyIn, SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]))
        return QDesignerFormWindowInterface_FeatureFlag_PythonToCpp_QDesignerFormWindowInterface_FeatureFlag;
    return {};
}
static PyObject *QDesignerFormWindowInterface_FeatureFlag_CppToPython_QDesignerFormWindowInterface_FeatureFlag(const void *cppIn)
{
    const int castCppIn = int(*reinterpret_cast<const ::QDesignerFormWindowInterface::FeatureFlag *>(cppIn));
    return Shiboken::Enum::newItem(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX], castCppIn);

}

static void QFlags_QDesignerFormWindowInterface_FeatureFlag__PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag_(PyObject *pyIn, void *cppOut)
{
    *reinterpret_cast<::QFlags<QDesignerFormWindowInterface::FeatureFlag> *>(cppOut) =
        ::QFlags<QDesignerFormWindowInterface::FeatureFlag>(QFlag(int(PySide::QFlags::getValue(reinterpret_cast<PySideQFlagsObject *>(pyIn)))));

}
static PythonToCppFunc is_QFlags_QDesignerFormWindowInterface_FeatureFlag__PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag__Convertible(PyObject *pyIn)
{
    if (PyObject_TypeCheck(pyIn, SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]))
        return QFlags_QDesignerFormWindowInterface_FeatureFlag__PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag_;
    return {};
}
static PyObject *QFlags_QDesignerFormWindowInterface_FeatureFlag__CppToPython_QFlags_QDesignerFormWindowInterface_FeatureFlag_(const void *cppIn)
{
    const int castCppIn = int(*reinterpret_cast<const ::QFlags<QDesignerFormWindowInterface::FeatureFlag> *>(cppIn));
    return reinterpret_cast<PyObject *>(PySide::QFlags::newObject(castCppIn, SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]));

}

static void QDesignerFormWindowInterface_FeatureFlag_PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag_(PyObject *pyIn, void *cppOut)
{
    *reinterpret_cast<::QFlags<QDesignerFormWindowInterface::FeatureFlag> *>(cppOut) =
        ::QFlags<QDesignerFormWindowInterface::FeatureFlag>(QFlag(int(Shiboken::Enum::getValue(pyIn))));

}
static PythonToCppFunc is_QDesignerFormWindowInterface_FeatureFlag_PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag__Convertible(PyObject *pyIn)
{
    if (PyObject_TypeCheck(pyIn, SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]))
        return QDesignerFormWindowInterface_FeatureFlag_PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag_;
    return {};
}
static void number_PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag_(PyObject *pyIn, void *cppOut)
{
    Shiboken::AutoDecRef pyLong(PyNumber_Long(pyIn));
    *reinterpret_cast<::QFlags<QDesignerFormWindowInterface::FeatureFlag> *>(cppOut) =
        ::QFlags<QDesignerFormWindowInterface::FeatureFlag>(QFlag(int(PyLong_AsLong(pyLong.object()))));

}
static PythonToCppFunc is_number_PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag__Convertible(PyObject *pyIn)
{
    if (PyNumber_Check(pyIn) && PyObject_TypeCheck(pyIn, SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]))
        return number_PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag_;
    return {};
}
static void QDesignerFormWindowInterface_ResourceFileSaveMode_PythonToCpp_QDesignerFormWindowInterface_ResourceFileSaveMode(PyObject *pyIn, void *cppOut)
{
    *reinterpret_cast<::QDesignerFormWindowInterface::ResourceFileSaveMode *>(cppOut) =
        static_cast<::QDesignerFormWindowInterface::ResourceFileSaveMode>(Shiboken::Enum::getValue(pyIn));

}
static PythonToCppFunc is_QDesignerFormWindowInterface_ResourceFileSaveMode_PythonToCpp_QDesignerFormWindowInterface_ResourceFileSaveMode_Convertible(PyObject *pyIn)
{
    if (PyObject_TypeCheck(pyIn, SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_RESOURCEFILESAVEMODE_IDX]))
        return QDesignerFormWindowInterface_ResourceFileSaveMode_PythonToCpp_QDesignerFormWindowInterface_ResourceFileSaveMode;
    return {};
}
static PyObject *QDesignerFormWindowInterface_ResourceFileSaveMode_CppToPython_QDesignerFormWindowInterface_ResourceFileSaveMode(const void *cppIn)
{
    const int castCppIn = int(*reinterpret_cast<const ::QDesignerFormWindowInterface::ResourceFileSaveMode *>(cppIn));
    return Shiboken::Enum::newItem(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_RESOURCEFILESAVEMODE_IDX], castCppIn);

}

// Python to C++ pointer conversion - returns the C++ object of the Python wrapper (keeps object identity).
static void QDesignerFormWindowInterface_PythonToCpp_QDesignerFormWindowInterface_PTR(PyObject *pyIn, void *cppOut)
{
    Shiboken::Conversions::pythonToCppPointer(Sbk_QDesignerFormWindowInterface_TypeF(), pyIn, cppOut);
}
static PythonToCppFunc is_QDesignerFormWindowInterface_PythonToCpp_QDesignerFormWindowInterface_PTR_Convertible(PyObject *pyIn)
{
    if (pyIn == Py_None)
        return Shiboken::Conversions::nonePythonToCppNullPtr;
    if (PyObject_TypeCheck(pyIn, reinterpret_cast<PyTypeObject *>(Sbk_QDesignerFormWindowInterface_TypeF())))
        return QDesignerFormWindowInterface_PythonToCpp_QDesignerFormWindowInterface_PTR;
    return {};
}

// C++ to Python pointer conversion - tries to find the Python wrapper for the C++ object (keeps object identity).
static PyObject *QDesignerFormWindowInterface_PTR_CppToPython_QDesignerFormWindowInterface(const void *cppIn)
{
    return PySide::getWrapperForQObject(reinterpret_cast<::QDesignerFormWindowInterface *>(const_cast<void *>(cppIn)), Sbk_QDesignerFormWindowInterface_TypeF());

}

// The signatures string for the functions.
// Multiple signatures have their index "n:" in front.
static const char *QDesignerFormWindowInterface_SignatureStrings[] = {
    "PySide6.QtDesigner.QDesignerFormWindowInterface(self,parent:PySide6.QtWidgets.QWidget=nullptr,flags:PySide6.QtCore.Qt.WindowFlags={})",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.absoluteDir(self)->PySide6.QtCore.QDir",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.activateResourceFilePaths(self,paths:QStringList,errorCount:int*=nullptr,errorMessages:QString*=nullptr)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.activeResourceFilePaths(self)->QStringList",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.addResourceFile(self,path:QString)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.author(self)->QString",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.beginCommand(self,description:QString)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.checkContents(self)->QStringList",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.clearSelection(self,changePropertyDisplay:bool=true)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.commandHistory(self)->PySide6.QtGui.QUndoStack",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.comment(self)->QString",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.contents(self)->QString",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.core(self)->PySide6.QtDesigner.QDesignerFormEditorInterface",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.currentTool(self)->int",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.cursor(self)->PySide6.QtDesigner.QDesignerFormWindowCursorInterface",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.editWidgets(self)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.emitSelectionChanged(self)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.endCommand(self)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.ensureUniqueObjectName(self,object:PySide6.QtCore.QObject)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.exportMacro(self)->QString",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.features(self)->PySide6.QtDesigner.QDesignerFormWindowInterface.Feature",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.fileName(self)->QString",
    "1:PySide6.QtDesigner.QDesignerFormWindowInterface.findFormWindow(obj:PySide6.QtCore.QObject)->PySide6.QtDesigner.QDesignerFormWindowInterface",
    "0:PySide6.QtDesigner.QDesignerFormWindowInterface.findFormWindow(w:PySide6.QtWidgets.QWidget)->PySide6.QtDesigner.QDesignerFormWindowInterface",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.formContainer(self)->PySide6.QtWidgets.QWidget",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.grid(self)->PySide6.QtCore.QPoint",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.hasFeature(self,f:PySide6.QtDesigner.QDesignerFormWindowInterface.Feature)->bool",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.includeHints(self)->QStringList",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.isDirty(self)->bool",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.isManaged(self,widget:PySide6.QtWidgets.QWidget)->bool",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.layoutDefault(self,margin:int*,spacing:int*)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.layoutFunction(self,margin:QString*,spacing:QString*)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.mainContainer(self)->PySide6.QtWidgets.QWidget",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.manageWidget(self,widget:PySide6.QtWidgets.QWidget)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.pixmapFunction(self)->QString",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.registerTool(self,tool:PySide6.QtDesigner.QDesignerFormWindowToolInterface)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.removeResourceFile(self,path:QString)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.resourceFileSaveMode(self)->PySide6.QtDesigner.QDesignerFormWindowInterface.ResourceFileSaveMode",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.resourceFiles(self)->QStringList",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.selectWidget(self,w:PySide6.QtWidgets.QWidget,select:bool=true)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.setAuthor(self,author:QString)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.setComment(self,comment:QString)",
    "1:PySide6.QtDesigner.QDesignerFormWindowInterface.setContents(self,contents:QString)->bool",
    "0:PySide6.QtDesigner.QDesignerFormWindowInterface.setContents(self,dev:PySide6.QtCore.QIODevice,errorMessage:QString*=nullptr)->bool",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.setCurrentTool(self,index:int)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.setDirty(self,dirty:bool)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.setExportMacro(self,exportMacro:QString)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.setFeatures(self,f:PySide6.QtDesigner.QDesignerFormWindowInterface.Feature)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.setFileName(self,fileName:QString)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.setGrid(self,grid:PySide6.QtCore.QPoint)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.setIncludeHints(self,includeHints:QStringList)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.setLayoutDefault(self,margin:int,spacing:int)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.setLayoutFunction(self,margin:QString,spacing:QString)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.setMainContainer(self,mainContainer:PySide6.QtWidgets.QWidget)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.setPixmapFunction(self,pixmapFunction:QString)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.setResourceFileSaveMode(self,behaviour:PySide6.QtDesigner.QDesignerFormWindowInterface.ResourceFileSaveMode)",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.simplifySelection(self,widgets:QList[PySide6.QtWidgets.QWidget])",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.tool(self,index:int)->PySide6.QtDesigner.QDesignerFormWindowToolInterface",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.toolCount(self)->int",
    "PySide6.QtDesigner.QDesignerFormWindowInterface.unmanageWidget(self,widget:PySide6.QtWidgets.QWidget)",
    nullptr}; // Sentinel

void init_QDesignerFormWindowInterface(PyObject *module)
{
    _Sbk_QDesignerFormWindowInterface_Type = Shiboken::ObjectType::introduceWrapperType(
        module,
        "QDesignerFormWindowInterface",
        "QDesignerFormWindowInterface*",
        &Sbk_QDesignerFormWindowInterface_spec,
        &Shiboken::callCppDestructor< ::QDesignerFormWindowInterface >,
        SbkPySide6_QtWidgetsTypes[SBK_QWIDGET_IDX],
        0,
        Shiboken::ObjectType::WrapperFlags::DeleteInMainThread);
    auto *pyType = Sbk_QDesignerFormWindowInterface_TypeF(); // references _Sbk_QDesignerFormWindowInterface_Type
    InitSignatureStrings(pyType, QDesignerFormWindowInterface_SignatureStrings);
    SbkObjectType_SetPropertyStrings(reinterpret_cast<PyTypeObject *>(_Sbk_QDesignerFormWindowInterface_Type), Sbk_QDesignerFormWindowInterface_PropertyStrings);
    SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_IDX]
        = Sbk_QDesignerFormWindowInterface_TypeF();

    // Register Converter
    SbkConverter *converter = Shiboken::Conversions::createConverter(Sbk_QDesignerFormWindowInterface_TypeF(),
        QDesignerFormWindowInterface_PythonToCpp_QDesignerFormWindowInterface_PTR,
        is_QDesignerFormWindowInterface_PythonToCpp_QDesignerFormWindowInterface_PTR_Convertible,
        QDesignerFormWindowInterface_PTR_CppToPython_QDesignerFormWindowInterface);

    Shiboken::Conversions::registerConverterName(converter, "QDesignerFormWindowInterface");
    Shiboken::Conversions::registerConverterName(converter, "QDesignerFormWindowInterface*");
    Shiboken::Conversions::registerConverterName(converter, "QDesignerFormWindowInterface&");
    Shiboken::Conversions::registerConverterName(converter, typeid(::QDesignerFormWindowInterface).name());


    MultipleInheritanceInitFunction func = Shiboken::ObjectType::getMultipleInheritanceFunction(SbkPySide6_QtWidgetsTypes[SBK_QWIDGET_IDX]);
    Shiboken::ObjectType::setMultipleInheritanceFunction(Sbk_QDesignerFormWindowInterface_TypeF(), func);
    Shiboken::ObjectType::setCastFunction(Sbk_QDesignerFormWindowInterface_TypeF(), &Sbk_QDesignerFormWindowInterfaceSpecialCastFunction);
    Shiboken::ObjectType::setTypeDiscoveryFunctionV2(Sbk_QDesignerFormWindowInterface_TypeF(), &Sbk_QDesignerFormWindowInterface_typeDiscovery);

    // Initialization of enums.

    // Initialization of enum 'FeatureFlag'.
    SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX] = PySide::QFlags::create("2:PySide6.QtDesigner.QDesignerFormWindowInterface.Feature", SbkPySide6_QtDesigner_QDesignerFormWindowInterface_FeatureFlag_number_slots);
    SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX] = Shiboken::Enum::createScopedEnum(Sbk_QDesignerFormWindowInterface_TypeF(),
        "FeatureFlag",
        "2:PySide6.QtDesigner.QDesignerFormWindowInterface.FeatureFlag",
        "QDesignerFormWindowInterface::FeatureFlag",
        SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX]);
    if (!SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX])
        return;

    if (!Shiboken::Enum::createScopedEnumItem(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX],
        Sbk_QDesignerFormWindowInterface_TypeF(), "EditFeature", (long) QDesignerFormWindowInterface::FeatureFlag::EditFeature))
        return;
    if (!Shiboken::Enum::createScopedEnumItem(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX],
        Sbk_QDesignerFormWindowInterface_TypeF(), "GridFeature", (long) QDesignerFormWindowInterface::FeatureFlag::GridFeature))
        return;
    if (!Shiboken::Enum::createScopedEnumItem(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX],
        Sbk_QDesignerFormWindowInterface_TypeF(), "TabOrderFeature", (long) QDesignerFormWindowInterface::FeatureFlag::TabOrderFeature))
        return;
    if (!Shiboken::Enum::createScopedEnumItem(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX],
        Sbk_QDesignerFormWindowInterface_TypeF(), "DefaultFeature", (long) QDesignerFormWindowInterface::FeatureFlag::DefaultFeature))
        return;
    // Register converter for enum 'QDesignerFormWindowInterface::FeatureFlag'.
    {
        SbkConverter *converter = Shiboken::Conversions::createConverter(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX],
            QDesignerFormWindowInterface_FeatureFlag_CppToPython_QDesignerFormWindowInterface_FeatureFlag);
        Shiboken::Conversions::addPythonToCppValueConversion(converter,
            QDesignerFormWindowInterface_FeatureFlag_PythonToCpp_QDesignerFormWindowInterface_FeatureFlag,
            is_QDesignerFormWindowInterface_FeatureFlag_PythonToCpp_QDesignerFormWindowInterface_FeatureFlag_Convertible);
        Shiboken::Enum::setTypeConverter(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX], converter, false);
        Shiboken::Conversions::registerConverterName(converter, "QDesignerFormWindowInterface::FeatureFlag");
        Shiboken::Conversions::registerConverterName(converter, "FeatureFlag");
    }
    // Register converter for flag 'QFlags<QDesignerFormWindowInterface::FeatureFlag>'.
    {
        SbkConverter *converter = Shiboken::Conversions::createConverter(SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX],
            QFlags_QDesignerFormWindowInterface_FeatureFlag__CppToPython_QFlags_QDesignerFormWindowInterface_FeatureFlag_);
        Shiboken::Conversions::addPythonToCppValueConversion(converter,
            QDesignerFormWindowInterface_FeatureFlag_PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag_,
            is_QDesignerFormWindowInterface_FeatureFlag_PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag__Convertible);
        Shiboken::Conversions::addPythonToCppValueConversion(converter,
            QFlags_QDesignerFormWindowInterface_FeatureFlag__PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag_,
            is_QFlags_QDesignerFormWindowInterface_FeatureFlag__PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag__Convertible);
        Shiboken::Conversions::addPythonToCppValueConversion(converter,
            number_PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag_,
            is_number_PythonToCpp_QFlags_QDesignerFormWindowInterface_FeatureFlag__Convertible);
        Shiboken::Enum::setTypeConverter(SbkPySide6_QtDesignerTypes[SBK_QFLAGS_QDESIGNERFORMWINDOWINTERFACE_FEATUREFLAG_IDX], converter, true);
        Shiboken::Conversions::registerConverterName(converter, "QDesignerFormWindowInterface::Feature");
        Shiboken::Conversions::registerConverterName(converter, "Feature");
        Shiboken::Conversions::registerConverterName(converter, "QFlags<QDesignerFormWindowInterface::FeatureFlag>");
    }
    // End of 'FeatureFlag' enum/flags.

    // Initialization of enum 'ResourceFileSaveMode'.
    SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_RESOURCEFILESAVEMODE_IDX] = Shiboken::Enum::createScopedEnum(Sbk_QDesignerFormWindowInterface_TypeF(),
        "ResourceFileSaveMode",
        "2:PySide6.QtDesigner.QDesignerFormWindowInterface.ResourceFileSaveMode",
        "QDesignerFormWindowInterface::ResourceFileSaveMode");
    if (!SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_RESOURCEFILESAVEMODE_IDX])
        return;

    if (!Shiboken::Enum::createScopedEnumItem(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_RESOURCEFILESAVEMODE_IDX],
        Sbk_QDesignerFormWindowInterface_TypeF(), "SaveAllResourceFiles", (long) QDesignerFormWindowInterface::ResourceFileSaveMode::SaveAllResourceFiles))
        return;
    if (!Shiboken::Enum::createScopedEnumItem(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_RESOURCEFILESAVEMODE_IDX],
        Sbk_QDesignerFormWindowInterface_TypeF(), "SaveOnlyUsedResourceFiles", (long) QDesignerFormWindowInterface::ResourceFileSaveMode::SaveOnlyUsedResourceFiles))
        return;
    if (!Shiboken::Enum::createScopedEnumItem(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_RESOURCEFILESAVEMODE_IDX],
        Sbk_QDesignerFormWindowInterface_TypeF(), "DontSaveResourceFiles", (long) QDesignerFormWindowInterface::ResourceFileSaveMode::DontSaveResourceFiles))
        return;
    // Register converter for enum 'QDesignerFormWindowInterface::ResourceFileSaveMode'.
    {
        SbkConverter *converter = Shiboken::Conversions::createConverter(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_RESOURCEFILESAVEMODE_IDX],
            QDesignerFormWindowInterface_ResourceFileSaveMode_CppToPython_QDesignerFormWindowInterface_ResourceFileSaveMode);
        Shiboken::Conversions::addPythonToCppValueConversion(converter,
            QDesignerFormWindowInterface_ResourceFileSaveMode_PythonToCpp_QDesignerFormWindowInterface_ResourceFileSaveMode,
            is_QDesignerFormWindowInterface_ResourceFileSaveMode_PythonToCpp_QDesignerFormWindowInterface_ResourceFileSaveMode_Convertible);
        Shiboken::Enum::setTypeConverter(SbkPySide6_QtDesignerTypes[SBK_QDESIGNERFORMWINDOWINTERFACE_RESOURCEFILESAVEMODE_IDX], converter, false);
        Shiboken::Conversions::registerConverterName(converter, "QDesignerFormWindowInterface::ResourceFileSaveMode");
        Shiboken::Conversions::registerConverterName(converter, "ResourceFileSaveMode");
    }
    // End of 'ResourceFileSaveMode' enum.

    PySide::Signal::registerSignals(Sbk_QDesignerFormWindowInterface_TypeF(), &::QDesignerFormWindowInterface::staticMetaObject);
    qRegisterMetaType< ::QDesignerFormWindowInterface::FeatureFlag >("QDesignerFormWindowInterface::FeatureFlag");
    qRegisterMetaType< ::QDesignerFormWindowInterface::Feature >("QDesignerFormWindowInterface::Feature");
    qRegisterMetaType< ::QDesignerFormWindowInterface::ResourceFileSaveMode >("QDesignerFormWindowInterface::ResourceFileSaveMode");
    Shiboken::ObjectType::setSubTypeInitHook(Sbk_QDesignerFormWindowInterface_TypeF(), &PySide::initQObjectSubType);
    PySide::initDynamicMetaObject(Sbk_QDesignerFormWindowInterface_TypeF(), &::QDesignerFormWindowInterface::staticMetaObject, sizeof(::QDesignerFormWindowInterface));
}
