A widget to show and edit rich text. More...
#include <richtextedit.h>
Public Slots | |
void | setVisible (bool visible) |
Public Member Functions | |
RichTextEdit () | |
~RichTextEdit () | |
void | setContent (RichTextNodeContent *content) |
void | setHtml (QString text) |
bool | hasChanged () |
AbstractContentChange * | getChange () |
A widget to show and edit rich text.
This RichTextEdit is the widget to show and modify the RichTextNodeContent.
RichTextEdit::RichTextEdit | ( | ) |
The constructor.
Constructs the RichTextEdit.
RichTextEdit::~RichTextEdit | ( | ) |
The destructor.
Destroys the object.
AbstractContentChange * RichTextEdit::getChange | ( | ) | [virtual] |
Get the change made to the content.
Implements AbstractContentView.
bool RichTextEdit::hasChanged | ( | ) | [virtual] |
Find out if any change was made.
Implements AbstractContentView.
void RichTextEdit::setContent | ( | RichTextNodeContent * | content | ) |
Provide the RichTextEdit with a content to show and edit.
content | The content which will be shown by this RichTextEdit. |
void RichTextEdit::setHtml | ( | QString | text | ) |
Changes the text of the RichTextEdit.
text | The new text of the RichTextEdit. It is interpreted as rich text in html format. |
void RichTextEdit::setVisible | ( | bool | visible | ) | [slot] |
Indicate the visibility of this widget and its actions.
visible | If true the RichTextEdit with its actions will be visible. |