|
SeExpr
|
Control for editing a color ramp curve. More...
#include <ExprControl.h>
Public Member Functions | |
| CCurveControl (int id, ColorCurveEditable *stringEditable) | |
| QColor | getColor () |
| Interface for getting the color (used for linked color picking) More... | |
| void | setColor (QColor color) |
| Interface for setting the color (used for linked color picking) More... | |
Public Member Functions inherited from ExprControl | |
| ExprControl (int id, Editable *editable, bool showColorLink) | |
| virtual | ~ExprControl () |
| void | linkDisconnect (int newId) |
Private Slots | |
| void | curveChanged () |
Private Attributes | |
| ColorCurveEditable * | _curveEditable |
| color curve model More... | |
| ExprColorCurve * | _curve |
| color curve widget More... | |
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 Attributes inherited from ExprControl | |
| int | _id |
| bool | _updating |
| QHBoxLayout * | hbox |
| QCheckBox * | _colorLinkCB |
| QLabel * | _label |
| Editable * | _editable |
Control for editing a color ramp curve.
Definition at line 249 of file ExprControl.h.
| CCurveControl::CCurveControl | ( | int | id, |
| ColorCurveEditable * | stringEditable | ||
| ) |
Definition at line 578 of file ExprControl.cpp.
References _curve, _curveEditable, SeExpr2::Curve< T >::CV::_interp, SeExpr2::Curve< T >::CV::_pos, ExprColorCurve::_scene, SeExpr2::Curve< T >::CV::_val, ExprColorCurve::addPoint(), curveChanged(), GenericCurveEditable< TVAL >::cvs, and ExprControl::hbox.
|
privateslot |
Definition at line 594 of file ExprControl.cpp.
References _curve, _curveEditable, CCurveScene::_cvs, ExprControl::_id, ExprColorCurve::_scene, ExprControl::controlChanged(), and GenericCurveEditable< TVAL >::cvs.
Referenced by CCurveControl().
|
virtual |
Interface for getting the color (used for linked color picking)
Reimplemented from ExprControl.
Definition at line 604 of file ExprControl.cpp.
References _curve, and ExprColorCurve::getSwatchColor().
|
virtual |
Interface for setting the color (used for linked color picking)
Reimplemented from ExprControl.
Definition at line 609 of file ExprControl.cpp.
References _curve, and ExprColorCurve::setSwatchColor().
|
private |
color curve widget
Definition at line 256 of file ExprControl.h.
Referenced by CCurveControl(), curveChanged(), getColor(), and setColor().
|
private |
color curve model
Definition at line 254 of file ExprControl.h.
Referenced by CCurveControl(), and curveChanged().
1.8.5