KSeExpr
4.0.4.0
|
Control for editing a normal curve ramp. More...
#include <ExprControl.h>
Public Member Functions | |
CurveControl (int id, CurveEditable *stringEditable) | |
![]() | |
ExprControl (int id, Editable *editable, bool showColorLink) | |
~ExprControl () override=default | |
virtual QColor | getColor () |
Interface for getting the color (used for linked color picking) More... | |
virtual void | setColor (QColor) |
Interface for setting the color (used for linked color picking) More... | |
void | linkDisconnect (int newId) |
Private Slots | |
void | curveChanged () |
Private Attributes | |
CurveEditable * | _curveEditable {nullptr} |
curve model More... | |
ExprCurve * | _curve {nullptr} |
curve edit widget More... | |
Additional Inherited Members | |
![]() | |
void | linkStateChange (int state) |
![]() | |
void | controlChanged (int id) |
void | linkColorEdited (int id, QColor color) |
void | linkColorLink (int id) |
![]() | |
void | resizeEvent (QResizeEvent *event) override |
![]() | |
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().