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

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

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

Public Types

typedef QDialog Superclass
 
enum  WidgetType {
  ThreeD = 0, Red = 1, Yellow = 2, Green = 3,
  FullLayout = 4
}
 

Properties

WidgetType widgetType
 

Public Member Functions

QVariant data () const
 
QString description () const
 
void grabScreenShot (int screenshotWindow)
 
vtkImageData * imageData () const
 
qMRMLLayoutManagerlayoutManager () const
 
QString nameEdit () const
 
 qMRMLScreenShotDialog (QWidget *parent=0)
 
void resetDialog ()
 Reset the dialog. More...
 
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...
 
void setLayoutManager (qMRMLLayoutManager *newlayoutManager)
 
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 ()
 

Protected Slots

void grabScreenShot ()
 
void setLastWidgetType (int id)
 

Protected Attributes

QScopedPointer< qMRMLScreenShotDialogPrivate > d_ptr
 

Detailed Description

Definition at line 37 of file qMRMLScreenShotDialog.h.

Member Typedef Documentation

◆ Superclass

Definition at line 43 of file qMRMLScreenShotDialog.h.

Member Enumeration Documentation

◆ WidgetType

Enumerator
ThreeD 
Red 
Yellow 
Green 
FullLayout 

Definition at line 45 of file qMRMLScreenShotDialog.h.

Property Documentation

◆ widgetType

WidgetType qMRMLScreenShotDialog::widgetType
readwrite

Definition at line 41 of file qMRMLScreenShotDialog.h.

Constructor & Destructor Documentation

◆ qMRMLScreenShotDialog()

qMRMLScreenShotDialog::qMRMLScreenShotDialog ( QWidget *  parent = 0)

◆ ~qMRMLScreenShotDialog()

qMRMLScreenShotDialog::~qMRMLScreenShotDialog ( )

Member Function Documentation

◆ data()

QVariant qMRMLScreenShotDialog::data ( ) const

◆ description()

QString qMRMLScreenShotDialog::description ( ) const

◆ grabScreenShot() [1/2]

void qMRMLScreenShotDialog::grabScreenShot ( int  screenshotWindow)

Grab a screenshot of the 3DView or any sliceView. The screenshotWindow is Red, Green, Yellow for a sliceView or empty for a ThreeDView

◆ grabScreenShot [2/2]

void qMRMLScreenShotDialog::grabScreenShot ( )
protectedslot

◆ imageData()

vtkImageData* qMRMLScreenShotDialog::imageData ( ) const

◆ layoutManager()

qMRMLLayoutManager* qMRMLScreenShotDialog::layoutManager ( ) const

◆ nameEdit()

QString qMRMLScreenShotDialog::nameEdit ( ) const

◆ resetDialog()

void qMRMLScreenShotDialog::resetDialog ( )

Reset the dialog.

◆ scaleFactor()

double qMRMLScreenShotDialog::scaleFactor ( ) const

◆ setData()

void qMRMLScreenShotDialog::setData ( const QVariant &  newData)

Setting the data prevent the dialog from automatically taking a screenshot each time the widgettype or scalefactor is changed.

◆ setDescription()

void qMRMLScreenShotDialog::setDescription ( const QString &  description)

◆ setImageData()

void qMRMLScreenShotDialog::setImageData ( vtkImageData *  screenshot)

set/return the image data of the screenshot

◆ setLastWidgetType

void qMRMLScreenShotDialog::setLastWidgetType ( int  id)
protectedslot

◆ setLayoutManager()

void qMRMLScreenShotDialog::setLayoutManager ( qMRMLLayoutManager newlayoutManager)

◆ setNameEdit()

void qMRMLScreenShotDialog::setNameEdit ( const QString &  newName)

◆ setScaleFactor()

void qMRMLScreenShotDialog::setScaleFactor ( const double &  newScaleFactor)

◆ setShowScaleFactorSpinBox()

void qMRMLScreenShotDialog::setShowScaleFactorSpinBox ( const bool &  state)

◆ setWidgetType()

void qMRMLScreenShotDialog::setWidgetType ( WidgetType  newType)

◆ showScaleFactorSpinBox()

bool qMRMLScreenShotDialog::showScaleFactorSpinBox ( ) const

◆ widgetType()

WidgetType qMRMLScreenShotDialog::widgetType ( ) const

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLScreenShotDialogPrivate> qMRMLScreenShotDialog::d_ptr
protected

Definition at line 100 of file qMRMLScreenShotDialog.h.


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