[Qt-interest] Dialog window that doesn't desappear....

Giancarlo Amati ilferraresebono at hotmail.it
Thu Apr 30 16:32:11 CEST 2009


Hello everybody,

dunnow what wrong with my dialog window which contains ONLY one QDialogBoxButton set on OK and Cancel.
now, I run my softwre calling

    CRBCreateDlg *rbdlg = new CRBCreateDlg();
    rbdlg->setModal(true);
    ret = rbdlg->exec();

where CRBCreateDlg, is the class which implements the gui of my dialog window. Now, CRBCreateDlg is derived from QDialog and it setup its UI with the GUI I designed with QDesigner.
The problem is that whatever button I press (OK, Cancel or Destroy) the dialog window keeps staing on the top and having the control of the execution.

WHY?

shouldn't it desappear by default if I press OK or Cancel?

Many thanks.
GC.

_________________________________________________________________
Le più cercate della settimana?
http://clk.atdmt.com/GBL/go/140630368/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090430/1a2bd175/attachment.html 


More information about the Qt-interest-old mailing list