Qt Forum

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

    How to enable multi-touch in QML ?

    QML and Qt Quick
    2
    6
    2234
    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.
    • S
      sibislaw2 last edited by

      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 Reply Quote 0
      • S
        sibislaw2 last edited by

        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 Reply Quote 0
        • X
          Xander84 last edited by

          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 Reply Quote 0
          • S
            sibislaw2 last edited by

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

            1 Reply Last reply Reply Quote 0
            • X
              Xander84 last edited by

              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 Reply Quote 0
              • S
                sibislaw2 last edited by

                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 Reply Quote 0
                • First post
                  Last post