RichTextEdit Class Reference

A widget to show and edit rich text. More...

#include <richtextedit.h>

Inheritance diagram for RichTextEdit:
AbstractContentView

List of all members.

Public Slots

void setVisible (bool visible)

Public Member Functions

 RichTextEdit ()
 ~RichTextEdit ()
void setContent (RichTextNodeContent *content)
void setHtml (QString text)
bool hasChanged ()
AbstractContentChangegetChange ()

Detailed Description

A widget to show and edit rich text.

This RichTextEdit is the widget to show and modify the RichTextNodeContent.

Author:
Manuel Unglaub

Constructor & Destructor Documentation

RichTextEdit::RichTextEdit (  ) 

The constructor.

Constructs the RichTextEdit.

RichTextEdit::~RichTextEdit (  ) 

The destructor.

Destroys the object.


Member Function Documentation

AbstractContentChange * RichTextEdit::getChange (  )  [virtual]

Get the change made to the content.

Returns:
The change made to the content.

Implements AbstractContentView.

bool RichTextEdit::hasChanged (  )  [virtual]

Find out if any change was made.

Returns:
True if the content was changed.

Implements AbstractContentView.

void RichTextEdit::setContent ( RichTextNodeContent content  ) 

Provide the RichTextEdit with a content to show and edit.

Parameters:
content The content which will be shown by this RichTextEdit.
void RichTextEdit::setHtml ( QString  text  ) 

Changes the text of the RichTextEdit.

Parameters:
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.

Parameters:
visible If true the RichTextEdit with its actions will be visible.

The documentation for this class was generated from the following files:
Generated on Fri May 14 19:12:52 2010 for Silence by  doxygen 1.6.3