Import 2017-06-07 23:51:09: master b6549477

Author Committer Branch Timestamp Parent
pinter pinter master 2016-11-22 12:10:13 master e4efafa3
Changeset

ENH: Added read-only option to segments table view and segment editor widget

If read-only is enabled in segments table view, then double-click and edit key press now do not trigger editing (selection and show/hide are still possible). Segment editor widget disables the Add and Remove segment buttons, as well as Create surface, and sets read-only flag to the table if read-only is set to true

Re https://github.com/QIICR/Reporting/issues/90

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

mod - Modules/Loadable/Segmentations/Widgets/qMRMLSegmentEditorWidget.cxx Diff File
mod - Modules/Loadable/Segmentations/Widgets/qMRMLSegmentEditorWidget.h Diff File
mod - Modules/Loadable/Segmentations/Widgets/qMRMLSegmentsTableView.cxx Diff File
mod - Modules/Loadable/Segmentations/Widgets/qMRMLSegmentsTableView.h Diff File