Wt::Ext::TextEdit Class Reference

A rich-text editor. More...

Inheritance diagram for Wt::Ext::TextEdit:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 TextEdit (WContainerWidget *parent=0)
 Create a rich text editor with empty text.
 TextEdit (const WString &text, WContainerWidget *parent=0)
 Create a rich text editor initialized with the given HTML text.
void setText (const WString &value)
 Set the text.
const WStringtext () const
 Get the text.
void setLinkDefault (const WString &text, const WString &location)
 Set the default location and link text used when inserting a link.
void setEnableAlignments (bool enable)
 Enable or disable alignment buttons.
void setEnableColors (bool enable)
 Enable or disable changing of text color.
void setEnableFont (bool enable)
 Enable or disable changing of text font.
void setEnableFormat (bool enable)
 Enable or disable changing of text formatting.
void setEnableLinks (bool enable)
 Enable or disable insertion of links.
void setEnableLists (bool enable)
 Enable or disable insertion of lists.
void setEnableSourceEdit (bool enable)
 Enable or disable a view which shows the raw HTML source.
virtual WValidator::State validate ()
 Validate the field.


Detailed Description

A rich-text editor.

A rich-text editor that provides interactive editing of HTML, including basic mark-up (font, formatting, color, links, and lists).

ExtTextEdit-1.png

TextEdit


The documentation for this class was generated from the following files:
Generated on Mon Apr 14 15:15:01 2008 for Wt by doxygen 1.5.3