Definition at line 29 of file layereditoractions.cpp.
◆ LayerEditorActionsImpl()
gui2::LayerEditorActions::LayerEditorActionsImpl::LayerEditorActionsImpl |
( |
| ) |
|
|
inline |
◆ locateInsertPlace()
std::pair<SessionItem*, TagRow> gui2::LayerEditorActions::LayerEditorActionsImpl::locateInsertPlace |
( |
| ) |
|
|
inline |
Finds parent and tagrow to insert new item.
Definition at line 36 of file layereditoractions.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< ModelView::SessionItem * > selectedItems() const
Returns vector of selected layers or multilayers.
LayerSelectionModel * selection_model
ModelView::SessionItem * root_item()
Returns a multi layer playing the role of invisible root item.
◆ root_item()
Returns a multi layer playing the role of invisible root item.
Definition at line 47 of file layereditoractions.cpp.
SessionItem * sessionItemFromIndex(const QModelIndex &index) const
const ModelView::ViewModel * viewModel() const
Return the casted view model.
◆ sample_model
SampleModel* gui2::LayerEditorActions::LayerEditorActionsImpl::sample_model {nullptr} |
◆ selection_model
LayerSelectionModel* gui2::LayerEditorActions::LayerEditorActionsImpl::selection_model {nullptr} |
The documentation for this struct was generated from the following file: