Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_paintop_preset_icon_library.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2017 Wolthera van Hövell tot Westerflier
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6#ifndef KIS_PAINTOP_PRESET_ICON_LIBRARY_H
7#define KIS_PAINTOP_PRESET_ICON_LIBRARY_H
8
9#include <QWidget>
10#include <QStandardItemModel>
11#include "ui_wdgpreseticonlibrary.h"
12
13class Ui_wdgpreseticonlibrary;
14
15class KisPaintopPresetIconLibrary : public QWidget
16{
17 Q_OBJECT
18public:
19 KisPaintopPresetIconLibrary(QWidget *parent);
21
22 Ui_wdgpreseticonlibrary *ui;
23
24 QImage getImage();
25public Q_SLOTS:
26 QImage hueTransform(QImage img);
27 void updateIcon();
28
29private:
30 QStandardItemModel *m_baseModel;
31 QStandardItemModel *m_optionalModel;
33};
34
35#endif // KIS_PAINTOP_PRESET_ICON_LIBRARY_H