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

#include <lua_debugger_watch.h>

Inheritance diagram for LuaDbgWatchTreeWidget:

Signals

void requestNewRow ()
 Double-click on empty tree area: insert a new (pending) row.
 
void requestRemoveAll ()
 Ctrl+Shift+K with at least one row present: confirm + clear.
 
void requestCopyValue (QStandardItem *item, const QModelIndex &index)
 Ctrl+Shift+C on item (any row, top-level or child).
 
void requestDuplicateRoot (QStandardItem *item)
 Ctrl+Shift+D on a top-level item.
 
void requestDeleteRows (const QList< QStandardItem * > &items)
 Delete / Backspace on top-level rows: remove items.
 

Public Member Functions

 LuaDbgWatchTreeWidget (LuaDebuggerFontPolicy *fontPolicy, QWidget *parent)
 

Protected Member Functions

void startDrag (Qt::DropActions supportedActions) override
 
void dragMoveEvent (QDragMoveEvent *event) override
 
void dropEvent (QDropEvent *event) override
 
void mouseDoubleClickEvent (QMouseEvent *event) override
 
void keyPressEvent (QKeyEvent *event) override
 

Detailed Description

Watch tree: top-level reorder only; nested rows are not drop targets.

Constructor & Destructor Documentation

◆ LuaDbgWatchTreeWidget()

LuaDbgWatchTreeWidget::LuaDbgWatchTreeWidget ( LuaDebuggerFontPolicy fontPolicy,
QWidget *  parent 
)

fontPolicy is required so the tree can re-seat panel fonts after a layout-changing drag-drop reorder. parent is the QWidget parent.

Member Function Documentation

◆ keyPressEvent()

void LuaDbgWatchTreeWidget::keyPressEvent ( QKeyEvent *  event)
overrideprotected

Watch-local keyboard shortcuts (remove-all, copy, duplicate, delete, inline edit). The dialog's ShortcutOverride filter still claims the ones that overlap main-window actions; this handler runs on KeyPress once Qt has dispatched the key to the focused widget.

◆ mouseDoubleClickEvent()

void LuaDbgWatchTreeWidget::mouseDoubleClickEvent ( QMouseEvent *  event)
overrideprotected

Left-click double-click on empty space inserts a new pending row.


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