9#include "textcustomeditor_export.h"
10#include <QTextBrowser>
14namespace TextCustomEditor
23 Q_PROPERTY(
bool searchSupport READ searchSupport WRITE setSearchSupport)
24 Q_PROPERTY(
bool textToSpeechSupport READ textToSpeechSupport WRITE setTextToSpeechSupport)
25 Q_PROPERTY(
bool webShortcutSupport READ webShortcutSupport WRITE setWebShortcutSupport)
33 AllowWebShortcut = 16,
37 void setSearchSupport(
bool b);
38 [[nodiscard]]
bool searchSupport()
const;
40 [[nodiscard]]
bool textToSpeechSupport()
const;
41 void setTextToSpeechSupport(
bool b);
43 void setWebShortcutSupport(
bool b);
44 [[nodiscard]]
bool webShortcutSupport()
const;
46 void setDefaultFontSize(
int val);
47 [[nodiscard]]
int zoomFactor()
const;
50 void slotDisplayMessageIndicator(
const QString &message);
55 virtual void addExtraMenuEntry(
QMenu *menu,
QPoint pos);
57 bool event(
QEvent *ev)
override;
58 void keyPressEvent(
QKeyEvent *event)
override;
68 TEXTCUSTOMEDITOR_NO_EXPORT
void slotUndoableClear();
70 TEXTCUSTOMEDITOR_NO_EXPORT
bool handleShortcut(
QKeyEvent *event);
71 TEXTCUSTOMEDITOR_NO_EXPORT
bool overrideShortcut(
QKeyEvent *event);
72 TEXTCUSTOMEDITOR_NO_EXPORT
void deleteWordBack();
73 TEXTCUSTOMEDITOR_NO_EXPORT
void deleteWordForward();
74 TEXTCUSTOMEDITOR_NO_EXPORT
void moveLineUpDown(
bool moveUp);
75 TEXTCUSTOMEDITOR_NO_EXPORT
void moveCursorBeginUpDown(
bool moveUp);
76 TEXTCUSTOMEDITOR_NO_EXPORT
void regenerateColorScheme();
77 TEXTCUSTOMEDITOR_NO_EXPORT
void updateReadOnlyColor();
78 class RichTextBrowserPrivate;
79 std::unique_ptr<RichTextBrowserPrivate>
const d;
The RichTextBrowser class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:02 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.