15 #ifndef BORNAGAIN_MVVM_MODEL_MVVM_SERIALIZATION_JSONTAGINFOCONVERTER_H
16 #define BORNAGAIN_MVVM_MODEL_MVVM_SERIALIZATION_JSONTAGINFOCONVERTER_H
27 static inline const QString nameKey =
"name";
28 static inline const QString minKey =
"min";
29 static inline const QString maxKey =
"max";
30 static inline const QString modelsKey =
"models";
32 QJsonObject to_json(
const TagInfo& tag)
override;
34 TagInfo from_json(
const QJsonObject&
object)
override;
36 bool isTagInfo(
const QJsonObject&
object);
Base class for all converters of TagInfo to/from json object.
Default converter between TagInfo and json object.
Holds info about single tag for SessionItem.
materialitems.h Collection of materials to populate MaterialModel.