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 Slots | Public Member Functions | Protected Slots | Protected Attributes
qSlicerAnnotationModuleWidget Class Reference

#include <Modules/Loadable/Annotations/GUI/qSlicerAnnotationModuleWidget.h>

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

Public Types

enum  {
  TextNode = 1000, FiducialNode, AngleNode, StickyNode,
  SplineNode, RulerNode, BidimensionalNode, ROINode,
  Screenshot
}
 Different Annotation Types. More...
 
typedef qSlicerAbstractModuleWidget Superclass
 
- Public Types inherited from qSlicerAbstractModuleRepresentation
typedef qSlicerObject Superclass
 

Public Slots

void grabSnapShot ()
 
void onHierarchyNodeAddedEvent (vtkObject *caller, vtkObject *obj)
 a public slot that will expand a newly added hierarchy node item More...
 
void refreshTree ()
 a public slot that will refresh the tree view More...
 
void updateActiveHierarchyLabel ()
 
- Public Slots inherited from qSlicerWidget
virtual void setMRMLScene (vtkMRMLScene *scene)
 

Public Member Functions

 qSlicerAnnotationModuleWidget (QWidget *parent=0)
 
virtual bool setEditedNode (vtkMRMLNode *node, QString role=QString(), QString context=QString())
 Node editing. More...
 
void updateWidgetFromInteractionMode (vtkMRMLInteractionNode *interactionNode)
 
 ~qSlicerAnnotationModuleWidget ()
 
- Public Member Functions inherited from qSlicerAbstractModuleWidget
virtual Q_INVOKABLE void enter ()
 
virtual Q_INVOKABLE void exit ()
 
bool isEntered () const
 
virtual Q_INVOKABLE double nodeEditable (vtkMRMLNode *node)
 
 qSlicerAbstractModuleWidget (QWidget *parent=0)
 
virtual ~qSlicerAbstractModuleWidget ()
 
- Public Member Functions inherited from qSlicerWidget
 qSlicerWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~qSlicerWidget ()
 
- Public Member Functions inherited from qSlicerObject
vtkMRMLScenemrmlScene () const
 Return a pointer on the MRML scene. More...
 
 qSlicerObject ()
 
virtual void setMRMLScene (vtkMRMLScene *)
 Set the current MRML scene to the widget. More...
 
virtual ~qSlicerObject ()
 
- Public Member Functions inherited from qSlicerAbstractModuleRepresentation
qSlicerAbstractCoreModulemodule () const
 
QString moduleName () const
 Set/Get module name. More...
 
 qSlicerAbstractModuleRepresentation ()
 
virtual ~qSlicerAbstractModuleRepresentation ()
 

Protected Slots

void deleteSelectedButtonClicked ()
 Delete selected Annotations. More...
 
void invisibleHierarchyButtonClicked ()
 Make active hierarchy annotations visible/invisible. More...
 
void lockHierarchyButtonClicked ()
 Un/Lock annotations in active hierarchy. More...
 
void lockSelectedButtonClicked ()
 Un-/Lock selected Annotations. More...
 
void moveDownSelected ()
 
void moveUpSelected ()
 
void onAddHierarchyButtonClicked ()
 Add a new hierarchy. More...
 
void onJumpSlicesButtonClicked ()
 Jump the 2d Slices to the first control point of the selected annotation. More...
 
void onReportButtonClicked ()
 
void propertyAccepted ()
 
void propertyEditButtonClicked (QString mrmlId)
 User clicked on property edit button. More...
 
void propertyRestored ()
 
void reportDialogAccepted ()
 
void reportDialogRejected ()
 
void selectAllButtonClicked ()
 Select all annotations. More...
 
void unlockHierarchyButtonClicked ()
 
void unselectAllButtonClicked ()
 Unselect all annotations. More...
 
void visibleHierarchyButtonClicked ()
 
void visibleSelectedButtonClicked ()
 Toggle the visibility of selected Annotations. More...
 

Protected Attributes

QScopedPointer< qSlicerAnnotationModuleWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractModuleWidget
QScopedPointer< qSlicerAbstractModuleWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerWidget
QScopedPointer< qSlicerWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerObject
QScopedPointer< qSlicerObjectPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractModuleRepresentation
QScopedPointer< qSlicerAbstractModuleRepresentationPrivate > d_ptr
 

Additional Inherited Members

- Properties inherited from qSlicerAbstractModuleWidget
bool isEntered
 
- Signals inherited from qSlicerWidget
void mrmlSceneChanged (vtkMRMLScene *)
 
- Protected Member Functions inherited from qSlicerAbstractModuleRepresentation
vtkMRMLAbstractLogiclogic () const
 

Detailed Description

Definition at line 18 of file qSlicerAnnotationModuleWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 24 of file qSlicerAnnotationModuleWidget.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Different Annotation Types.

Enumerator
TextNode 
FiducialNode 
AngleNode 
StickyNode 
SplineNode 
RulerNode 
BidimensionalNode 
ROINode 
Screenshot 

Definition at line 29 of file qSlicerAnnotationModuleWidget.h.

Constructor & Destructor Documentation

◆ qSlicerAnnotationModuleWidget()

qSlicerAnnotationModuleWidget::qSlicerAnnotationModuleWidget ( QWidget *  parent = 0)

◆ ~qSlicerAnnotationModuleWidget()

qSlicerAnnotationModuleWidget::~qSlicerAnnotationModuleWidget ( )

Member Function Documentation

◆ deleteSelectedButtonClicked

void qSlicerAnnotationModuleWidget::deleteSelectedButtonClicked ( )
protectedslot

Delete selected Annotations.

◆ grabSnapShot

void qSlicerAnnotationModuleWidget::grabSnapShot ( )
slot

a public slot allowing other modules to open up the screen capture dialog

◆ invisibleHierarchyButtonClicked

void qSlicerAnnotationModuleWidget::invisibleHierarchyButtonClicked ( )
protectedslot

Make active hierarchy annotations visible/invisible.

◆ lockHierarchyButtonClicked

void qSlicerAnnotationModuleWidget::lockHierarchyButtonClicked ( )
protectedslot

Un/Lock annotations in active hierarchy.

◆ lockSelectedButtonClicked

void qSlicerAnnotationModuleWidget::lockSelectedButtonClicked ( )
protectedslot

Un-/Lock selected Annotations.

◆ moveDownSelected

void qSlicerAnnotationModuleWidget::moveDownSelected ( )
protectedslot

◆ moveUpSelected

void qSlicerAnnotationModuleWidget::moveUpSelected ( )
protectedslot

◆ onAddHierarchyButtonClicked

void qSlicerAnnotationModuleWidget::onAddHierarchyButtonClicked ( )
protectedslot

Add a new hierarchy.

◆ onHierarchyNodeAddedEvent

void qSlicerAnnotationModuleWidget::onHierarchyNodeAddedEvent ( vtkObject *  caller,
vtkObject *  obj 
)
slot

a public slot that will expand a newly added hierarchy node item

◆ onJumpSlicesButtonClicked

void qSlicerAnnotationModuleWidget::onJumpSlicesButtonClicked ( )
protectedslot

Jump the 2d Slices to the first control point of the selected annotation.

◆ onReportButtonClicked

void qSlicerAnnotationModuleWidget::onReportButtonClicked ( )
protectedslot

◆ propertyAccepted

void qSlicerAnnotationModuleWidget::propertyAccepted ( )
protectedslot

◆ propertyEditButtonClicked

void qSlicerAnnotationModuleWidget::propertyEditButtonClicked ( QString  mrmlId)
protectedslot

User clicked on property edit button.

◆ propertyRestored

void qSlicerAnnotationModuleWidget::propertyRestored ( )
protectedslot

◆ refreshTree

void qSlicerAnnotationModuleWidget::refreshTree ( )
slot

a public slot that will refresh the tree view

◆ reportDialogAccepted

void qSlicerAnnotationModuleWidget::reportDialogAccepted ( )
protectedslot

◆ reportDialogRejected

void qSlicerAnnotationModuleWidget::reportDialogRejected ( )
protectedslot

◆ selectAllButtonClicked

void qSlicerAnnotationModuleWidget::selectAllButtonClicked ( )
protectedslot

Select all annotations.

◆ setEditedNode()

virtual bool qSlicerAnnotationModuleWidget::setEditedNode ( vtkMRMLNode node,
QString  role = QString(),
QString  context = QString() 
)
virtual

Node editing.

Reimplemented from qSlicerAbstractModuleWidget.

◆ unlockHierarchyButtonClicked

void qSlicerAnnotationModuleWidget::unlockHierarchyButtonClicked ( )
protectedslot

◆ unselectAllButtonClicked

void qSlicerAnnotationModuleWidget::unselectAllButtonClicked ( )
protectedslot

Unselect all annotations.

◆ updateActiveHierarchyLabel

void qSlicerAnnotationModuleWidget::updateActiveHierarchyLabel ( )
slot

Update the label showing the active annotation hierarchy, triggered from the logic modifying the active hierarchy node

◆ updateWidgetFromInteractionMode()

void qSlicerAnnotationModuleWidget::updateWidgetFromInteractionMode ( vtkMRMLInteractionNode interactionNode)

the logic observes the interaction node, update the gui to keep in step with the mouse modes tool bar. If interactionNode is null, try to get it from the scene.

◆ visibleHierarchyButtonClicked

void qSlicerAnnotationModuleWidget::visibleHierarchyButtonClicked ( )
protectedslot

◆ visibleSelectedButtonClicked

void qSlicerAnnotationModuleWidget::visibleSelectedButtonClicked ( )
protectedslot

Toggle the visibility of selected Annotations.

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerAnnotationModuleWidgetPrivate> qSlicerAnnotationModuleWidget::d_ptr
protected

Definition at line 116 of file qSlicerAnnotationModuleWidget.h.


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