KPIMTextEdit::RichTextComposer
Search for usage in LXR
#include <richtextcomposer.h>
◆ Mode
Enumerator |
---|
Plain | Plain text mode.
|
Rich | Rich text mode.
|
Definition at line 31 of file richtextcomposer.h.
◆ RichTextComposer()
RichTextComposer::RichTextComposer |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
◆ ~RichTextComposer()
RichTextComposer::~RichTextComposer |
( |
| ) |
|
|
override |
◆ activateRichText()
void RichTextComposer::activateRichText |
( |
| ) |
|
◆ canInsertFromMimeData()
bool RichTextComposer::canInsertFromMimeData |
( |
const QMimeData * | source | ) |
const |
|
overrideprotected |
◆ checkExternalEditorFinished()
bool RichTextComposer::checkExternalEditorFinished |
( |
| ) |
|
◆ clearDecorator()
void RichTextComposer::clearDecorator |
( |
| ) |
|
|
overrideprotected |
◆ columnNumber()
int RichTextComposer::columnNumber |
( |
| ) |
const |
◆ composerActions()
◆ composerControler()
◆ createActions()
◆ createHighlighter()
void RichTextComposer::createHighlighter |
( |
| ) |
|
|
override |
◆ createSpellCheckDecorator()
◆ defaultQuoteSign()
const QString RichTextComposer::defaultQuoteSign |
( |
| ) |
const |
◆ disableWordWrap()
void RichTextComposer::disableWordWrap |
( |
| ) |
|
Disables word wrap.
Note that words are still wrapped at the end of the editor; no scrollbar will appear.
Definition at line 176 of file richtextcomposer.cpp.
◆ enableWordWrap()
void RichTextComposer::enableWordWrap |
( |
int | wrapColumn | ) |
|
Enables word wrap.
Words will be wrapped at the specified column.
- Parameters
-
wrapColumn | the column where words will be wrapped |
Definition at line 169 of file richtextcomposer.cpp.
◆ externalComposer()
◆ focusUp
void KPIMTextEdit::RichTextComposer::focusUp |
( |
| ) |
|
|
signal |
Emitted when the user uses the up arrow in the first line.
The application should then put the focus on the widget above the text edit.
◆ forcePlainTextMarkup()
void RichTextComposer::forcePlainTextMarkup |
( |
bool | force | ) |
|
◆ insertFromMimeData()
void RichTextComposer::insertFromMimeData |
( |
const QMimeData * | source | ) |
|
|
overrideprotected |
◆ insertPlainTextImplementation
void RichTextComposer::insertPlainTextImplementation |
( |
| ) |
|
|
slot |
◆ isLineQuoted()
bool RichTextComposer::isLineQuoted |
( |
const QString & | line | ) |
const |
◆ keyPressEvent()
void RichTextComposer::keyPressEvent |
( |
QKeyEvent * | event | ) |
|
|
overrideprotected |
◆ killExternalEditor()
void RichTextComposer::killExternalEditor |
( |
| ) |
|
◆ linePosition()
int RichTextComposer::linePosition |
( |
| ) |
const |
- Returns
- the line number where the cursor is. This takes word-wrapping into account. Line numbers start at 0.
Definition at line 181 of file richtextcomposer.cpp.
◆ mouseReleaseEvent()
void RichTextComposer::mouseReleaseEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ processKeyEvent()
bool RichTextComposer::processKeyEvent |
( |
QKeyEvent * | e | ) |
|
|
protected |
◆ processModifyText()
bool RichTextComposer::processModifyText |
( |
QKeyEvent * | event | ) |
|
|
virtual |
◆ quoteLength()
int RichTextComposer::quoteLength |
( |
const QString & | line, |
|
|
bool | oneQuote = false ) const |
◆ quotePrefixName()
QString RichTextComposer::quotePrefixName |
( |
| ) |
const |
◆ richTextActionList()
QList< QAction * > RichTextComposer::richTextActionList |
( |
| ) |
const |
◆ setCursorPositionFromStart()
void RichTextComposer::setCursorPositionFromStart |
( |
unsigned int | pos | ) |
|
◆ setEnableActions()
void RichTextComposer::setEnableActions |
( |
bool | state | ) |
|
◆ setExternalEditorPath()
void RichTextComposer::setExternalEditorPath |
( |
const QString & | path | ) |
|
◆ setHighlighterColors()
void RichTextComposer::setHighlighterColors |
( |
KPIMTextEdit::RichTextComposerEmailQuoteHighlighter * | highlighter | ) |
|
|
virtual |
◆ setQuotePrefixName()
void RichTextComposer::setQuotePrefixName |
( |
const QString & | quotePrefix | ) |
|
◆ setTextOrHtml()
void RichTextComposer::setTextOrHtml |
( |
const QString & | text | ) |
|
◆ setUseExternalEditor()
void RichTextComposer::setUseExternalEditor |
( |
bool | use | ) |
|
◆ slotChangeInsertMode
void RichTextComposer::slotChangeInsertMode |
( |
| ) |
|
|
slot |
◆ smartQuote()
◆ switchToPlainText()
void RichTextComposer::switchToPlainText |
( |
| ) |
|
◆ textMode()
◆ textModeChanged
Emitted whenever the text mode is changed.
- Parameters
-
◆ textOrHtml()
QString RichTextComposer::textOrHtml |
( |
| ) |
const |
◆ updateHighLighter()
void RichTextComposer::updateHighLighter |
( |
| ) |
|
|
overrideprotected |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:45 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.