Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/kde/sonnet
- Owner: KDE
- Created: 2015-09-18T14:36:12.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-29T01:22:22.000Z (7 months ago)
- Last Synced: 2024-05-01T12:02:15.383Z (7 months ago)
- Language: C++
- Homepage: https://invent.kde.org/frameworks/sonnet
- Size: 60.5 MB
- Stars: 38
- Watchers: 4
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSES/BSD-3-Clause.txt
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
#includeMyFoo::MyFoo(QWidget *parent) : QWidget(parent)
{
QTextEdit *textEdit = new QTextEdit(this);
Sonnet::SpellCheckDecorator *decorator = new Sonnet::SpellCheckDecorator(textEdit);
}