문제

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