A widget to edit RTF text. More...
#include <rtfedit.h>
Public Member Functions | |
| RtfEdit (QWidget *parent=0) | |
| ~RtfEdit () | |
| void | addContextActions (QList< QAction * > actions) |
| bool | canInsertFromMimeData (const QMimeData *source) const |
| void | insertFromMimeData (const QMimeData *source) |
A widget to edit RTF text.
This widget is used by the RichTextEdit. It is an area to edit the RTF text.
| RtfEdit::RtfEdit | ( | QWidget * | parent = 0 |
) |
| RtfEdit::~RtfEdit | ( | ) |
The destructor.
Destroys the object.
| void RtfEdit::addContextActions | ( | QList< QAction * > | actions | ) |
Add actions to the context menu of this RtfEdit.
| actions | The actions which will be added to the context menu. |
| bool RtfEdit::canInsertFromMimeData | ( | const QMimeData * | source | ) | const |
This function returns true if the contents of the MIME data object, specified by source, can be decoded and inserted into the document.
| source | The MIME data object. |
| void RtfEdit::insertFromMimeData | ( | const QMimeData * | source | ) |
This function inserts the contents of the MIME data object, specified by source, into the RtfEdit at the current cursor position.
| source | The MIME data object which will be inserted. |
1.6.3