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.
Forum Updated to NodeBB v4.3 + New Features

Extending QCustomplot zoom feature to Android.

Scheduled Pinned Locked Moved QML and Qt Quick
qcustomplotzoompinch
1 Posts 1 Posters 1.5k Views 1 Watching
  • 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.
  • V Offline
    V Offline
    vishnu
    wrote on 19 Aug 2015, 11:03 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

    1/1

    19 Aug 2015, 11:03

    • Login

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