class KLineEditDlg

Dialog for user to enter a single line of text. More...

Definition#include <klineeditdlg.h>
InheritsKDialogBase [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Public Static Methods

Protected Members


Detailed Description

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:
_textText of the label
_valueInitial 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:
_textText of the label
_valueInitial value of the inputline
okthis bool will be set to true if user pressed "Ok"

void  slotClear ()

slotClear

[slot]

Clears the edit widget

QLineEdit * edit

edit

[protected]