Results 1 to 13 of 13

Thread: Adding spell checking to lineedits, textedits, ...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    Join Date
    Aug 2007
    Posts
    244
    Thanks
    42
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Adding spell checking to lineedits, textedits, ...

    Put all these files in your project src dir (see attachment in this and my previous post):

    spelltextedit.h
    spelltextedit.cpp
    highlighter.h
    highlighter.cpp
    Aspell.h
    Aspell.cpp
    ThreadQueue.h
    ThreadQueue.cpp

    Now you can reuse the new widget SpellTextEdit like a normal QTextEdit, just "#include spelltextedit.h".

    This code is different from that in the last version of "Online spell check editor"; this uses aspell instead of hspell; more: the language is hardcoded in highlighter.h so if needed look there.

    Regards
    Attached Files Attached Files
    Giuseppe CalÃ

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.