summaryrefslogtreecommitdiffstats
path: root/examples/widgets/doc/src
diff options
context:
space:
mode:
authorTor Arne Vestbø <[email protected]>2023-12-01 10:01:10 +0100
committerTor Arne Vestbø <[email protected]>2023-12-02 11:21:59 +0100
commit9590ed6ba6dfc565832acddb69c69a3c8bf5e2e6 (patch)
tree379595cde265c14fcbc57cb7bf055b65c0699d93 /examples/widgets/doc/src
parent1202594db6b8b5ec801989d06004c39b725a67a0 (diff)
macOS: Implement QPlatformServiceColorPicker via NSColorSampler
The default behavior for QColorDialog is to use the native dialog, but for clients that implement their own color dialog we should provide the plumbing to do the actual color picking. The fallback path for this on macOS involves grabbing the screen, which brings up the permission dialog. The NSColorSampler API does not have this issue. [ChangeLog][macOS] Non native color dialogs now use native color picking when picking colors from the screen. Pick-to: 6.6 Change-Id: Idd08a90a3747546fd9825431ab7a4f5b5fa40784 Reviewed-by: Oliver Eftevaag <[email protected]> Reviewed-by: Doris Verria <[email protected]>
Diffstat (limited to 'examples/widgets/doc/src')
0 files changed, 0 insertions, 0 deletions