Slicer
5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Annotations/GUI/qSlicerAnnotationModuleSnapShotDialog.h>
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 qMRMLLayoutManager * | layoutManager () 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 |
Definition at line 9 of file qSlicerAnnotationModuleSnapShotDialog.h.
Definition at line 13 of file qSlicerAnnotationModuleSnapShotDialog.h.
qSlicerAnnotationModuleSnapShotDialog::qSlicerAnnotationModuleSnapShotDialog | ( | QWidget * | parent = nullptr | ) |
|
override |
|
override |
void qSlicerAnnotationModuleSnapShotDialog::loadNode | ( | const char * | nodeId | ) |
Initialize this dialog with values from an existing annotation Snapshot node.
void qSlicerAnnotationModuleSnapShotDialog::reset | ( | ) |
Reset the dialog and give it a unique name.
void qSlicerAnnotationModuleSnapShotDialog::setLogic | ( | vtkSlicerAnnotationModuleLogic * | logic | ) |
Set the Annotation module logic.