Krita Source Code Documentation
Loading...
Searching...
No Matches
KisWidgetConnectionUtils::ToSpinBoxState Struct Reference

#include <KisWidgetConnectionUtils.h>

Public Member Functions

template<typename T >
SpinBoxState< std::decay_t< T > > operator() (T &&value, T &&min, T &&max, bool enabled)
 

Detailed Description

Definition at line 106 of file KisWidgetConnectionUtils.h.

Member Function Documentation

◆ operator()()

template<typename T >
SpinBoxState< std::decay_t< T > > KisWidgetConnectionUtils::ToSpinBoxState::operator() ( T && value,
T && min,
T && max,
bool enabled )
inline

Definition at line 108 of file KisWidgetConnectionUtils.h.

108 {
109 return {std::forward<T>(value), std::forward<T>(min), std::forward<T>(max), enabled};
110 }
float value(const T *src, size_t ch)

References value().


The documentation for this struct was generated from the following file: