TextGrammarCheck::LanguageToolComboBox Class
ComboBox widget for selecting LanguageTool language. Author: Laurent Montel <montel@kde.org>. More...
| Header: | #include <TextGrammarCheck/LanguageToolComboBox> |
| CMake: | find_package(KF6TextGrammarCheck REQUIRED)target_link_libraries(mytarget PRIVATE KF6::TextGrammarCheck) |
Public Functions
| LanguageToolComboBox(QWidget *parent = nullptr) | |
| virtual | ~LanguageToolComboBox() override |
| void | fillComboBox(const QList<TextGrammarCheck::LanguageInfo> &info) |
| QString | language() const |
| void | setLanguage(const QString &str) |
Detailed Description
Member Function Documentation
[explicit] LanguageToolComboBox::LanguageToolComboBox(QWidget *parent = nullptr)
Constructs a new LanguageToolComboBox.
[override virtual noexcept] LanguageToolComboBox::~LanguageToolComboBox()
Destroys the combo box.
void LanguageToolComboBox::fillComboBox(const QList<TextGrammarCheck::LanguageInfo> &info)
Populates the combo box with the available languages.
QString LanguageToolComboBox::language() const
Returns the currently selected language.
See also setLanguage().
void LanguageToolComboBox::setLanguage(const QString &str)
Sets the currently selected language.
See also language().