QChartView mouse double click
-
Hi
You will override
https://doc.qt.io/qt-5/qwidget.html#mouseDoubleClickEventDo notice that double clicks are not real.
its 2 single clicks and Qt keep track of time between and location if makes you a double click event.So if you override both mousePress and mouseDoubleClickEvent BOTH will be called by a double click.
This is by design and it's up to you to write logic to handle both if you need to have both single and double click actions.- Why doesn't gesture support double-click?
Well it does in QML
https://doc.qt.io/qt-5/qml-qtquick-taphandler.html#details
I dont know about QWidgets.
- Why doesn't gesture support double-click?