[PyQt] SIP wrapper: argument 1 has unexpected type 'QWidget'

2011-10-04 Thread Glenn Ramsey
I'm having some trouble with a simple SIP wrapper for a QWidget derived class. I get the error "HostWidget(): argument 1 has unexpected type 'QWidget'" but that constructor is supposed to accept a QWidget. What am I doing wrong? Glenn # SIP definition class HostWidget : QLabel { %TypeHeaderC

[PyQt] Fwd: Profiling with QThreads

2011-10-04 Thread Martin Teichmann
Hi List, [...] > I put this operation in a QThread so that the GUI would stay responsive. > I am now using a profiler on this application trying to see which > calls to the server are taking most of the time. > The problem here is that because its on a different thread the > profiler doesn't pick

Re: [PyQt] Profiling with QThreads

2011-10-04 Thread Martin Teichmann
Hi List, [...] > I put this operation in a QThread so that the GUI would stay responsive. > I am now using a profiler on this application trying to see which > calls to the server are taking most of the time. > The problem here is that because its on a different thread the > profiler doesn't pick

[PyQt] Profiling with QThreads

2011-10-04 Thread Eric Frederich
Hello, I have a client application that does a long running data traversal making a lot of server calls. I put this operation in a QThread so that the GUI would stay responsive. I am now using a profiler on this application trying to see which calls to the server are taking most of the time. The p