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. Change from QtWidgets to QtQuick
Qt 6.11 is out! See what's new in the release blog

Change from QtWidgets to QtQuick

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 851 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.
  • T Offline
    T Offline
    thiberi0
    wrote on last edited by
    #1

    Hello everyone,
    My name is Francisco Thiberio and I'm a student of civil engineering.
    I have been developing a program that is able to simulate hydrological process in watershed, rivers and reservoir. I have used the QtWidgets module for all development of user interface and I am satisfied with the result, considering that I didn't know anything about the design of a user interface before and took only few months to learn.

    However I think that would be a even great step if could make available the program to tablets and I want to use some animation too.However I don't know almost nothing about QML and QtQuick and would have to port all program before the end of this year.

    My concern is for instance with the following features:

    -be able to draw graphs easily(Currently I am using QCustomPlot, which is very straight forward)

    -be able to link the index of a QComboBox to a QStackedWidget or QStackedLayout or similar class.

    Everything that can be done with QtWidget can be done with QtQuick in similar manner?

    thiberi0

    1 Reply Last reply
    0
    • shavS Online
      shavS Online
      shav
      wrote on last edited by
      #2

      Hi thiberi0,

      You can read this "documentation":http://qmlbook.org to get started with QtQuick. Also you can find all information in official "documentation":http://qt-project.org/doc/qt-5/modules-qml.html.

      If you use Qt 5.3 you can use "QtQuickWidget":http://qt-project.org/doc/qt-5/qquickwidget.html to support QML and widget in you app.

      About graphs in QML you can use JavaScript Canvas or C++ code using "QQuickPaintedItem":http://qt-project.org/doc/qt-5/qquickpainteditem.html. Also you can use "QWT":http://qwt.sourceforge.net with QML but this I don't tested and you need to research to find any information about using QWT with QML.

      Mac OS and iOS Developer

      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