Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
card_completer_proxy_model.h
Go to the documentation of this file.
1
6
7#ifndef CARD_COMPLETER_PROXY_MODEL_H
8#define CARD_COMPLETER_PROXY_MODEL_H
9
10#include <QSortFilterProxyModel>
11
12class CardCompleterProxyModel : public QSortFilterProxyModel
13{
14 Q_OBJECT
15public:
16 explicit CardCompleterProxyModel(QObject *parent = nullptr);
17
18protected:
19 [[nodiscard]] bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override;
20};
21
22#endif // CARD_COMPLETER_PROXY_MODEL_H
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override
Definition card_completer_proxy_model.cpp:7
CardCompleterProxyModel(QObject *parent=nullptr)
Definition card_completer_proxy_model.cpp:3