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. Windows Multitouch in a Qt application.(2 pens writting simultaneously in the graphicsview)
Qt 6.11 is out! See what's new in the release blog

Windows Multitouch in a Qt application.(2 pens writting simultaneously in the graphicsview)

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.4k 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.
  • musimbateM Offline
    musimbateM Offline
    musimbate
    wrote on last edited by
    #1

    Hi,
    I need to allow two pens to write simultaneously in my Qt application (graphicsscene/graphicsview based).
    My search have pointed out that the "multitouch":http://blogs.msdn.com/b/jennifer/archive/2010/12/13/multitouch-part-1-getting-started-with-multitouch-in-windows-7.aspx feature that is already in windows7 can allow me to do that.
    I have been looking for a working minimal piece of code to start with but haven't found anything yet.I can deal with a winAPI based but it would be better to find an already "Qt"fied one.

    Any input would be appreciated.

    Why join the navy if you can be a pirate?-Steve Jobs

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      something like "this":http://qt-project.org/doc/qt-4.8/touch-fingerpaint.html? ;)

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • musimbateM Offline
        musimbateM Offline
        musimbate
        wrote on last edited by
        #3

        Thanks raven-works for the input,
        I just tested the example on our test environment and it looks like what I want.So all I need is to capture touch events and draw in appropriate locations and windows7 will take care of capturing all those different touch points right?
        I am trying to put ideas together here,so ,sorry if I ask sth dumb :).
        Thanks again by the way,really helpful.

        Why join the navy if you can be a pirate?-Steve Jobs

        1 Reply Last reply
        0
        • raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          [quote author="musimbate" date="1385025357"]So all I need is to capture touch events and draw in appropriate locations and windows7 will take care of capturing all those different touch points right?[/quote]
          yes..basically like with any other event coming from the operating system.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0
          • musimbateM Offline
            musimbateM Offline
            musimbate
            wrote on last edited by
            #5

            Thanks,
            I look into how I can get this to work.

            Why join the navy if you can be a pirate?-Steve Jobs

            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