![]() |
Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
|
Source model for the Visual Deck Storage: the deck files on disk. More...
#include "../../deck_loader/loaded_deck.h"#include <QAbstractListModel>#include <QDateTime>#include <QHash>#include <QList>#include <QStringList>#include <libcockatrice/deck_list/deck_list.h>#include <optional>Go to the source code of this file.
Classes | |
| struct | DeckPreviewData |
| One deck file as seen by the Visual Deck Storage. More... | |
| struct | PendingDeckLoad |
| One finished background deck load that has not been applied to the model yet. More... | |
| class | VisualDeckStorageModel |
| The list model backing the Visual Deck Storage widget tree. More... | |
Namespaces | |
| namespace | VisualDeckStorageRoles |
Source model for the Visual Deck Storage: the deck files on disk.
The model owns the deck metadata (name, tags, color identity, banner card, modification times) and the parsed deck list, loading each deck file in the background. Views read through the roles or the direct accessors, and all mutations (rename, tags, banner card, delete, conversion) go through this class so the view layer never touches the filesystem directly.