|
SeExpr
|
#include <ExprColorSwatch.h>
Signals | |
| void | selValChangedSignal (SeExpr2::Vec3d value) |
| void | swatchChanged (QColor color) |
| void | deleteSwatch (ExprColorFrame *swatch) |
Public Member Functions | |
| ExprColorFrame (SeExpr2::Vec3d value, QWidget *parent=0) | |
| ~ExprColorFrame () | |
| void | setValue (const SeExpr2::Vec3d &value) |
| SeExpr2::Vec3d | getValue () const |
| bool | selected () |
Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *event) |
| virtual void | mouseReleaseEvent (QMouseEvent *event) |
Private Slots | |
| void | deleteSwatchMenu (const QPoint &pos) |
Private Attributes | |
| SeExpr2::Vec3d | _value |
| QColor | _color |
| bool | _selected |
Definition at line 12 of file ExprColorSwatch.h.
| ExprColorFrame::ExprColorFrame | ( | SeExpr2::Vec3d | value, |
| QWidget * | parent = 0 ) |
Definition at line 26 of file ExprColorSwatch.cpp.
References _value, setValue(), and value().
Referenced by deleteSwatch().
|
inline |
Definition at line 16 of file ExprColorSwatch.h.
|
signal |
References ExprColorFrame().
Referenced by deleteSwatchMenu().
|
privateslot |
Definition at line 72 of file ExprColorSwatch.cpp.
References deleteSwatch().
Referenced by mouseReleaseEvent().
| SeExpr2::Vec3d ExprColorFrame::getValue | ( | ) | const |
Definition at line 41 of file ExprColorSwatch.cpp.
References _value.
Referenced by ExprColorSwatchWidget::getSwatchColor(), and ExprColorSwatchWidget::internalSwatchChanged().
|
protectedvirtual |
Definition at line 49 of file ExprColorSwatch.cpp.
References _color, _value, deleteSwatchMenu(), selValChangedSignal(), and swatchChanged().
|
protectedvirtual |
Definition at line 43 of file ExprColorSwatch.cpp.
|
inline |
Definition at line 20 of file ExprColorSwatch.h.
References _selected.
|
signal |
References value().
Referenced by mouseReleaseEvent().
| void ExprColorFrame::setValue | ( | const SeExpr2::Vec3d & | value | ) |
Definition at line 35 of file ExprColorSwatch.cpp.
References _color, _value, and value().
Referenced by ExprColorFrame(), and ExprColorSwatchWidget::setSwatchColor().
|
signal |
Referenced by mouseReleaseEvent().
|
private |
Definition at line 39 of file ExprColorSwatch.h.
Referenced by mouseReleaseEvent(), paintEvent(), and setValue().
|
private |
Definition at line 40 of file ExprColorSwatch.h.
Referenced by selected().
|
private |
Definition at line 38 of file ExprColorSwatch.h.
Referenced by ExprColorFrame(), getValue(), mouseReleaseEvent(), and setValue().