|
Krita Source Code Documentation
|
#include <kis_color_input.h>
Inheritance diagram for KisIntegerColorInput:Public Slots | |
| void | setValue (int) |
| void | update () |
Public Member Functions | |
| KisIntegerColorInput (QWidget *parent, const KoChannelInfo *, KoColor *color, KoColorDisplayRendererInterface *displayRenderer=KoDumbColorDisplayRenderer::instance(), bool usePercentage=false) | |
Public Member Functions inherited from KisColorInput | |
| KisColorInput (QWidget *parent, const KoChannelInfo *, KoColor *color, KoColorDisplayRendererInterface *displayRenderer=KoDumbColorDisplayRenderer::instance(), bool usePercentage=false) | |
| bool | usePercentage () const |
Protected Member Functions | |
| QWidget * | createInput () override |
| void | setPercentageWise (bool val) override |
| void | updateMaximums () |
Protected Member Functions inherited from KisColorInput | |
| void | init () |
Private Slots | |
| void | onColorSliderChanged (int) |
| void | onNumInputChanged (int) |
Private Attributes | |
| KisIntParseSpinBox * | m_intNumInput {nullptr} |
Additional Inherited Members | |
Signals inherited from KisColorInput | |
| void | updated () |
Protected Attributes inherited from KisColorInput | |
| const KoChannelInfo * | m_channelInfo {nullptr} |
| KoColor * | m_color {nullptr} |
| KoColorSlider * | m_colorSlider {nullptr} |
| KoColorDisplayRendererInterface * | m_displayRenderer {nullptr} |
| bool | m_usePercentage {false} |
Definition at line 53 of file kis_color_input.h.
| KisIntegerColorInput::KisIntegerColorInput | ( | QWidget * | parent, |
| const KoChannelInfo * | channelInfo, | ||
| KoColor * | color, | ||
| KoColorDisplayRendererInterface * | displayRenderer = KoDumbColorDisplayRenderer::instance(), | ||
| bool | usePercentage = false ) |
Definition at line 65 of file kis_color_input.cpp.
References KisColorInput::init().
|
overrideprotectedvirtual |
Implements KisColorInput.
Definition at line 132 of file kis_color_input.cpp.
References connect(), KisColorInput::m_colorSlider, m_intNumInput, KisColorInput::m_usePercentage, onColorSliderChanged(), onNumInputChanged(), KisSpinBoxI18nHelper::setText(), and updateMaximums().
|
privateslot |
Definition at line 179 of file kis_color_input.cpp.
References KoChannelInfo::channelValueType(), KisColorInput::m_channelInfo, m_intNumInput, KisColorInput::m_usePercentage, KisIntParseSpinBox::setValue(), setValue(), KoChannelInfo::size(), KoChannelInfo::UINT16, KoChannelInfo::UINT32, and KoChannelInfo::UINT8.
|
privateslot |
Definition at line 194 of file kis_color_input.cpp.
References KoChannelInfo::channelValueType(), KisColorInput::m_channelInfo, KisColorInput::m_colorSlider, KisColorInput::m_usePercentage, setValue(), KoChannelInfo::size(), KoChannelInfo::UINT16, KoChannelInfo::UINT32, and KoChannelInfo::UINT8.
|
overrideprotectedvirtual |
Reimplemented from KisColorInput.
Definition at line 163 of file kis_color_input.cpp.
References m_intNumInput, KisColorInput::m_usePercentage, KisSpinBoxI18nHelper::setText(), and updateMaximums().
|
slot |
Definition at line 71 of file kis_color_input.cpp.
References KoChannelInfo::channelValueType(), KoColor::data(), KisColorInput::m_channelInfo, KisColorInput::m_color, KoChannelInfo::pos(), KoChannelInfo::UINT16, KoChannelInfo::UINT32, KoChannelInfo::UINT8, KisColorInput::updated(), and v.
|
slot |
Definition at line 90 of file kis_color_input.cpp.
References KoChannelInfo::channelValueType(), KoColor::data(), KisColorInput::m_channelInfo, KisColorInput::m_color, KisColorInput::m_colorSlider, m_intNumInput, KisColorInput::m_usePercentage, KoChannelInfo::pos(), KoColorSlider::setColors(), KisIntParseSpinBox::setValue(), KoChannelInfo::UINT16, KoChannelInfo::UINT32, KoChannelInfo::UINT8, and value().
|
protected |
Definition at line 149 of file kis_color_input.cpp.
References KoChannelInfo::channelValueType(), KisColorInput::m_channelInfo, KisColorInput::m_colorSlider, m_intNumInput, KisColorInput::m_usePercentage, KoChannelInfo::size(), KoChannelInfo::UINT16, KoChannelInfo::UINT32, and KoChannelInfo::UINT8.
|
private |
Definition at line 69 of file kis_color_input.h.