|
SeExpr
|
#include <ExprColorSwatch.h>
Signals | |
| void | selValChangedSignal (SeExpr2::Vec3d val) |
| void | swatchChanged (int index, SeExpr2::Vec3d val) |
| void | swatchAdded (int index, SeExpr2::Vec3d val) |
| void | swatchRemoved (int index) |
Public Member Functions | |
| ExprColorSwatchWidget (bool indexLabel, QWidget *parent=0) | |
| ~ExprColorSwatchWidget () | |
| void | addSwatch (SeExpr2::Vec3d &val, int index=-1) |
| void | setSwatchColor (int index, QColor color) |
| QColor | getSwatchColor (int index) |
Private Slots | |
| void | addNewColor () |
| void | removeSwatch (ExprColorFrame *) |
| void | internalSwatchChanged (QColor color) |
Private Attributes | |
| QGridLayout * | _gridLayout |
| int | _columns |
| bool | _indexLabel |
Definition at line 54 of file ExprColorSwatch.h.
| ExprColorSwatchWidget::ExprColorSwatchWidget | ( | bool | indexLabel, |
| QWidget * | parent = 0 ) |
Definition at line 105 of file ExprColorSwatch.cpp.
References _columns, _gridLayout, _indexLabel, and addNewColor().
|
inline |
Definition at line 59 of file ExprColorSwatch.h.
|
privateslot |
Definition at line 142 of file ExprColorSwatch.cpp.
References addSwatch().
Referenced by ExprColorSwatchWidget().
| void ExprColorSwatchWidget::addSwatch | ( | SeExpr2::Vec3d & | val, |
| int | index = -1 ) |
Definition at line 147 of file ExprColorSwatch.cpp.
References _columns, _gridLayout, _indexLabel, ExprColorWidget::getColorFrame(), index(), internalSwatchChanged(), removeSwatch(), swatchAdded(), and swatchChanged().
Referenced by addNewColor().
| QColor ExprColorSwatchWidget::getSwatchColor | ( | int | index | ) |
Definition at line 190 of file ExprColorSwatch.cpp.
References _gridLayout, ExprColorFrame::getValue(), and index().
|
privateslot |
Definition at line 157 of file ExprColorSwatch.cpp.
References _gridLayout, ExprColorFrame::getValue(), index(), swatchChanged(), and value().
Referenced by addSwatch().
|
privateslot |
Definition at line 165 of file ExprColorSwatch.cpp.
References _gridLayout, and swatchRemoved().
Referenced by addSwatch().
|
signal |
| void ExprColorSwatchWidget::setSwatchColor | ( | int | index, |
| QColor | color ) |
Definition at line 178 of file ExprColorSwatch.cpp.
References _gridLayout, index(), and ExprColorFrame::setValue().
|
signal |
References index().
Referenced by addSwatch().
|
signal |
References index().
Referenced by addSwatch(), and internalSwatchChanged().
|
signal |
References index().
Referenced by removeSwatch().
|
private |
Definition at line 80 of file ExprColorSwatch.h.
Referenced by addSwatch(), and ExprColorSwatchWidget().
|
private |
Definition at line 79 of file ExprColorSwatch.h.
Referenced by addSwatch(), ExprColorSwatchWidget(), getSwatchColor(), internalSwatchChanged(), removeSwatch(), and setSwatchColor().
|
private |
Definition at line 81 of file ExprColorSwatch.h.
Referenced by addSwatch(), and ExprColorSwatchWidget().