| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Classes | Typedefs
traffic_tab.h File Reference
`#include "config.h"`
`#include <ui/qt/models/atap_data_model.h>`
`#include <ui/qt/filter_action.h>`
`#include <ui/qt/widgets/traffic_tree.h>`
`#include <ui/qt/widgets/detachable_tabwidget.h>`
`#include <ui/qt/widgets/traffic_types_list.h>`
`#include <QTabWidget>`
`#include <QTreeView>`
`#include <QFile>`
`#include <QUrl>`
`#include <QAbstractItemDelegate>`
`#include <QSortFilterProxyModel>`

Go to the source code of this file.

## Classes
class | TabData
class | TrafficTab
| A QTabWidget class, providing tap information. More...

## Typedefs
typedef ATapDataModel *(* | ATapModelCallback) (int protoId, QString filter)
| Callback for creating an ATapDataModel.
typedef QAbstractItemDelegate *(* | ATapCreateDelegate) (QWidget *parent)
| Callback for creating an item delegate.

## Detailed Description

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later

## Typedef Documentation

## ◆ ATapCreateDelegate

typedef QAbstractItemDelegate *(* ATapCreateDelegate) (QWidget *parent)

Callback for creating an item delegate.

Parameters

  parent | the parent for the delegate to attach to

Returns
  either null if no delegate had been created, or an instance for the delegate

## ◆ ATapModelCallback

typedef ATapDataModel *(* ATapModelCallback) (int protoId, QString filter)

Callback for creating an ATapDataModel.

Parameters

  protoId | the protocol id for the callback to use
  filter | setting the filter for the tap

Returns
  either null, if no model could be created, or an instance of the model itself.