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. Difference between normal mouse click and touch
Forum Updated to NodeBB v4.3 + New Features

Difference between normal mouse click and touch

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 3 Posters 4.7k 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.
  • X Offline
    X Offline
    xardas008
    wrote on last edited by
    #1

    Hi,

    I have the following problem: I'm using the QML Button from the getting started text editor example in my application. When I click with a normal mouse on it, it gets a little bit bigger.
    When I click on it on a touch device with my fingers, it doesn't scale.

    So here my question: Where is the difference between a normal mouse click and one of a touch?

    1 Reply Last reply
    0
    • X Offline
      X Offline
      xardas008
      wrote on last edited by
      #2

      Ok it looks like when clicking with a finger the MouseArea.pressed event isn't called. Is this normal or a bug?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sergio.camici
        wrote on last edited by
        #3

        I have the same problem.
        Mousearea onPressed is called and onClicked isn't.
        Any news?

        1 Reply Last reply
        0
        • C Offline
          C Offline
          chriadam
          wrote on last edited by
          #4

          Which version of Qt and QtQuick are you using, on which platform? Which input device are you using to test the touch interaction? The onClicked event certainly should be triggered for touch events in a MouseArea, AFAIK, so this sounds like a bug.

          1 Reply Last reply
          0
          • X Offline
            X Offline
            xardas008
            wrote on last edited by
            #5

            Platform: Windows 7 Embedded.
            The input device is an ipc with a projective capacity display.
            And it seems, that he reacts on the onClicked event, but there is no visual reaction on it. Everything works fine, you can click a button etc, but you don't see it getting bigger or changing his color for a short period of time.

            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