Signals | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ExprCSwatchFrame Class Reference

#include <ExprColorCurve.h>

Inheritance diagram for ExprCSwatchFrame:


void selValChangedSignal (SeExpr2::Vec3d value)
void swatchChanged (QColor color)

Public Member Functions

 ExprCSwatchFrame (SeExpr2::Vec3d value, QWidget *parent=0)
 ~ExprCSwatchFrame ()
void setValue (const SeExpr2::Vec3d &value)
SeExpr2::Vec3d getValue () const

Protected Member Functions

virtual void paintEvent (QPaintEvent *event)
virtual void mousePressEvent (QMouseEvent *event)

Private Attributes

SeExpr2::Vec3d _value
QColor _color

Detailed Description

Definition at line 120 of file ExprColorCurve.h.

Constructor & Destructor Documentation

ExprCSwatchFrame::ExprCSwatchFrame ( SeExpr2::Vec3d  value,
QWidget *  parent = 0 

Definition at line 346 of file ExprColorCurve.cpp.

References _color, and _value.

ExprCSwatchFrame::~ExprCSwatchFrame ( )

Definition at line 125 of file ExprColorCurve.h.

Member Function Documentation

SeExpr2::Vec3d ExprCSwatchFrame::getValue ( ) const

Definition at line 360 of file ExprColorCurve.cpp.

References _value.

Referenced by ExprColorCurve::getSwatchColor(), and VectorControl::swatchChanged().

void ExprCSwatchFrame::mousePressEvent ( QMouseEvent *  event)

Definition at line 366 of file ExprColorCurve.cpp.

References _color, _value, selValChangedSignal(), and swatchChanged().

void ExprCSwatchFrame::paintEvent ( QPaintEvent *  event)

Definition at line 338 of file ExprColorCurve.cpp.

References _color, and p.

void ExprCSwatchFrame::selValChangedSignal ( SeExpr2::Vec3d  value)

Referenced by mousePressEvent().

void ExprCSwatchFrame::setValue ( const SeExpr2::Vec3d value)
void ExprCSwatchFrame::swatchChanged ( QColor  color)

Referenced by mousePressEvent().

Member Data Documentation

QColor ExprCSwatchFrame::_color

Definition at line 140 of file ExprColorCurve.h.

Referenced by ExprCSwatchFrame(), mousePressEvent(), paintEvent(), and setValue().

SeExpr2::Vec3d ExprCSwatchFrame::_value

Definition at line 139 of file ExprColorCurve.h.

Referenced by ExprCSwatchFrame(), getValue(), mousePressEvent(), and setValue().

The documentation for this class was generated from the following files: