Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Closable tabs for tabifyDockWidget
fitz last edited by
I am facing issue trying to set closable tabs in QMainWindow tabified dock widgets.
what I want is something similar to QTabWidget setTabClosable(...) but for tabified dock widgets.
Is there a way to do that ? or any way to access the QTabWidget created by tabifyDockWidget(...) ?
Thanks in advance !
Hi and welcome to devnet,
- AFAIK, no
- You would need to look at the code of QMainWindow to get the underlying QTabWidgets you'll be generating.
You might also want to check KDAB's KDockWidgets.