Krita Source Code Documentation
Loading...
Searching...
No Matches
KisNodeDisplayModeAdapter.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2018 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
8#include "kis_config.h"
10
11
13 : QObject(parent)
14{
15 connect(KisConfigNotifier::instance(), SIGNAL(configChanged()),
16 SLOT(slotSettingsChanged()));
17
19}
20
25
32
37
44
49
51{
52 KisConfig cfg(true);
53
56
59
60 if (!suppressSignals) {
62 }
63 }
64}
float value(const T *src, size_t ch)
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
static KisConfigNotifier * instance()
bool showGlobalSelection(bool defaultValue=false) const
bool showRootLayer(bool defaultValue=false) const
void setShowGlobalSelection(bool showGlobalSelection) const
void setShowRootLayer(bool showRootLayer) const
void sigNodeDisplayModeChanged(bool showRootNode, bool showGlobalSelectionMask)
void slotSettingsChangedImpl(bool suppressSignals)