SeExpr
|
Base class for all controls for Expressions. More...
#include <ExprControl.h>
Public Slots | |
void | linkStateChange (int state) |
Signals | |
void | controlChanged (int id) |
void | linkColorEdited (int id, QColor color) |
void | linkColorLink (int id) |
Public Member Functions | |
ExprControl (int id, Editable *editable, bool showColorLink) | |
virtual | ~ExprControl () |
virtual QColor | getColor () |
Interface for getting the color (used for linked color picking) More... | |
virtual void | setColor (QColor color) |
Interface for setting the color (used for linked color picking) More... | |
void | linkDisconnect (int newId) |
Protected Attributes | |
int | _id |
bool | _updating |
QHBoxLayout * | hbox |
QCheckBox * | _colorLinkCB |
QLabel * | _label |
Editable * | _editable |
Base class for all controls for Expressions.
Definition at line 53 of file ExprControl.h.
ExprControl::ExprControl | ( | int | id, |
Editable * | editable, | ||
bool | showColorLink | ||
) |
Definition at line 263 of file ExprControl.cpp.
References _colorLinkCB, _label, hbox, linkStateChange(), and Editable::name.
|
inlinevirtual |
Definition at line 68 of file ExprControl.h.
|
signal |
Referenced by ColorSwatchControl::colorAdded(), ColorSwatchControl::colorChanged(), ColorSwatchControl::colorRemoved(), CurveControl::curveChanged(), CCurveControl::curveChanged(), DeepWaterControl::deepWaterChanged(), AnimCurveControl::editGraphClicked(), AnimCurveControl::refreshClicked(), NumberControl::setValue(), VectorControl::setValue(), and StringControl::textChanged().
|
inlinevirtual |
Interface for getting the color (used for linked color picking)
Reimplemented in CCurveControl, and VectorControl.
Definition at line 71 of file ExprControl.h.
Referenced by linkStateChange().
|
signal |
Referenced by linkStateChange(), and VectorControl::sliderChanged().
|
signal |
Referenced by linkStateChange().
void ExprControl::linkDisconnect | ( | int | newId | ) |
Definition at line 305 of file ExprControl.cpp.
References _colorLinkCB, _id, and _updating.
|
slot |
Definition at line 293 of file ExprControl.cpp.
References _id, _updating, getColor(), linkColorEdited(), and linkColorLink().
Referenced by ExprControl().
|
inlinevirtual |
Interface for setting the color (used for linked color picking)
Reimplemented in CCurveControl, and VectorControl.
Definition at line 73 of file ExprControl.h.
|
protected |
Definition at line 61 of file ExprControl.h.
Referenced by ExprControl(), and linkDisconnect().
|
protected |
Definition at line 64 of file ExprControl.h.
|
protected |
Definition at line 55 of file ExprControl.h.
Referenced by ColorSwatchControl::colorAdded(), ColorSwatchControl::colorChanged(), ColorSwatchControl::colorRemoved(), CurveControl::curveChanged(), CCurveControl::curveChanged(), DeepWaterControl::deepWaterChanged(), AnimCurveControl::editGraphClicked(), linkDisconnect(), linkStateChange(), AnimCurveControl::refreshClicked(), NumberControl::setValue(), VectorControl::setValue(), VectorControl::sliderChanged(), and StringControl::textChanged().
|
protected |
Definition at line 62 of file ExprControl.h.
Referenced by ExprControl(), and VectorControl::updateControl().
|
protected |
Definition at line 59 of file ExprControl.h.
Referenced by ColorSwatchControl::buildSwatchWidget(), ColorSwatchControl::colorAdded(), ColorSwatchControl::colorChanged(), ColorSwatchControl::colorRemoved(), NumberControl::editChanged(), VectorControl::editChanged(), linkDisconnect(), linkStateChange(), NumberControl::sliderChanged(), VectorControl::sliderChanged(), StringControl::textChanged(), NumberControl::updateControl(), and VectorControl::updateControl().
|
protected |
Definition at line 60 of file ExprControl.h.
Referenced by AnimCurveControl::AnimCurveControl(), ColorSwatchControl::buildSwatchWidget(), CCurveControl::CCurveControl(), CurveControl::CurveControl(), DeepWaterControl::DeepWaterControl(), ExprControl(), NumberControl::NumberControl(), StringControl::StringControl(), and VectorControl::VectorControl().