9#include "textcustomeditor_export.h"
13namespace TextCustomEditor
16class RichTextEditorWidgetPrivate;
24 Q_PROPERTY(
bool readOnly READ isReadOnly WRITE setReadOnly)
34 void setReadOnly(
bool readOnly);
35 bool isReadOnly()
const;
37 void setHtml(
const QString &html);
38 [[nodiscard]]
QString toHtml()
const;
40 void setPlainText(
const QString &text);
41 [[nodiscard]]
QString toPlainText()
const;
43 void setAcceptRichText(
bool b);
44 [[nodiscard]]
bool acceptRichText()
const;
46 void setSpellCheckingConfigFileName(
const QString &_fileName);
48 [[nodiscard]]
bool isEmpty()
const;
55 TEXTCUSTOMEDITOR_NO_EXPORT
void slotHideFindBar();
56 TEXTCUSTOMEDITOR_NO_EXPORT
void init(
RichTextEditor *customEditor =
nullptr);
57 std::unique_ptr<RichTextEditorWidgetPrivate>
const d;
The RichTextEditorWidget class.
The RichTextEditor class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:59 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.