Validate layouts

This commit is contained in:
Marcus Huderle
2020-02-11 18:34:08 -06:00
parent 262bd9e4e5
commit 79c74b8814
6 changed files with 96 additions and 19 deletions

View File

@@ -52,6 +52,7 @@ public:
QList<QStringList>* getLabelMacros(QList<QStringList>*, QString);
QStringList* getLabelValues(QList<QStringList>*, QString);
bool tryParseJsonFile(QJsonDocument *out, QString filepath);
bool ensureFieldsExist(QJsonObject obj, QList<QString> fields);
private:
QString root;