15 #ifndef BORNAGAIN_GUI_SUPPORT_TYPE_VARIANTUTIL_H
16 #define BORNAGAIN_GUI_SUPPORT_TYPE_VARIANTUTIL_H
20 #include <heinz/Vectors3D.h>
37 bool IsTheSame(
const QVariant& var1,
const QVariant& var2);
Defines info for GroupProperty, i.e. collection of model types, their labels and the name of default ...
Base class for a GUI data item.
bool IsTheSame(const QVariant &var1, const QVariant &var2)
Returns true if given variants have same type and value. For custom variants (e.g....
int VariantType(const QVariant &variant)
Returns type of variant (additionally checks for user type).
bool CompatibleVariantTypes(const QVariant &oldValue, const QVariant &newValue)
Returns true if variants has compatible types.