[PyKDE] Newbie MDI question

Gordon Tyler gordon at doxxx.net
Tue May 25 19:37:01 BST 2004


John Fabiani wrote:

> When I create a QMainWindow (my main window) I add my menu's etc...from 
> my menu actions I want to open a window in the space below the menu.  
> The type of window is the question.  Is the type of the new window also 
> a QMainWindow (my child window)without menu's?  If this is correct - can 
> the child window receive events from the main window menu/toolbar 
> etc...  If not what is the correct type of window do I use?

Your main window should contain a single QWorkspace widget which is then 
the container for QWidgets which are rendered as MDI child windows.

For more information: http://doc.trolltech.com/3.2/qworkspace.html

Ciao,
Gordn




More information about the PyQt mailing list