Wt::WInPlaceEdit Class Reference

WInPlaceEdit provides an in-place-editable text. More...

#include <WInPlaceEdit>

Inherits Wt::WCompositeWidget.

Inheritance diagram for Wt::WInPlaceEdit:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 WInPlaceEdit (const WString &text, WContainerWidget *parent=0)
 Create an in-place edit with the given text.
const WStringtext () const
 The current saved text value.
void setText (const WString &text)
 Set the current text.
WLineEditlineEdit () const
 Access the line edit.
WPushButtonsaveButton () const
 Access the save button.
WPushButtoncancelButton () const
 Access the save button.

Public Attributes

Signal< WStringvalueChanged
 Signal emitted when the value has been changed.

Detailed Description

WInPlaceEdit provides an in-place-editable text.

The WInPlaceEdit provides a text that may be edited by the user. On activation, the text turns into a line edit with a save and cancel button.

When the user saves the edit, the valueChanged signal is emitted.


The documentation for this class was generated from the following files:
Generated on Sun Jul 1 19:37:18 2007 for Wt by doxygen 1.4.7