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 WString & text () const
 The current saved text value.
void setText (const WString &text)
 Set the current text.
WLineEdit * lineEdit () const
 Access the line edit.
WPushButton * saveButton () const
 Access the save button.
WPushButton * cancelButton () const
 Access the save button.

Public Attributes

Signal< WString > valueChanged
 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