
{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Stroustrup, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All } (this is the Visual Studio preset with only "BreakBeforeBraces" changed from Allman to Stroustrup)
22 lines
336 B
C++
22 lines
336 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
|