Pergunta

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.

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top