A modified QLineEdit. More...
Publicly inherits QLineEdit.
MyLineEdit | ( QWidget* parent=???, const char* name=??? ); |
virtual void | keyPressEvent | ( QKeyEvent* e ); |
void | downPressed | ( ); |
void | upPressed | ( ); |
A modified QLineEdit.
This variant of a QLineEdit emits two unique signals when the up and down arrow keys are pressed.Create a MyLineEdit.
Process a key press.
This implementation emits an upPressed() signal when the Up Arrow key is pressed, and a downPressed() signal when the Down Arrow key is pressed. All other key press events are passed to the normal QLineEdit key press event handler.
Emitted when the Down Arrow key is pressed.
Emitted when the Up Arrow key is pressed.