|
BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines namespace SessionItemUtils. More...
Go to the source code of this file.
Namespaces | |
| SessionItemUtils | |
Functions | |
| QVariant | SessionItemUtils::CheckStateRole (const SessionItem &item) |
| Returns check state for given item. More... | |
| bool | SessionItemUtils::CompatibleVariantTypes (const QVariant &oldValue, const QVariant &newValue) |
| Returns true if variants has compatible types. More... | |
| QVariant | SessionItemUtils::DecorationRole (const SessionItem &item) |
| Returns tooltip for given item. More... | |
| QVariant | SessionItemUtils::ForegroundRole (const SessionItem &item) |
| Returns text color for given item. More... | |
| GroupInfo | SessionItemUtils::GetGroupInfo (const QString &group_type) |
| Returns GroupInfo for group property construction. More... | |
| bool | SessionItemUtils::HasOwnAbundance (const SessionItem *item) |
| bool | SessionItemUtils::IsPositionRelated (const SessionItem &item) |
| Returns true if current item is related to the position on sample editor canvas. More... | |
| bool | SessionItemUtils::IsTheSame (const QVariant &var1, const QVariant &var2) |
| Returns true if given variants have same type and value. More... | |
| bool | SessionItemUtils::IsValidGroup (const QString &group_type) |
| Returns true if there is registered group. More... | |
| int | SessionItemUtils::ParentRow (const SessionItem &item) |
| Returns the index of the given item within its parent. Returns -1 when no parent is set. More... | |
| int | SessionItemUtils::ParentVisibleRow (const SessionItem &item) |
| Returns the row of the given item within its parent not accounting for all hidden items above. More... | |
| QVariant | SessionItemUtils::ToolTipRole (const SessionItem &item, int ncol=0) |
| Returns tooltip for given item. More... | |
| int | SessionItemUtils::VariantType (const QVariant &variant) |
| Returns type of variant (additionally checks for user type). More... | |
Defines namespace SessionItemUtils.
Definition in file SessionItemUtils.h.