Slicer4:Layouts
From Slicer Wiki
Home < Slicer4:Layouts
XML specification for a layout
Adding a new layout to Slicer4
- Libs/MRML/vtkMRMLLayoutNode.h
- Add an enum to the list of available layouts
- Libs/MRMLLogic/vtkMRMLLayoutLogic.cxx
- Add a string constant containing the XML describing the layout
- Add a line to the AddDefaultsLayouts() method
- Libs/qMRMLWidgets/Resources/Icons/
- Add an icon
- Applications/SlicerQT/Resources/qSlicerMainWindow.ui
- Add an action using the Action Editor View
- Drag&Drop created action into the LayoutMenu (View->Layout)
- Drag&Drop created action into the LayoutToolbar
- Applications/SlicerQt/qSlicerMainWindow.cxx
- Add a line to setupMenuActions()