Difference between revisions of "Documentation/Nightly/Developers/Layouts"
From Slicer Wiki
(Structure of the documentation) |
|||
Line 1: | Line 1: | ||
=Layout= | =Layout= | ||
== Main classes == | == Main classes == | ||
− | * <code>vtkMRMLLayoutNode</code> | + | * <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) |
− | * <code>vtkMRMLLayoutLogic</code> | + | * <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). |
− | * <code>vtkMRMLAbstractViewNode</code> | + | * <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. |
− | * <code>ctkLayoutManager</code> | + | * <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>qMRMLLayoutManager</code> | + | * <code>[http://slicer.org/doc/html/classqMRMLLayoutManager.html qMRMLLayoutManager]</code>: Specialized version of ctkLayoutManager to handle MRML only views and properties. |
− | * <code>qSlicerLayoutManager</code> | + | * <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. |
==Layout mechanism== | ==Layout mechanism== |
Revision as of 19:30, 28 February 2013
Home < Documentation < Nightly < Developers < LayoutsContents
Layout
Main classes
vtkMRMLLayoutNode
: Node that describes the layout of the views. There is only one layout node in the scene (singleton)vtkMRMLLayoutLogic
: Control/observe the layout node. Automatically create the view nodes if needed (referenced in the layout node description but not in the scene).vtkMRMLAbstractViewNode
: Abstract class for all the view nodes (such as vtkMRMLSliceNode, vtkMRMLViewNode, vtkMRMLChartViewNode) that can be into a layout.ctkLayoutManager
: Mechanism to convert the layout description (xml) into a Qt layout with Qt widgets.qMRMLLayoutManager
: Specialized version of ctkLayoutManager to handle MRML only views and properties.qSlicerLayoutManager
: Specialized version of qMRMLLayoutManager to handle Slicer specific behaviors. The Slicer layout manager is accessible from the qSlicerApplication singleton.