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>
14
#include <
brushengine/kis_paintop_preset.h
>
15
16
class
KoResource
;
17
18
class
KRITAUI_EXPORT
KisPaintOpPresetsChooserPopup
:
public
QWidget
19
{
20
Q_OBJECT
21
public
:
22
KisPaintOpPresetsChooserPopup
(QWidget * parent = 0);
23
~KisPaintOpPresetsChooserPopup
()
override
;
24
25
void
updateViewSettings();
26
void
setResponsiveness(
bool
value
);
27
public
Q_SLOTS:
28
void
canvasResourceChanged(
KisPaintOpPresetSP
preset);
29
void
slotThemeChanged();
30
31
Q_SIGNALS:
32
void
resourceSelected
(
KoResourceSP
resource);
33
void
resourceClicked
(
KoResourceSP
resource);
34
35
private
Q_SLOTS:
36
void
slotThumbnailMode();
37
void
slotDetailMode();
38
void
slotUpdateMenu();
39
void
paintEvent(QPaintEvent *)
override
;
40
41
private
:
42
43
struct
Private
;
44
Private
*
const
m_d
;
45
};
46
47
#endif
// KIS_PAINTOP_PRESETS_CHOOSER_POPUP_H
value
float value(const T *src, size_t ch)
Definition
JPEGXLImport.cpp:93
KoID.h
KisPaintOpPresetsChooserPopup
Definition
kis_paintop_presets_chooser_popup.h:19
KisPaintOpPresetsChooserPopup::resourceClicked
void resourceClicked(KoResourceSP resource)
KisPaintOpPresetsChooserPopup::m_d
Private *const m_d
Definition
kis_paintop_presets_chooser_popup.h:44
KisPaintOpPresetsChooserPopup::resourceSelected
void resourceSelected(KoResourceSP resource)
QSharedPointer< KisPaintOpPreset >
kis_paintop_preset.h
Private
Definition
SvgTransformParser.cpp:20
KoResource
Definition
KoResource.cpp:27
libs
ui
widgets
kis_paintop_presets_chooser_popup.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52