Re: [PyQt] Compiling PyQt with windows

2009-06-04 Thread Matt Newell
On Thursday 04 June 2009 14:09:24 mel...@orangepalantir.org wrote: > Okay I have MinGW32 and 64 bit python 2.6, I want to compile PyQt4 and I > get a lot of errors similar too: > > undefined reference to '_imp__PyTuple_Pack' > > I hope the error is not because of the 64 bit version, it sounds like

RE: [PyQt] QSettings.registerFormat unavailable in PyQt4?

2009-06-04 Thread Phil Thompson
On Thu, 4 Jun 2009 14:06:18 -0700, Nate Reid wrote: > Thanks Phil... is there a list of unsupported functions/non-implementable > Qt functions. I know there's a general 'this is how PyQt differs from Qt' > page, but considering the PyQt docs are converted from the Qt docs, it is > confusing when

RE: [PyQt] QSettings.registerFormat unavailable in PyQt4?

2009-06-04 Thread Nate Reid
Thanks Phil... is there a list of unsupported functions/non-implementable Qt functions. I know there's a general 'this is how PyQt differs from Qt' page, but considering the PyQt docs are converted from the Qt docs, it is confusing when certain functions do not exist when they're documented as

Re: [PyQt] QSettings.registerFormat unavailable in PyQt4?

2009-06-04 Thread Phil Thompson
On Thu, 4 Jun 2009 13:00:23 -0700, Nate Reid wrote: > According to QT's docs, this function has been available since Qt 4.1. I'm > Python 2.5.4 on Windows32, and am using PyQt 4.4.3 built against Qt 4.5.1, > and this function is not available in the QtCore.QSettings class. It can't be wrapped be

[PyQt] QSettings.registerFormat unavailable in PyQt4?

2009-06-04 Thread Nate Reid
According to QT's docs, this function has been available since Qt 4.1. I'm Python 2.5.4 on Windows32, and am using PyQt 4.4.3 built against Qt 4.5.1, and this function is not available in the QtCore.QSettings class. Thanks, -Nate ___ PyQt mailing lis

Re: [PyQt] Re: QSpinBox: behavior on Linux

2009-06-04 Thread Darryl Wallace
TP wrote: Thanks a lot. I have another question: how to know the PyQt and Qt version from python? I have searched in the archive, but the result is not satisfying: http://search.gmane.org/?query=__version__+pyqt&author=&group=gmane.comp.python.pyqt-pykde&sort=relevance&DEFAULTOP=and&xP=__versio

[PyQt] Re: QSpinBox: behavior on Linux

2009-06-04 Thread TP
Mads Ipsen wrote: > Yes, this is correct, and I posted a similar question regarding this > behavior observed under Linux. The most peculiar thing, is that it works > correctly if you select the QLineEdit of the QSpinBox and press the up > and down arrows on the keyboard. > > The problem is, howev

[PyQt] A problem with co-ordinates of a moving item in an auto-expanding QGraphicsScene

2009-06-04 Thread Simon Hibbs
I've been playing with the diagramscene demo, which is a great way to learn about QDiagramScene, and found some odd behaviour which a search of the archives doesn't illuminate. It's easy to recreate with minor changes to the original demo code. The following line (355) in the MainWindow constructo

Re: [PyQt] QSpinBox: behavior on Linux

2009-06-04 Thread Mads Ipsen
TP wrote: Hi everybody, I have detected a strange behavior on Linux with QSpinBox (try the code example below): when the "valueChanged( int )" signal is connected to a function that takes some time to execute, sometimes the "up" and "down" clickable buttons of the QSpinBox increment and decrem

[PyQt] How to select a row in treeview

2009-06-04 Thread IT
Hi all, a newbie and throughly enjoying pyqt; but and a little problem. I've got a treeview/model which is loaded via json. I want to select a row in code, eg after a refresh of data to restore the previous row or to select a new one. The problem I'm having is that I can seem to be able to s

[PyQt] QSpinBox: behavior on Linux

2009-06-04 Thread TP
Hi everybody, I have detected a strange behavior on Linux with QSpinBox (try the code example below): when the "valueChanged( int )" signal is connected to a function that takes some time to execute, sometimes the "up" and "down" clickable buttons of the QSpinBox increment and decrement its value

Re: [PyQt] Qt or PyQt problem?

2009-06-04 Thread Phil Thompson
On Thu, 04 Jun 2009 08:35:52 +0200, "V. Armando Solé" wrote: > Phil Thompson wrote: >> On Wed, 03 Jun 2009 22:57:32 +0200, Vicente Sole wrote: >> >>> createIndex can accept a pointer or a quint32 so, in any case one >>> would say it is a positive number. Perhaps forcing the return of >>> in

[PyQt] Bug report: Installer PyQt-Py2.5-gpl-4.4.3-1 for Windows

2009-06-04 Thread ммм нетпроблем
Hi All!When Python is installed in “User only” mode (not for all users), PyQtinstaller can`t locate Python`s install path.I think installer doesn`t check registry root HKEY_CURRENT_USER alongwith HKEY_LOCAL_MACHINE.Registry path is the same in both cases(‘SOFTWARE\Python\PythonCore\2.5\InstallPath’