Qt World Summit: Register Today!

Locking the handles between QDockWidgets in a QMainWindow

  • Hello there,

    I'd like to lock the handles of the splitter elements between the dockwidgets.
    I already found out how to lock splitters in general (calling setDisabled() on the handle of the splitter seemed the best way so far and works as intended).
    Unfortunately I did not find a way to retrieve the list of all the splitter elements used to separate the visible QDockWidgets in a QMainWindow. @qFindChildren<QSplitter*>(m_mainWindow)@ will only list all the splitters used within the QDockWidgets, yet not the ones used to separate the QDockWidgets.

    Is there a way to access these splitter elements' handles?

    Thank you in advance

Log in to reply