|
KSeExpr 6.0.0.0
|
#include <ExprColorCurve.h>
Public Slots | |
| void | cvSelectedSlot (double pos, KSeExpr::Vec3d val, T_INTERP interp) |
| void | selPosChanged () |
| void | openDetail () |
Signals | |
| void | selPosChangedSignal (double pos) |
| void | selValChangedSignal (KSeExpr::Vec3d val) |
| void | swatchChanged (QColor color) |
Public Member Functions | |
| ExprColorCurve (QWidget *parent=nullptr, QString pLabel=QString(), QString vLabel=QString(), QString iLabel=QString(), bool expandable=true) | |
| ~ExprColorCurve () override=default | |
| void | addPoint (double x, KSeExpr::Vec3d y, T_INTERP interp, bool select=false) |
| void | setSwatchColor (QColor color) |
| QColor | getSwatchColor () |
Public Attributes | |
| CCurveScene * | _scene |
Private Types | |
| using | T_CURVE = KSeExpr::Curve< KSeExpr::Vec3d > |
| using | T_INTERP = T_CURVE::InterpType |
Private Slots | |
| void | internalSwatchChanged (QColor color) |
Private Attributes | |
| QLineEdit * | _selPosEdit |
| ExprCSwatchFrame * | _selValEdit |
| QComboBox * | _interpComboBox |
Definition at line 134 of file ExprColorCurve.h.
|
private |
Definition at line 138 of file ExprColorCurve.h.
|
private |
Definition at line 139 of file ExprColorCurve.h.
| ExprColorCurve::ExprColorCurve | ( | QWidget * | parent = nullptr, |
| QString | pLabel = QString(), |
||
| QString | vLabel = QString(), |
||
| QString | iLabel = QString(), |
||
| bool | expandable = true |
||
| ) |
Definition at line 377 of file ExprColorCurve.cpp.
References _interpComboBox, _scene, _selPosEdit, _selValEdit, cvSelectedSlot(), internalSwatchChanged(), openDetail(), selPosChanged(), selPosChangedSignal(), selValChangedSignal(), and swatchChanged().
|
overridedefault |
| void ExprColorCurve::addPoint | ( | double | x, |
| KSeExpr::Vec3d | y, | ||
| T_INTERP | interp, | ||
| bool | select = false |
||
| ) |
Definition at line 491 of file ExprColorCurve.cpp.
References _scene, and CCurveScene::addPoint().
Referenced by CCurveControl::CCurveControl(), and openDetail().
|
slot |
Definition at line 471 of file ExprColorCurve.cpp.
References _interpComboBox, _selPosEdit, _selValEdit, ExprCSwatchFrame::setValue(), and swatchChanged().
Referenced by ExprColorCurve().
| QColor ExprColorCurve::getSwatchColor | ( | ) |
Definition at line 503 of file ExprColorCurve.cpp.
References _selValEdit, and ExprCSwatchFrame::getValue().
Referenced by CCurveControl::getColor().
|
privateslot |
Definition at line 509 of file ExprColorCurve.cpp.
References swatchChanged().
Referenced by ExprColorCurve().
|
slot |
Definition at line 514 of file ExprColorCurve.cpp.
References CCurveScene::_cvs, _scene, addPoint(), CCurveScene::emitCurveChanged(), and CCurveScene::removeAll().
Referenced by ExprColorCurve().
|
slot |
Definition at line 484 of file ExprColorCurve.cpp.
References _selPosEdit, KSeExpr::clamp(), and selPosChangedSignal().
Referenced by ExprColorCurve().
|
signal |
Referenced by ExprColorCurve(), and selPosChanged().
|
signal |
Referenced by ExprColorCurve().
| void ExprColorCurve::setSwatchColor | ( | QColor | color | ) |
Definition at line 496 of file ExprColorCurve.cpp.
References _scene, _selValEdit, CCurveScene::selValChanged(), and ExprCSwatchFrame::setValue().
Referenced by CCurveControl::setColor().
|
signal |
Referenced by cvSelectedSlot(), ExprColorCurve(), and internalSwatchChanged().
|
private |
Definition at line 169 of file ExprColorCurve.h.
Referenced by cvSelectedSlot(), and ExprColorCurve().
| CCurveScene* ExprColorCurve::_scene |
Definition at line 151 of file ExprColorCurve.h.
Referenced by addPoint(), CCurveControl::CCurveControl(), CCurveControl::curveChanged(), ExprColorCurve(), openDetail(), and setSwatchColor().
|
private |
Definition at line 167 of file ExprColorCurve.h.
Referenced by cvSelectedSlot(), ExprColorCurve(), and selPosChanged().
|
private |
Definition at line 168 of file ExprColorCurve.h.
Referenced by cvSelectedSlot(), ExprColorCurve(), getSwatchColor(), and setSwatchColor().