MCPcopy Create free account
hub / github.com/KDE/labplot / collapseSelected

Method collapseSelected

src/frontend/ProjectExplorer.cpp:863–867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861}
862
863void ProjectExplorer::collapseSelected() {
864 const auto& items = m_treeView->selectionModel()->selectedIndexes();
865 for (const auto& index : items)
866 m_treeView->setExpanded(index, false);
867}
868
869void ProjectExplorer::changeSelectedVisible() {
870 const auto& items = m_treeView->selectionModel()->selectedIndexes();

Callers

nothing calls this directly

Calls 1

selectionModelMethod · 0.80

Tested by

no test coverage detected