[PyQt] Translating a line from a C++ source

kib2 kib2 at free.fr
Tue Oct 30 09:51:19 GMT 2007


Hi,

Sorry, but I can't find an easy way to translate this line of Qt4/C++ 
code to PyQt4 :

qDebug() << "void MyTextEdit::paintEvent(QPaintEvent* event) from position: " << startPosition.block().position()
                 << " to " << endPosition.block().position() + endPosition.block().length();

Thanks for any answer,

Christophe.






More information about the PyQt mailing list