KDEUI
Go to the documentation of this file.
24 #ifndef KRICHTEXTEDIT_H
25 #define KRICHTEXTEDIT_H
32 class KRichTextEditPrivate;
36 #define HAVE_INSERTPLAINTEXT 1
103 void enableRichTextMode();
108 Mode textMode()
const;
123 void setTextOrHtml(
const QString &text);
133 QString currentLinkText()
const;
142 QString currentLinkUrl()
const;
152 void selectLinkText(QTextCursor* cursor)
const;
159 void selectLinkText()
const;
179 bool canIndentList()
const;
186 bool canDedentList()
const;
215 void makeRightToLeft();
222 void makeLeftToRight();
230 void setListStyle(
int _styleIndex);
237 void indentListMore();
244 void indentListLess();
251 void setFontFamily(
const QString &fontFamily);
258 void setFontSize(
int size);
265 void setFont(
const QFont &font);
273 void setTextBold(
bool bold);
281 void setTextItalic(
bool italic);
289 void setTextUnderline(
bool underline);
297 void setTextStrikeOut(
bool strikeOut);
304 void setTextForegroundColor(
const QColor &color);
311 void setTextBackgroundColor(
const QColor &color);
316 void insertHorizontalRule();
322 void switchToPlainText();
337 void setTextSuperScript(
bool superscript);
345 void setTextSubScript(
bool subscript);
352 void insertPlainTextImplementation();
366 void selectionFinished();
378 KRichTextEditPrivate *
const d;
379 friend class KRichTextEditPrivate;
Mode
The mode the edit widget is in.
The KRichTextEdit class provides a widget to edit and display rich text.
virtual void keyPressEvent(QKeyEvent *)
Reimplemented for internal reasons.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.