KSeExpr  4.0.4.0
Public Member Functions | Private Slots | Private Attributes | List of all members
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) More...
 
virtual void setColor (QColor)
 Interface for setting the color (used for linked color picking) More...
 
void linkDisconnect (int newId)
 

Private Slots

void curveChanged ()
 

Private Attributes

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

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()

CurveControl::CurveControl ( int  id,
CurveEditable stringEditable 
)

Member Function Documentation

◆ curveChanged

void CurveControl::curveChanged ( )
privateslot

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: