Definition at line 29 of file materialeditoractions.cpp.
◆ MaterialEditorActionsImpl()
gui2::MaterialEditorActions::MaterialEditorActionsImpl::MaterialEditorActionsImpl |
( |
| ) |
|
|
inline |
◆ locateInsertPlace()
std::pair<SessionItem*, TagRow> gui2::MaterialEditorActions::MaterialEditorActionsImpl::locateInsertPlace |
( |
| ) |
|
|
inline |
Finds parent and tagrow to insert new item.
Definition at line 36 of file materialeditoractions.cpp.
39 auto selected = all_selected.empty() ? nullptr : all_selected.back();
41 return {selected->parent(), selected->tagRow().next()};
Aggregate to hold (tag, row) information for SessionModel.
std::vector< MaterialBaseItem * > selectedMaterials() const
Returns vector of selected materials.
ModelView::SessionItem * root_item()
Returns a multi layer playing the role of invisible root item.
MaterialSelectionModel * selection_model
◆ root_item()
Returns a multi layer playing the role of invisible root item.
Definition at line 47 of file materialeditoractions.cpp.
SessionItem * sessionItemFromIndex(const QModelIndex &index) const
const ModelView::ViewModel * viewModel() const
◆ material_model
MaterialModel* gui2::MaterialEditorActions::MaterialEditorActionsImpl::material_model {nullptr} |
◆ selection_model
The documentation for this struct was generated from the following file: