KSeExpr 6.0.0.0
|
#include <ExprColorCurve.h>
Signals | |
void | selValChangedSignal (KSeExpr::Vec3d value) |
void | swatchChanged (QColor color) |
Public Member Functions | |
ExprCSwatchFrame (KSeExpr::Vec3d value, QWidget *parent=nullptr) | |
~ExprCSwatchFrame () override=default | |
void | setValue (const KSeExpr::Vec3d &value) |
KSeExpr::Vec3d | getValue () const |
Protected Member Functions | |
void | paintEvent (QPaintEvent *event) override |
void | mousePressEvent (QMouseEvent *event) override |
Private Attributes | |
KSeExpr::Vec3d | _value |
QColor | _color |
Definition at line 111 of file ExprColorCurve.h.
ExprCSwatchFrame::ExprCSwatchFrame | ( | KSeExpr::Vec3d | value, |
QWidget * | parent = nullptr |
||
) |
Definition at line 342 of file ExprColorCurve.cpp.
|
overridedefault |
KSeExpr::Vec3d ExprCSwatchFrame::getValue | ( | ) | const |
Definition at line 357 of file ExprColorCurve.cpp.
References _value.
Referenced by ExprColorCurve::getSwatchColor(), and VectorControl::swatchChanged().
|
overrideprotected |
Definition at line 362 of file ExprColorCurve.cpp.
References _color, _value, selValChangedSignal(), and swatchChanged().
|
overrideprotected |
Definition at line 335 of file ExprColorCurve.cpp.
|
signal |
Referenced by mousePressEvent().
void ExprCSwatchFrame::setValue | ( | const KSeExpr::Vec3d & | value | ) |
Definition at line 349 of file ExprColorCurve.cpp.
References _color, and _value.
Referenced by ExprColorCurve::cvSelectedSlot(), ExprColorCurve::setSwatchColor(), and VectorControl::setValue().
|
signal |
Referenced by mousePressEvent().
|
private |
Definition at line 131 of file ExprColorCurve.h.
Referenced by ExprCSwatchFrame(), mousePressEvent(), paintEvent(), and setValue().
|
private |
Definition at line 130 of file ExprColorCurve.h.
Referenced by ExprCSwatchFrame(), getValue(), mousePressEvent(), and setValue().