[PyQt] show dialog

2013-04-03 Thread Phil
Thank you for reading this. I think my previous post went unanswered because it was too cluttered with unnecessary code, so I'll reduce it to the minimum. I'm trying to have a dialog displayed from a menu item on the main window. The dialog is defined as; class SatelliteListDialog(QDialog, U

Re: [PyQt] PyQt4 original example “dbus” bugged

2013-04-03 Thread Tomas Neverdauskas
Some say, it's possible: http://www.lothlorien.com/kf6gpe/?p=141 2013/4/3 Hans-Peter Jansen > On Mittwoch, 3. April 2013 18:17:46 Pietro Moras wrote: > > Hi Andreas, I've not > > misunderstood, you have. In the sense that “\example\dbus” here > > considered is an original example provided int

Re: [PyQt] PyQt4 original example “dbus” bugged

2013-04-03 Thread Hans-Peter Jansen
On Mittwoch, 3. April 2013 18:17:46 Pietro Moras wrote: > Hi Andreas, I've not > misunderstood, you have. In the sense that “\example\dbus” here > considered is an original example provided into the original PyQt4 > package and, therefore, as such supposed to work as a model from > which to learn

Re: [PyQt] PyQt4 original example “dbus” bugged

2013-04-03 Thread Pietro Moras
Hi Andreas, I've not misunderstood, you have. In the sense that “\example\dbus” here considered is an original example provided into the original PyQt4 package and, therefore, as such supposed to work as a model from which to learn how to use it. If not working into the target platform (probably

Re: [PyQt] QGraphicsView very slow under Linux and Mac OS X

2013-04-03 Thread Hans-Peter Jansen
On Mittwoch, 3. April 2013 17:28:28 Clemens Brunner wrote: > On 04/03/2013 04:23 PM, Hans-Peter Jansen wrote: > > What you see is possibly related to the default Qt graphics engine: > > > > when using: > > QT_GRAPHICSSYSTEM=opengl python graphicsviewtest.py > > > > the values are oscillating

Re: [PyQt] QGraphicsView very slow under Linux and Mac OS X

2013-04-03 Thread Vincent Vande Vyvre
Le 03/04/13 17:28, Clemens Brunner a écrit : > On 04/03/2013 04:23 PM, Hans-Peter Jansen wrote: > >> What you see is possibly related to the default Qt graphics engine: >> when using: >> >> QT_GRAPHICSSYSTEM=opengl python graphicsviewtest.py >> >> the values are oscillating around 150 here. Wit

Re: [PyQt] QGraphicsView very slow under Linux and Mac OS X

2013-04-03 Thread Clemens Brunner
On 04/03/2013 04:23 PM, Hans-Peter Jansen wrote: What you see is possibly related to the default Qt graphics engine: when using: QT_GRAPHICSSYSTEM=opengl python graphicsviewtest.py the values are oscillating around 150 here. With "native" and "raster", it's back to 25: openSUSE 12.2/x8

Re: [PyQt] PyQt4 original example “dbus” bugged

2013-04-03 Thread Andreas Pakulat
Hi, On Wed, Apr 3, 2013 at 4:16 PM, Pietro Moras wrote: > > [QtDBus] it's not supported on Windows. > >Thank you Phil for this info: bug “dissolved”. > > Just a mild perplexity, as the package: > > “PyQt-Py3.3-x86-gpl-4.9.6-1.exe Windows 32 bit installer” > > I've downloaded from: > http://

Re: [PyQt] QGraphicsView very slow under Linux and Mac OS X

2013-04-03 Thread Andreas Pakulat
Hi On Wed, Apr 3, 2013 at 3:50 PM, Clemens Brunner wrote: > On 04/03/2013 03:24 PM, Andreas Pakulat wrote: > That being said, here with Qt4.8 even a full-screen window will not >> cause a significant slowdown, except during the resize phase. Once the >> resize is done the timer fires every 25

Re: [PyQt] Qscintilla api location in PyQt4

2013-04-03 Thread William Kyngesburye
On Apr 3, 2013, at 4:24 AM, Phil Thompson wrote: >> Again, at least for OS X, still a problem. The "standard" binary Qt >> install has no root, QTDIR is not defined as far as I can see, and parts >> are scattered around the system. "qmake -query QTDIR" returns > **Unknown**. >> In PyQt I get '/'

Re: [PyQt] QGraphicsView very slow under Linux and Mac OS X

2013-04-03 Thread Hans-Peter Jansen
On Mittwoch, 3. April 2013 15:50:46 Clemens Brunner wrote: > On 04/03/2013 03:24 PM, Andreas Pakulat wrote: > > first of all, QTimer gives you no guarantee that it'll fire exactly > > after the given amount of time. In particular not with such small > > timeouts and when having non-trivial paint fu

Re: [PyQt] Win 7, 64 bit, latest PyQt installer: importing QtGui fails

2013-04-03 Thread Sibylle Koczian
Am 02.04.2013 10:31, schrieb Phil Thompson: As I have said, I (and presumably most other people) cannot reproduce the problem. One possibility is a missing DLL - try installing a DLL dependency checker to see if that identifies it. Thank you, yes, it did. Installing the DirectX9 end user runt

Re: [PyQt] PyQt4 original example “dbus” bugged

2013-04-03 Thread Pietro Moras
> [QtDBus] it's not supported on Windows. Thank you Phil for this info: bug “dissolved”. Just a mild perplexity, as the package:“PyQt-Py3.3-x86-gpl-4.9.6-1.exe Windows 32 bit installer”I've downloaded from: http://www.riverbankcomputing.co.uk/software/pyqt/download is precisely labeled as a “W

Re: [PyQt] QGraphicsView very slow under Linux and Mac OS X

2013-04-03 Thread Clemens Brunner
On 04/03/2013 03:24 PM, Andreas Pakulat wrote: first of all, QTimer gives you no guarantee that it'll fire exactly after the given amount of time. In particular not with such small timeouts and when having non-trivial paint functions like yours. QTimer is bound to the event loop, hence cannot fi

Re: [PyQt] QGraphicsView very slow under Linux and Mac OS X

2013-04-03 Thread Andreas Pakulat
Hi, On Wed, Apr 3, 2013 at 2:15 PM, Clemens Brunner wrote: > Hi, > > I've also posted this question as a bug report at qt-project.org ( > https://bugreports.qt-project.org/browse/PYSIDE-151), but this is also a > PyQt issue. > > QGraphicsView is apparently very slow under Linux and Mac OS X. I've

[PyQt] QGraphicsView very slow under Linux and Mac OS X

2013-04-03 Thread Clemens Brunner
Hi, I've also posted this question as a bug report at qt-project.org (https://bugreports.qt-project.org/browse/PYSIDE-151), but this is also a PyQt issue. QGraphicsView is apparently very slow under Linux and Mac OS X. I've attached an example program (runs with PySide or PyQt). The signals sh

Re: [PyQt] PyQt4 original example “dbus” bugged

2013-04-03 Thread Phil Thompson
On Wed, 3 Apr 2013 08:44:30 +, Pietro Moras wrote: > Any idea how to fix > the PyQt4 Python ver. 3 original example “dbus\listanames.pyw”? The .pyw extension suggests you are on Windows... > Trying to use it I > got an: “ImportError cannot import name QtDBus”. Thanks. > - P.M. ...because

Re: [PyQt] Qscintilla api location in PyQt4

2013-04-03 Thread Phil Thompson
On Tue, 2 Apr 2013 19:45:21 -0500, William Kyngesburye wrote: > On Apr 2, 2013, at 7:23 PM, Phil Thompson wrote: > >> On Tue, 2 Apr 2013 19:04:38 -0500, William Kyngesburye >> wrote: >>> On Apr 2, 2013, at 6:44 PM, Phil Thompson wrote: >>> On Tue, 2 Apr 2013 12:28:54 -0500, William Kyngesb

Re: [PyQt] QAxBase.dynamicCall - calling convention

2013-04-03 Thread Frank Hempel
Am 29.03.2013 19:12, schrieb Phil Thompson: > > I need a short, complete script that demonstrates the problem. it is attached to this mail (the threads opener mail has it inlined too). Thanks for looking at it... Regards, Frank > > Phil > import sys from PyQt4 import QAxContainer from PyQt4

[PyQt] PyQt4 original example “dbus” bugged

2013-04-03 Thread Pietro Moras
Any idea how to fix the PyQt4 Python ver. 3 original example “dbus\listanames.pyw”? Trying to use it I got an: “ImportError cannot import name QtDBus”. Thanks. - P.M. ___ PyQt mailing listPyQt@riverbankcom