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. Two qml applications + both receive click events
Forum Updated to NodeBB v4.3 + New Features

Two qml applications + both receive click events

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 417 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.
  • M Offline
    M Offline
    MHermann
    wrote on last edited by MHermann
    #1

    Hi all!

    I have two qml applications running at the same time.
    One application covers parts of the other application.

    Now when I am clicking on the application in the front also the application in the back (which is covered by the other application) receives the click events.
    Is there a way to avoid, that both applications receive these click events? Of course I only want the application in the front to receive these click events.
    And can someone explain me this behaviour?

    Hope you can help me.

    Kind regards,
    MHermann

    JonBJ 1 Reply Last reply
    0
    • M MHermann

      Hi all!

      I have two qml applications running at the same time.
      One application covers parts of the other application.

      Now when I am clicking on the application in the front also the application in the back (which is covered by the other application) receives the click events.
      Is there a way to avoid, that both applications receive these click events? Of course I only want the application in the front to receive these click events.
      And can someone explain me this behaviour?

      Hope you can help me.

      Kind regards,
      MHermann

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @MHermann
      I know nothing, but it doesn't sound right. Can't believe it can have anything to do with QML. Sounds more like your windowing system's desktop manager, which you don't say anything about. (Or some very special kind of window, like Qt::WindowTransparentForInput.)

      M 1 Reply Last reply
      0
      • JonBJ JonB

        @MHermann
        I know nothing, but it doesn't sound right. Can't believe it can have anything to do with QML. Sounds more like your windowing system's desktop manager, which you don't say anything about. (Or some very special kind of window, like Qt::WindowTransparentForInput.)

        M Offline
        M Offline
        MHermann
        wrote on last edited by
        #3

        @JonB :
        These applications are running on a raspberry pi 3.
        Which information exactly do you need?

        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