Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
resolved_addresses_models.h
Go to the documentation of this file.
1
10#ifndef RESOLVED_ADDRESSES_MODELS_H
11#define RESOLVED_ADDRESSES_MODELS_H
12
14
15#include <QAbstractListModel>
16#include <QSortFilterProxyModel>
17
22{
23 Q_OBJECT
24
25public:
30 EthernetAddressModel(QObject * parent = Q_NULLPTR);
31
36 QStringList filterValues() const;
37
38protected:
43 QStringList headerColumns() const override;
44
48 void populate();
49
50};
51
61
66{
67 Q_OBJECT
68
69public:
74 PortsModel(QObject * parent = Q_NULLPTR);
75
80 QStringList filterValues() const;
81
82protected:
87 QStringList headerColumns() const override;
88
92 void populate();
93
94};
95
96#endif // RESOLVED_ADDRESSES_MODELS_H
A table model backed by a list of string lists.
Definition astringlist_list_model.h:28
A model managing a list of Ethernet addresses for UI display.
Definition resolved_addresses_models.h:22
QStringList filterValues() const
Retrieves the filterable values for the model.
Definition resolved_addresses_models.cpp:139
QStringList headerColumns() const override
Retrieves the header column titles for the model.
Definition resolved_addresses_models.cpp:134
void populate()
Populates the model with Ethernet address data.
Definition resolved_addresses_models.cpp:148
A model managing a list of network ports for UI display.
Definition resolved_addresses_models.h:66
QStringList headerColumns() const override
Retrieves the header column titles for the model.
Definition resolved_addresses_models.cpp:196
QStringList filterValues() const
Retrieves the filterable values for the model.
Definition resolved_addresses_models.cpp:190
void populate()
Populates the model with port data.
Definition resolved_addresses_models.cpp:201
PortsModelColumns
Defines the column indices for the PortsModel.
Definition resolved_addresses_models.h:56
@ PORTS_COL_PORT
Definition resolved_addresses_models.h:58
@ PORTS_COL_PROTOCOL
Definition resolved_addresses_models.h:59
@ PORTS_COL_NAME
Definition resolved_addresses_models.h:57