(#378) Added an tree view expansion interface

This commit is contained in:
Jacob Støren
2015-08-14 18:03:51 +02:00
parent 6244cf98bf
commit e805c893c6
4 changed files with 20 additions and 1 deletions

View File

@@ -147,5 +147,13 @@ void PdmUiTreeView::selectAsCurrentItem(PdmUiItem* uiItem)
m_treeViewEditor->selectAsCurrentItem(uiItem);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void PdmUiTreeView::setExpanded(const PdmUiItem* uiItem, bool doExpand) const
{
m_treeViewEditor->setExpanded(uiItem, doExpand);
}
} //End of namespace caf