|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
QHeaderView subclass that adds a context menu for interactively resizing or resetting column (or row) widths. More...
#include <resize_header_view.h>
Public Member Functions | |
| ResizeHeaderView (Qt::Orientation orientation, QWidget *parent=nullptr) | |
| Constructs a ResizeHeaderView. | |
Protected Member Functions | |
| void | contextMenuEvent (QContextMenuEvent *e) override |
Presents a context menu at the position of e, offering actions to resize sections to their contents or reset them to default widths. | |
QHeaderView subclass that adds a context menu for interactively resizing or resetting column (or row) widths.
| ResizeHeaderView::ResizeHeaderView | ( | Qt::Orientation | orientation, |
| QWidget * | parent = nullptr |
||
| ) |
Constructs a ResizeHeaderView.
| orientation | Whether this is a horizontal (column) or vertical (row) header. |
| parent | Optional parent widget. |
|
overrideprotected |
Presents a context menu at the position of e, offering actions to resize sections to their contents or reset them to default widths.
| e | The context menu event carrying the cursor position. |
Shows a context menu which resizes all sections to their contents.