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

Renders the decks of one folder of the Visual Deck Storage. More...

#include <QHash>
#include <QSet>
#include <QString>
#include <QWidget>
Include dependency graph for visual_deck_storage_folder_display_widget.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  VisualDeckStorageFolderDisplayWidget

Detailed Description

Renders the decks of one folder of the Visual Deck Storage.

This is a pure view: it keeps one persistent DeckPreviewWidget alive per deck in its folder, and shows or hides those widgets according to each row's FilterMatchRole in the VisualDeckStorageSortFilterProxyModel. Subfolders are shown as nested VisualDeckStorageFolderDisplayWidgets when the "show folders" setting is enabled.

Reconciling runs as a time-budgeted chunked pass that yields to the event loop between chunks, so scanning a large collection never stalls the ui thread.