|
Krita Source Code Documentation
|
#include <kis_shade_selector_line.h>
Inheritance diagram for KisShadeSelectorLine:Public Member Functions | |
| void | fromString (const QString &string) override |
| KisShadeSelectorLine (KisColorSelectorBaseProxy *parentProxy, QWidget *parent=0) | |
| KisShadeSelectorLine (qreal hueDelta, qreal satDelta, qreal valDelta, KisColorSelectorBaseProxy *parentProxy, QWidget *parent=0, qreal hueShift=0, qreal satShift=0, qreal valShift=0) | |
| void | mouseMoveEvent (QMouseEvent *) override |
| void | mousePressEvent (QMouseEvent *) override |
| void | mouseReleaseEvent (QMouseEvent *) override |
| void | paintEvent (QPaintEvent *) override |
| void | resizeEvent (QResizeEvent *) override |
| void | setCanvas (KisCanvas2 *canvas) |
| void | setColor (const KoColor &color) |
| void | setParam (qreal hue, qreal sat, qreal val, qreal hueShift, qreal satShift, qreal shiftVal) |
| void | showHelpText () |
| QString | toString () const override |
| void | updateSettings () |
| ~KisShadeSelectorLine () override | |
Public Member Functions inherited from KisShadeSelectorLineBase | |
| KisShadeSelectorLineBase (QWidget *parent) | |
| void | setLineNumber (int n) |
Private Attributes | |
| const KoColorSpace * | m_cachedColorSpace {0} |
| bool | m_displayHelpText {false} |
| QPoint | m_ev |
| bool | m_gradient {false} |
| qreal | m_hueDelta {0.0} |
| qreal | m_hueShift {0.0} |
| bool | m_isDown {false} |
| int | m_lineHeight {0} |
| int | m_mouseX {0} |
| KisColorSelectorBaseProxy * | m_parentProxy {0} |
| int | m_patchCount {0} |
| KoColor | m_realColor |
| KisPaintDeviceSP | m_realPixelCache |
| qreal | m_saturationDelta {0.0} |
| qreal | m_saturationShift {0.0} |
| qreal | m_valueDelta {0.0} |
| qreal | m_valueShift {0.0} |
| int | m_width {0} |
Friends | |
| class | KisShadeSelectorLineComboBox |
Additional Inherited Members | |
Protected Attributes inherited from KisShadeSelectorLineBase | |
| int | m_lineNumber {0} |
Definition at line 32 of file kis_shade_selector_line.h.
|
explicit |
Definition at line 28 of file kis_shade_selector_line.cpp.
References m_isDown, m_mouseX, setParam(), and updateSettings().
|
explicit |
Definition at line 42 of file kis_shade_selector_line.cpp.
References m_isDown, m_mouseX, setParam(), and updateSettings().
|
override |
Definition at line 55 of file kis_shade_selector_line.cpp.
|
overridevirtual |
Implements KisShadeSelectorLineBase.
Definition at line 96 of file kis_shade_selector_line.cpp.
References m_hueDelta, m_hueShift, KisShadeSelectorLineBase::m_lineNumber, m_saturationDelta, m_saturationShift, m_valueDelta, and m_valueShift.
|
override |
Definition at line 235 of file kis_shade_selector_line.cpp.
References m_isDown, m_mouseX, m_parentProxy, m_realPixelCache, m_width, Acs::sampleColor(), and KisColorSelectorBaseProxy::updateColorPreview().
|
override |
Definition at line 220 of file kis_shade_selector_line.cpp.
References m_isDown, m_mouseX, m_parentProxy, and KisColorSelectorBaseProxy::showColorPreview().
|
override |
Definition at line 246 of file kis_shade_selector_line.cpp.
References Acs::buttonToRole(), m_isDown, m_mouseX, m_parentProxy, m_realPixelCache, m_width, Acs::sampleColor(), KisColorSelectorBaseProxy::updateColor(), and KisColorSelectorBaseProxy::updateColorPreview().
|
override |
Definition at line 109 of file kis_shade_selector_line.cpp.
References KisPaintDevice::clear(), KisPaintDevice::colorSpace(), KisColorSelectorBaseProxy::colorSpace(), KisColorSelectorBaseProxy::converter(), KoColor::convertTo(), KisPaintDevice::fill(), KisDisplayColorConverter::fromHsvF(), m_cachedColorSpace, m_displayHelpText, m_gradient, m_hueDelta, m_hueShift, m_lineHeight, m_mouseX, m_parentProxy, m_patchCount, m_realColor, m_realPixelCache, m_saturationDelta, m_saturationShift, m_valueDelta, m_valueShift, m_width, KisDisplayColorConverter::toQImage(), and value().
|
override |
Definition at line 211 of file kis_shade_selector_line.cpp.
| void KisShadeSelectorLine::setCanvas | ( | KisCanvas2 * | canvas | ) |
Definition at line 70 of file kis_shade_selector_line.cpp.
References KisColorSelectorBaseProxy::colorSpace(), KoColor::convertTo(), m_mouseX, m_parentProxy, and m_realColor.
| void KisShadeSelectorLine::setParam | ( | qreal | hue, |
| qreal | sat, | ||
| qreal | val, | ||
| qreal | hueShift, | ||
| qreal | satShift, | ||
| qreal | shiftVal ) |
Definition at line 59 of file kis_shade_selector_line.cpp.
References m_hueDelta, m_hueShift, m_saturationDelta, m_saturationShift, m_valueDelta, and m_valueShift.
|
inline |
|
overridevirtual |
Implements KisShadeSelectorLineBase.
Definition at line 91 of file kis_shade_selector_line.cpp.
References m_hueDelta, m_hueShift, KisShadeSelectorLineBase::m_lineNumber, m_saturationDelta, m_saturationShift, m_valueDelta, and m_valueShift.
| void KisShadeSelectorLine::updateSettings | ( | ) |
Definition at line 79 of file kis_shade_selector_line.cpp.
References m_gradient, m_lineHeight, and m_patchCount.
|
friend |
Definition at line 80 of file kis_shade_selector_line.h.
|
private |
Definition at line 69 of file kis_shade_selector_line.h.
|
private |
Definition at line 74 of file kis_shade_selector_line.h.
|
private |
Definition at line 76 of file kis_shade_selector_line.h.
|
private |
Definition at line 71 of file kis_shade_selector_line.h.
|
private |
Definition at line 59 of file kis_shade_selector_line.h.
|
private |
Definition at line 63 of file kis_shade_selector_line.h.
|
private |
Definition at line 78 of file kis_shade_selector_line.h.
|
private |
Definition at line 73 of file kis_shade_selector_line.h.
|
private |
Definition at line 75 of file kis_shade_selector_line.h.
|
private |
Definition at line 82 of file kis_shade_selector_line.h.
|
private |
Definition at line 72 of file kis_shade_selector_line.h.
|
private |
Definition at line 67 of file kis_shade_selector_line.h.
|
private |
Definition at line 68 of file kis_shade_selector_line.h.
|
private |
Definition at line 60 of file kis_shade_selector_line.h.
|
private |
Definition at line 64 of file kis_shade_selector_line.h.
|
private |
Definition at line 61 of file kis_shade_selector_line.h.
|
private |
Definition at line 65 of file kis_shade_selector_line.h.
|
private |
Definition at line 77 of file kis_shade_selector_line.h.