Qt Forum

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

    How to programmatically capture QDockWidget state

    General and Desktop
    2
    3
    618
    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.
    • C
      chooser last edited by

      Hi, sorry if this seems like a simple question but i'm in a bit of a rush.

      Can anybody give me a clue how to capture programmatically whether a QDockWidget object is docked or not. In other words, answer the question, is it presently docked or not. I was expecting to find a method called something like isDocked. But I don't see anything like that.

      Any feedback is much appreciated.

      Thanks.

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

        isFloating()

        1 Reply Last reply Reply Quote 0
        • C
          chooser last edited by

          Really? Ok let me try that out.
          Thanks much.

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