On Tuesday 03 June 2008 09:50:50 Luke Campagnola wrote:
> Hello again,
> I am trying to implement a subclass of QGraphicsView that allows the
> user to pan its contents by dragging with the middle mouse button and
> scale by dragging with the right button. for various reasons, I do not
> wish to us
> "Paolo" == Paolo Franzetti <[EMAIL PROTECTED]> writes:
Paolo> How can I do this job without blocking the main window ?
Maybe just studying a bit more of python before writing apps?:)
Some points:
- just one app object for process!!
- if your object must survive the end of the method
simone wrote:
> 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:
>
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 n