Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_paintop_presets_chooser_popup.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2010 Sven Langkamp <sven.langkamp@gmail.com>
3 * SPDX-FileCopyrightText: 2011 Srikanth Tiyyagura <srikanth.tulasiram@gmail.com>
4 *
5 * SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7
8#ifndef KIS_PAINTOP_PRESETS_CHOOSER_POPUP_H
9#define KIS_PAINTOP_PRESETS_CHOOSER_POPUP_H
10
11#include <QWidget>
12#include <KoID.h>
13#include <kritaui_export.h>
15
16class KoResource;
17
18class KRITAUI_EXPORT KisPaintOpPresetsChooserPopup : public QWidget
19{
20 Q_OBJECT
21public:
22 KisPaintOpPresetsChooserPopup(QWidget * parent = 0);
24
25 void updateViewSettings();
26 void setResponsiveness(bool value);
27public Q_SLOTS:
28 void canvasResourceChanged(KisPaintOpPresetSP preset);
29 void slotThemeChanged();
30
31Q_SIGNALS:
34
35private Q_SLOTS:
36 void slotThumbnailMode();
37 void slotDetailMode();
38 void slotUpdateMenu();
39 void paintEvent(QPaintEvent *) override;
40
41private:
42
43 struct Private;
44 Private * const m_d;
45};
46
47#endif // KIS_PAINTOP_PRESETS_CHOOSER_POPUP_H
float value(const T *src, size_t ch)
void resourceClicked(KoResourceSP resource)
void resourceSelected(KoResourceSP resource)