//*****************************************************************************
// Copyright (c) 2024 Autodesk, Inc.
// All rights reserved.
//
// SPDX-License-Identifier: Apache-2.0
//
//*****************************************************************************

// IMPORTANT: This file (not the template) is auto-generated by qt2mu.py script.
//            The prefered way to do a fix is to handrolled it or modify the
//            qt2mu.py script. If it is not possible, manual editing is ok but
//            it could be lost in future generations.

#ifndef __MuQt6__QSpacerItemType__h__
#define __MuQt6__QSpacerItemType__h__
#include <iostream>
#include <Mu/Class.h>
#include <Mu/MuProcess.h>
#include <QtCore/QtCore>
#include <QtGui/QtGui>
#include <QtWidgets/QtWidgets>
#include <QtNetwork/QtNetwork>
#include <QtSvg/QtSvg>
#include <QSvgWidget>
#include <MuQt6/Bridge.h>

namespace Mu
{
    class MuQt_QSpacerItem;

    class QSpacerItemType : public Class
    {
    public:
        typedef MuQt_QSpacerItem MuQtType;
        typedef QSpacerItem QtType;

        //
        //  Constructors
        //

        QSpacerItemType(Context* context, const char* name,
                        Class* superClass = 0);
        virtual ~QSpacerItemType();

        static bool isInheritable() { return true; }

        static inline ClassInstance* cachedInstance(const MuQtType*);

        //
        //  Class API
        //

        virtual void load();

        MemberFunction* _func[14];
    };

    // Inheritable object

    class MuQt_QSpacerItem : public QSpacerItem
    {
    public:
        virtual ~MuQt_QSpacerItem();
        MuQt_QSpacerItem(Pointer muobj, const CallEnvironment*, int w, int h,
                         QSizePolicy::Policy hPolicy,
                         QSizePolicy::Policy vPolicy);
        virtual Qt::Orientations expandingDirections() const;
        virtual QRect geometry() const;
        virtual bool isEmpty() const;
        virtual QSize maximumSize() const;
        virtual QSize minimumSize() const;
        virtual void setGeometry(const QRect& r);
        virtual QSize sizeHint() const;
        virtual QSizePolicy::ControlTypes controlTypes() const;
        virtual bool hasHeightForWidth() const;
        virtual int heightForWidth(int _p3) const;
        virtual void invalidate();
        virtual QLayout* layout();
        virtual int minimumHeightForWidth(int w) const;
        virtual QWidget* widget() const;

    public:
        const QSpacerItemType* _baseType;
        ClassInstance* _obj;
        const CallEnvironment* _env;
    };

    inline ClassInstance*
    QSpacerItemType::cachedInstance(const QSpacerItemType::MuQtType* obj)
    {
        return obj->_obj;
    }

} // namespace Mu

#endif // __MuQt6__QSpacerItemType__h__
