# sonnet **Repository Path**: hzpldx/sonnet ## Basic Information - **Project Name**: sonnet - **Description**: 基于vnote的sonnet建立开发基线 - **Primary Language**: C++ - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-16 - **Last Updated**: 2024-04-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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); }