|
KSeExpr 6.0.0.0
|
Control for editing a normal curve ramp. More...
#include <ExprControl.h>
Public Member Functions | |
| CurveControl (int id, CurveEditable *stringEditable) | |
Public Member Functions inherited from ExprControl | |
| ExprControl (int id, Editable *editable, bool showColorLink) | |
| ~ExprControl () override=default | |
| virtual QColor | getColor () |
| Interface for getting the color (used for linked color picking) | |
| virtual void | setColor (QColor) |
| Interface for setting the color (used for linked color picking) | |
| void | linkDisconnect (int newId) |
Private Slots | |
| void | curveChanged () |
Private Attributes | |
| CurveEditable * | _curveEditable {nullptr} |
| curve model | |
| ExprCurve * | _curve {nullptr} |
| curve edit widget | |
Additional Inherited Members | |
Public Slots inherited from ExprControl | |
| void | linkStateChange (int state) |
Signals inherited from ExprControl | |
| void | controlChanged (int id) |
| void | linkColorEdited (int id, QColor color) |
| void | linkColorLink (int id) |
Protected Member Functions inherited from ExprControl | |
| void | resizeEvent (QResizeEvent *event) override |
Protected Attributes inherited from ExprControl | |
| int | _id |
| std::atomic< bool > | _updating {} |
| QHBoxLayout * | hbox {nullptr} |
| QCheckBox * | _colorLinkCB {nullptr} |
| QLabel * | _label {nullptr} |
| Editable * | _editable {nullptr} |
Control for editing a normal curve ramp.
Definition at line 247 of file ExprControl.h.
| CurveControl::CurveControl | ( | int | id, |
| CurveEditable * | stringEditable | ||
| ) |
Definition at line 484 of file ExprControl.cpp.
References _curve, _curveEditable, KSeExpr::Curve< T >::CV::_interp, KSeExpr::Curve< T >::CV::_pos, ExprCurve::_scene, KSeExpr::Curve< T >::CV::_val, ExprCurve::addPoint(), curveChanged(), GenericCurveEditable< TVAL >::cvs, and ExprControl::hbox.
|
privateslot |
Definition at line 500 of file ExprControl.cpp.
References _curve, _curveEditable, CurveScene::_cvs, ExprControl::_id, ExprCurve::_scene, ExprControl::controlChanged(), and GenericCurveEditable< TVAL >::cvs.
Referenced by CurveControl().
|
private |
curve edit widget
Definition at line 254 of file ExprControl.h.
Referenced by curveChanged(), and CurveControl().
|
private |
curve model
Definition at line 252 of file ExprControl.h.
Referenced by curveChanged(), and CurveControl().