| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Namespaces | Functions
lua_debugger_dialog.cpp File Reference
`#include <config.h>`
`#include "lua_debugger_dialog.h"`
`#include <ui_lua_debugger_dialog.h>`
`#include <QAbstractItemModel>`
`#include <QAbstractItemView>`
`#include <QAction>`
`#include <QApplication>`
`#include <QCheckBox>`
`#include <QChildEvent>`
`#include <QClipboard>`
`#include <QCloseEvent>`
`#include <QColor>`
`#include <QDir>`
`#include <QDirIterator>`
`#include <QDragMoveEvent>`
`#include <QDropEvent>`
`#include <QEvent>`
`#include <QEventLoop>`
`#include <QFile>`
`#include <QFileInfo>`
`#include <QFont>`
`#include <QFontMetricsF>`
`#include <QFormLayout>`
`#include <QGuiApplication>`
`#include <QHBoxLayout>`
`#include <QHeaderView>`
`#include <QIcon>`
`#include <QItemSelectionModel>`
`#include <QJsonArray>`
`#include <QJsonDocument>`
`#include <QJsonObject>`
`#include <QJsonParseError>`
`#include <QKeyCombination>`
`#include <QKeyEvent>`
`#include <QKeySequence>`
`#include <QList>`
`#include <QMenu>`
`#include <QMessageBox>`
`#include <QMetaObject>`
`#include <QModelIndex>`
`#include <QMutex>`
`#include <QMutexLocker>`
`#include <QPainter>`
`#include <QPalette>`
`#include <QPersistentModelIndex>`
`#include <QPlainTextEdit>`
`#include <QPointer>`
`#include <QRegularExpression>`
`#include <QResizeEvent>`
`#include <QSet>`
`#include <QShowEvent>`
`#include <QSizePolicy>`
`#include <QSplitter>`
`#include <QStandardItem>`
`#include <QStandardItemModel>`
`#include <QStringList>`
`#include <QStyle>`
`#include <QTabWidget>`
`#include <QTextBlock>`
`#include <QTextStream>`
`#include <QTimer>`
`#include <QToolButton>`
`#include <QToolTip>`
`#include <QTreeView>`
`#include <QUrl>`
`#include <QVBoxLayout>`
`#include <algorithm>`
`#include <climits>`
`#include <glib.h>`
`#include "accordion_frame.h"`
`#include "app/application_flavor.h"`
`#include "lua_debugger.h"`
`#include "lua_debugger_code_editor.h"`
`#include "lua_debugger_error_frame.h"`
`#include "lua_debugger_find_frame.h"`
`#include "lua_debugger_goto_line_frame.h"`
`#include "lua_debugger_utils.h"`
`#include "main_application.h"`
`#include <ui/qt/utils/font_manager.h>`
`#include "main_window.h"`
`#include "utils/stock_icon.h"`
`#include "widgets/collapsible_section.h"`
`#include "wsutil/filesystem.h"`
`#include <epan/prefs.h>`
`#include <epan/wslua/wslua_debugger.h>`
`#include <ui/qt/utils/color_utils.h>`
`#include <ui/qt/utils/theme_manager.h>`
`#include <ui/qt/utils/qt_ui_utils.h>`
`#include <ui/qt/widgets/wireshark_file_dialog.h>`

## Namespaces
namespace | LuaDebuggerMainClosePolicy
| Pause-aware arbitration for main-window close while the Lua debugger is involved.

## Functions
bool | LuaDebuggerMainClosePolicy::handleMainCloseIfPaused (QCloseEvent *event)
| Decide whether to defer a main-window close while the Lua debugger needs to arbitrate.
void | LuaDebuggerMainClosePolicy::deliverDeferredMainCloseIfPending ()
| Re-deliver a previously deferred main-window close, if any. Idempotent.
void | LuaDebuggerMainClosePolicy::markQuitRequested ()
| Record a debugger-initiated quit (Ctrl+Q from the debugger window) so that the main window will be closed after the debugger dialog has finished its own close gate.
void | LuaDebuggerMainClosePolicy::cancelPendingClose ()
| Cancel any pending deferred main close.

## Detailed Description

Top-level Lua debugger dialog: hosts every panel, owns the pause lifecycle, the reload coordinator, and the main-window close policy.