Slicer: 2145-support-for-installing-extension-from-file 656c2126

Author Committer Branch Timestamp Parent
finetjul finetjul 2145-support-for-installing-extension-from-file 2012-12-31 06:53:55 2145-support-for-installing-extension-from-file 4adcae6e
Changeset

ENH: Add qMRMLTreeView::showScene and qMRMLTreeView::showRootNode

Give more flexibility to decide what item is root.
A root index for QTreeView is the invisible index that is the parent of all
the top level indexes.
showScene or showRootNode give the option to decide if the root scene/node
is visible, which implies that its parent becomes the root index for QTreeView.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21536 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/qMRMLSortFilterProxyModel.h 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
mod - Modules/Loadable/Annotations/Widgets/qMRMLAnnotationTreeView.cxx Diff File