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. Better approach to show waveform on screen using Qml.
Forum Updated to NodeBB v4.3 + New Features

Better approach to show waveform on screen using Qml.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 4 Posters 1.4k Views 3 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.
  • R_ramR Offline
    R_ramR Offline
    R_ram
    wrote on last edited by
    #1

    Hi all,

    I'm doing a project related to ECG equipment. There I have to show the signal which keeps on moving from left to right (Like a CRO's waveform).

    Now I'm using QSGGeometry to input my screen coordinates with GL_LINES drawing mode to draw the waveform. And for every 40ms interval, I'm doing the update call to my QQUickitem. So that my waveform seems to be moved in a better way.

    In future, I have to show some text with the moving waveform and I have to show one moving axis with some numbers along with the waveform.

    Can anyone suggest a better way to approach to show a waveform using qml?

    Thanks in advance.

    Pablo J. RoginaP 1 Reply Last reply
    0
    • R_ramR R_ram

      Hi all,

      I'm doing a project related to ECG equipment. There I have to show the signal which keeps on moving from left to right (Like a CRO's waveform).

      Now I'm using QSGGeometry to input my screen coordinates with GL_LINES drawing mode to draw the waveform. And for every 40ms interval, I'm doing the update call to my QQUickitem. So that my waveform seems to be moved in a better way.

      In future, I have to show some text with the moving waveform and I have to show one moving axis with some numbers along with the waveform.

      Can anyone suggest a better way to approach to show a waveform using qml?

      Thanks in advance.

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @R_ram What about using the Qwt library? see this example in action, it may give you an idea of what you could achieve...

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      oria66O 1 Reply Last reply
      2
      • Pablo J. RoginaP Pablo J. Rogina

        @R_ram What about using the Qwt library? see this example in action, it may give you an idea of what you could achieve...

        oria66O Offline
        oria66O Offline
        oria66
        wrote on last edited by oria66
        #3

        @Pablo-J.-Rogina Hi, but I think @R_ram maybe want this functionality in qml. Is there any way to put a qwt chart into qml? You share a video from 2012, but it's only that, a video, no link, no source code. I try to find any source or article that explain how to do this, but nothing appears.

        The truth is out there

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          KDAB's DeclarativeWidgets might be a good starting point to integrate Qwt's widgets.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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