[PyKDE] QTextEdit.AtWhiteSpace not available

Phil Thompson phil at river-bank.demon.co.uk
Sun Jul 28 12:50:00 BST 2002


Willi Richert wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> is QTextEdit.AtWhiteSpace supported at your PyQt distribution? On mine somehow 
> not:
> 
> 
>>>>from qt import QTextEdit
>>>>QTextEdit.Anywhere
>>>>
> 1
> 
>>>>QTextEdit.AtWordBoundary
>>>>
> 0
> 
>>>>QTextEdit.AtWhiteSpace
>>>>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> AttributeError: AtWhiteSpace


According to qtextedit.h AtWhiteSpace is deprecated - use AtWordBoundary 
instead.

Phil




More information about the PyQt mailing list