Difference between revisions of "Documentation/Nightly/Developers/Layouts"

From Slicer Wiki
Jump to: navigation, search
(Prepend documentation/versioncheck template. See http://na-mic.org/Mantis/view.php?id=2887)
Line 2: Line 2:
 
=Layout=
 
=Layout=
 
== Main classes ==
 
== Main classes ==
* <code>[http://slicer.org/doc/html/classvtkMRMLLayoutNode.html vtkMRMLLayoutNode]</code>: Node that describes the layout of the views. There is only one layout node in the scene (singleton)
+
* [{{doxygen-class-url|vtkMRMLLayoutNode}}#details vtkMRMLLayoutNode]: Node that describes the layout of the views. There is only one layout node in the scene (singleton)
* <code>[http://slicer.org/doc/html/classvtkMRMLLayoutLogic.html vtkMRMLLayoutLogic]</code>: Control/observe the layout node. Automatically create the view nodes if needed (referenced in the layout node description but not in the scene).   
+
* [{{doxygen-class-url|vtkMRMLLayoutLogic}}#details vtkMRMLLayoutLogic]: Control/observe the layout node. Automatically create the view nodes if needed (referenced in the layout node description but not in the scene).   
* <code>[http://slicer.org/doc/html/classvtkMRMLAbstractViewNode.html vtkMRMLAbstractViewNode]</code>: Abstract class for all the view nodes (such as [http://slicer.org/doc/html/classvtkMRMLSliceNode.html vtkMRMLSliceNode], [http://slicer.org/doc/html/classvtkMRMLViewNode.html vtkMRMLViewNode], [http://slicer.org/doc/html/classvtkMRMLChartViewNode.html vtkMRMLChartViewNode]) that can be into a layout.
+
* [{{doxygen-class-url|vtkMRMLAbstractViewNode}}#details vtkMRMLAbstractViewNode]: Abstract class for all the view nodes (such as [{{doxygen-class-url|vtkMRMLSliceNode}}#details vtkMRMLSliceNode], [{{doxygen-class-url|vtkMRMLViewNode}}#details vtkMRMLViewNode], [{{doxygen-class-url|vtkMRMLChartViewNode}}#details vtkMRMLChartViewNode]) that can be into a layout.
 
* <code>[http://www.commontk.org/docs/html/classctkLayoutManager.html ctkLayoutManager]</code>: Mechanism to convert the layout description (xml) into a Qt layout with Qt widgets.  
 
* <code>[http://www.commontk.org/docs/html/classctkLayoutManager.html ctkLayoutManager]</code>: Mechanism to convert the layout description (xml) into a Qt layout with Qt widgets.  
* <code>[http://slicer.org/doc/html/classqMRMLLayoutManager.html qMRMLLayoutManager]</code>: Specialized version of ctkLayoutManager to handle MRML only views and properties.   
+
* [{{doxygen-class-url|qMRMLLayoutManager}}#details qMRMLLayoutManager]: Specialized version of ctkLayoutManager to handle MRML only views and properties.   
* <code>[http://slicer.org/doc/html/classqSlicerLayoutManager.html qSlicerLayoutManager]</code>: Specialized version of qMRMLLayoutManager to handle Slicer specific behaviors. The Slicer layout manager is accessible from the [http://slicer.org/doc/html/classqSlicerApplication.html qSlicerApplication] singleton.
+
* [{{doxygen-class-url|qSlicerLayoutManager}}#details qSlicerLayoutManager]: Specialized version of qMRMLLayoutManager to handle Slicer specific behaviors. The Slicer layout manager is accessible from the [{{doxygen-class-url|qSlicerApplication}}#details qSlicerApplication] singleton.
  
 
==Layout mechanism==
 
==Layout mechanism==

Revision as of 15:57, 8 June 2016

Home < Documentation < Nightly < Developers < Layouts


For the latest Slicer documentation, visit the read-the-docs.


Layout

Main classes

Layout mechanism

How to change the layout ?

How to register a new layout ?

View XML elements

Example