Handles adding multiple plots to the GUI. More...
#include <PlotMSDataSummaryTab.qo.h>
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 ¶ms, 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 |
Handles adding multiple plots to the GUI.
Definition at line 42 of file PlotMSDataSummaryTab.qo.h.
casa::PlotMSDataSummaryTab::PlotMSDataSummaryTab | ( | PlotMSPlotter * | parent | ) |
Constructor which takes the parent tab and plotter.
casa::PlotMSDataSummaryTab::~PlotMSDataSummaryTab | ( | ) |
Destructor.
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] |
Implements PlotMSPlotManagerWatcher::plotsChanged().
Implements casa::PlotMSPlotManagerWatcher.
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.
QSpacerItem* casa::PlotMSDataSummaryTab::bottomSpacer [private] |
Definition at line 107 of file PlotMSDataSummaryTab.qo.h.
int casa::PlotMSDataSummaryTab::colLimit [private] |
Definition at line 109 of file PlotMSDataSummaryTab.qo.h.
QList<PlotMSDataCollapsible*> casa::PlotMSDataSummaryTab::dataList [private] |
Definition at line 105 of file PlotMSDataSummaryTab.qo.h.
bool casa::PlotMSDataSummaryTab::its_force_reload [private] |
Flag set if user uses shift+plot or otherwise requests reload&replot.
Definition at line 112 of file PlotMSDataSummaryTab.qo.h.
bool casa::PlotMSDataSummaryTab::makingPlot [private] |
Definition at line 113 of file PlotMSDataSummaryTab.qo.h.
int casa::PlotMSDataSummaryTab::rowLimit [private] |
Definition at line 108 of file PlotMSDataSummaryTab.qo.h.
QWidget* casa::PlotMSDataSummaryTab::scrollWidget [private] |
Definition at line 106 of file PlotMSDataSummaryTab.qo.h.
Ui::PlotMSDataSummaryTabClass casa::PlotMSDataSummaryTab::ui [private] |
Definition at line 114 of file PlotMSDataSummaryTab.qo.h.