21 #ifndef __qMRMLScreenShotDialog_h 22 #define __qMRMLScreenShotDialog_h 30 #include "qMRMLWidgetsExport.h" 35 class qMRMLScreenShotDialogPrivate;
41 Q_PROPERTY(
WidgetType widgetType READ widgetType WRITE setWidgetType)
59 void setNameEdit(
const QString& newName);
60 QString nameEdit()
const;
62 void setDescription(
const QString& description);
63 QString description()
const;
67 void setData(
const QVariant& newData);
73 void setScaleFactor(
const double& newScaleFactor);
74 double scaleFactor()
const;
76 void setShowScaleFactorSpinBox(
const bool& state);
77 bool showScaleFactorSpinBox()
const;
80 void setImageData(vtkImageData* screenshot);
81 vtkImageData* imageData()
const;
89 void grabScreenShot(
int screenshotWindow);
93 void grabScreenShot();
94 void setLastWidgetType(
int id);
97 QString enumToString(
int type);
100 QScopedPointer<qMRMLScreenShotDialogPrivate>
d_ptr;
QScopedPointer< qMRMLScreenShotDialogPrivate > d_ptr