Home > other >  How to remove the title bar of the QDockWidget???????
How to remove the title bar of the QDockWidget???????

Time:09-25

RT... How to remove the title bar of the QDockWidget??? And how does not change by QDockWidget QMainWindow QToolBar position, because QToolBar often at the top of the QMainWindow, and I hope QToolBar appears at the bottom of the QMainWindow... How to do??

CodePudding user response:

https://blog.csdn.net/p942005405/article/details/100931950
Excerpt:
 QWidget * lTitleBar=mDock - & gt; TitleBarWidget (); 
QWidget * lEmptyWidget=new QWidget ();
MDock - & gt; SetTitleBarWidget (lEmptyWidget);
The delete lTitleBar;
  • Related