Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to programmatically capture QDockWidget state



  • 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.



  • isFloating()



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


Log in to reply