SeExpr
|
#include <ExprColorCurve.h>
Public Slots | |
void | cvSelectedSlot (const double pos, const SeExpr2::Vec3d val, const T_INTERP interp) |
void | selPosChanged () |
void | openDetail () |
Signals | |
void | selPosChangedSignal (double pos) |
void | selValChangedSignal (SeExpr2::Vec3d val) |
void | swatchChanged (QColor color) |
Public Member Functions | |
ExprColorCurve (QWidget *parent=0, QString pLabel="", QString vLabel="", QString iLabel="", bool expandable=true) | |
~ExprColorCurve () | |
void | addPoint (const double x, const SeExpr2::Vec3d y, const T_INTERP interp, bool select=false) |
void | setSwatchColor (QColor color) |
QColor | getSwatchColor () |
Public Attributes | |
CCurveScene * | _scene |
Private Types | |
typedef SeExpr2::Curve < SeExpr2::Vec3d > | T_CURVE |
typedef T_CURVE::InterpType | T_INTERP |
Private Slots | |
void | internalSwatchChanged (QColor color) |
Private Attributes | |
QLineEdit * | _selPosEdit |
ExprCSwatchFrame * | _selValEdit |
QComboBox * | _interpComboBox |
Definition at line 144 of file ExprColorCurve.h.
|
private |
Definition at line 148 of file ExprColorCurve.h.
|
private |
Definition at line 149 of file ExprColorCurve.h.
ExprColorCurve::ExprColorCurve | ( | QWidget * | parent = 0 , |
QString | pLabel = "" , |
||
QString | vLabel = "" , |
||
QString | iLabel = "" , |
||
bool | expandable = true |
||
) |
Definition at line 386 of file ExprColorCurve.cpp.
References _interpComboBox, _scene, _selPosEdit, _selValEdit, cvSelectedSlot(), internalSwatchChanged(), openDetail(), selPosChanged(), selPosChangedSignal(), selValChangedSignal(), and swatchChanged().
Referenced by openDetail().
|
inline |
Definition at line 154 of file ExprColorCurve.h.
void ExprColorCurve::addPoint | ( | const double | x, |
const SeExpr2::Vec3d | y, | ||
const T_INTERP | interp, | ||
bool | select = false |
||
) |
Definition at line 524 of file ExprColorCurve.cpp.
References _scene, and CCurveScene::addPoint().
Referenced by CCurveControl::CCurveControl(), and openDetail().
|
slot |
Definition at line 504 of file ExprColorCurve.cpp.
References _interpComboBox, _selPosEdit, _selValEdit, ExprCSwatchFrame::setValue(), and swatchChanged().
Referenced by ExprColorCurve().
QColor ExprColorCurve::getSwatchColor | ( | ) |
Definition at line 536 of file ExprColorCurve.cpp.
References _selValEdit, and ExprCSwatchFrame::getValue().
Referenced by CCurveControl::getColor().
|
privateslot |
Definition at line 542 of file ExprColorCurve.cpp.
References swatchChanged().
Referenced by ExprColorCurve().
|
slot |
Definition at line 547 of file ExprColorCurve.cpp.
References CCurveScene::_cvs, _scene, addPoint(), SeExpr2::curve, CCurveScene::emitCurveChanged(), ExprColorCurve(), and CCurveScene::removeAll().
Referenced by ExprColorCurve().
|
slot |
Definition at line 517 of file ExprColorCurve.cpp.
References _selPosEdit, SeExpr2::clamp(), and selPosChangedSignal().
Referenced by ExprColorCurve().
|
signal |
Referenced by ExprColorCurve(), and selPosChanged().
|
signal |
Referenced by ExprColorCurve().
void ExprColorCurve::setSwatchColor | ( | QColor | color | ) |
Definition at line 529 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 179 of file ExprColorCurve.h.
Referenced by cvSelectedSlot(), and ExprColorCurve().
CCurveScene* ExprColorCurve::_scene |
Definition at line 161 of file ExprColorCurve.h.
Referenced by addPoint(), CCurveControl::CCurveControl(), CCurveControl::curveChanged(), ExprColorCurve(), openDetail(), and setSwatchColor().
|
private |
Definition at line 177 of file ExprColorCurve.h.
Referenced by cvSelectedSlot(), ExprColorCurve(), and selPosChanged().
|
private |
Definition at line 178 of file ExprColorCurve.h.
Referenced by cvSelectedSlot(), ExprColorCurve(), getSwatchColor(), and setSwatchColor().