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

Provides a preferences page for the NifTK DnD Display, including default number of rows, default number of columns, image interpolation, default window layout and background colour. More...

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

Public Slots

void OnBackgroundColourChanged ()
 
void OnResetBackgroundColour ()
 
void OnResetMIDASBackgroundColour ()
 

Public Member Functions

 DnDDisplayPreferencePage ()
 
 DnDDisplayPreferencePage (const DnDDisplayPreferencePage &other)
 
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 DNDDISPLAY_DEFAULT_INTERPOLATION_TYPE
 Stores the preference name for the default image interpolation in the DnD Display. More...
 
static const QString DNDDISPLAY_BACKGROUND_COLOUR
 Stores the preference name for the default background colour in the DnD Display. More...
 
static const QString DNDDISPLAY_BACKGROUND_COLOUR_STYLESHEET
 Stores the preference name for the default background colour stylesheet in the NifTK DnD Display. More...
 
static const QString DNDDISPLAY_SLICE_SELECT_TRACKING
 Stores the preference name for slice select tracking. More...
 
static const QString DNDDISPLAY_TIME_SELECT_TRACKING
 Stores the preference name for time select tracking. More...
 
static const QString DNDDISPLAY_MAGNIFICATION_SELECT_TRACKING
 Stores the preference name for magnification select tracking. More...
 
static const QString DNDDISPLAY_SHOW_2D_CURSORS
 Stores the preference name for whether we show the 2D cursors as people may prefer them to always be off. More...
 
static const QString DNDDISPLAY_SHOW_DIRECTION_ANNOTATIONS
 Stores the preference name for whether we show the direction annotations. More...
 
static const QString DNDDISPLAY_SHOW_INTENSITY_ANNOTATION
 Stores the preference name for whether we show the intensity annotation. More...
 
static const QString DNDDISPLAY_SHOW_3D_WINDOW_IN_MULTI_WINDOW_LAYOUT
 Stores the preference name for whether we show the 3D window in multiple window layout, as screen can get a bit cluttered. More...
 
static const QString DNDDISPLAY_DEFAULT_WINDOW_LAYOUT
 Stores the preference name for the default window layout in the NifTK DnD Display. More...
 
static const QString DNDDISPLAY_REMEMBER_VIEWER_SETTINGS_PER_WINDOW_LAYOUT
 Stores the preference name for whether to revert to last remembered slice, timestep and magnification when switching window layout. More...
 
static const QString DNDDISPLAY_DEFAULT_VIEWER_ROW_NUMBER
 Stores the preference name for the default number of rows in the DnD Display. More...
 
static const QString DNDDISPLAY_DEFAULT_VIEWER_COLUMN_NUMBER
 Stores the preference name for the default number of columns in the DnD Display. More...
 
static const QString DNDDISPLAY_DEFAULT_DROP_TYPE
 Stores the preference name for the default drop type (single, multiple, all). More...
 
static const QString DNDDISPLAY_SHOW_MAGNIFICATION_SLIDER
 Stores the preference name for whether we show the magnification slider, as most people wont need it. More...
 
static const QString DNDDISPLAY_SHOW_SHOWING_OPTIONS
 Stores the preference name for whether we show the the options to show/hide cursor, direction annotations and 3D window in multi window layout. More...
 
static const QString DNDDISPLAY_SHOW_WINDOW_LAYOUT_CONTROLS
 Stores the preference name for whether we show the window layout controls. More...
 
static const QString DNDDISPLAY_SHOW_VIEWER_NUMBER_CONTROLS
 Stores the preference name for whether we show the viewer number controls. More...
 
static const QString DNDDISPLAY_SHOW_DROP_TYPE_CONTROLS
 Stores the preference name for a simple on/off preference for whether we show the single, multiple, all checkbox. More...
 

Detailed Description

Provides a preferences page for the NifTK DnD Display, including default number of rows, default number of columns, image interpolation, default window layout and background colour.

Constructor & Destructor Documentation

niftk::DnDDisplayPreferencePage::DnDDisplayPreferencePage ( )
niftk::DnDDisplayPreferencePage::DnDDisplayPreferencePage ( const DnDDisplayPreferencePage other)

Member Function Documentation

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

Nothing to do.

void niftk::DnDDisplayPreferencePage::OnBackgroundColourChanged ( )
slot
void niftk::DnDDisplayPreferencePage::OnResetBackgroundColour ( )
slot
void niftk::DnDDisplayPreferencePage::OnResetMIDASBackgroundColour ( )
slot
void niftk::DnDDisplayPreferencePage::PerformCancel ( )
virtual
See also
IPreferencePage::PerformCancel()
bool niftk::DnDDisplayPreferencePage::PerformOk ( )
virtual
See also
IPreferencePage::PerformOk()
void niftk::DnDDisplayPreferencePage::Update ( void  )
virtual
See also
IPreferencePage::Update()

Member Data Documentation

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_BACKGROUND_COLOUR
static

Stores the preference name for the default background colour in the DnD Display.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_BACKGROUND_COLOUR_STYLESHEET
static

Stores the preference name for the default background colour stylesheet in the NifTK DnD Display.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_DEFAULT_DROP_TYPE
static

Stores the preference name for the default drop type (single, multiple, all).

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_DEFAULT_INTERPOLATION_TYPE
static

Stores the preference name for the default image interpolation in the DnD Display.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_DEFAULT_VIEWER_COLUMN_NUMBER
static

Stores the preference name for the default number of columns in the DnD Display.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_DEFAULT_VIEWER_ROW_NUMBER
static

Stores the preference name for the default number of rows in the DnD Display.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_DEFAULT_WINDOW_LAYOUT
static

Stores the preference name for the default window layout in the NifTK DnD Display.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_MAGNIFICATION_SELECT_TRACKING
static

Stores the preference name for magnification select tracking.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_REMEMBER_VIEWER_SETTINGS_PER_WINDOW_LAYOUT
static

Stores the preference name for whether to revert to last remembered slice, timestep and magnification when switching window layout.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_SHOW_2D_CURSORS
static

Stores the preference name for whether we show the 2D cursors as people may prefer them to always be off.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_SHOW_3D_WINDOW_IN_MULTI_WINDOW_LAYOUT
static

Stores the preference name for whether we show the 3D window in multiple window layout, as screen can get a bit cluttered.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_SHOW_DIRECTION_ANNOTATIONS
static

Stores the preference name for whether we show the direction annotations.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_SHOW_DROP_TYPE_CONTROLS
static

Stores the preference name for a simple on/off preference for whether we show the single, multiple, all checkbox.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_SHOW_INTENSITY_ANNOTATION
static

Stores the preference name for whether we show the intensity annotation.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_SHOW_MAGNIFICATION_SLIDER
static

Stores the preference name for whether we show the magnification slider, as most people wont need it.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_SHOW_SHOWING_OPTIONS
static

Stores the preference name for whether we show the the options to show/hide cursor, direction annotations and 3D window in multi window layout.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_SHOW_VIEWER_NUMBER_CONTROLS
static

Stores the preference name for whether we show the viewer number controls.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_SHOW_WINDOW_LAYOUT_CONTROLS
static

Stores the preference name for whether we show the window layout controls.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_SLICE_SELECT_TRACKING
static

Stores the preference name for slice select tracking.

const QString niftk::DnDDisplayPreferencePage::DNDDISPLAY_TIME_SELECT_TRACKING
static

Stores the preference name for time select tracking.


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