![]() |
Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
|
One deck file as seen by the Visual Deck Storage. More...
#include <visual_deck_storage_model.h>
Public Attributes | |
| QString | filePath |
| Absolute file path. | |
| QString | relativeFilePath |
| File path relative to the deck folder. | |
| QString | folderPath |
| Directory relative to the deck folder ("" for the deck folder itself). | |
| QString | deckName |
| The deck name as stored in the file (may be empty). | |
| QString | displayName |
| Deck name, or the file name if the deck has no name. | |
| QStringList | tags |
| The deck's tags. | |
| QString | colorIdentity |
| The deck's color identity in WUBRG order. | |
| QDateTime | lastModified |
| File modification time at last check. | |
| QDateTime | lastLoaded |
| When the deck was last loaded from the file. | |
| CardRef | bannerCard |
| The deck's banner card (name + provider id). | |
| LoadedDeck | deck |
| The parsed deck; empty until the file has been loaded. | |
| bool | loadSucceeded = false |
| Whether the deck file finished loading successfully. | |
| bool | loadInProgress = false |
| Whether the deck file is currently being loaded. | |
One deck file as seen by the Visual Deck Storage.
The metadata is computed once when the deck loads and refreshed on reloads and mutations, so filters and sorts never re-read the file from disk.
| CardRef DeckPreviewData::bannerCard |
The deck's banner card (name + provider id).
| QString DeckPreviewData::colorIdentity |
The deck's color identity in WUBRG order.
| LoadedDeck DeckPreviewData::deck |
The parsed deck; empty until the file has been loaded.
| QString DeckPreviewData::deckName |
The deck name as stored in the file (may be empty).
| QString DeckPreviewData::displayName |
Deck name, or the file name if the deck has no name.
| QString DeckPreviewData::filePath |
Absolute file path.
| QString DeckPreviewData::folderPath |
Directory relative to the deck folder ("" for the deck folder itself).
| QDateTime DeckPreviewData::lastLoaded |
When the deck was last loaded from the file.
| QDateTime DeckPreviewData::lastModified |
File modification time at last check.
| bool DeckPreviewData::loadInProgress = false |
Whether the deck file is currently being loaded.
| bool DeckPreviewData::loadSucceeded = false |
Whether the deck file finished loading successfully.
| QString DeckPreviewData::relativeFilePath |
File path relative to the deck folder.
| QStringList DeckPreviewData::tags |
The deck's tags.