|
Krita Source Code Documentation
|
#include <kis_tool_utils.h>
Public Member Functions | |
| ColorSamplerConfig () | |
| void | load () |
| void | save () const |
Public Attributes | |
| bool | addColorToCurrentPalette |
| int | blend |
| bool | normaliseValues |
| int | radius |
| bool | sampleMerged |
| bool | toForegroundColor |
| bool | updateColor |
Static Private Attributes | |
| static const QString | CONFIG_GROUP_NAME = "tool_color_sampler" |
Definition at line 21 of file kis_tool_utils.h.
| KisToolUtils::ColorSamplerConfig::ColorSamplerConfig | ( | ) |
Definition at line 264 of file kis_tool_utils.cpp.
| void KisToolUtils::ColorSamplerConfig::load | ( | ) |
Definition at line 291 of file kis_tool_utils.cpp.
References addColorToCurrentPalette, blend, CONFIG_GROUP_NAME, KisPropertiesConfiguration::fromXML(), KisPropertiesConfiguration::getBool(), KisPropertiesConfiguration::getInt(), normaliseValues, radius, sampleMerged, toForegroundColor, and updateColor.
| void KisToolUtils::ColorSamplerConfig::save | ( | ) | const |
Definition at line 275 of file kis_tool_utils.cpp.
References addColorToCurrentPalette, blend, CONFIG_GROUP_NAME, normaliseValues, radius, sampleMerged, KisPropertiesConfiguration::setProperty(), toForegroundColor, KisPropertiesConfiguration::toXML(), and updateColor.
| bool KisToolUtils::ColorSamplerConfig::addColorToCurrentPalette |
Definition at line 26 of file kis_tool_utils.h.
| int KisToolUtils::ColorSamplerConfig::blend |
Definition at line 30 of file kis_tool_utils.h.
|
staticprivate |
Definition at line 35 of file kis_tool_utils.h.
| bool KisToolUtils::ColorSamplerConfig::normaliseValues |
Definition at line 27 of file kis_tool_utils.h.
| int KisToolUtils::ColorSamplerConfig::radius |
Definition at line 29 of file kis_tool_utils.h.
| bool KisToolUtils::ColorSamplerConfig::sampleMerged |
Definition at line 28 of file kis_tool_utils.h.
| bool KisToolUtils::ColorSamplerConfig::toForegroundColor |
Definition at line 24 of file kis_tool_utils.h.
| bool KisToolUtils::ColorSamplerConfig::updateColor |
Definition at line 25 of file kis_tool_utils.h.