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. Signals triggered by object that are invisible

Signals triggered by object that are invisible

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

    Hi all,

    I have a scenario where I have a Popup and at some point I change the "visible" property to true and later after a condition is reached I call "close" function. I noticed that in the Popup, the "onClosed" signal is called but is not propagated in other components that use Popup. I haven't found any information in the documentation related to "visible" property and emitting signals.

    Can anybody help me with this question? If I change the visibility, the signals are still emitted?

    Regards,
    Alex Stanciu

    1 Reply Last reply
    0
    • GrecKoG Offline
      GrecKoG Offline
      GrecKo
      Qt Champions 2018
      wrote on last edited by
      #2

      Which signals? There's nothing saying that invisible objects can't send signals.
      Some do have specific behaviour, like MouseArea or TouchHandler not capturing mouse clicks/touch when invisible though.

      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