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

#include <lua_debugger_watch.h>

Inheritance diagram for LuaDbgWatchRootDelegate:

Public Types

using CommitFn = std::function< void(QStandardItem *item, const QString &text)>
 Callback invoked from setModelData when the user finishes editing a top-level watch row's expression. The owner (the watch controller) decides how to persist or reject the new spec.
 

Public Member Functions

 LuaDbgWatchRootDelegate (QTreeView *tree, CommitFn commit, QObject *parent=nullptr)
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void setEditorData (QWidget *editor, const QModelIndex &index) const override
 
void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override
 

Detailed Description

Root watch cell: inline line edit for the expression column.


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