Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top