KSeExpr  4.0.4.0
Public Slots | Signals | Public Member Functions | Public Attributes | Private Types | Private Slots | Private Attributes | List of all members
ExprColorCurve Class Reference

#include <ExprColorCurve.h>

Inheritance diagram for ExprColorCurve:

Public Slots

void cvSelectedSlot (double pos, KSeExpr::Vec3d val, T_INTERP interp)
 
void selPosChanged ()
 
void openDetail ()
 

Signals

void selPosChangedSignal (double pos)
 
void selValChangedSignal (KSeExpr::Vec3d val)
 
void swatchChanged (QColor color)
 

Public Member Functions

 ExprColorCurve (QWidget *parent=nullptr, QString pLabel=QString(), QString vLabel=QString(), QString iLabel=QString(), bool expandable=true)
 
 ~ExprColorCurve () override=default
 
void addPoint (double x, KSeExpr::Vec3d y, T_INTERP interp, bool select=false)
 
void setSwatchColor (QColor color)
 
QColor getSwatchColor ()
 

Public Attributes

CCurveScene_scene
 

Private Types

using T_CURVE = KSeExpr::Curve< KSeExpr::Vec3d >
 
using T_INTERP = T_CURVE::InterpType
 

Private Slots

void internalSwatchChanged (QColor color)
 

Private Attributes

QLineEdit * _selPosEdit
 
ExprCSwatchFrame_selValEdit
 
QComboBox * _interpComboBox
 

Detailed Description

Definition at line 134 of file ExprColorCurve.h.

Member Typedef Documentation

◆ T_CURVE

Definition at line 138 of file ExprColorCurve.h.

◆ T_INTERP

Definition at line 139 of file ExprColorCurve.h.

Constructor & Destructor Documentation

◆ ExprColorCurve()

ExprColorCurve::ExprColorCurve ( QWidget *  parent = nullptr,
QString  pLabel = QString(),
QString  vLabel = QString(),
QString  iLabel = QString(),
bool  expandable = true 
)

◆ ~ExprColorCurve()

ExprColorCurve::~ExprColorCurve ( )
overridedefault

Member Function Documentation

◆ addPoint()

void ExprColorCurve::addPoint ( double  x,
KSeExpr::Vec3d  y,
T_INTERP  interp,
bool  select = false 
)

Definition at line 491 of file ExprColorCurve.cpp.

References _scene, and CCurveScene::addPoint().

Referenced by CCurveControl::CCurveControl(), and openDetail().

◆ cvSelectedSlot

void ExprColorCurve::cvSelectedSlot ( double  pos,
KSeExpr::Vec3d  val,
T_INTERP  interp 
)
slot

◆ getSwatchColor()

QColor ExprColorCurve::getSwatchColor ( )

Definition at line 503 of file ExprColorCurve.cpp.

References _selValEdit, and ExprCSwatchFrame::getValue().

Referenced by CCurveControl::getColor().

◆ internalSwatchChanged

void ExprColorCurve::internalSwatchChanged ( QColor  color)
privateslot

Definition at line 509 of file ExprColorCurve.cpp.

References swatchChanged().

Referenced by ExprColorCurve().

◆ openDetail

void ExprColorCurve::openDetail ( )
slot

◆ selPosChanged

void ExprColorCurve::selPosChanged ( )
slot

Definition at line 484 of file ExprColorCurve.cpp.

References _selPosEdit, KSeExpr::clamp(), and selPosChangedSignal().

Referenced by ExprColorCurve().

◆ selPosChangedSignal

void ExprColorCurve::selPosChangedSignal ( double  pos)
signal

Referenced by ExprColorCurve(), and selPosChanged().

◆ selValChangedSignal

void ExprColorCurve::selValChangedSignal ( KSeExpr::Vec3d  val)
signal

Referenced by ExprColorCurve().

◆ setSwatchColor()

void ExprColorCurve::setSwatchColor ( QColor  color)

◆ swatchChanged

void ExprColorCurve::swatchChanged ( QColor  color)
signal

Member Data Documentation

◆ _interpComboBox

QComboBox* ExprColorCurve::_interpComboBox
private

Definition at line 169 of file ExprColorCurve.h.

Referenced by cvSelectedSlot(), and ExprColorCurve().

◆ _scene

CCurveScene* ExprColorCurve::_scene

◆ _selPosEdit

QLineEdit* ExprColorCurve::_selPosEdit
private

Definition at line 167 of file ExprColorCurve.h.

Referenced by cvSelectedSlot(), ExprColorCurve(), and selPosChanged().

◆ _selValEdit

ExprCSwatchFrame* ExprColorCurve::_selValEdit
private

Definition at line 168 of file ExprColorCurve.h.

Referenced by cvSelectedSlot(), ExprColorCurve(), getSwatchColor(), and setSwatchColor().


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