Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-90360

QColor::setHslF and Qt.hsla state all values must be in the range of 0-1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15.2
    • Documentation
    • None
    • All

    Description

      https://doc.qt.io/qt-5/qcolor.html#setHslF and https://doc.qt.io/qt-5/qml-qtqml-qt.html#hsla-method state all values must be in the range of 0-1. This is false because the hue is actually in the range of 0 - 360.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            docteam Qt Documentation Team
            ddobrev Dimitar Dobrev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes