| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Member Functions | List of all members
LuaDebuggerPauseInputFilter Class Reference

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>`

Inheritance diagram for LuaDebuggerPauseInputFilter:

## Public Member Functions
| LuaDebuggerPauseInputFilter (QWidget *debugger_dialog, QWidget *main_window, QObject *parent=nullptr)
| Constructs a new LuaDebuggerPauseInputFilter object.
bool | eventFilter (QObject *watched, QEvent *event) override
| Filters input events globally during a debugger pause.

## Detailed Description

Swallows input and selected events for non-debugger windows during pause, and suppresses UpdateRequest/LayoutRequest on the main window.

## Constructor & Destructor Documentation

## ◆ 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.

## Member Function Documentation

## ◆ 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:

- /builds/wireshark/wireshark/ui/qt/lua_debugger/lua_debugger_pause.h
- /builds/wireshark/wireshark/ui/qt/lua_debugger/lua_debugger_pause.cpp