// 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 QToolBar; QT_END_NAMESPACE namespace Utils { class CrumblePath; } namespace QmlDesigner { class ToolBox : public Utils::StyledBar { public: explicit ToolBox(QWidget *parentWidget); void setLeftSideActions(const QList &actions); void setRightSideActions(const QList &actions); void addLeftSideAction(QAction *action); void addRightSideAction(QAction *action); QList actions() const; private: QToolBar *m_leftToolBar; QToolBar *m_rightToolBar; }; } // namespace QmlDesigner