qt-interest@trolltech.com
[Top] [All Lists]

Re: QMainWindow as a dialog

Subject: Re: QMainWindow as a dialog
From: "Duane Hebert"
Date: Tue, 28 Mar 2006 12:51:08 -0500
>I wish to show a window derived from QMainWindow (i.e. with all the
>"features" - toolbars, menus etc.) as a non-modal dialog window. I.e.,
>a simple "child" window. However, when I call show() on the window, it
>only apeears on the screen for less than a second and then closes.

>I _know_ I'm doing something wrong (obviously :)) ), I only wish i
>knew what is wrong (apart from my brains and hands - these are the
>most obvious and, unfortunately, disacrded options :) )

How are you creating it?  Is it possible that it's created
in a function call and going out of scope?

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>