|
Krita Source Code Documentation
|
#include <kis_color_input.h>
Inheritance diagram for KisColorInput:Signals | |
| void | updated () |
Public Member Functions | |
| KisColorInput (QWidget *parent, const KoChannelInfo *, KoColor *color, KoColorDisplayRendererInterface *displayRenderer=KoDumbColorDisplayRenderer::instance(), bool usePercentage=false) | |
| virtual void | setPercentageWise (bool val) |
| bool | usePercentage () const |
Protected Member Functions | |
| virtual QWidget * | createInput ()=0 |
| void | init () |
Protected Attributes | |
| const KoChannelInfo * | m_channelInfo {nullptr} |
| KoColor * | m_color {nullptr} |
| KoColorSlider * | m_colorSlider {nullptr} |
| KoColorDisplayRendererInterface * | m_displayRenderer {nullptr} |
| bool | m_usePercentage {false} |
Definition at line 28 of file kis_color_input.h.
| KisColorInput::KisColorInput | ( | QWidget * | parent, |
| const KoChannelInfo * | channelInfo, | ||
| KoColor * | color, | ||
| KoColorDisplayRendererInterface * | displayRenderer = KoDumbColorDisplayRenderer::instance(), | ||
| bool | usePercentage = false ) |
Definition at line 42 of file kis_color_input.cpp.
|
protectedpure virtual |
Implemented in KisIntegerColorInput, KisFloatColorInput, and KisHexColorInput.
|
protected |
Definition at line 48 of file kis_color_input.cpp.
References createInput(), m_channelInfo, m_colorSlider, m_displayRenderer, and KoChannelInfo::name().
|
inlinevirtual |
Reimplemented in KisIntegerColorInput.
Definition at line 36 of file kis_color_input.h.
|
signal |
|
inline |
Definition at line 33 of file kis_color_input.h.
|
protected |
Definition at line 46 of file kis_color_input.h.
|
protected |
Definition at line 47 of file kis_color_input.h.
|
protected |
Definition at line 48 of file kis_color_input.h.
|
protected |
Definition at line 49 of file kis_color_input.h.
|
protected |
Definition at line 50 of file kis_color_input.h.