qtbase/examples
Patryk Stachniak 8e3f04f54c Improve drag-and-drop visual handling in DragWidget
Modified the mousePressEvent in DragWidget to
temporarily detach the dragged QLabel from its
parent using setParent(nullptr). This ensures the
dragged widget remains visible and above other
widgets during the drag operation. Re-parenting
logic was added to restore the QLabel to its o
riginal container if the drag action is not a
MoveAction. This change addresses visual issues
where dragged items could disappear behind
overlapping widgets, enhancing user experience
and maintaining consistent behavior.

Task-number: QTBUG-123777
Pick-to: 6.6.2
Change-Id: I3edce9c96815e32eb8f00b61f7eda1709de04b4d
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2024-12-06 00:29:01 +01:00
..
aggregate
corelib Doc: Remove usage of defunct QDoc command 2024-08-28 08:25:30 +02:00
dbus CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
gui Add Qt::Orientations based flip and flipped functions 2024-11-29 15:07:14 +01:00
network Examples: Disable QtC junction points for examples using 'shared' directory 2024-11-26 15:20:41 +02:00
opengl Add Qt::Orientations based flip and flipped functions 2024-11-29 15:07:14 +01:00
qmake
qtconcurrent CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
qtestlib CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
sql Use delegate to draw ComboBox Label 2024-10-29 15:17:52 +02:00
vulkan Examples: Disable QtC junction points for examples using 'shared' directory 2024-11-26 15:20:41 +02:00
widgets Improve drag-and-drop visual handling in DragWidget 2024-12-06 00:29:01 +01:00
xml CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
CMakeLists.txt CMake: Allow building all examples as standalone just like tests 2024-03-14 11:44:16 +01:00
README
examples.pro Remove undocumented embedded examples 2023-11-17 19:39:33 +01:00

README

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.