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

Item delegate for the Breakpoints list Location column (condition / hit count / log message inline editor). More...

#include <lua_debugger_breakpoints.h>

Inheritance diagram for LuaDbgBreakpointConditionDelegate:

Public Member Functions

 LuaDbgBreakpointConditionDelegate (LuaDebuggerDialog *dialog)
 
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
 
void updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override
 

Protected Member Functions

bool eventFilter (QObject *watched, QEvent *event) override
 

Detailed Description

Item delegate for the Breakpoints list Location column (condition / hit count / log message inline editor).

The editor is a single QLineEdit configured per-mode by a small mode-picker combo on the left. A hit-count comparison combo and an "also pause" toggle are embedded as children of the line edit and are shown only for the modes that own them. See the implementation file for the full design rationale.


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