[Qt-interest] Avoid QDialog minimizing when mainWindow clicked

Kishore Jonnalagadda kitts.mailinglists at gmail.com
Mon Oct 24 19:10:35 CEST 2011


On Oct 24, 2011 9:45 PM, "Jothybasu Selvaraj" <jothybasu at gmail.com> wrote:
>
> Hi all,
>
> I am displaying a modeless dialog with show() on a QMainWindow. I wonder
how is it possible to avoid modeless dialog being minimized when mainwindow
is clicked?

By "minimized" do mean that it goes behind the main window? To avoid that,
make the mainwindow the parent of the dialog.

Cheers!
Kishore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111024/cb71b3c9/attachment.html 


More information about the Qt-interest-old mailing list