Import 2017-06-07 23:51:09: master 638bd0c1

Author Committer Branch Timestamp Parent
lassoan lassoan master 2015-11-30 14:46:18 master ba563e7b
Changeset

ENH: Added support for Tables

  • New module added: Tables. Create create/view/edit/delete tables, freeze column/row header, lock to read-only (vtkMRMLTableNode).
  • Tables can be shown in the view layout (new layout added: Four-up table, more can be added as needed)
  • Load/save csv, tsv, txt files as table nodes
  • Copy-paste to/from Excel
  • SubjectHierarchy plugin (show/hide, edit, clone tables)
  • Use tables as input/output for CLI modules (PET Standard Uptake Value Computation module is updated to use tables; there was no need to change the Slicer Execution Model, the Table data type was already usable)
  • Reusable widget added for viewing/editing tables in C++ and Python modules

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

mod - Applications/SlicerApp/Resources/UI/qSlicerAppMainWindow.ui Diff File
mod - Applications/SlicerApp/qSlicerAppMainWindow.cxx Diff File
mod - Base/QTCLI/qSlicerCLIModuleUIHelper.cxx Diff File
mod - Base/QTCLI/vtkSlicerCLIModuleLogic.cxx Diff File
mod - Libs/MRML/Core/CMakeLists.txt Diff File
mod - Libs/MRML/Core/Testing/CMakeLists.txt Diff File
add - Libs/MRML/Core/Testing/TestData/table.csv Diff File
mod - Libs/MRML/Core/Testing/vtkMRMLSelectionNodeTest1.cxx Diff File
add - Libs/MRML/Core/Testing/vtkMRMLTableNodeTest1.cxx Diff File
add - Libs/MRML/Core/Testing/vtkMRMLTableStorageNodeTest1.cxx Diff File
add - Libs/MRML/Core/Testing/vtkMRMLTableViewNodeTest1.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLLayoutNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLLayoutNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLScene.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLSelectionNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLSelectionNode.h Diff File
add - Libs/MRML/Core/vtkMRMLTableNode.cxx Diff File
add - Libs/MRML/Core/vtkMRMLTableNode.h Diff File
add - Libs/MRML/Core/vtkMRMLTableStorageNode.cxx Diff File
add - Libs/MRML/Core/vtkMRMLTableStorageNode.h Diff File
add - Libs/MRML/Core/vtkMRMLTableViewNode.cxx Diff File
add - Libs/MRML/Core/vtkMRMLTableViewNode.h Diff File
mod - Libs/MRML/DisplayableManager/Testing/Data/vtkMRMLCameraDisplayableManagerTest1.mrml Diff File
mod - Libs/MRML/Logic/vtkMRMLApplicationLogic.cxx Diff File
mod - Libs/MRML/Logic/vtkMRMLApplicationLogic.h Diff File
mod - Libs/MRML/Logic/vtkMRMLLayoutLogic.cxx Diff File
mod - Libs/MRML/Widgets/CMakeLists.txt Diff File
add - Libs/MRML/Widgets/DesignerPlugins/qMRMLTableViewPlugin.cxx Diff File
add - Libs/MRML/Widgets/DesignerPlugins/qMRMLTableViewPlugin.h Diff File
add - Libs/MRML/Widgets/DesignerPlugins/qSlicerTablesModuleWidgetsPlugin.cxx Diff File
add - Libs/MRML/Widgets/DesignerPlugins/qSlicerTablesModuleWidgetsPlugin.h Diff File
add - Libs/MRML/Widgets/Resources/Icons/LayoutFourUpTableView.png Diff File
add - Libs/MRML/Widgets/Resources/Icons/column_add.png Diff File
add - Libs/MRML/Widgets/Resources/Icons/column_delete.png Diff File
add - Libs/MRML/Widgets/Resources/Icons/column_header_lock.png Diff File
add - Libs/MRML/Widgets/Resources/Icons/row_add.png Diff File
add - Libs/MRML/Widgets/Resources/Icons/row_delete.png Diff File
add - Libs/MRML/Widgets/Resources/Icons/row_header_lock.png Diff File
add - Libs/MRML/Widgets/Resources/UI/qMRMLTableViewControllerWidget.ui Diff File
mod - Libs/MRML/Widgets/Resources/qMRMLWidgets.qrc Diff File
mod - Libs/MRML/Widgets/Testing/CMakeLists.txt Diff File
mod - Libs/MRML/Widgets/Testing/qMRMLLayoutManagerTest1.cxx Diff File
mod - Libs/MRML/Widgets/Testing/qMRMLLayoutManagerTest2.cxx Diff File
mod - Libs/MRML/Widgets/Testing/qMRMLLayoutManagerVisibilityTest.cxx Diff File
add - Libs/MRML/Widgets/Testing/qMRMLTableViewTest1.cxx Diff File
mod - Libs/MRML/Widgets/qMRMLLayoutManager.cxx Diff File
mod - Libs/MRML/Widgets/qMRMLLayoutManager.h Diff File
mod - Libs/MRML/Widgets/qMRMLLayoutManager_p.h Diff File
add - Libs/MRML/Widgets/qMRMLTableModel.cxx Diff File
add - Libs/MRML/Widgets/qMRMLTableModel.h Diff File
add - Libs/MRML/Widgets/qMRMLTableView.cxx Diff File
add - Libs/MRML/Widgets/qMRMLTableView.h Diff File
add - Libs/MRML/Widgets/qMRMLTableViewControllerWidget.cxx Diff File
add - Libs/MRML/Widgets/qMRMLTableViewControllerWidget.h Diff File
add - Libs/MRML/Widgets/qMRMLTableViewControllerWidget_p.h Diff File
add - Libs/MRML/Widgets/qMRMLTableView_p.h Diff File
add - Libs/MRML/Widgets/qMRMLTableWidget.cxx Diff File
add - Libs/MRML/Widgets/qMRMLTableWidget.h Diff File
mod - Modules/CLI/ExecutionModelTour/ExecutionModelTour.cxx Diff File
mod - Modules/CLI/ExecutionModelTour/ExecutionModelTour.xml Diff File
mod - Modules/CLI/PETStandardUptakeValueComputation/PETStandardUptakeValueComputation.cxx Diff File
mod - Modules/CLI/PETStandardUptakeValueComputation/PETStandardUptakeValueComputation.xml Diff File
mod - Modules/Loadable/CMakeLists.txt Diff File
add - Modules/Loadable/Tables/CMakeLists.txt Diff File
add - Modules/Loadable/Tables/Documentation/Tables.dox Diff File
add - Modules/Loadable/Tables/Logic/CMakeLists.txt Diff File
add - Modules/Loadable/Tables/Logic/vtkSlicerTablesLogic.cxx Diff File
add - Modules/Loadable/Tables/Logic/vtkSlicerTablesLogic.h Diff File
add - Modules/Loadable/Tables/Resources/Icons/Tables.png Diff File
add - Modules/Loadable/Tables/Resources/UI/qSlicerTablesModuleWidget.ui Diff File
add - Modules/Loadable/Tables/Resources/qSlicerTablesModule.qrc Diff File
add - Modules/Loadable/Tables/SubjectHierarchyPlugins/CMakeLists.txt Diff File
add - Modules/Loadable/Tables/SubjectHierarchyPlugins/Resources/Icons/Table.png Diff File
add - Modules/Loadable/Tables/SubjectHierarchyPlugins/Resources/qSlicerTablesSubjectHierarchyPlugins.qrc Diff File
add - Modules/Loadable/Tables/SubjectHierarchyPlugins/qSlicerSubjectHierarchyTablesPlugin.cxx Diff File
add - Modules/Loadable/Tables/SubjectHierarchyPlugins/qSlicerSubjectHierarchyTablesPlugin.h Diff File
add - Modules/Loadable/Tables/Testing/CMakeLists.txt Diff File
add - Modules/Loadable/Tables/Testing/Cxx/CMakeLists.txt Diff File
add - Modules/Loadable/Tables/Testing/Cxx/vtkSlicerTablesLogicAddFileTest.cxx Diff File
add - Modules/Loadable/Tables/Testing/Python/CMakeLists.txt Diff File
add - Modules/Loadable/Tables/Testing/Python/TablesSelfTest.py Diff File
add - Modules/Loadable/Tables/qSlicerTablesModule.cxx Diff File
add - Modules/Loadable/Tables/qSlicerTablesModule.h Diff File
add - Modules/Loadable/Tables/qSlicerTablesModuleWidget.cxx Diff File
add - Modules/Loadable/Tables/qSlicerTablesModuleWidget.h Diff File
add - Modules/Loadable/Tables/qSlicerTablesReader.cxx Diff File
add - Modules/Loadable/Tables/qSlicerTablesReader.h Diff File