| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
LineNumberArea Class Reference
Inheritance diagram for LineNumberArea:

## Public Member Functions
| LineNumberArea (LuaDebuggerCodeView *editor)
| Construct the helper widget bound to a specific code view.
QSize | sizeHint () const override
| Size the gutter according to the editor's width requirements.

## Protected Member Functions
void | paintEvent (QPaintEvent *event) override
| Delegate painting back to the code view.
void | mousePressEvent (QMouseEvent *event) override
| Toggle breakpoints when the gutter is clicked.
void | contextMenuEvent (QContextMenuEvent *event) override
| Right-click / Ctrl-click / two-finger trackpad tap on the breakpoint gutter: always pop the Edit / Disable / Remove menu when the click lands on an existing breakpoint, regardless of whether it carries extras. Clicks on bare lines are ignored.

## Constructor & Destructor Documentation

## ◆ LineNumberArea()

LineNumberArea::LineNumberArea | ( | LuaDebuggerCodeView * | editor | ) |
| inline

Construct the helper widget bound to a specific code view.

Parameters

  editor | Owning code editor responsible for painting content.

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

- /builds/wireshark/wireshark/ui/qt/lua_debugger/lua_debugger_code_view.h
- /builds/wireshark/wireshark/ui/qt/lua_debugger/lua_debugger_code_view.cpp