PDA

View Full Version : Is there any spell checking in QTextEdit?



naoyamakino
22nd July 2009, 18:09
Hi there, is there any spell checker in QTextEdit?
Please let me know if you know any.
(I am using PyQt4)

thank you very much

wysota
22nd July 2009, 19:57
No, there is not. But you can use ASpell or ISpell with the text edit, all you need to do is to react on text changes in the editor and apply additional formatting to the misspelled text. For more complex uses you can implement a completer for suggesting proper spelling.