The KDE Community

Sonnet

Multi-language spell checker.

Sonnet is a plugin-based spell checking library for Qt-based applications. It supports several different plugins, including HSpell, Enchant, ASpell and HUNSPELL.
It also supports automated language detection, based on a combination of different algorithms.
The simplest way to use Sonnet in your application is to use the SpellCheckDecorator class on your QTextEdit.

Sonnet Usage

CMake:
find_package(KF5Sonnet)
target_link_libraries(yourapp KF5::SonnetCore KF5::SonnetUi)
 
qmake:  
QT += SonnetCore SonnetUi 

Sonnet Example

#include <QTextEdit>
#include <spellcheckdecorator.h>

MyFoo::MyFoo(QWidget *parent) : QWidget(parent)
{
    QTextEdit *textEdit = new QTextEdit(this);
    Sonnet::SpellCheckDecorator *decorator = new Sonnet::SpellCheckDecorator(textEdit);
}

By clicking button above, I agree Marketplace user terms and conditions

Details
Version:
5.62.0
Publisher:
The KDE Community
Contact:
kde-devel@kde.org
Copyright:
The KDE Community
Authors:
The KDE Community
From:
https://api.kde.org/frameworks/index.html
License:
LGPL-2.1-or-later
Created at:
2014-03-03
Updated at:
2019-09-14
Platforms:
Linux
Supported Qt versions:
5.11 or later
Support:
kde-devel@kde.org
Packages:
http://download.kde.org/stable/frameworks/5.62/sonnet-5.62.0.tar.xz
Source repository:
https://projects.kde.org/projects/frameworks/sonnet/repository
Dependencies:
ECM 5.64.0 or later
Qt5Widgets