Qt World Summit: Submit your Presentation

Extending QCustomplot zoom feature to Android.

  • QML wrapper for QCustomplot has been implemened here. Works perfect for windows. It does support auto ranging and mouse drag/zoom (with Shift - X axis, with Control - Y axis). But on android it cannot support. I would like to implement this feature on Android. My idea is using PinchArea and binding it to the function where the zooming functionality is done. for example inql-lineplot.cpp the mouse wheel event is implemented in the functionvoid QlLinePlotItem::wheelEvent(QWheelEvent* event). How can I map or bind PichArea to this function ?Also It is already implemented, while zooming with mouse wheel the values on X and Y axis are changed accordingly. How can I do this on Android? Thanks.

Log in to reply