Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    How to make a plot in Qt Quick project?

    QML and Qt Quick
    plot browsing t
    2
    2
    857
    Loading More Posts
    • 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
      Reuven last edited by

      Hi. I'm new in C++ and QT is my first IDE tool. After primary exercise to build simple calculator from internet tutorial I'd want to try to put my GUI application from Matlab to Qt project. This is some simple measurement tool with buttons and plots, changing in time like in scope.
      So my questions are:

      • Is it right way to use Frame container for each plot?
      • Are there another, better ways to organize plot in Qt design field?
      • Are there some tutorials about it or examples?

      And some other issue: In my application I have to click and browse to select an external file with data to display (standard browsing sub-window?). Is there some Qwidget directly adopted for it?
      I will be very glad to get any recommendations.

      1 Reply Last reply Reply Quote 0
      • JKSH
        JKSH Moderators last edited by

        Hi @Reuven, and welcome to the Qt Dev Net!

        Do you have a preference between Qt Quick and Qt Widgets?

        • For plotting in Qt Quick, see the Stocqt example.
        • For plotting in Qt Widgets, see the Qwt framework (note: This is a 3rd-party library that you must download separately)
        • For browsing files in Qt Quick, see FileDialog (and an example)
        • For browsing files in Qt Widgets, see QFileDialog

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply Reply Quote 0
        • First post
          Last post