casa::PlotMSDataSummaryTab Class Reference

Handles adding multiple plots to the GUI. More...

#include <PlotMSDataSummaryTab.qo.h>

Inheritance diagram for casa::PlotMSDataSummaryTab:
casa::PlotMSTab casa::PlotMSPlotManagerWatcher casa::PlotMSParametersWatcher

List of all members.

Signals

void changed (int index)

Public Member Functions

 PlotMSDataSummaryTab (PlotMSPlotter *parent)
 Constructor which takes the parent tab and plotter.
 ~PlotMSDataSummaryTab ()
 Destructor.
QString tabName () const
 Implements PlotMSTab::tabName().
void parametersHaveChanged (const PlotMSWatchedParameters &params, int updateFlag)
 Implements PlotMSParametersWatcher::parametersHaveChanged().
void plotsChanged (const PlotMSPlotManager &manager)
 Implements PlotMSPlotManagerWatcher::plotsChanged().
void setGridSize (int rowCount, int colCount)
 Size of the grid (rows & cols).
vector< vector< PMS::Axis > > selectedLoadAxes () const
 Returns the axes that the user has selected to load/release into the cache.
vector< vector< PMS::Axis > > selectedReleaseAxes () const
bool plot ()
 Tell all of the supported plots to update their displays.
void insertData (int index)
 Add a plot.
vector< PlotMSPlot * > getCurrentPlots ()
 Return the currently supported plots.
void emptyLayout ()
vector< String > getFiles () const
 Get the files that the user loaded.
void completePlotting (bool success, PlotMSPlot *plot)

Protected Member Functions

void resizeEvent (QResizeEvent *event)

Private Slots

void singleDataChanged (PlotMSDataCollapsible *collapsible)
void addSinglePlot (int plotIndex=-1)
void observeModKeys ()
void close (PlotMSDataCollapsible *collapsible)

Private Member Functions

void completePlotting (bool success, int plotIndex)
 This was put in to support overplotting.
void fillLayout ()

Private Attributes

QList< PlotMSDataCollapsible * > dataList
QWidget * scrollWidget
QSpacerItem * bottomSpacer
int rowLimit
int colLimit
bool its_force_reload
 Flag set if user uses shift+plot or otherwise requests reload&replot.
bool makingPlot
Ui::PlotMSDataSummaryTabClass ui

Detailed Description

Handles adding multiple plots to the GUI.

Definition at line 42 of file PlotMSDataSummaryTab.qo.h.


Constructor & Destructor Documentation

casa::PlotMSDataSummaryTab::PlotMSDataSummaryTab ( PlotMSPlotter parent  ) 

Constructor which takes the parent tab and plotter.

casa::PlotMSDataSummaryTab::~PlotMSDataSummaryTab (  ) 

Destructor.


Member Function Documentation

void casa::PlotMSDataSummaryTab::addSinglePlot ( int  plotIndex = -1  )  [private, slot]
void casa::PlotMSDataSummaryTab::changed ( int  index  )  [signal]
void casa::PlotMSDataSummaryTab::close ( PlotMSDataCollapsible collapsible  )  [private, slot]
void casa::PlotMSDataSummaryTab::completePlotting ( bool  success,
int  plotIndex 
) [private]

This was put in to support overplotting.

When two plots are sharing the same canvas, we don't want to trigger a redraw until all the plots sharing the same canvas are done updating their data in background threads.

void casa::PlotMSDataSummaryTab::completePlotting ( bool  success,
PlotMSPlot plot 
)
void casa::PlotMSDataSummaryTab::emptyLayout (  ) 
void casa::PlotMSDataSummaryTab::fillLayout (  )  [private]
vector<PlotMSPlot*> casa::PlotMSDataSummaryTab::getCurrentPlots (  ) 

Return the currently supported plots.

vector<String> casa::PlotMSDataSummaryTab::getFiles (  )  const

Get the files that the user loaded.

void casa::PlotMSDataSummaryTab::insertData ( int  index  ) 

Add a plot.

void casa::PlotMSDataSummaryTab::observeModKeys (  )  [private, slot]
void casa::PlotMSDataSummaryTab::parametersHaveChanged ( const PlotMSWatchedParameters params,
int  updateFlag 
) [virtual]

Implements PlotMSParametersWatcher::parametersHaveChanged().

Updates the GUI as needed if the given parameters are the current PlotMSPlot's parameters.

Implements casa::PlotMSParametersWatcher.

bool casa::PlotMSDataSummaryTab::plot (  ) 

Tell all of the supported plots to update their displays.

void casa::PlotMSDataSummaryTab::plotsChanged ( const PlotMSPlotManager manager  )  [virtual]
void casa::PlotMSDataSummaryTab::resizeEvent ( QResizeEvent *  event  )  [protected]
vector<vector<PMS::Axis> > casa::PlotMSDataSummaryTab::selectedLoadAxes (  )  const

Returns the axes that the user has selected to load/release into the cache.

vector<vector<PMS::Axis> > casa::PlotMSDataSummaryTab::selectedReleaseAxes (  )  const
void casa::PlotMSDataSummaryTab::setGridSize ( int  rowCount,
int  colCount 
)

Size of the grid (rows & cols).

void casa::PlotMSDataSummaryTab::singleDataChanged ( PlotMSDataCollapsible collapsible  )  [private, slot]
QString casa::PlotMSDataSummaryTab::tabName (  )  const [inline, virtual]

Implements PlotMSTab::tabName().

Implements casa::PlotMSTab.

Definition at line 53 of file PlotMSDataSummaryTab.qo.h.


Member Data Documentation

Definition at line 107 of file PlotMSDataSummaryTab.qo.h.

Definition at line 109 of file PlotMSDataSummaryTab.qo.h.

Definition at line 105 of file PlotMSDataSummaryTab.qo.h.

Flag set if user uses shift+plot or otherwise requests reload&replot.

Definition at line 112 of file PlotMSDataSummaryTab.qo.h.

Definition at line 113 of file PlotMSDataSummaryTab.qo.h.

Definition at line 108 of file PlotMSDataSummaryTab.qo.h.

Definition at line 106 of file PlotMSDataSummaryTab.qo.h.

Ui::PlotMSDataSummaryTabClass casa::PlotMSDataSummaryTab::ui [private]

Definition at line 114 of file PlotMSDataSummaryTab.qo.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1