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

Public API for screen color picker

XMLWordPrintable

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

      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)".

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

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

              Created:
              Updated:

                There are no open Gerrit changes