PDA

View Full Version : How to display a MDI subwindow in front of a QGraphgicsView view ?



wisconxing
6th April 2009, 14:01
I have a mainwindow with a QGraphicsView view, I want to click menu File\New to display a Mdi subwindow. But the Mdi subwindow is always behind the view. How to display a MDI subwindow in front of a QGraphgicsView view ? Many thanks!

wysota
6th April 2009, 14:55
Do you want the graphics view to be the background of the mdi area? If so, try setting the view as the viewport for the mdi area although personally I don't see a use case for such configuration. Are you sure about doing that? What is your goal?