9#ifndef KRICHTEXTWIDGET_H
10#define KRICHTEXTWIDGET_H
12#include "krichtextedit.h"
14#include "ktextwidgets_export.h"
17class KRichTextWidgetPrivate;
42 Q_PROPERTY(
RichTextSupport richTextSupport READ richTextSupport WRITE setRichTextSupport)
54 DisableRichText = 0x00,
78 SupportUnderline = 0x04,
86 SupportStrikeOut = 0x08,
96 SupportFontFamily = 0x10,
105 SupportFontSize = 0x20,
113 SupportTextForegroundColor = 0x40,
121 SupportTextBackgroundColor = 0x80,
127 FullTextFormattingSupport = 0xff,
136 SupportChangeListStyle = 0x100,
142 SupportIndentLists = 0x200,
147 SupportDedentLists = 0x400,
153 FullListSupport = 0xf00,
172 SupportAlignment = 0x100000,
179 SupportRuleLine = 0x400000,
186 SupportHyperlinks = 0x800000,
193 SupportFormatPainting = 0x1000000,
199 SupportToPlainText = 0x2000000,
207 SupportSuperScriptAndSubScript = 0x4000000,
214 SupportDirection = 0x8000000,
225 SupportHeading = 0x10000000,
230 FullSupport = 0xffffffff,
303 virtual QList<QAction *> createActions();
331 void updateActionStates();
342 void setActionsEnabled(
bool enabled);
349 void mouseReleaseEvent(QMouseEvent *event) override;
354#if KTEXTWIDGETS_BUILD_DEPRECATED_SINCE(5, 79)
356 QT_WARNING_DISABLE_CLANG(
"-Wunused-private-field")
358 const
void *__ktextwidgets_d_do_not_use;
The KRichTextEdit class provides a widget to edit and display rich text.
Definition krichtextedit.h:51
A KRichTextEdit with common actions.
Definition krichtextwidget.h:40
QFlags< RichTextSupportValues > RichTextSupport
Stores a combination of #RichTextSupportValues values.
Definition krichtextwidget.h:235
RichTextSupportValues
These flags describe what actions will be created by createActions() after passing a combination of t...
Definition krichtextwidget.h:49
A KDE'ified QTextEdit.
Definition ktextedit.h:46