[PyKDE] QTextEdit.selectAll() bug?

Sundance sundance at ierne.eu.org
Fri Jun 6 20:51:01 BST 2003


Hi folks,

I need to unselect everything in a QTextEdit-derived widget.
Based on the C++ Qt API, it would seem that calling selectAll(false) 
should do it. However, I can't seem to get it to work with PyQt 3.6

No matter what value I pass this method, 0 or otherwise, it always seems 
to use the default value of the method's argument, namely 'true', which 
selects everything. Not quite what I want it to do!

Is this normal? Am I overlooking something?

If not, in the meanwhile, how can I cleanly unselect everything in my 
widget?

Thanks in advance!

-- S.




More information about the PyQt mailing list