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 use InverseMouseArea?
Forum Updated to NodeBB v4.3 + New Features

How to use InverseMouseArea?

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 772 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.
  • W Offline
    W Offline
    wshn14
    wrote on last edited by
    #1

    Hi all:
    I have a item ,I want to do something when mouse click outside of the item .I google it ,find that inversemousearea may help me ,I use it but it never work .Anyone have used InverseMouseArea ? help me

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hareen Laks
      wrote on last edited by
      #2

      On_mouse_click you can compare the clicked position with the item boundaries. if clicked position outside the boundaries you can do what you want.

      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