Warning, /frameworks/sonnet/README.md is written in an unsupported language. File is not indexed.
0001 # Sonnet 0002 0003 Multi-language spell checker 0004 0005 ## Introduction 0006 0007 Sonnet is a plugin-based spell checking library for Qt-based 0008 applications. It supports several different plugins, including 0009 HSpell, Enchant, ASpell and HUNSPELL. 0010 0011 It also supports automated language detection, based on a 0012 combination of different algorithms. 0013 0014 The simplest way to use Sonnet in your application is to use the 0015 SpellCheckDecorator class on your QTextEdit. 0016 0017 ## Example 0018 0019 #include <QTextEdit> 0020 #include <spellcheckdecorator.h> 0021 0022 MyFoo::MyFoo(QWidget *parent) : QWidget(parent) 0023 { 0024 QTextEdit *textEdit = new QTextEdit(this); 0025 Sonnet::SpellCheckDecorator *decorator = new Sonnet::SpellCheckDecorator(textEdit); 0026 } 0027