[Qt-interest] How to QDialog modal after it has been shown
Kishore Jonnalagadda
kitts.mailinglists at gmail.com
Sat Oct 8 07:39:22 CEST 2011
On Saturday 08 Oct 2011 12:58:56 AM Kishore Jonnalagadda wrote:
> I have a simple case where once the use clicks on a button in the dialog, i
> want to make the dialog modal till the request (async) is complete or times
> out. However, calling setModal(true) on the dialog does not seem to help. It
> only makes a difference when set before _first_ call to show().
>
> Is there a way around? I would not like to show another modal dialog on top
> during the operation as i have a nice progress bar within the dialog for
> that.
It seems to work if i close (as against hide) the dialog before calling
setModal(true).
--
Regards,
Kishore
More information about the Qt-interest-old
mailing list