Vespucci  1.0.0
MapViewer Class Reference

The MapViewer class Displays the image created by MapData. More...

#include <mapviewer.h>

Inheritance diagram for MapViewer:

Public Slots

void SpectrumRequested (size_t index)
 MapViewer::SpectrumRequested. More...
 
void SetStatusbar (double x, double y, double z)
 

Signals

void RequestSpectrumPlot (QString dataset_key, QString map_name, size_t index)
 
void RequestHeldSpectrumPlot (QString dataset_key, QString map_name, size_t index)
 

Public Member Functions

 MapViewer (MainWindow *parent, QStringList map_keys, QSharedPointer< VespucciWorkspace > ws)
 MapViewer::MapViewer. More...
 
QCPColorGradient GetGradient (int gradient_number)
 
MapPlotmapPlot ()
 
 ~MapViewer ()
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event)
 
void showEvent (QShowEvent *event)
 

Detailed Description

The MapViewer class Displays the image created by MapData.

Definition at line 45 of file mapviewer.h.

Constructor & Destructor Documentation

MapViewer::MapViewer ( MainWindow parent,
QStringList  map_keys,
QSharedPointer< VespucciWorkspace ws 
)

MapViewer::MapViewer.

Parameters
nameName of this map
directoryWorking directory for this window
parentMapData associated with this image Constructor for this object

Definition at line 31 of file mapviewer.cpp.

MapViewer::~MapViewer ( )

Definition at line 60 of file mapviewer.cpp.

Member Function Documentation

QCPColorGradient MapViewer::GetGradient ( int  gradient_number)
void MapViewer::keyPressEvent ( QKeyEvent *  event)
protected

Definition at line 229 of file mapviewer.cpp.

MapPlot * MapViewer::mapPlot ( )

Definition at line 55 of file mapviewer.cpp.

void MapViewer::RequestHeldSpectrumPlot ( QString  dataset_key,
QString  map_name,
size_t  index 
)
signal
void MapViewer::RequestSpectrumPlot ( QString  dataset_key,
QString  map_name,
size_t  index 
)
signal
void MapViewer::SetStatusbar ( double  x,
double  y,
double  z 
)
slot

Definition at line 77 of file mapviewer.cpp.

void MapViewer::showEvent ( QShowEvent *  event)
protected

Definition at line 267 of file mapviewer.cpp.

void MapViewer::SpectrumRequested ( size_t  index)
slot

MapViewer::SpectrumRequested.

Parameters
indexPasses signal on to main window the widget doesn't know everything main window needs to know

Definition at line 70 of file mapviewer.cpp.


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