|
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 |
| ColorSamplerSource | sampleSource |
| bool | toForegroundColor |
| bool | updateColor |
Static Private Attributes | |
| static const QString | CONFIG_GROUP_NAME = "tool_color_sampler" |
Definition at line 27 of file kis_tool_utils.h.
| KisToolUtils::ColorSamplerConfig::ColorSamplerConfig | ( | ) |
Definition at line 269 of file kis_tool_utils.cpp.
References KisToolUtils::SampleSourceImage.
| void KisToolUtils::ColorSamplerConfig::load | ( | ) |
Definition at line 296 of file kis_tool_utils.cpp.
References addColorToCurrentPalette, blend, CONFIG_GROUP_NAME, KisPropertiesConfiguration::fromXML(), KisPropertiesConfiguration::getBool(), KisPropertiesConfiguration::getInt(), normaliseValues, radius, sampleSource, KisToolUtils::SampleSourceImage, toForegroundColor, and updateColor.
| void KisToolUtils::ColorSamplerConfig::save | ( | ) | const |
Definition at line 280 of file kis_tool_utils.cpp.
References addColorToCurrentPalette, blend, CONFIG_GROUP_NAME, normaliseValues, radius, sampleSource, KisPropertiesConfiguration::setProperty(), toForegroundColor, KisPropertiesConfiguration::toXML(), and updateColor.
| bool KisToolUtils::ColorSamplerConfig::addColorToCurrentPalette |
Definition at line 32 of file kis_tool_utils.h.
| int KisToolUtils::ColorSamplerConfig::blend |
Definition at line 36 of file kis_tool_utils.h.
|
staticprivate |
Definition at line 41 of file kis_tool_utils.h.
| bool KisToolUtils::ColorSamplerConfig::normaliseValues |
Definition at line 33 of file kis_tool_utils.h.
| int KisToolUtils::ColorSamplerConfig::radius |
Definition at line 35 of file kis_tool_utils.h.
| ColorSamplerSource KisToolUtils::ColorSamplerConfig::sampleSource |
Definition at line 34 of file kis_tool_utils.h.
| bool KisToolUtils::ColorSamplerConfig::toForegroundColor |
Definition at line 30 of file kis_tool_utils.h.
| bool KisToolUtils::ColorSamplerConfig::updateColor |
Definition at line 31 of file kis_tool_utils.h.