Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    How to find out if modal dialog is open?

    General and Desktop
    3
    4
    6836
    Loading More Posts
    • 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.
    • E
      eddyilg last edited by

      How do I find out if a modal dialog is currently open?

      -Eddy

      1 Reply Last reply Reply Quote 0
      • G
        goetz last edited by

        I would try isVisible().

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • E
          eddyilg last edited by

          I have some events going on in the background and I want to prevent those events if ANY modal dialog is open (there are many modal dialogs in the application). How can I find that out?

          1 Reply Last reply Reply Quote 0
          • D
            dangelog last edited by

            QApplication::activeModalWidget

            Software Engineer
            KDAB (UK) Ltd., a KDAB Group company

            1 Reply Last reply Reply Quote 1
            • First post
              Last post