File indexing completed on 2024-04-28 15:52:01
0001 /* 0002 SPDX-FileCopyrightText: 2015 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef WIDGETDRAWINGTOOLS_H 0008 #define WIDGETDRAWINGTOOLS_H 0009 0010 #include "widgetconfigurationtoolsbase.h" 0011 0012 class WidgetDrawingTools : public WidgetConfigurationToolsBase 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit WidgetDrawingTools(QWidget *parent = nullptr); 0017 ~WidgetDrawingTools() override; 0018 0019 QStringList tools() const override; 0020 void setTools(const QStringList &items) override; 0021 0022 QString defaultName() const; 0023 0024 protected Q_SLOTS: 0025 void slotAdd() override; 0026 void slotEdit() override; 0027 }; 0028 0029 #endif // WIDGETDRAWINGTOOLS_H