KDE 5.0 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

ConfigWidget Class Reference

from PyKDE5.sonnet import *

Inherits: QWidget → QObject
Namespace: Sonnet

Detailed Description


Signals

 configChanged ()

Methods

 __init__ (self, QWidget parent)
bool backgroundCheckingButtonShown (self)
QString language (self)
 save (self)
 setBackgroundCheckingButtonShown (self, bool a0)
 setLanguage (self, QString language)
 slotDefault (self)
 slotIgnoreWordAdded (self)
 slotIgnoreWordRemoved (self)

Signal Documentation

configChanged (   )

Signal sends when config was changed

Since:
4.1

Signal syntax:
QObject.connect(source, SIGNAL("configChanged()"), target_slot)

Method Documentation

__init__ (  self,
QWidget  parent
)
bool backgroundCheckingButtonShown (   self )
QString language (   self )

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

Returns:
the language currently selected in the language combobox
Since:
4.1

save (   self )
setBackgroundCheckingButtonShown (  self,
bool  a0
)
setLanguage (  self,
QString  language
)

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

Parameters:
language  the language which will be selected by default.

Since:
4.1

slotDefault (   self )
slotIgnoreWordAdded (   self )
slotIgnoreWordRemoved (   self )
  • Full Index

Modules

  • karchive
  • kcoreaddons
  • kguiaddons
  • kitemmodels
  • kitemviews
  • kplotting
  • kwidgetsaddons
  • solid
  • sonnet
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal