groups: improved serialization

Introduced new project version with extra customization for groups
This commit is contained in:
itsmattkc
2022-04-04 00:03:57 -07:00
parent afaf6bcf92
commit d7b3c523f4
17 changed files with 1392 additions and 343 deletions
+44 -5
View File
@@ -52,11 +52,6 @@ public:
f_ = flags;
}
bool operator&(const InputFlag& f) const
{
return f_ & f;
}
InputFlags operator|(const InputFlags &f) const
{
InputFlags i = *this;
@@ -70,6 +65,49 @@ public:
return *this;
}
InputFlags operator&(const InputFlags &f) const
{
InputFlags i = *this;
i &= f;
return i;
}
InputFlags &operator&=(const InputFlags &f)
{
f_ &= f.f_;
return *this;
}
InputFlags operator&(const InputFlag &f) const
{
InputFlags i = *this;
i &= f;
return i;
}
InputFlags &operator&=(const InputFlag &f)
{
f_ &= f;
return *this;
}
InputFlags operator~() const
{
InputFlags i = *this;
i.f_ = ~i.f_;
return i;
}
inline operator bool() const
{
return f_;
}
inline const uint64_t &value() const
{
return f_;
}
private:
uint64_t f_;
@@ -188,6 +226,7 @@ public:
QStringList GetComboBoxStrings() const;
QVariant GetProperty(const QString& key) const;
QHash<QString, QVariant> GetProperties() const;
QVariant GetValueAtTime(const rational& time) const;