Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickcolordialogutils_p.h File Reference

(4bd87b903b355b53e3105ba1ae7c154c4e55cdaf)

#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: