|
Wireshark 4.7.3
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. | |
| Public Member Functions inherited from AdaptiveHeaderView | |
| AdaptiveHeaderView (Qt::Orientation orientation, QWidget *parent=nullptr) | |
| Constructs an AdaptiveHeaderView. | |
| virtual QSize | sizeHint () const override |
| Overriding sizeHint to provide proper heights when font changes. | |
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. | |
| Protected Member Functions inherited from AdaptiveHeaderView | |
| virtual void | changeEvent (QEvent *event) override |
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.