atrooney-online-2/include/aotextedit.h
oldmud0 8928aa2718 Perform clang-format
If you don't want to see this commit on blames, use the hidden
whitespace option on GitHub, or use `-w` in git-blame.
2020-05-22 17:13:37 -05:00

22 lines
326 B
C++

#ifndef AOTEXTEDIT_H
#define AOTEXTEDIT_H
#include <QPlainTextEdit>
class AOTextEdit : public QPlainTextEdit {
Q_OBJECT
public:
AOTextEdit(QWidget *parent);
protected:
void mouseDoubleClickEvent(QMouseEvent *e);
signals:
void double_clicked();
private slots:
void on_enter_pressed();
};
#endif // AOTEXTEDIT_H