On 28.11.07 13:21:37, Alexandre Badez wrote: > On Nov 28, 2007 12:00 PM, Andreas Pakulat <[EMAIL PROTECTED]> wrote: > > > But you can do this inside your dialog class. Just override the accept > > and reject methods and do whatever logic you have their. > > > > It doesn't make sense to have a modal dialog without another window > > (i.e. in your __main__ function), as then its not really modal. And > > making a modal dialog is exactly what the exec_() does. > > Exactly, but in this case, I need a modal dialog, that why I use the exec_.
So you do have a QApplication created and executed already when you create your dialog? > My problem is what can make a "Bus Error" when I just simply want to create > a QDialog (even the simplest one). I don't know, google turns up a memory-corruption problem as first hit... Without some small self-contained example its hard to say what could be wrong. Andreas -- Generosity and perfection are your everlasting goals. _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
