PythonQt.QtGui.QColor · declarations 003
toHsl
toHsl() -> Any
X.toHsl() -> PythonQt.QtGui.QColor
Supplemental documentation: Qt 5 reference:
QColor QColor::toHsl() const
Creates and returns an HSL QColor based on this color.
See also fromHsl(), convertTo(), isValid(), and The HSL Color Model.
Upstream PySide2 reference signatures (binding differences may apply):
toHsl(self) -> PySide2.QtGui.QColor
Source: https://doc.qt.io/archives/qt-5.15/qcolor.html#toHsl
toHsv
toHsv() -> Any
X.toHsv() -> PythonQt.QtGui.QColor
Supplemental documentation: Qt 5 reference:
QColor QColor::toHsv() const
Creates and returns an HSV QColor based on this color.
See also fromHsv(), convertTo(), isValid(), and The HSV Color Model.
Upstream PySide2 reference signatures (binding differences may apply):
toHsv(self) -> PySide2.QtGui.QColor
Source: https://doc.qt.io/archives/qt-5.15/qcolor.html#toHsv
toRgb
toRgb() -> Any
X.toRgb() -> PythonQt.QtGui.QColor
Supplemental documentation: Qt 5 reference:
QColor QColor::toRgb() const
Create and returns an RGB QColor based on this color.
See also fromRgb(), convertTo(), and isValid().
Upstream PySide2 reference signatures (binding differences may apply):
toRgb(self) -> PySide2.QtGui.QColor
Source: https://doc.qt.io/archives/qt-5.15/qcolor.html#toRgb
value
value() -> int
X.value() -> int
Supplemental documentation: Qt 5 reference:
int QColor::value() const
Returns the value color component of this color.
See also valueF(), getHsv(), and The HSV Color Model.
Upstream PySide2 reference signatures (binding differences may apply):
value(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qcolor.html#value
valueF
valueF() -> float
X.valueF() -> float
Supplemental documentation: Qt 5 reference:
qreal QColor::valueF() const
Returns the value color component of this color.
See also value(), getHsvF(), and The HSV Color Model.
Upstream PySide2 reference signatures (binding differences may apply):
valueF(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qcolor.html#valueF
yellow
yellow() -> int
X.yellow() -> int
Supplemental documentation: Qt 5 reference:
int QColor::yellow() const
Returns the yellow color component of this color.
See also yellowF(), getCmyk(), and The CMYK Color Model.
Upstream PySide2 reference signatures (binding differences may apply):
yellow(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qcolor.html#yellow
yellowF
yellowF() -> float
X.yellowF() -> float
Supplemental documentation: Qt 5 reference:
qreal QColor::yellowF() const
Returns the yellow color component of this color.
See also yellow(), getCmykF(), and The CMYK Color Model.
Upstream PySide2 reference signatures (binding differences may apply):
yellowF(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qcolor.html#yellowF