Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt widgets or QML(Qt Quick) : For touch screen Application?
Forum Updated to NodeBB v4.3 + New Features

Qt widgets or QML(Qt Quick) : For touch screen Application?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.2k 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.
  • S Offline
    S Offline
    ShrikantAmbade
    wrote on last edited by
    #1

    Hello Everyone,
    I got confused again while using Qt Quick and Qt Widgets. I am currently using Qt Quick for designing my Editor for touch screen but I don't know whether I can use widgets in it or not or do I need to shift to Qt Widgets Application. I found it easy to write .cpp program in Qt Widgets and call C++ classes.
    In Design mode of Qt Widgets we can click on widgets and go to slot and it generate code for us in .cpp file.... Is there anything in Qt Quick like that ? So much confuse ..

    Need proper guideline...

    Many Thanks,

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dynamo72
      wrote on last edited by
      #2

      There is no general rule what to chose - Widgets or QtQuick.
      I assume you are creating a desktop application. Rule of thumb is that if your GUI is almost a standard desktop GUI, go for the widgets.
      On the other hand, if you want to have multi-touch support, kinetic scrolling, page animations on swipe etc., you should chose QML.

      (For example, for handling multi-touch with QWidgets,, you have to deal with MultiTouchEvents in event(). With QtQuick, you simply exchange the controls' MouseAreas with a MultiPointTouchAreas.)

      S 1 Reply Last reply
      1
      • D dynamo72

        There is no general rule what to chose - Widgets or QtQuick.
        I assume you are creating a desktop application. Rule of thumb is that if your GUI is almost a standard desktop GUI, go for the widgets.
        On the other hand, if you want to have multi-touch support, kinetic scrolling, page animations on swipe etc., you should chose QML.

        (For example, for handling multi-touch with QWidgets,, you have to deal with MultiTouchEvents in event(). With QtQuick, you simply exchange the controls' MouseAreas with a MultiPointTouchAreas.)

        S Offline
        S Offline
        ShrikantAmbade
        wrote on last edited by
        #3

        @dynamo72 Thank you so much. I am creating Desktop application which I have to mount on big touch screen

        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