wwWidgets Home · All Classes · Main Classes · Grouped Classes · Functions |
The QwwResetLineEdit widget provides a line edit that has an embedded button for resetting the contents of the widget to its initial state. More...
#include <QwwResetLineEdit>
This class is not part of the Qt GUI Framework Edition.
Inherits QwwButtonLineEdit.
QwwResetLineEdit ( QWidget * parent = 0 ) | |
const QString & | defaultText () const |
void | resetText () |
The QwwResetLineEdit widget provides a line edit that has an embedded button for resetting the contents of the widget to its initial state.
This property holds this property holds the default text of the widget.
The "default" text is one set using QLineEdit::setText(). The text that is put into the widget by the user (using keyboard) is considered modified and will be reset to the last text set programatically using setText().
Access functions:
const QString & | defaultText () const |
See also resetText() and QLineEdit::setText().
Constructs a reset line edit with a given parent.
Resets text to its initial state
See also defaultText.
Copyright © 2007-2010 Witold Wysota | Trademarks | wwWidgets 1.0.0 |