QwwResetLineEdit Class
The QwwResetLineEdit widget provides a line edit that has an embedded button for resetting the contents of the widget to its initial state. More...
Header: | #include <QwwResetLineEdit> |
Inherits: | QwwButtonLineEdit. |
Properties
- defaultText : const QString
- 7 properties inherited from QwwButtonLineEdit
Public Functions
QwwResetLineEdit(QWidget * parent = 0) | |
const QString & | defaultText() const |
- 9 public functions inherited from QwwButtonLineEdit
Public Slots
void | resetText() |
- 6 public slots inherited from QwwButtonLineEdit
Additional Inherited Members
- 2 signals inherited from QwwButtonLineEdit
- 2 protected functions inherited from QwwButtonLineEdit
Detailed Description
The QwwResetLineEdit widget provides a line edit that has an embedded button for resetting the contents of the widget to its initial state.
Property Documentation
defaultText : const QString
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().
Member Function Documentation
QwwResetLineEdit::QwwResetLineEdit(QWidget * parent = 0)
Constructs a reset line edit with a given parent.
void QwwResetLineEdit::resetText() [slot]
Resets text to its initial state
See also defaultText.