[go: up one dir, main page]

Menu

[57156d]: / QMyLineEdit.cpp  Maximize  Restore  History

Download this file

13 lines (10 with data), 240 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#include "QMyLineEdit.h"
#include <QKeyEvent>
QMyLineEdit::QMyLineEdit(QWidget *parent) : QLineEdit(parent)
{
}
void QMyLineEdit::keyPressEvent(QKeyEvent* event)
{
emit keyPressed(event->key());
QLineEdit::keyPressEvent(event);
}