Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Extending QCustomplot zoom feature to Android.
QtWS25 Last Chance

Extending QCustomplot zoom feature to Android.

Scheduled Pinned Locked Moved QML and Qt Quick
qcustomplotzoompinch
1 Posts 1 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • vishnuV Offline
    vishnuV Offline
    vishnu
    wrote on last edited by vishnu
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved