KSeExpr 4.0.4.0
CurveControl Class Reference

Control for editing a normal curve ramp. More...

#include <ExprControl.h>

Inheritance diagram for CurveControl:
ExprControl

Public Member Functions

 CurveControl (int id, CurveEditable *stringEditable)
Public Member Functions inherited from ExprControl
 ExprControl (int id, Editable *editable, bool showColorLink)
 ~ExprControl () override=default
virtual QColor getColor ()
 Interface for getting the color (used for linked color picking)
virtual void setColor (QColor)
 Interface for setting the color (used for linked color picking)
void linkDisconnect (int newId)

Private Slots

void curveChanged ()

Private Attributes

CurveEditable_curveEditable {nullptr}
 curve model
ExprCurve_curve {nullptr}
 curve edit widget

Additional Inherited Members

Public Slots inherited from ExprControl
void linkStateChange (int state)
Signals inherited from ExprControl
void controlChanged (int id)
void linkColorEdited (int id, QColor color)
void linkColorLink (int id)
Protected Member Functions inherited from ExprControl
void resizeEvent (QResizeEvent *event) override
Protected Attributes inherited from ExprControl
int _id
std::atomic< bool > _updating {}
QHBoxLayout * hbox {nullptr}
QCheckBox * _colorLinkCB {nullptr}
QLabel * _label {nullptr}
Editable_editable {nullptr}

Detailed Description

Control for editing a normal curve ramp.

Definition at line 247 of file ExprControl.h.

Constructor & Destructor Documentation

◆ CurveControl()

Member Function Documentation

◆ curveChanged

void CurveControl::curveChanged ( )
privateslot

Definition at line 500 of file ExprControl.cpp.

References _curve, _curveEditable, ExprControl::_id, and ExprControl::controlChanged().

Referenced by CurveControl().

Member Data Documentation

◆ _curve

ExprCurve* CurveControl::_curve {nullptr}
private

curve edit widget

Definition at line 254 of file ExprControl.h.

Referenced by curveChanged(), and CurveControl().

◆ _curveEditable

CurveEditable* CurveControl::_curveEditable {nullptr}
private

curve model

Definition at line 252 of file ExprControl.h.

Referenced by curveChanged(), and CurveControl().


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