Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform 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 }

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.