TextAddonsWidgets::SelectSpecialCharDialog Class

The SelectSpecialCharDialog class Author: Laurent Montel <montel@kde.org>. More...

Header: #include <TextAddonsWidgets/SelectSpecialCharDialog>
CMake: find_package(KF6TextAddonsWidgets REQUIRED)
target_link_libraries(mytarget PRIVATE KF6::TextAddonsWidgets)

Public Functions

SelectSpecialCharDialog(QWidget *parent)
virtual ~SelectSpecialCharDialog() override
void autoInsertChar()
QChar currentChar() const
void setCurrentChar(QChar c)
void setOkButtonText(const QString &text)
void showSelectButton(bool show)

Signals

void charSelected(QChar)

Detailed Description

Member Function Documentation

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

Constructor for the SelectSpecialCharDialog parent The parent widget

[override virtual noexcept] SelectSpecialCharDialog::~SelectSpecialCharDialog()

Destructor for the SelectSpecialCharDialog

void SelectSpecialCharDialog::autoInsertChar()

When we double click we call accept

[signal] void SelectSpecialCharDialog::charSelected(QChar)

Emitted when a character is selected c The selected character

QChar SelectSpecialCharDialog::currentChar() const

Returns the currently selected character

See also setCurrentChar().

void SelectSpecialCharDialog::setCurrentChar(QChar c)

Sets the current character to display c The character to set

See also currentChar().

void SelectSpecialCharDialog::setOkButtonText(const QString &text)

Sets the text for the OK button text The button text

void SelectSpecialCharDialog::showSelectButton(bool show)

Shows or hides the select button show Whether to show the button