Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kde/sonnet

Spelling framework for Qt.
https://github.com/kde/sonnet

Last synced: 4 days ago
JSON representation

Spelling framework for Qt.

Awesome Lists containing this project

README

        

# Sonnet

Multi-language spell checker

## Introduction

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.

## Example

#include
#include

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