Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
ShortcutFilterProxyModel Class Reference

#include <shortcut_treeview.h>

Inheritance diagram for ShortcutFilterProxyModel:
[legend]
Collaboration diagram for ShortcutFilterProxyModel:
[legend]

Public Member Functions

 ShortcutFilterProxyModel (QObject *parent=nullptr)

Protected Member Functions

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

Detailed Description

Custom implementation of QSortFilterProxyModel that appends the source and parent strings together when filtering

Constructor & Destructor Documentation

◆ ShortcutFilterProxyModel()

ShortcutFilterProxyModel::ShortcutFilterProxyModel ( QObject * parent = nullptr)
explicit

Member Function Documentation

◆ filterAcceptsRow()

bool ShortcutFilterProxyModel::filterAcceptsRow ( int sourceRow,
const QModelIndex & sourceParent ) const
nodiscardoverrideprotected

Appends the parent and source row together before doing the regex match.


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