1 #ifndef AHISTLINEEDIT_H
2 #define AHISTLINEEDIT_H
4 #include <q3textedit.h>
5 #include <qstringlist.h>
11 #include <QPaintEvent>
13 class aHistLineEdit
: public Q3TextEdit
17 aHistLineEdit(QWidget
*parent
= 0, const char *name
= 0);
19 int cursorPosition () const;
20 void setCursorPosition(int);
25 // Don't use returnPressed from the textEdit
26 void gotReturnPressed();
29 void pasteText(const QString
&);
35 virtual void slotMaybeResize();
38 bool processKeyEvent( QKeyEvent
* );
39 virtual void keyPressEvent ( QKeyEvent
* );
40 virtual void focusInEvent ( QFocusEvent
* );
41 virtual void focusOutEvent ( QFocusEvent
* );
42 // virtual void mousePressEvent ( QMouseEvent * );
44 virtual bool eventFilter( QObject
*o
, QEvent
*e
);
46 virtual void paintEvent ( QPaintEvent
* );
53 QStringList::Iterator current
;
54 void ColourPickerPopUp();