[PyQt] QTimeLine: same code runs different on XP-64bit vs XP-32bit

2011-11-04 Thread James Polk
Hello, A while back, wrote some kinda' simple code to simply move/animate QLabels from left to right, or right to left.  Wrote it on WinXP 64bit and it ran fine. Went to run it on WinXP 32bit, and it doesn't execute the same, meaning QLabels end up in wrong position,...close, but off... Basical

Re: [PyQt] Issue with pyqtSignal

2011-11-04 Thread Phil Thompson
On Fri, 4 Nov 2011 11:23:07 +0100, Detlev Offenbach wrote: > Hello, > > I am defining a signal in one of my classes like this. > > tabRelocateRequested = pyqtSignal(int, int, int) > > When this signal is emitted, the first parameter is bigger than an int > (e.g. by using id()). This causes

[PyQt] QComboBox: display text but pass on Unique Id (MySql)

2011-11-04 Thread Cristobal Infante
Hi guys, My first post in this list, a big hello to everyone :D I am just starting with Pyqt but have enough experience with python. I am connecting a Mysql Databse nicely, being able to retrieve the complete table and get it as a model. I've then been able to display in a combobox a "Name" colu

Re: [PyQt] Issue with pyqtSignal

2011-11-04 Thread Brett Stottlemyer
If the functions you are connecting are in python, you can use PyQt_PyObject as the type. That just passes the reference around, and everything works fine. I'm not sure about a good solution if you need to handle the type in C/C++. Brett -Original Message- From: pyqt-boun...@riverbankco

[PyQt] Issue with pyqtSignal

2011-11-04 Thread Detlev Offenbach
Hello, I am defining a signal in one of my classes like this. tabRelocateRequested = pyqtSignal(int, int, int) When this signal is emitted, the first parameter is bigger than an int (e.g. by using id()). This causes the signal receiver to get a first parameter, that is different to the val