Le Mercredi 18 Février 2004 20:28, Phil Thompson a écrit :
That's a SIP 3 bug (SIP 4 is Ok I think). It should be fixed in tonight's
snapshot.
It works, thanks a lot.
--
Aurélien Gâteau - Dental On Line
___
PyKDE mailing list[EMAIL PROTECTED]
Le Mardi 17 Février 2004 19:16, Phil Thompson a écrit :
Yesterday I upgraded to Sip 3.10 and this does not work anymore. I get
this error message:
g++ -f -c -pipe -w -O2 -o dolimagefilterscmodule.o
dolimagefilterscmodule.cpp
-I/usr/share/qt3/mkspecs/default -I.
Hi,
I wrote a function which returns a QMemArrayint. Using Sip 3.7, I used to
bind it like this:
%Import qtmod.sip
%HeaderCode
#include dolimageutils.h
#include sipqtQMemArray.h
%End
namespace DolImageUtils
{
QMemArrayint compute8BitImageHistogram(const QImage);
};
Le Lundi 27 Octobre 2003 11:50, Aurélien Gâteau a écrit :
I just tried it. The SIP file compiles correctly, but whenever I call the
connect method, I get this new error:
/--
RuntimeError: Signal has wrong argument types for slot
--/
How do I convince Python that my slot is using the correct
Le Lundi 13 Octobre 2003 19:06, Phil Thompson a écrit :
After the class Listener : QObject { line. Sip parses it correctly, but
compilation fails in the same place.
That's expected. But if you put it in the DolSphinx namespace it probably
wouldn't parse.
Yes, I saw that too. Anyway, that's
Le Lundi 13 Octobre 2003 17:57, Aurélien Gâteau a écrit :
Hello again, list
I have another problem: the code I want to bind with work like this:
In my C++ code, I run a thread which is monitoring various things. When
interesting stuff happens, the thread notify a listener about it using
Le Mardi 14 Octobre 2003 10:58, Aurélien Gâteau a écrit :
Le Lundi 13 Octobre 2003 17:57, Aurélien Gâteau a écrit :
Hello again, list
Replying to myself again :-)
My error was that I forgot to declare the customEvent(QCustomEvent*) method
of my listener in the sip file. Adding it fixed my
Replying to myself:
I found some kind of workaround: I created a parameter-less version of my
stateChanged signal. This way the generated code builds correctly.
Thanks for your help,
Aurélien
___
PyKDE mailing list[EMAIL PROTECTED]
Hello again, list
I have another problem: the code I want to bind with work like this:
In my C++ code, I run a thread which is monitoring various things. When
interesting stuff happens, the thread notify a listener about it using
QApplication::postEvent(myListener, myEvent).
In my C++ test
Le Lundi 13 Octobre 2003 18:23, Phil Thompson a écrit :
That wouldn't make any difference. The %HeaderCode section in a class
definition is used to #include all header files needed by that class -
normally just the one.
I just tried it again. I made some simplifications, like putting my
Le Vendredi 25 Juillet 2003 18:50, vous avez écrit :
Can you send me the .ui file?
Thanks,
Phil
Hum... I'm feeling stupid. The file I was looking at was generated by an older
version of pyuic, I forgot to remove all pyuic generated files. Sorry for the
trouble.
Aurélien
Hi,
Sometimes, the translation of strings in our .ui files are not displayed, the
original string is used instead. It seems there's a context problem.
According to: http://www.riverbankcomputing.co.uk/pyqt/docs/x163.html (Things
to be Aware of), pyuic uses QApplication.translate() but after
Le Vendredi 25 Juillet 2003 18:41, vous avez écrit :
On Friday 25 July 2003 5:16 pm, Aurélien Gâteau wrote:
Hi,
Sometimes, the translation of strings in our .ui files are not displayed,
the original string is used instead. It seems there's a context problem.
According to:
13 matches
Mail list logo