Represents a single plot's properties that can be shown maximized or minimized; handles whether a plot will be shown on the display. More...
#include <PlotMSDataCollapsible.qo.h>
Signals | |
void | close (PlotMSDataCollapsible *) |
Public Member Functions | |
PlotMSDataCollapsible (PlotMSPlotter *plotter, QWidget *parent, int plotIndex=-1) | |
~PlotMSDataCollapsible () | |
PlotMSDataTab * | getSingleData () |
Return the plot tab. | |
void | setGridSize (int rowCount, int colCount) |
Set the numbers of rows and cols that the page can currently support. | |
void | getLocation (Int &rowIndex, Int &colIndex) |
Return the row and column location for this plot. | |
void | parametersHaveChanged (const PlotMSWatchedParameters ¶ms, int updateFlag) |
Plot parameters have changed. | |
virtual QSize | minimumSizeHint () const |
Return the minimum size for the plot properties. | |
virtual QSize | sizeHint () const |
Return the size. | |
void | resetHeight (int diff) |
Reset the height based on the positive or negative amount of new space that is available. | |
void | plotsChanged (const PlotMSPlotManager &manager, int index) |
The plots being displayed have changed. | |
PlotMSPlot * | getPlot () |
Returns the plot. | |
bool | plot (bool forceReload) |
Force (or not) the plots to update their displays. | |
bool | managesPlot (PlotMSPlot *plot) const |
Returns whether or not the plot is displayed by this Collapsible. | |
vector< PMS::Axis > | getSelectedLoadAxes () const |
vector< PMS::Axis > | getSelectedReleaseAxes () const |
bool | isPlottable () const |
Returns whether this plot will be plotted, i.e., its gridRow and gridCol are nonnegative AND there is an empty location for the plot, either at its preferred gridRow and gridCol or at an empty location somewhere else. | |
void | minimizeDisplay () |
Change to a compact display. | |
bool | isMinimized () const |
Returns whether or not the display is compact (minimized) or expanded. | |
void | completePlotting (bool success) |
This was put in to support overplotting. | |
void | clearData () |
String | getFile () const |
Return the ms that was loaded or an empty string. | |
Private Slots | |
void | closePlot () |
void | openCloseDisplay () |
void | showContextMenu (const QPoint &location) |
Private Member Functions | |
void | maximizeDisplay () |
Private Attributes | |
QAction | minimizeAction |
QAction | maximizeAction |
QAction | closeAction |
const int | SIZE_COLLAPSED |
const int | SIZE_EXPANDED |
const int | SIZE_WIDTH |
int | minimumSize |
QLineEdit * | nameLabel |
PlotMSPlotTab * | plotTab |
Ui::PlotMSDataCollapsibleClass | ui |
Represents a single plot's properties that can be shown maximized or minimized; handles whether a plot will be shown on the display.
Definition at line 48 of file PlotMSDataCollapsible.qo.h.
casa::PlotMSDataCollapsible::PlotMSDataCollapsible | ( | PlotMSPlotter * | plotter, | |
QWidget * | parent, | |||
int | plotIndex = -1 | |||
) |
casa::PlotMSDataCollapsible::~PlotMSDataCollapsible | ( | ) |
void casa::PlotMSDataCollapsible::clearData | ( | ) |
void casa::PlotMSDataCollapsible::close | ( | PlotMSDataCollapsible * | ) | [signal] |
void casa::PlotMSDataCollapsible::closePlot | ( | ) | [private, slot] |
void casa::PlotMSDataCollapsible::completePlotting | ( | bool | success | ) |
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.
String casa::PlotMSDataCollapsible::getFile | ( | ) | const |
Return the ms that was loaded or an empty string.
void casa::PlotMSDataCollapsible::getLocation | ( | Int & | rowIndex, | |
Int & | colIndex | |||
) |
Return the row and column location for this plot.
PlotMSPlot* casa::PlotMSDataCollapsible::getPlot | ( | ) |
Returns the plot.
vector<PMS::Axis> casa::PlotMSDataCollapsible::getSelectedLoadAxes | ( | ) | const |
vector<PMS::Axis> casa::PlotMSDataCollapsible::getSelectedReleaseAxes | ( | ) | const |
PlotMSDataTab* casa::PlotMSDataCollapsible::getSingleData | ( | ) |
Return the plot tab.
bool casa::PlotMSDataCollapsible::isMinimized | ( | ) | const |
Returns whether or not the display is compact (minimized) or expanded.
bool casa::PlotMSDataCollapsible::isPlottable | ( | ) | const |
Returns whether this plot will be plotted, i.e., its gridRow and gridCol are nonnegative AND there is an empty location for the plot, either at its preferred gridRow and gridCol or at an empty location somewhere else.
bool casa::PlotMSDataCollapsible::managesPlot | ( | PlotMSPlot * | plot | ) | const |
Returns whether or not the plot is displayed by this Collapsible.
void casa::PlotMSDataCollapsible::maximizeDisplay | ( | ) | [private] |
void casa::PlotMSDataCollapsible::minimizeDisplay | ( | ) |
Change to a compact display.
virtual QSize casa::PlotMSDataCollapsible::minimumSizeHint | ( | ) | const [virtual] |
Return the minimum size for the plot properties.
void casa::PlotMSDataCollapsible::openCloseDisplay | ( | ) | [private, slot] |
void casa::PlotMSDataCollapsible::parametersHaveChanged | ( | const PlotMSWatchedParameters & | params, | |
int | updateFlag | |||
) |
Plot parameters have changed.
bool casa::PlotMSDataCollapsible::plot | ( | bool | forceReload | ) |
Force (or not) the plots to update their displays.
void casa::PlotMSDataCollapsible::plotsChanged | ( | const PlotMSPlotManager & | manager, | |
int | index | |||
) |
The plots being displayed have changed.
void casa::PlotMSDataCollapsible::resetHeight | ( | int | diff | ) |
Reset the height based on the positive or negative amount of new space that is available.
void casa::PlotMSDataCollapsible::setGridSize | ( | int | rowCount, | |
int | colCount | |||
) |
Set the numbers of rows and cols that the page can currently support.
void casa::PlotMSDataCollapsible::showContextMenu | ( | const QPoint & | location | ) | [private, slot] |
virtual QSize casa::PlotMSDataCollapsible::sizeHint | ( | ) | const [virtual] |
Return the size.
QAction casa::PlotMSDataCollapsible::closeAction [private] |
Definition at line 129 of file PlotMSDataCollapsible.qo.h.
QAction casa::PlotMSDataCollapsible::maximizeAction [private] |
Definition at line 128 of file PlotMSDataCollapsible.qo.h.
QAction casa::PlotMSDataCollapsible::minimizeAction [private] |
Definition at line 127 of file PlotMSDataCollapsible.qo.h.
int casa::PlotMSDataCollapsible::minimumSize [private] |
Definition at line 133 of file PlotMSDataCollapsible.qo.h.
QLineEdit* casa::PlotMSDataCollapsible::nameLabel [private] |
Definition at line 135 of file PlotMSDataCollapsible.qo.h.
Definition at line 136 of file PlotMSDataCollapsible.qo.h.
const int casa::PlotMSDataCollapsible::SIZE_COLLAPSED [private] |
Definition at line 130 of file PlotMSDataCollapsible.qo.h.
const int casa::PlotMSDataCollapsible::SIZE_EXPANDED [private] |
Definition at line 131 of file PlotMSDataCollapsible.qo.h.
const int casa::PlotMSDataCollapsible::SIZE_WIDTH [private] |
Definition at line 132 of file PlotMSDataCollapsible.qo.h.
Ui::PlotMSDataCollapsibleClass casa::PlotMSDataCollapsible::ui [private] |
Definition at line 137 of file PlotMSDataCollapsible.qo.h.