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

Public API for screen color picker

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 6.5.0 FF
    • QPA
    • None

    Description

      Qt provides cross-platform support for picking colors on the screen via its QColorDialog which has a button "&Pick screen color". This takes into account platforms like Wayland (see https://bugreports.qt.io/browse/QTBUG-81538) but has also hand-made support for Windows and works fine on other platforms.

       

      It would be great if there were a public API to access this functionality that is yet existing in Qt. Something like: "Call the API (which will itself take care to display the crosshair cursor and so on) and simply get the user-selected color in return (if any)".

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            sommerluk Lukas Sommer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes