Sonnet::ConfigWidget Class

The sonnet ConfigWidget. More...

Header: #include <Sonnet/ConfigWidget>
CMake: find_package(KF6 REQUIRED COMPONENTS Sonnet)
target_link_libraries(mytarget PRIVATE KF6::SonnetUi)
Inherits: QWidget

Public Functions

ConfigWidget(QWidget *parent)
bool backgroundCheckingButtonShown() const
QString language() const
void setLanguage(const QString &language)

Public Slots

Signals

void configChanged()

Protected Slots

Detailed Description

Member Function Documentation

[explicit] ConfigWidget::ConfigWidget(QWidget *parent)

bool ConfigWidget::backgroundCheckingButtonShown() const

See also setBackgroundCheckingButtonShown().

[signal] void ConfigWidget::configChanged()

Signal sends when config was changed

QString ConfigWidget::language() const

Get the currently selected language for spell checking. Returns an empty string if Sonnet was built without any spellchecking plugins.

Returns the language currently selected in the language combobox

See also setLanguage().

[slot] void ConfigWidget::save()

[slot] void ConfigWidget::setBackgroundCheckingButtonShown(bool)

See also backgroundCheckingButtonShown().

void ConfigWidget::setLanguage(const QString &language)

Sets the language/dictionary that will be selected by default in this config widget. This overrides the setting in the config file.

language the language which will be selected by default.

See also language().

[slot] void ConfigWidget::slotDefault()

[protected slot] void ConfigWidget::slotIgnoreWordAdded()

[protected slot] void ConfigWidget::slotIgnoreWordRemoved()