qt5base-lts/tests/manual
Shawn Rutledge 4e400369c0 Refactor pointer event hierarchy
Some goals that have hopefully been achieved are:
- make QPointerEvent and QEventPoint resemble their Qt Quick
  counterparts to such an extent that we can remove those wrappers
  and go back to delivering the original events in Qt Quick
- make QEventPoint much smaller than QTouchEvent::TouchPoint, with no pimpl
- remove most public setters
- reduce the usage of complex constructors that take many arguments
- don't repeat ourselves: move accessors and storage upwards
  rather than having redundant ones in subclasses
- standardize the set of accessors in QPointerEvent
- maintain source compatibility as much as possible: do not require
  modifying event-handling code in any QWidget subclass

To avoid public setters we now introduce a few QMutable* subclasses.
This is a bit like the Builder pattern except that it doesn't involve
constructing a separate disposable object: the main event type can be
cast to the mutable type at any time to enable modifications, iff the
code is linked with gui-private. Therefore event classes can have
less-"complete" constructors, because internal Qt code can use setters
the same way it could use the ones in QTouchEvent before; and the event
classes don't need many friends. Even some read-accessors can be kept
private unless we are sure we want to expose them.

Task-number: QTBUG-46266
Fixes: QTBUG-72173
Change-Id: I740e4e40165b7bc41223d38b200bbc2b403e07b6
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-07-10 14:32:56 +02:00
..
cocoa CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
corelib/tools Use QList instead of QVector in other qtbase tests 2020-07-07 11:48:45 +02:00
diaglib Add ; to Q_UNUSED 2020-07-07 11:51:48 +02:00
dialogs CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
embeddedintoforeignwindow CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
filetest CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
foreignwindows CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
gestures CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
highdpi CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
inputmethodhints CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
keypadnavigation CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
lance CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
markdown CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
mkspecs Updated license headers 2016-01-21 18:55:18 +00:00
network_remote_stresstest CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
network_stresstest CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qcursor CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qdesktopservices CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qgraphicsitem CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qgraphicsitemgroup CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qgraphicslayout/flicker CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qhttpnetworkconnection CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qimagereader CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qlayout CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qlocale CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qmetatype CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qmimedatabase CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qnetconmonitor CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qnetworkaccessmanager/qget CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qnetworkreply CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qopenglcontext CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qopengltextureblitter CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qopenglwidget/openglwidget CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qopenglwindow/multiwindow CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qprintdevice_dump CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qscreen CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qssloptions CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qsslsocket CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qstorageinfo CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qsysinfo CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qt_poll CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qtabbar CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qtabletevent CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qtbug-8933 CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qtbug-52641 CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qtexteditlist CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qtexttableborders CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qtouchevent CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qvulkaninstance CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
qwidget_zorder CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
repaint CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
rhi CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
shortcuts CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
socketengine CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
startsystemmove Add QWindow::startSystemMove and startSystemResize 2020-01-28 16:52:13 +01:00
textrendering CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
touch CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
touchGraphicsItem Refactor pointer event hierarchy 2020-07-10 14:32:56 +02:00
transientwindow CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
triangulator CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
unc CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
wasm wasm: support all cursor shapes 2019-12-30 14:30:22 +03:00
widgetgrab CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
widgets CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
windowchildgeometry CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
windowflags CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
windowgeometry CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
windowmodality CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
windowtransparency CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
xcb_gl_integration CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
xembed-raster CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
xembed-widgets CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
.prev_CMakeLists.txt CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
CMakeLists.txt CMake: Regenerate manual tests 2020-07-08 11:01:38 +02:00
manual.pro QtNetwork: Delete bearer management 2020-04-05 16:41:08 +02:00