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

Method expandSelected

src/frontend/ProjectExplorer.cpp:857–861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

855}
856
857void ProjectExplorer::expandSelected() {
858 const auto& items = m_treeView->selectionModel()->selectedIndexes();
859 for (const auto& index : items)
860 m_treeView->setExpanded(index, true);
861}
862
863void ProjectExplorer::collapseSelected() {
864 const auto& items = m_treeView->selectionModel()->selectedIndexes();

Callers

nothing calls this directly

Calls 1

selectionModelMethod · 0.80

Tested by

no test coverage detected