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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top