File indexing completed on 2024-12-22 04:13:04
0001 /* 0002 * SPDX-FileCopyrightText: 2006 Peter Simonsson <peter.simonsson@gmail.com> 0003 * SPDX-FileCopyrightText: 2007 Thomas Zander <zander@kde.org> 0004 * 0005 * SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #ifndef KOTOOLBOXFACTORY_H 0009 #define KOTOOLBOXFACTORY_H 0010 0011 #include <KoDockFactoryBase.h> 0012 #include "kritaui_export.h" 0013 0014 #include <QString> 0015 #include <QDockWidget> 0016 0017 0018 /** 0019 * Factory class to create a new KoToolBox that contains the buttons 0020 * to activate tools. 0021 */ 0022 class KRITAUI_EXPORT KoToolBoxFactory : public KoDockFactoryBase 0023 { 0024 public: 0025 explicit KoToolBoxFactory(); 0026 ~KoToolBoxFactory() override; 0027 0028 QString id() const override; 0029 KoDockFactoryBase::DockPosition defaultDockPosition() const override; 0030 QDockWidget* createDockWidget() override; 0031 }; 0032 0033 #endif