SyntaxTutor
Educational app designed to help compiler students understand LL(1) and SLR(1) parsing algorithms.
Loading...
Searching...
No Matches
customtextedit.h
Go to the documentation of this file.
1
#ifndef CUSTOMTEXTEDIT_H
2
#define CUSTOMTEXTEDIT_H
3
4
#include <QTextEdit>
5
6
class
CustomTextEdit
:
public
QTextEdit
7
{
8
Q_OBJECT
9
public
:
10
explicit
CustomTextEdit
(QWidget *parent =
nullptr
);
11
12
signals:
13
void
sendRequested
();
14
15
protected
:
16
void
keyPressEvent
(QKeyEvent *event)
override
;
17
};
18
19
#endif
// CUSTOMTEXTEDIT_H
CustomTextEdit::CustomTextEdit
CustomTextEdit(QWidget *parent=nullptr)
Definition
customtextedit.cpp:4
CustomTextEdit::sendRequested
void sendRequested()
CustomTextEdit::keyPressEvent
void keyPressEvent(QKeyEvent *event) override
Definition
customtextedit.cpp:6
customtextedit.h
Generated by
1.13.2