Krita Source Code Documentation
Loading...
Searching...
No Matches
MyPaintBasicOptionData.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
8
10
12{
13 eraserMode = setting->getBool("EraserMode", false);
14
15 return true;
16}
17
19{
20 setting->setProperty("EraserMode", eraserMode);
21}
virtual void setProperty(const QString &name, const QVariant &value)
bool getBool(const QString &name, bool def=false) const
void write(KisPropertiesConfiguration *setting) const
bool read(const KisPropertiesConfiguration *setting)