Added NUMBER_ROLES to metadata.h for use in GUI source code.
This commit is contained in:
@ -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", ""};
|
||||
|
||||
Reference in New Issue
Block a user