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

Files panel: plugin/script indexing, hierarchical entries, open / reveal / copy gestures, and tree chrome. More...

#include <lua_debugger_files.h>

Inheritance diagram for LuaDebuggerFilesController:

Public Slots

void onItemDoubleClicked (const QModelIndex &index)
 
void showContextMenu (const QPoint &pos)
 

Public Member Functions

 LuaDebuggerFilesController (LuaDebuggerDialog *host)
 
void attach (QTreeView *tree, QStandardItemModel *model)
 
void configureTreeChrome () const
 Decorations, scrollbar, and header sizing (after widgets exist).
 
void refreshAvailableScripts ()
 
void scanScriptDirectory (const QString &dir_path)
 
bool ensureEntry (const QString &file_path)
 
void sortModel ()
 Sort column 0 (after discrete inserts from callbacks).
 

Detailed Description

Files panel: plugin/script indexing, hierarchical entries, open / reveal / copy gestures, and tree chrome.

Member Function Documentation

◆ ensureEntry()

bool LuaDebuggerFilesController::ensureEntry ( const QString &  file_path)
Returns
True if a new leaf row was created.

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