Advance Wayland and KDE package bring-up
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# 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 <QTextEdit>
|
||||
#include <spellcheckdecorator.h>
|
||||
|
||||
MyFoo::MyFoo(QWidget *parent) : QWidget(parent)
|
||||
{
|
||||
QTextEdit *textEdit = new QTextEdit(this);
|
||||
Sonnet::SpellCheckDecorator *decorator = new Sonnet::SpellCheckDecorator(textEdit);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user