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. qml Mousearea onClicked vs onReleased

qml Mousearea onClicked vs onReleased

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

    Hi

    I am using qml Mousearea onReleased signal to call a function. The function is being called as required onRelease after drag but the same is being called even on click. So even a click generates onReleased signal. Can this be avoided ?

    1 Reply Last reply
    0
    • E Offline
      E Offline
      eswar
      wrote on last edited by
      #2

      Hi @saitej

      The clicked signal is combination of press and release. Instead of clicked signal, Use onPressed signal to avoid misinterpret.

      saitejS 1 Reply Last reply
      0
      • E eswar

        Hi @saitej

        The clicked signal is combination of press and release. Instead of clicked signal, Use onPressed signal to avoid misinterpret.

        saitejS Offline
        saitejS Offline
        saitej
        wrote on last edited by
        #3

        @eswar

        Hi

        I want to use Released only not clicked. I don't want the item to do any thing on clicked.

        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