Swallows input and selected events for non-debugger windows during pause, and suppresses UpdateRequest/LayoutRequest on the main window.
More...
#include <lua_debugger_pause.h>
Swallows input and selected events for non-debugger windows during pause, and suppresses UpdateRequest/LayoutRequest on the main window.
◆ LuaDebuggerPauseInputFilter()
| LuaDebuggerPauseInputFilter::LuaDebuggerPauseInputFilter |
( |
QWidget * |
debugger_dialog, |
|
|
QWidget * |
main_window, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
Constructs a new LuaDebuggerPauseInputFilter object.
- Parameters
-
| debugger_dialog | Pointer to the active debugger dialog. |
| main_window | Pointer to the application's main window. |
| parent | The parent object. |
◆ eventFilter()
| bool LuaDebuggerPauseInputFilter::eventFilter |
( |
QObject * |
watched, |
|
|
QEvent * |
event |
|
) |
| |
|
override |
Filters input events globally during a debugger pause.
- Parameters
-
| watched | The object receiving the event. |
| event | The event being dispatched. |
- Returns
- True to swallow the event, false to pass it through.
The documentation for this class was generated from the following files: