![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Class used by the REPL to handle key presses. More...
#include <PythonRepl.h>


Public Member Functions | |
| KeyPressEater (PythonRepl *repl, QObject *parent=nullptr) | |
Protected Member Functions | |
| bool | eventFilter (QObject *obj, QEvent *event) override |
Class used by the REPL to handle key presses.
Definition at line 44 of file PythonRepl.h.
|
explicit |
Definition at line 135 of file PythonRepl.cpp.
|
overrideprotected |
Handles key presses on the REPL window.
It does a few things:
Definition at line 33 of file PythonRepl.cpp.
References History::add(), PythonRepl::codeEdit(), continuationDots(), History::empty(), event, PythonRepl::executeCode(), PythonInterpreter::isExecuting(), History::newer(), History::older(), and replArrows().