KSeExpr  4.0.4.0
Classes | Functions
ExprControl.h File Reference
#include <array>
#include <atomic>
#include <cstddef>
#include <memory>
#include <QCheckBox>
#include <QHBoxLayout>
#include <QLabel>
#include "Editable.h"
#include "ExprColorCurve.h"
#include "ExprColorSwatch.h"
#include "ExprCurve.h"

Go to the source code of this file.

Classes

class  ExprControl
 Base class for all controls for Expressions. More...
 
class  ExprLineEdit
 Line Editor Widget(used for numbers) More...
 
class  ExprSlider
 Generic Slider (used for int and float sliders) More...
 
class  ExprChannelSlider
 Channel Slider (i.e. for colors) More...
 
class  NumberControl
 Number slider for either float or int data. More...
 
class  VectorControl
 A vector or color control (named vector because it edits a KSeExpr::Vec3d literal) More...
 
class  StringControl
 A control for editing strings, filenames, and directories. More...
 
class  CurveControl
 Control for editing a normal curve ramp. More...
 
class  CCurveControl
 Control for editing a color ramp curve. More...
 
class  ColorSwatchControl
 A control for editing color swatches. More...
 

Functions

template<class T , class T2 , class T3 >
clamp (const T val, const T2 minval, const T3 maxval)
 clamp val to the specified range [minval,maxval] More...
 

Function Documentation

◆ clamp()

template<class T , class T2 , class T3 >
T clamp ( const T  val,
const T2  minval,
const T3  maxval 
)

clamp val to the specified range [minval,maxval]

Definition at line 70 of file ExprControl.h.