QMdiArea SubWindowView overriding

266 views Asked by At

I'm a junior software engineer and i have a idea, but i don't know how to realize them. I want to override a QMdiArea's SubWindowView. Actually i want to mix SubWindowView and TabbedView. I want to give to SubWindowView some features from TabbedView for example. Tabs panel with names of windows and when you click on some tab window with it's name displayed above other windows.

1

There are 1 answers

4
Pavel Strakhov On BEST ANSWER

It's possible. You need to add a QTabBar on top of QMdiArea and implement its behavior manually (e.g. add new tabs when new windows are created and close a window when tab close is requested).