[PyQt] MdiSubWindows: what causes inactive (or hidden) subwindows?
david at boddie.org.uk
Mon Nov 24 23:41:22 GMT 2008
On Mon Nov 24 23:00:36 GMT 2008, Anonymous wrote
> Let's say i have an MdiArea whose ViewMode is set as TabbedView. It seems
> when i call a function that adds a new subwindow, the window doesn't show
> and i can't close the subwindow by right-clicking on the tab and close.
What happens when the QMdiArea is configured to use SubWindowView?
> Ironically, when i call the function before the main window appears, the
> subwindows aren't inactive (or hidden). I've attempted to add the subwindow
> to the MdiArea two that doesn't solve my problem: first way was through
> QMdiSubWindow.addSubWindow(), second way was making a new instance of
> QMdiSubWindow with its parent being the MdiArea.
> I'm not sure what i'm ignorant of or how to solve this.
If you post a minimal or short code example then maybe we can help you figure
out what's happening.
More information about the PyQt