Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
DeckSearchData Struct Reference

#include <deck_filter_string.h>

Collaboration diagram for DeckSearchData:
[legend]

Public Attributes

const LoadedDeckdeck = nullptr
 The loaded deck. Must not be null.
QString filePath
 Absolute path of the deck file.
QString displayName
 Deck name, or the file name if the deck has no name.
QString relativeFilePath
 File path relative to the deck folder.

Detailed Description

The data a deck search expression is evaluated against.

This is a data view rather than a widget pointer, so the same filter expression can be evaluated against a model or a live widget.

Member Data Documentation

◆ deck

const LoadedDeck* DeckSearchData::deck = nullptr

The loaded deck. Must not be null.

◆ displayName

QString DeckSearchData::displayName

Deck name, or the file name if the deck has no name.

◆ filePath

QString DeckSearchData::filePath

Absolute path of the deck file.

◆ relativeFilePath

QString DeckSearchData::relativeFilePath

File path relative to the deck folder.


The documentation for this struct was generated from the following file: