Cockatrice 2026-01-14-Development-2.11.0-beta.46
A cross-platform 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 <QJsonArray>
6#include <QJsonObject>
7#include <QStringList>
8
10{
11 QString groupBy = "type"; // "type", "color", "subtype", etc.
12 QStringList filters; // empty = all
13 bool showMain = true;
14 bool showCategoryRows = true;
15
16 QJsonObject toJson() const;
17
18 static ManaCurveConfig fromJson(const QJsonObject &o);
19};
20
21#endif // COCKATRICE_MANA_CURVE_CONFIG_H
Definition mana_curve_config.h:10
bool showMain
Definition mana_curve_config.h:13
QString groupBy
Definition mana_curve_config.h:11
static ManaCurveConfig fromJson(const QJsonObject &o)
Definition mana_curve_config.cpp:17
QJsonObject toJson() const
Definition mana_curve_config.cpp:3
QStringList filters
Definition mana_curve_config.h:12
bool showCategoryRows
Definition mana_curve_config.h:14