BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines namespace GUI::Util::Variant.
Definition in file VariantUtil.h.
Go to the source code of this file.
Namespaces | |
GUI | |
GUI::Util | |
GUI::Util::Variant | |
Functions | |
bool | GUI::Util::Variant::CompatibleVariantTypes (const QVariant &oldValue, const QVariant &newValue) |
Returns true if variants has compatible types. More... | |
bool | GUI::Util::Variant::IsTheSame (const QVariant &var1, const QVariant &var2) |
Returns true if given variants have same type and value. For custom variants (e.g. ComboProperty) will always return false (see explanations in cpp file). More... | |
int | GUI::Util::Variant::VariantType (const QVariant &variant) |
Returns type of variant (additionally checks for user type). More... | |