Proxy model for filtering and sorting the packet list column models.
More...
#include <column_list_model.h>
|
| virtual bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override |
| | Determines whether a specific row is accepted by the filter.
|
| |
Proxy model for filtering and sorting the packet list column models.
◆ ColumnProxyModel()
| ColumnProxyModel::ColumnProxyModel |
( |
QObject * |
parent = Q_NULLPTR | ) |
|
Constructs a new ColumnProxyModel.
- Parameters
-
| parent | The parent QObject, defaults to Q_NULLPTR. |
◆ filterAcceptsRow()
| bool ColumnProxyModel::filterAcceptsRow |
( |
int |
source_row, |
|
|
const QModelIndex & |
source_parent |
|
) |
| const |
|
overrideprotectedvirtual |
Determines whether a specific row is accepted by the filter.
- Parameters
-
| source_row | The row index in the source model. |
| source_parent | The parent model index in the source model. |
- Returns
- True if the row is accepted, false otherwise.
◆ setShowDisplayedOnly()
| void ColumnProxyModel::setShowDisplayedOnly |
( |
bool |
set | ) |
|
Sets whether to show only the displayed columns.
- Parameters
-
| set | True to show only displayed columns, false otherwise. |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/models/column_list_model.h
- /builds/wireshark/wireshark/ui/qt/models/column_list_model.cpp