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

Setting Sat in QColorDialog will overwrite alpha values

    XMLWordPrintable

Details

    Description

      When using QColorDialog::getColor(Qt::white,0,"",QColorDialog::ShowAlphaChannel) to get a color with alpha channel, if you first change the alpha value to 100, then change the saturation
      to 100, click on OK, you will get:

      QColor(ARGB 1, 0.392157, 0.392157, 0.392157)

      in which the alpha value is 1, not 0.39.

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            z35liu Zheng Liu (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes