|
|
Dialog for user to enter a single line of text.
KLineEditDlg ( const QString& _text, const QString& _value, QWidget *parent )
| KLineEditDlg |
Create a dialog that asks for a single line of text. _value is the initial value of the line. _text appears as label on top of the entry box.
Parameters:
_text | Text of the label |
_value | Initial value of the inputline |
~KLineEditDlg ()
| ~KLineEditDlg |
[virtual]
QString text ()
| text |
Returns: the value the user entered
QString getText (const QString &_text, const QString& _value,
bool *ok, QWidget *parent )
| getText |
[static]
Static convenience function to get a textual input from the user.
Parameters:
_text | Text of the label |
_value | Initial value of the inputline |
ok | this bool will be set to true if user pressed "Ok" |
void slotClear ()
| slotClear |
[slot]
Clears the edit widget
QLineEdit * edit | edit |
[protected]