Perceptual Color
4#ifndef PERCEPTUALSETTINGS_H
5#define PERCEPTUALSETTINGS_H
15#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
16#include <qtmetamacros.h>
18#include <qobjectdefs.h>
30class PerceptualSettings :
public Settings
38 using ColorList = QList<QColor>;
40 virtual ~PerceptualSettings()
override;
43 PerceptualSettings(
const PerceptualSettings &) =
delete;
44 PerceptualSettings &operator=(
const PerceptualSettings &) =
delete;
46 static PerceptualSettings &instance();
49 Setting<PerceptualSettings::ColorList> customColors;
53 Setting<PerceptualSettings::ColorList> history;
65 enum class SwatchBookPage {
72 Setting<SwatchBookPage> swatchBookPage;
80 Setting<QString> tabExpanded;
86 friend class TestPerceptualSettings;
91Q_DECLARE_METATYPE(PerceptualColor::PerceptualSettings::ColorList)
92Q_DECLARE_METATYPE(PerceptualColor::PerceptualSettings::SwatchBookPage)
The namespace of this library.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:46:43 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.