class KRestrictedLine
|
Restricted Editline: Only selected Characters are valid input. More... |
|
|
Public Methods
- KRestrictedLine ( QWidget *parent=0, const char *name=0, const QString& valid = QString::null)
- ~KRestrictedLine ()
- void setValidChars (const QString& valid)
Signals
Protected Methods
- void keyPressEvent ( QKeyEvent *e )
Detailed Description
Restricted Editline: Only selected Characters are valid input.
All other characters will be discarded and the signal invalidChar()
will be emitted for each of them. Valid characters can be passed
through a pointer to the constructor or call of a public method.
The default key binding of QLineEdit is still in effect.
KRestrictedLine ( QWidget *parent=0, const char *name=0, const QString& valid = QString::null)
|
Constructor: This contructor takes three - optional - arguments.
The first two parameters are simply passed on to QLineEdit.
Parameters:
parent | pointer to the parent widget
|
name | pointer to the name of this widget
|
valid | pointer to set of valid characters
|
void setValidChars (const QString& valid)
|
All characters in the string valid are treated as
acceptable characters.
[signal]
This signal is emitted if an invalid character was typed.
- Version: 0.0.1
- Author: Michael Wiedmann <mw@miwie.in-berlin.de>
- Generated: root@tantive.terraplex.com on Sun Feb 27 17:39:25 2000, using kdoc 2.0a33.