[Documentation - QtHelp] Allow navigating with mouse forwards and backwards…

Authored by davidre on Jul 28 2019, 5:00 PM.

Description

[Documentation - QtHelp] Allow navigating with mouse forwards and backwards button

This allows navigating with the mouse forwards and backwards buttons like in
the editor. To get the mouse events an eventFilter is installed on the viewport
of the treeview on the homepage. For the content WebEngineViews a workaround/hack
is needed to access a private child which swallows the events (QTBUG-43602).
Inspiration for that is taken from https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/src/plugins/help/webenginehelpviewer.cpp.

Details

Committed
davidreMar 9 2020, 4:56 PM
Parents
R32:440a16cf705c: Merge branch '5.5'
Branches
Unknown
Tags
Unknown