Slicer: 2145-support-for-installing-extension-from-file c1ba6621

Author Committer Branch Timestamp Parent
sankhesh sankhesh 2145-support-for-installing-extension-from-file 2012-12-20 16:13:24 2145-support-for-installing-extension-from-file 93ea4af1
Changeset

BUG: Tree view expansion state save/restore while updating

The expansion states of hierarchy nodes are saved and restored when the tree
view is updated.
Save weak references to expanded nodes to avoid any dangling references at the
end.
Access children using model API and not MRML API
Moved recursive children expand state save method to P-implementation.
This fixes issue 2557.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21523 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Libs/MRML/Widgets/qMRMLSceneModel.cxx Diff File
mod - Libs/MRML/Widgets/qMRMLSceneModel.h Diff File
mod - Libs/MRML/Widgets/qMRMLSortFilterProxyModel.cxx Diff File
mod - Libs/MRML/Widgets/qMRMLTreeView.cxx Diff File
mod - Libs/MRML/Widgets/qMRMLTreeView.h Diff File
mod - Libs/MRML/Widgets/qMRMLTreeView_p.h Diff File