Slicer  5.1
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
qSlicerAnnotationModuleSnapShotDialog Class Reference

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

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

Public Types

typedef qMRMLScreenShotDialog Superclass
 
- Public Types inherited from qMRMLScreenShotDialog
typedef QDialog Superclass
 
enum  WidgetType {
  ThreeD = 0, Red = 1, Yellow = 2, Green = 3,
  FullLayout = 4
}
 

Public Member Functions

void accept () override
 
void loadNode (const char *nodeId)
 Initialize this dialog with values from an existing annotation Snapshot node. More...
 
 qSlicerAnnotationModuleSnapShotDialog (QWidget *parent=nullptr)
 
void reset ()
 Reset the dialog and give it a unique name. More...
 
void setLogic (vtkSlicerAnnotationModuleLogic *logic)
 Set the Annotation module logic. More...
 
 ~qSlicerAnnotationModuleSnapShotDialog () override
 
- Public Member Functions inherited from qMRMLScreenShotDialog
QVariant data () const
 
QString description () const
 
vtkImageData * imageData () const
 
Q_INVOKABLE qMRMLLayoutManagerlayoutManager () const
 
QString nameEdit () const
 
 qMRMLScreenShotDialog (QWidget *parent=nullptr)
 
double scaleFactor () const
 
void setData (const QVariant &newData)
 
void setDescription (const QString &description)
 
void setImageData (vtkImageData *screenshot)
 set/return the image data of the screenshot More...
 
Q_INVOKABLE void setLayoutManager (qMRMLLayoutManager *newlayoutManager)
 Set/Get layout manager. More...
 
void setNameEdit (const QString &newName)
 
void setScaleFactor (const double &newScaleFactor)
 
void setShowScaleFactorSpinBox (const bool &state)
 
void setWidgetType (WidgetType newType)
 
bool showScaleFactorSpinBox () const
 
WidgetType widgetType () const
 
 ~qMRMLScreenShotDialog () override
 

Additional Inherited Members

- Properties inherited from qMRMLScreenShotDialog
QString nameEdit
 
double scaleFactor
 
bool showScaleFactorSpinBox
 
WidgetType widgetType
 
- Protected Slots inherited from qMRMLScreenShotDialog
void grabScreenShot (int screenshotWindow)
 
void grabScreenShot ()
 
void resetDialog ()
 Reset the dialog. More...
 
void saveAs ()
 Present save as dialog to directly save image. More...
 
void setLastWidgetType (int id)
 
- Protected Attributes inherited from qMRMLScreenShotDialog
QScopedPointer< qMRMLScreenShotDialogPrivate > d_ptr
 

Detailed Description

Definition at line 9 of file qSlicerAnnotationModuleSnapShotDialog.h.

Member Typedef Documentation

◆ Superclass

Definition at line 13 of file qSlicerAnnotationModuleSnapShotDialog.h.

Constructor & Destructor Documentation

◆ qSlicerAnnotationModuleSnapShotDialog()

qSlicerAnnotationModuleSnapShotDialog::qSlicerAnnotationModuleSnapShotDialog ( QWidget *  parent = nullptr)

◆ ~qSlicerAnnotationModuleSnapShotDialog()

qSlicerAnnotationModuleSnapShotDialog::~qSlicerAnnotationModuleSnapShotDialog ( )
override

Member Function Documentation

◆ accept()

void qSlicerAnnotationModuleSnapShotDialog::accept ( )
override

◆ loadNode()

void qSlicerAnnotationModuleSnapShotDialog::loadNode ( const char *  nodeId)

Initialize this dialog with values from an existing annotation Snapshot node.

◆ reset()

void qSlicerAnnotationModuleSnapShotDialog::reset ( )

Reset the dialog and give it a unique name.

◆ setLogic()

void qSlicerAnnotationModuleSnapShotDialog::setLogic ( vtkSlicerAnnotationModuleLogic logic)

Set the Annotation module logic.


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