Re: [PyQt] Various problems with QGraphicsView

2008-06-06 Thread Matt Newell
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

[PyQt] Re: launch a dialog from main window

2008-06-06 Thread Alberto Berti
> "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

Re: [PyQt] launch a dialog from main window

2008-06-06 Thread Paolo Franzetti
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: >

Re: [PyQt] launch a dialog from main window

2008-06-06 Thread simone
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