]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QCommandEdit.h
Some Qt graphics dialog improvements. Yet more work needed :/
[lyx.git] / src / frontends / qt2 / QCommandEdit.h
1 /**
2  * \file QCommandEdit.h
3  * Copyright 2002 the LyX Team
4  * Read the file COPYING
5  *
6  * \author John Levon <moz@compsoc.man.ac.uk>
7  */
8
9 #ifndef QCOMMANDEDIT_H
10 #define QCOMMANDEDIT_H
11
12 #include <qlineedit.h>
13  
14 class QCommandEdit : public QLineEdit {
15         Q_OBJECT
16 public:
17
18         QCommandEdit(QWidget * parent);
19
20 signals:
21         /// cancel
22         void escapePressed();
23  
24         /// up history
25         void upPressed();
26  
27         /// down history
28         void downPressed();
29  
30         /// complete
31         void rightPressed();
32  
33 protected:
34         virtual void keyPressEvent(QKeyEvent * e);
35 };
36
37 #endif // QCOMMANDEDIT_H