NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
niftk::ThumbnailViewPreferencePage Class Reference

Preferences page for the ThumbnailView plugin, enabling the user to set line thickness, opacity, layer, and whether to respond to mouse events. More...

Inheritance diagram for niftk::ThumbnailViewPreferencePage:
Inheritance graph
[legend]
Collaboration diagram for niftk::ThumbnailViewPreferencePage:
Collaboration graph
[legend]

Public Member Functions

 ThumbnailViewPreferencePage ()
 
 ThumbnailViewPreferencePage (const ThumbnailViewPreferencePage &other)
 
 ~ThumbnailViewPreferencePage ()
 
void CreateQtControl (QWidget *widget)
 
QWidget * GetQtControl () const
 
void Init (berry::IWorkbench::Pointer workbench)
 Nothing to do. More...
 
virtual bool PerformOk ()
 
virtual void PerformCancel ()
 
virtual void Update ()
 

Static Public Attributes

static const QString THUMBNAIL_BOX_THICKNESS
 Stores the name of the preferences node that stores the box line thickness. More...
 
static const QString THUMBNAIL_BOX_OPACITY
 Stores the name of the preferences node that stores the box opacity. More...
 
static const QString THUMBNAIL_BOX_LAYER
 Stores the name of the preferences node that stores the box layer. More...
 
static const QString THUMBNAIL_TRACK_ONLY_MAIN_WINDOWS
 Stores the name of the preferences node that tells if only main windows should be tracked. More...
 

Protected Attributes

QWidget * m_MainControl
 
QSpinBox * m_BoxThickness
 
QDoubleSpinBox * m_BoxOpacity
 
QSpinBox * m_BoxLayer
 
QCheckBox * m_TrackOnlyMainWindows
 
bool m_Initializing
 
berry::IPreferences::Pointer m_ThumbnailPreferencesNode
 

Detailed Description

Preferences page for the ThumbnailView plugin, enabling the user to set line thickness, opacity, layer, and whether to respond to mouse events.

Constructor & Destructor Documentation

niftk::ThumbnailViewPreferencePage::ThumbnailViewPreferencePage ( )
niftk::ThumbnailViewPreferencePage::ThumbnailViewPreferencePage ( const ThumbnailViewPreferencePage other)
niftk::ThumbnailViewPreferencePage::~ThumbnailViewPreferencePage ( )

Member Function Documentation

void niftk::ThumbnailViewPreferencePage::CreateQtControl ( QWidget *  widget)
QWidget * niftk::ThumbnailViewPreferencePage::GetQtControl ( ) const
void niftk::ThumbnailViewPreferencePage::Init ( berry::IWorkbench::Pointer  workbench)

Nothing to do.

void niftk::ThumbnailViewPreferencePage::PerformCancel ( )
virtual
See also
IPreferencePage::PerformCancel()
bool niftk::ThumbnailViewPreferencePage::PerformOk ( )
virtual
See also
IPreferencePage::PerformOk()
void niftk::ThumbnailViewPreferencePage::Update ( void  )
virtual
See also
IPreferencePage::Update()

Member Data Documentation

QSpinBox* niftk::ThumbnailViewPreferencePage::m_BoxLayer
protected
QDoubleSpinBox* niftk::ThumbnailViewPreferencePage::m_BoxOpacity
protected
QSpinBox* niftk::ThumbnailViewPreferencePage::m_BoxThickness
protected
bool niftk::ThumbnailViewPreferencePage::m_Initializing
protected
QWidget* niftk::ThumbnailViewPreferencePage::m_MainControl
protected
berry::IPreferences::Pointer niftk::ThumbnailViewPreferencePage::m_ThumbnailPreferencesNode
protected
QCheckBox* niftk::ThumbnailViewPreferencePage::m_TrackOnlyMainWindows
protected
const QString niftk::ThumbnailViewPreferencePage::THUMBNAIL_BOX_LAYER
static

Stores the name of the preferences node that stores the box layer.

const QString niftk::ThumbnailViewPreferencePage::THUMBNAIL_BOX_OPACITY
static

Stores the name of the preferences node that stores the box opacity.

const QString niftk::ThumbnailViewPreferencePage::THUMBNAIL_BOX_THICKNESS
static

Stores the name of the preferences node that stores the box line thickness.

const QString niftk::ThumbnailViewPreferencePage::THUMBNAIL_TRACK_ONLY_MAIN_WINDOWS
static

Stores the name of the preferences node that tells if only main windows should be tracked.


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