Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickcolordialogutils_p.h File Reference
#include <QtCore/QtGlobal>
+ Include dependency graph for qquickcolordialogutils_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HSVA
 

Functions

std::pair< qreal, qrealgetSaturationAndValue (qreal saturation, qreal lightness)
 
std::pair< qreal, qrealgetSaturationAndLightness (qreal saturation, qreal value)
 

Function Documentation

◆ getSaturationAndLightness()

std::pair< qreal, qreal > getSaturationAndLightness ( qreal  saturation,
qreal  value 
)

Definition at line 15 of file qquickcolordialogutils.cpp.

References qMin().

Referenced by QQuickColorInputs::hslSaturation(), QQuickAbstractColorPicker::lightness(), QQuickColorDialogImpl::lightness(), QQuickColorInputs::lightness(), QQuickAbstractColorPicker::setColor(), QQuickColorDialogImpl::setColor(), QQuickAbstractColorPicker::setLightness(), and QQuickColorDialogImpl::setLightness().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSaturationAndValue()

std::pair< qreal, qreal > getSaturationAndValue ( qreal  saturation,
qreal  lightness 
)

Definition at line 6 of file qquickcolordialogutils.cpp.

References qMin().

Referenced by QQuickAbstractColorPicker::setColor(), QQuickColorDialogImpl::setColor(), QQuickColorInputs::setColor(), QQuickAbstractColorPicker::setValue(), QQuickColorDialogImpl::setValue(), QQuickAbstractColorPicker::value(), and QQuickColorDialogImpl::value().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: