Added NUMBER_ROLES to metadata.h for use in GUI source code.

This commit is contained in:
2026-04-08 17:23:05 +02:00
parent 54d537dc9b
commit 0a2b0d840b

View File

@ -40,6 +40,7 @@ static QHash<int, QByteArray> ROLE_NAMES = {
static QList<UserRoles> STRING_ROLES = {NameRole, DescriptionRole, InfoRole, IdRole};
static QList<UserRoles> INT_ROLES = {AmountRole};
static QList<UserRoles> DOUBLE_ROLES = {FactorRole};
static QList<UserRoles> NUMBER_ROLES = INT_ROLES + DOUBLE_ROLES;
static const QList<UserRoles> TYPE_ROLES = {TypeRole};
static const QList<QString> TYPES = {"A", "B", "C", ""};