Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
DeckRoles Namespace Reference

Custom model roles used by the DeckListModel for data retrieval. More...

Enumerations

enum  { IsCardRole = Qt::UserRole + 1 , DepthRole , IsLegalRole , IsCustomZoneRole }

Detailed Description

Custom model roles used by the DeckListModel for data retrieval.

These roles extend Qt's item data roles starting at Qt::UserRole.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
IsCardRole 

Indicates whether the item represents a card.

DepthRole 

Depth level within the deck's grouping hierarchy.

IsLegalRole 

Whether the card is legal in the current deck format.

IsCustomZoneRole 

Whether the item represents a custom zone nested under a board zone.