Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Slots | Public Member Functions | List of all members
LuaDebuggerVariablesController Class Reference

Variables panel: column sizing, expansion persistence, lazy child fill on expand, context menu, and selection helpers. More...

#include <lua_debugger_variables.h>

Inheritance diagram for LuaDebuggerVariablesController:

Public Slots

void showContextMenu (const QPoint &pos)
 
void onExpanded (const QModelIndex &index)
 
void onCollapsed (const QModelIndex &index)
 

Public Member Functions

 LuaDebuggerVariablesController (LuaDebuggerDialog *host)
 
void attach (QTreeView *tree, QStandardItemModel *model)
 
void configureColumns () const
 
void restoreExpansionState () const
 Re-expand Locals/Globals/Upvalues after a variables refresh.
 
void rebuildFromEngine ()
 Clear the model, re-fetch Locals/Globals/Upvalues from the engine, and re-apply persisted expansion.
 
void fetchAndAppend (QStandardItem *parent, const QString &path)
 Append children of path under parent (or as new top-level rows when parent is null). Used by rebuildFromEngine for the initial Locals/Globals/Upvalues fetch and by onExpanded for lazy descent into nested tables. Reaches back to the dialog for change-highlight baselines and the active stack frame.
 
QStandardItem * findItemByPath (const QString &path) const
 
QHash< QString, LuaDbgTreeSectionExpansionState > & expansionMap ()
 
const QHash< QString, LuaDbgTreeSectionExpansionState > & expansionMap () const
 

Detailed Description

Variables panel: column sizing, expansion persistence, lazy child fill on expand, context menu, and selection helpers.


The documentation for this class was generated from the following files: