diff options
| author | Shawn Rutledge <shawn.rutledge@qt.io> | 2025-03-13 16:53:50 +0100 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2025-03-17 21:14:01 +0100 |
| commit | 1750acc3921148b0ffc8f9f1421b87a2f5522a2e (patch) | |
| tree | 66fb985cdf681924b6dae9d6574a86c20c859f14 /tests/manual/windowflags/controllerwindow.cpp | |
| parent | 70b8dd2b7eb1a874ff0ac8b4e42b03d639321394 (diff) | |
DropSite example: handle application/x-color
Show the color that is dragged in, both graphically and textually.
Revert to default palette for other data types. Prioritize colors
over text: if an application (such as kolourpaint) offers both x-color
and text, the color is probably the intention, and the text may be
just a hex string for placing into a color text field.
Pick-to: 6.8 6.9
Fixes: QTBUG-134313
Change-Id: I6c19f1220712881d2057bc9758bbc8cbd9247c81
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'tests/manual/windowflags/controllerwindow.cpp')
0 files changed, 0 insertions, 0 deletions
