BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines class CLASS? More...
Go to the source code of this file.
Namespaces | |
ModelView | |
materialitems.h Collection of materials to populate MaterialModel. | |
ModelView::Utils | |
Collection of various widget-related utils. | |
Functions | |
MVVM_VIEWMODEL_EXPORT QVariant | ModelView::Utils::CheckStateRole (const SessionItem &item) |
Returns check state role of given item. More... | |
MVVM_VIEWMODEL_EXPORT QVariant | ModelView::Utils::DecorationRole (const SessionItem &item) |
Returns decoration role for given item. More... | |
MVVM_VIEWMODEL_EXPORT QVector< int > | ModelView::Utils::ItemRoleToQtRole (int role) |
Returns vector of Qt roles corresponding to given ItemDataRole. More... | |
MVVM_VIEWMODEL_EXPORT std::vector< SessionItem * > | ModelView::Utils::ItemsFromIndex (const QModelIndexList &index_list) |
Returns vector of underlying SessionItem's for given index list. More... | |
MVVM_VIEWMODEL_EXPORT void | ModelView::Utils::iterate_model (const QAbstractItemModel *model, const QModelIndex &parent, const std::function< void(const QModelIndex &child)> &fun) |
Iterates through QAbstractItem model. More... | |
MVVM_VIEWMODEL_EXPORT std::vector< SessionItem * > | ModelView::Utils::ParentItemsFromIndex (const QModelIndexList &index_list) |
Returns vector of parent items from given index list. More... | |
MVVM_VIEWMODEL_EXPORT QVariant | ModelView::Utils::TextColorRole (const SessionItem &item) |
Returns text color for given item. More... | |
MVVM_VIEWMODEL_EXPORT QVariant | ModelView::Utils::ToolTipRole (const SessionItem &item) |
Returns tooltip role for given item. More... | |
MVVM_VIEWMODEL_EXPORT std::vector< SessionItem * > | ModelView::Utils::UniqueItemsFromIndex (const QModelIndexList &index_list) |
Returns vector of underlying SessionItem's for given index list. Removes repetitions. More... | |
Defines class CLASS?
Definition in file viewmodelutils.h.