Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
mana_curve_config.h
Go to the documentation of this file.
1
2#ifndef COCKATRICE_MANA_CURVE_CONFIG_H
3#define COCKATRICE_MANA_CURVE_CONFIG_H
4
5#include <QJsonObject>
6#include <QList>
7#include <QString>
8#include <QStringList>
9
11{
12 QString groupBy = "type"; // "type", "color", "subtype", etc.
13 QStringList filters; // empty = all
14 bool showMain = true;
15 bool showCategoryRows = true;
16
17 QJsonObject toJson() const;
18
19 static ManaCurveConfig fromJson(const QJsonObject &o);
20};
21
22#endif // COCKATRICE_MANA_CURVE_CONFIG_H
Definition mana_curve_config.h:11
bool showMain
Definition mana_curve_config.h:14
QString groupBy
Definition mana_curve_config.h:12
static ManaCurveConfig fromJson(const QJsonObject &o)
Definition mana_curve_config.cpp:21
QJsonObject toJson() const
Definition mana_curve_config.cpp:7
QStringList filters
Definition mana_curve_config.h:13
bool showCategoryRows
Definition mana_curve_config.h:15