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. How to enable multi-touch in QML ?
Forum Updated to NodeBB v4.3 + New Features

How to enable multi-touch in QML ?

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 2 Posters 2.8k 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.
  • S Offline
    S Offline
    sibislaw2
    wrote on 5 May 2014, 11:45 last edited by
    #1

    How to enable multi touch in QML ? I have 2 buttons, and i simply want to push them at the same time.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sibislaw2
      wrote on 5 May 2014, 12:01 last edited by
      #2

      I will precise my question - i have two MouseArea regions, and i want to handle them parralely, at the same time. So i want to use one this region with left hand, and other by right hand by the same time using multitouch screen. How to do that ?

      1 Reply Last reply
      0
      • X Offline
        X Offline
        Xander84
        wrote on 5 May 2014, 13:44 last edited by
        #3

        I don't think you can do that as of Qt 5.3, only a MultiPointTouchArea supports multi touch as far as I know.. :/

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sibislaw2
          wrote on 5 May 2014, 17:59 last edited by
          #4

          Eh, but MultiPointTouchArea dont work with mouse. Any other possibility ? Writing custom object in C++ ?

          1 Reply Last reply
          0
          • X Offline
            X Offline
            Xander84
            wrote on 5 May 2014, 18:17 last edited by
            #5

            Wait what mouse, how can you have a multi touch/click with your mouse? You only have one mouse cursor!? I have not seen any system where you can have more than one mouse cursor at the same time :D
            That said I don't know what you want to archive, but yeah you can use raw mouse or touch events and do your own c++ class of course.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sibislaw2
              wrote on 6 May 2014, 05:41 last edited by
              #6

              I have system, portable computer, with mouse and touch screen. And i want both to work simultanouesly. In addition, i want to same code without modifications work on tablet with linux (not android) with multitouch screen.

              1 Reply Last reply
              0

              3/6

              5 May 2014, 13:44

              • Login

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