[PyQt] launch a dialog from main window
paolo at lambrate.inaf.it
Fri Jun 6 17:01:49 BST 2008
> Paolo Franzetti ha scritto:
>> How can I do this job without blocking the main window ?
> You don't have to set up another instance of QApplication in the viewer.
> But: this application starts in some way? On Windows, with Python 2.5.2
> and PyQt 4.3.3, it returns me a:
> "NameError: name 'app' is not defined"
> On the __init__ of the Main class, of course.
On SuSE Linux 10.2, Python 2.5.2, PyQt 4.4.2 the program starts.
If I remove the app=... line in the view_data() functions,
the viewer dialog is no more shown at all.
More information about the PyQt