Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
qMRMLViewControllerBar Class Reference

#include <Libs/MRML/Widgets/qMRMLViewControllerBar.h>

Inheritance diagram for qMRMLViewControllerBar:
Inheritance graph
[legend]
Collaboration diagram for qMRMLViewControllerBar:
Collaboration graph
[legend]

Public Types

enum  LayoutBehavior { Popup =0, Panel }
 
typedef qMRMLWidget Superclass
 Superclass typedef. More...
 
- Public Types inherited from qMRMLWidget
typedef QWidget Superclass
 

Public Member Functions

QLayout * barLayout ()
 
QWidget * barWidget ()
 
 qMRMLViewControllerBar (QWidget *parent=0)
 Constructors. More...
 
void setLayoutBehavior (LayoutBehavior behavior)
 
virtual ~qMRMLViewControllerBar ()
 
- Public Member Functions inherited from qMRMLWidget
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene. More...
 
 qMRMLWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~qMRMLWidget ()
 

Protected Member Functions

 qMRMLViewControllerBar (qMRMLViewControllerBarPrivate *pimpl, QWidget *parent=0)
 

Protected Attributes

QScopedPointer< qMRMLViewControllerBarPrivate > d_ptr
 
- Protected Attributes inherited from qMRMLWidget
QScopedPointer< qMRMLWidgetPrivate > d_ptr
 

Additional Inherited Members

- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget. More...
 
- Signals inherited from qMRMLWidget
void mrmlSceneChanged (vtkMRMLScene *)
 

Detailed Description

qMRMLViewControllerBar is the base class of all the bars over views. A controller bar typically contains a pin button, a view label to uniquely define a view, a popup widget to control the view and a unique color per type of view. The popup widget can be made occupy space in the widget and is then displayed below the bar.

Definition at line 49 of file qMRMLViewControllerBar.h.

Member Typedef Documentation

◆ Superclass

Superclass typedef.

Definition at line 55 of file qMRMLViewControllerBar.h.

Member Enumeration Documentation

◆ LayoutBehavior

Enumerator
Popup 
Panel 

Definition at line 61 of file qMRMLViewControllerBar.h.

Constructor & Destructor Documentation

◆ qMRMLViewControllerBar() [1/2]

qMRMLViewControllerBar::qMRMLViewControllerBar ( QWidget *  parent = 0)
explicit

Constructors.

◆ ~qMRMLViewControllerBar()

virtual qMRMLViewControllerBar::~qMRMLViewControllerBar ( )
virtual

◆ qMRMLViewControllerBar() [2/2]

qMRMLViewControllerBar::qMRMLViewControllerBar ( qMRMLViewControllerBarPrivate *  pimpl,
QWidget *  parent = 0 
)
protected

Member Function Documentation

◆ barLayout()

QLayout* qMRMLViewControllerBar::barLayout ( )

◆ barWidget()

QWidget* qMRMLViewControllerBar::barWidget ( )

◆ setLayoutBehavior()

void qMRMLViewControllerBar::setLayoutBehavior ( LayoutBehavior  behavior)

set the behavior of the controller, i.e. should it be a popup or should it occupy space within the widget? (not certain that this method can be called multiple times to toggle between the behaviors)

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLViewControllerBarPrivate> qMRMLViewControllerBar::d_ptr
protected

Definition at line 80 of file qMRMLViewControllerBar.h.


The documentation for this class was generated from the following file: