mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
21 lines
318 B
C++
21 lines
318 B
C++
#ifndef CHATTEXTEDIT_H
|
|
#define CHATTEXTEDIT_H
|
|
|
|
#include <QTextEdit>
|
|
|
|
class ChatTextEdit : public QTextEdit
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit ChatTextEdit(QWidget *parent = 0);
|
|
virtual void keyPressEvent(QKeyEvent * event) override;
|
|
|
|
signals:
|
|
void enterPressed();
|
|
|
|
public slots:
|
|
|
|
};
|
|
|
|
#endif // CHATTEXTEDIT_H
|