Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
DeckListModelGroupCriteria Namespace Reference

Specifies criteria used to group cards in the DeckListModel. More...

Enumerations

enum  Type { MAIN_TYPE , MANA_COST , COLOR }

Functions

static QString toString (Type t)
static Type fromString (const QString &s)

Detailed Description

Specifies criteria used to group cards in the DeckListModel.

These values determine how cards are grouped in UI views such as the deck editor.

Enumeration Type Documentation

◆ Type

Enumerator
MAIN_TYPE 

Group cards by their main type (e.g., creature, instant).

MANA_COST 

Group cards by their total mana cost.

COLOR 

Group cards by their color identity.

Function Documentation

◆ fromString()

Type DeckListModelGroupCriteria::fromString ( const QString & s)
inlinestatic
Here is the caller graph for this function:

◆ toString()

QString DeckListModelGroupCriteria::toString ( Type t)
inlinestatic
Here is the caller graph for this function: