Wireshark 4.5.0
The Wireshark network protocol analyzer
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Public Types | Public Slots | Signals | Public Member Functions | Friends | List of all members
TrafficTree Class Reference
Inheritance diagram for TrafficTree:

Public Types

enum  eTrafficTreeClipboard { CLIPBOARD_CSV , CLIPBOARD_YAML , CLIPBOARD_JSON }
 Type for the selection of export. More...
 

Public Slots

void tapListenerEnabled (bool enable)
 
void disableTap ()
 
void columnsChanged (QList< int > columns)
 

Signals

void filterAction (QString filter, FilterAction::Action action, FilterAction::ActionType type)
 
void columnsHaveChanged (QList< int > columns)
 

Public Member Functions

 TrafficTree (QString baseName, GList **recentColumnList, QWidget *parent=nullptr)
 
QMenu * createCopyMenu (QWidget *parent=nullptr)
 Create a menu containing clipboard copy entries for this tab.
 
void applyRecentColumns ()
 
void widenColumnToContents (int column)
 Increase column width if necessary to fit contents, but don't narrow it.
 
virtual void setModel (QAbstractItemModel *model) override
 

Friends

class TrafficTreeHeaderView
 

Member Enumeration Documentation

◆ eTrafficTreeClipboard

Type for the selection of export.

See also
copyToClipboard

Member Function Documentation

◆ createCopyMenu()

QMenu * TrafficTree::createCopyMenu ( QWidget *  parent = nullptr)

Create a menu containing clipboard copy entries for this tab.

It will create all entries, including copying the content of the currently selected tab to CSV, YAML and JSON

Parameters
parentthe parent object or null
Returns
QMenu* the resulting menu or null

◆ widenColumnToContents()

void TrafficTree::widenColumnToContents ( int  column)

Increase column width if necessary to fit contents, but don't narrow it.

This is used to ensure that the columns are wide enough for newly received data, but to avoid narrowing columns that have been manually widened, especially the Rel Start/Abs Start and Duration columns, since those contain a timeline graph.


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