// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #pragma once #include #include QT_BEGIN_NAMESPACE class QVBoxLayout; QT_END_NAMESPACE namespace ScxmlEditor { namespace PluginInterface { class ScxmlUiFactory; class ShapeProvider; } // namespace PluginInterface namespace Common { /** * @brief The ShapesToolbox class provides all draggable state-items. */ class ShapesToolbox : public QFrame { Q_OBJECT public: explicit ShapesToolbox(QWidget *parent = nullptr); void setUIFactory(PluginInterface::ScxmlUiFactory *uifactory); void initView(); private: QPointer m_shapeProvider; QList m_widgets; QVBoxLayout *m_shapeGroupsLayout; }; } // namespace Common } // namespace ScxmlEditor