This patch adds support for touch scrolling in Dolphin using QScroller., I'm using Qt::MouseEventNotSynthesized to figure out if a mouse event was synthesized (which means it was a touch event and not an actual mouse event)with touch events sharing some functions with mouse events to behave like clicks. Rubberbands do not trigger during touch scrolling. To prevent accidental item activation during touch scrolling, I check if there was a mouseMoveEventtouch update event with a touch move emitted in between a mousePressEventtouch begin and a mouseReleaseEtouch end event, in which case I prevent item activation from happening. To deal with grabbing and dragging using the touchscreen, I've implemented a rudimentary "touch and hold" mechanism, with a QTimer that starts on a mousePress and waits for 1000 milliseconds to see if the mouse moved, and if that wasn't the case, it disables touch sAlso added the QScrolling temporarily so that dragging takes overer gesture to the information panel (which is kinda wip right now due to issues).
FEATURE: 385066