TextAutoGenerateText::TextAutoGenerateMenuWidget Class

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

Header: #include <TextAutoGenerateText/TextAutoGenerateMenuWidget>
CMake: find_package(KF6TextAutoGenerateText REQUIRED)
target_link_libraries(mytarget PRIVATE KF6::TextAutoGenerateText)
Inherits: QObject

Public Functions

TextAutoGenerateMenuWidget(QObject *parent = nullptr)
TextAutoGenerateMenuWidget(TextAutoGenerateText::TextAutoGenerateMenuTextManager *manager, QObject *parent = nullptr)
virtual ~TextAutoGenerateMenuWidget() override
TextAutoGenerateText::TextAutoGenerateManager *manager() const
QMenu *menu() const
QWidget *parentWidget() const
QString selectedText() const
void setManager(TextAutoGenerateText::TextAutoGenerateManager *newManager)
void setParentWidget(QWidget *newParentWidget)
void setSelectedText(const QString &newSelectedText)

Signals

void refreshMenu()

Detailed Description

Member Function Documentation

[explicit] TextAutoGenerateMenuWidget::TextAutoGenerateMenuWidget(QObject *parent = nullptr)

[explicit] TextAutoGenerateMenuWidget::TextAutoGenerateMenuWidget(TextAutoGenerateText::TextAutoGenerateMenuTextManager *manager, QObject *parent = nullptr)

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

TextAutoGenerateText::TextAutoGenerateManager *TextAutoGenerateMenuWidget::manager() const

See also setManager().

QWidget *TextAutoGenerateMenuWidget::parentWidget() const

See also setParentWidget().

[signal] void TextAutoGenerateMenuWidget::refreshMenu()

QString TextAutoGenerateMenuWidget::selectedText() const

See also setSelectedText().

void TextAutoGenerateMenuWidget::setManager(TextAutoGenerateText::TextAutoGenerateManager *newManager)

See also manager().

void TextAutoGenerateMenuWidget::setParentWidget(QWidget *newParentWidget)

See also parentWidget().

void TextAutoGenerateMenuWidget::setSelectedText(const QString &newSelectedText)

See also selectedText().