qt6-bb10/src/widgets
Sérgio Martins 6e217f0678 QColorDialog: Don't loose focus while color picking
On Windows mouse grabbing doesn't work across processes, which
means we're interacting with other windows when picking colors.

Workaround that by having a transparent 1x1 window below the cursor
at all times so we catch the mouse click. Clicking before the window is below
the cursor won't happen because our timer interval is 30ms, so it's quite fast.

It's hacky but it's what we can do for a feature which was very broken on Windows.

Task-number: QTBUG-43663
Change-Id: I295378e033ddc6d9c2230335f0953a727c21e1dd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
2015-01-09 16:54:54 +01:00
..
accessible Compile fix for QT_NO_TEXTHTMLPARSER in QtWidgets 2014-11-11 12:39:05 +01:00
dialogs QColorDialog: Don't loose focus while color picking 2015-01-09 16:54:54 +01:00
doc Fixed small bug in code snippet for QGraphicsItem 2014-12-10 05:50:14 +01:00
effects Update license headers and add new license files 2014-09-24 12:26:19 +02:00
graphicsview Propagate the source of mouse events 2014-12-11 15:54:01 +01:00
itemviews Propagate the source of mouse events 2014-12-11 15:54:01 +01:00
kernel docs: Explain the limitations of QWidget::grabMouse() on Windows 2015-01-08 21:25:12 +01:00
statemachine Update license headers and add new license files 2014-09-24 12:26:19 +02:00
styles Doc: Describe the enum item QStyle::PE_FrameStatusBar as obsolete 2014-12-22 23:47:14 +01:00
util Propagate the source of mouse events 2014-12-11 15:54:01 +01:00
widgets Remove redundant code 2015-01-07 09:57:21 +01:00
Qt5WidgetsConfigExtras.cmake.in CMake: Include the definition of the Qt5::AccessibleFactory target. 2014-04-16 15:21:50 +02:00
Qt5WidgetsMacros.cmake Create IMPORTED CMake targets for executables. 2012-07-25 13:59:15 +02:00
QtWidgets.dynlist Update dynlist file for QtWidgets 2013-03-18 17:11:03 +01:00
widgets.pro Merge remote-tracking branch 'origin/5.3' into dev 2014-07-22 20:21:19 +02:00