![]() |
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.
|
explicit |
|
overrideprotected |
Handles key presses on the REPL window.
It does a few things:
References History::add(), PythonRepl::codeEdit(), continuationDots(), History::empty(), event, PythonRepl::executeCode(), PythonInterpreter::isExecuting(), History::newer(), History::older(), and replArrows().