Krita Source Code Documentation
Loading...
Searching...
No Matches
Preset.h
Go to the documentation of this file.
1
2
/*
3
* SPDX-FileCopyrightText: 2017 Wolthera van Hövell tot Westerflier <griffinvalley@gmail.com>
4
*
5
* SPDX-License-Identifier: LGPL-2.0-or-later
6
*/
7
8
#ifndef LIBKIS_PRESET_H
9
#define LIBKIS_PRESET_H
10
11
#include "kritalibkis_export.h"
12
#include "
libkis.h
"
13
#include "
Resource.h
"
14
#include <
kis_types.h
>
15
#include <
kis_paintop_preset.h
>
16
34
class
KRITALIBKIS_EXPORT
Preset
:
public
QObject
35
{
36
public
:
37
Preset
(
Resource
*resource);
38
~Preset
()
override
;
39
45
QString toXML()
const
;
46
52
void
fromXML(
const
QString &xml);
53
54
private
:
55
struct
Private
;
56
Private
*
const
d
;
57
62
KisPaintOpPresetSP
paintOpPreset
();
63
64
};
65
66
#endif
// LIBKIS_PRESET_H
Resource.h
Preset
The Preset class Preset is a resource object that stores brush preset data.
Definition
Preset.h:35
Preset::d
Private *const d
Definition
Preset.h:56
Preset::paintOpPreset
KisPaintOpPresetSP paintOpPreset()
paintOpPreset
QSharedPointer< KisPaintOpPreset >
Resource
Definition
Resource.h:31
kis_paintop_preset.h
kis_types.h
libkis.h
Private
Definition
SvgTransformParser.cpp:20
libs
libkis
Preset.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52