Re: [PyQt] QRunnable issue

2011-07-23 Thread Ameretat Reith
old style signal/slot works in this way. Note: I'm just joined in this mailing list and don't know main issue for this topic. sorry if it's not related to main issue. :) import sys from PyQt4 import QtCore, QtGui class Runnable(QtCore.QRunnable): lock = QtCore.QReadWriteLock() counter = 0

Re: [PyQt] Fwd: QFileDialog error

2011-07-23 Thread Hans-Peter Jansen
On Saturday 23 July 2011, 07:49:02 Martin Airs wrote: > On Saturday 23 July 2011 07:41:18 Vincent Vande Vyvre wrote: > > It's normal, lineedit.text() returns a QString and Python don't > > like that. > > > > Use : os.path.split(str(self.lineedit.text())) > > > > -- > > Vincent V.V. > > Oqapy . Qa

[PyQt] pyqt documentation vs qt documentation

2011-07-23 Thread Erik Janssens
Hi, just wanted to note that the PyQt documentation does not mark deprecated methods as such, while the Qt documentation does. eg : QHBoxLayout.setMargin is deprecated, but appears as a normal method in the PyQt docs Regards, Erik ___ PyQt mailing l

Re: [PyQt] Simple C++ example doesn't work

2011-07-23 Thread Rafael Durán Castañeda
Ok, thanks I missed that part... On 23/07/11 10:40, Phil Thompson wrote: On Sat, 23 Jul 2011 01:20:57 +0200, Rafael Durán Castañeda wrote: Hi, I was looking at SIP documentation and trying simple c++ example when I got: g++ -c -O2 -g -fPIC -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o s

Re: [PyQt] Simple C++ example doesn't work

2011-07-23 Thread Phil Thompson
On Sat, 23 Jul 2011 01:20:57 +0200, Rafael Durán Castañeda wrote: > Hi, > > I was looking at SIP documentation and trying simple c++ example when I > got: > > g++ -c -O2 -g -fPIC -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o > sipwordcmodule.o sipwordcmodule.cpp > g++ -c -O2 -g -fPIC -Wall