|
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) | |
| void | setColor (QColor color) |
| Interface for setting the color (used for linked color picking) | |
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 | |
| ExprColorCurve * | _curve |
| color curve 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 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 264 of file ExprControl.h.
| CCurveControl::CCurveControl | ( | int | id, |
| ColorCurveEditable * | stringEditable ) |
Definition at line 449 of file ExprControl.cpp.
References _curve, _curveEditable, SeExpr2::Curve< T >::CV::_interp, SeExpr2::Curve< T >::CV::_pos, SeExpr2::Curve< T >::CV::_val, curveChanged(), ExprControl::ExprControl(), and ExprControl::hbox.
|
privateslot |
Definition at line 464 of file ExprControl.cpp.
References _curve, _curveEditable, ExprControl::_id, and ExprControl::controlChanged().
Referenced by CCurveControl().
|
virtual |
Interface for getting the color (used for linked color picking)
Reimplemented from ExprControl.
Definition at line 471 of file ExprControl.cpp.
References _curve.
|
virtual |
Interface for setting the color (used for linked color picking)
Reimplemented from ExprControl.
Definition at line 473 of file ExprControl.cpp.
References _curve.
|
private |
color curve widget
Definition at line 270 of file ExprControl.h.
Referenced by CCurveControl(), curveChanged(), getColor(), and setColor().
|
private |
color curve model
Definition at line 268 of file ExprControl.h.
Referenced by CCurveControl(), and curveChanged().