KDEUI
krichtextwidget.h
Go to the documentation of this file.
KRichTextEdit(const QString &text, QWidget *parent=0)
Constructs a KRichTextEdit object.
Definition krichtextedit.cpp:118
void setActionsEnabled(bool enabled)
Disables or enables all of the actions created by createActions().
virtual void createActions(KActionCollection *actionCollection)
Creates the actions and adds them to the given action collection.
void updateActionStates()
Tells KRichTextWidget to update the state of the actions created by createActions().
void setRichTextSupport(const KRichTextWidget::RichTextSupport &support)
Sets the supported rich text subset available.
RichTextSupportValues
These flags describe what actions will be created by createActions() after passing a combination of t...
Definition krichtextwidget.h:56
@ SupportTextBackgroundColor
Action to change the background color of the currently selected text.
Definition krichtextwidget.h:128
@ SupportFontFamily
Action to change the font family of the currently selected text.
Definition krichtextwidget.h:103
@ SupportDirection
Action to change direction of text to Right-To-Left or Left-To-Right.
Definition krichtextwidget.h:221
@ SupportDedentLists
Action to decrease the current list nesting level.
Definition krichtextwidget.h:154
@ SupportHyperlinks
Action to convert the current text to a hyperlink.
Definition krichtextwidget.h:193
@ SupportChangeListStyle
Action to make the current line a list element, change the list style or remove list formatting.
Definition krichtextwidget.h:143
@ DisableRichText
No rich text support at all, no actions will be created.
Definition krichtextwidget.h:61
@ SupportToPlainText
Action to change the text of the whole text edit to plain text.
Definition krichtextwidget.h:206
@ SupportFontSize
Action to change the font size of the currently selected text.
Definition krichtextwidget.h:112
@ SupportTextForegroundColor
Action to change the text color of the currently selected text.
Definition krichtextwidget.h:120
@ SupportFormatPainting
Action to make the mouse cursor a format painter.
Definition krichtextwidget.h:200
@ SupportAlignment
Actions to align the current paragraph left, righ, center or justify.
Definition krichtextwidget.h:179
@ SupportSuperScriptAndSubScript
Actions to format text as superscript or subscript.
Definition krichtextwidget.h:214
@ SupportIndentLists
Action to increase the current list nesting level.
Definition krichtextwidget.h:149
virtual bool event(QEvent *)
Reimplemented to catch "delete word" shortcut events.
Definition ktextedit.cpp:371
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.