3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS
13 #include "QCommandEdit.h"
15 QCommandEdit::QCommandEdit(QWidget * parent)
18 setFocusPolicy(QWidget::ClickFocus);
22 void QCommandEdit::keyPressEvent(QKeyEvent * e)
38 QLineEdit::keyPressEvent(e);
44 bool QCommandEdit::event(QEvent * e)
46 if (e->type() != QEvent::KeyPress)
47 return QLineEdit::event(e);
49 QKeyEvent * ev = (QKeyEvent *)e;
51 if (ev->key() != Key_Tab)
52 return QLineEdit::event(e);