Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TreeSortFilterProxyModel Class Reference

A proxy model that filters rows in a tree structure. More...

#include <extcap_argument_multiselect.h>

Inheritance diagram for TreeSortFilterProxyModel:

Public Member Functions

bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override
 Determines if a row from the source model should be included.
 

Detailed Description

A proxy model that filters rows in a tree structure.

Member Function Documentation

◆ filterAcceptsRow()

bool TreeSortFilterProxyModel::filterAcceptsRow ( int  sourceRow,
const QModelIndex &  sourceParent 
) const
override

Determines if a row from the source model should be included.

Parameters
sourceRowThe row in the source model.
sourceParentThe parent index in the source model.
Returns
True if the row is accepted, false otherwise.

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