#include <PlotHolder.qo.h>
Public Types | |
typedef FeatherPlotWidget::DataType | DataType |
Data related. | |
Public Slots | |
void | setRectangleZoomMode () |
Left mouse modes. | |
void | setDiameterSelectorMode () |
Signals | |
void | dishDiameterChangedX (double newValue) |
void | dishDiameterChangedY (double newValue) |
Public Member Functions | |
PlotHolder (QWidget *parent=0) | |
void | setData (const Vector< Float > &x, const Vector< Float > &xAmp, const Vector< Float > &y, const Vector< Float > &yAmp, DataType dType) |
void | updateScatterData () |
void | addSumData () |
void | clearPlots () |
void | clearData () |
void | setLineThickness (int thickness) |
Preference changes. | |
void | setDotSize (int dotSize) |
void | setLegendVisibility (bool visible) |
void | setDisplayScatterPlot (bool visible) |
void | setDisplayOutputSlice (bool visible) |
void | setDisplayYGraphs (bool visible) |
void | setDisplayXGraphs (bool visible) |
void | setXAxisUV (bool xAxisUV) |
void | setColors (const QMap< PreferencesColor::CurveType, CurveDisplay > &colorMap) |
void | setScatterCurves (const QString &title, FeatherCurveType::CurveType xScatter, const QList< FeatherCurveType::CurveType > &yScatters) |
void | setLogScale (bool uvScale, bool logScale) |
void | refreshPlots () |
void | layoutPlotWidgets () |
void | dishDiameterXChanged (double value) |
Dish changes. | |
void | dishDiameterYChanged (double value) |
~PlotHolder () | |
Private Types | |
enum | Plots { SLICE_X, SLICE_Y, SLICE_DISTANCE, SCATTER_X, SCATTER_Y, SCATTER_DISTANCE } |
Private Slots | |
void | changePlotType () |
void | changeZoom90 () |
void | zoomNeutral () |
void | showContextMenu (const QPoint &pt) |
void | rectangleZoomed (double minX, double maxX, double minY, double maxY) |
Private Member Functions | |
void | initializePlots () |
void | initializeActions () |
void | emptyLayout (QLayout *layout) |
void | addPlotAxis (int rowIndex, int columnIndex, QGridLayout *layout, QwtPlot::Axis axis, int basePlotIndex) |
void | addPlots (QGridLayout *&layout, int rowIndex, int basePlotIndex) |
std::pair< int, int > | addRadialPlots (QGridLayout *&gridLayout) |
std::pair< int, int > | addUVPlots (QGridLayout *&gridLayout) |
void | adjustLayout (bool scatterPlot) |
Private Attributes | |
QList< FeatherPlotWidget * > | plots |
QAction | plotTypeAction |
QAction | zoom90Action |
QAction | zoomNeutralAction |
QMenu | contextMenu |
Ui::PlotHolderClass | ui |
QWidget * | legendHolder |
bool | legendVisible |
bool | displayOutputSlice |
bool | displayScatter |
bool | tempScatterPlot |
bool | displayYGraphs |
bool | displayXGraphs |
bool | xAxisUV |
The x-axis on the slice cuts and original graphs can either be u/v (two graphs) or radial (one graph). |
Definition at line 42 of file PlotHolder.qo.h.
Data related.
Definition at line 49 of file PlotHolder.qo.h.
enum casa::PlotHolder::Plots [private] |
Definition at line 95 of file PlotHolder.qo.h.
casa::PlotHolder::PlotHolder | ( | QWidget * | parent = 0 |
) |
casa::PlotHolder::~PlotHolder | ( | ) |
void casa::PlotHolder::addPlotAxis | ( | int | rowIndex, | |
int | columnIndex, | |||
QGridLayout * | layout, | |||
QwtPlot::Axis | axis, | |||
int | basePlotIndex | |||
) | [private] |
void casa::PlotHolder::addPlots | ( | QGridLayout *& | layout, | |
int | rowIndex, | |||
int | basePlotIndex | |||
) | [private] |
std::pair<int,int> casa::PlotHolder::addRadialPlots | ( | QGridLayout *& | gridLayout | ) | [private] |
void casa::PlotHolder::addSumData | ( | ) |
std::pair<int,int> casa::PlotHolder::addUVPlots | ( | QGridLayout *& | gridLayout | ) | [private] |
void casa::PlotHolder::adjustLayout | ( | bool | scatterPlot | ) | [private] |
void casa::PlotHolder::changePlotType | ( | ) | [private, slot] |
void casa::PlotHolder::changeZoom90 | ( | ) | [private, slot] |
void casa::PlotHolder::clearData | ( | ) |
void casa::PlotHolder::clearPlots | ( | ) |
void casa::PlotHolder::dishDiameterChangedX | ( | double | newValue | ) | [signal] |
void casa::PlotHolder::dishDiameterChangedY | ( | double | newValue | ) | [signal] |
void casa::PlotHolder::dishDiameterXChanged | ( | double | value | ) |
Dish changes.
void casa::PlotHolder::dishDiameterYChanged | ( | double | value | ) |
void casa::PlotHolder::emptyLayout | ( | QLayout * | layout | ) | [private] |
void casa::PlotHolder::initializeActions | ( | ) | [private] |
void casa::PlotHolder::initializePlots | ( | ) | [private] |
void casa::PlotHolder::layoutPlotWidgets | ( | ) |
void casa::PlotHolder::rectangleZoomed | ( | double | minX, | |
double | maxX, | |||
double | minY, | |||
double | maxY | |||
) | [private, slot] |
void casa::PlotHolder::refreshPlots | ( | ) |
void casa::PlotHolder::setColors | ( | const QMap< PreferencesColor::CurveType, CurveDisplay > & | colorMap | ) |
void casa::PlotHolder::setData | ( | const Vector< Float > & | x, | |
const Vector< Float > & | xAmp, | |||
const Vector< Float > & | y, | |||
const Vector< Float > & | yAmp, | |||
DataType | dType | |||
) |
void casa::PlotHolder::setDiameterSelectorMode | ( | ) | [slot] |
void casa::PlotHolder::setDisplayOutputSlice | ( | bool | visible | ) |
void casa::PlotHolder::setDisplayScatterPlot | ( | bool | visible | ) |
void casa::PlotHolder::setDisplayXGraphs | ( | bool | visible | ) |
void casa::PlotHolder::setDisplayYGraphs | ( | bool | visible | ) |
void casa::PlotHolder::setDotSize | ( | int | dotSize | ) |
void casa::PlotHolder::setLegendVisibility | ( | bool | visible | ) |
void casa::PlotHolder::setLineThickness | ( | int | thickness | ) |
Preference changes.
void casa::PlotHolder::setLogScale | ( | bool | uvScale, | |
bool | logScale | |||
) |
void casa::PlotHolder::setRectangleZoomMode | ( | ) | [slot] |
Left mouse modes.
void casa::PlotHolder::setScatterCurves | ( | const QString & | title, | |
FeatherCurveType::CurveType | xScatter, | |||
const QList< FeatherCurveType::CurveType > & | yScatters | |||
) |
void casa::PlotHolder::setXAxisUV | ( | bool | xAxisUV | ) |
void casa::PlotHolder::showContextMenu | ( | const QPoint & | pt | ) | [private, slot] |
void casa::PlotHolder::updateScatterData | ( | ) |
void casa::PlotHolder::zoomNeutral | ( | ) | [private, slot] |
QMenu casa::PlotHolder::contextMenu [private] |
Definition at line 109 of file PlotHolder.qo.h.
bool casa::PlotHolder::displayOutputSlice [private] |
Definition at line 113 of file PlotHolder.qo.h.
bool casa::PlotHolder::displayScatter [private] |
Definition at line 114 of file PlotHolder.qo.h.
bool casa::PlotHolder::displayXGraphs [private] |
Definition at line 117 of file PlotHolder.qo.h.
bool casa::PlotHolder::displayYGraphs [private] |
Definition at line 116 of file PlotHolder.qo.h.
QWidget* casa::PlotHolder::legendHolder [private] |
Definition at line 111 of file PlotHolder.qo.h.
bool casa::PlotHolder::legendVisible [private] |
Definition at line 112 of file PlotHolder.qo.h.
QList<FeatherPlotWidget*> casa::PlotHolder::plots [private] |
Definition at line 105 of file PlotHolder.qo.h.
QAction casa::PlotHolder::plotTypeAction [private] |
Definition at line 106 of file PlotHolder.qo.h.
bool casa::PlotHolder::tempScatterPlot [private] |
Definition at line 115 of file PlotHolder.qo.h.
Ui::PlotHolderClass casa::PlotHolder::ui [private] |
Definition at line 110 of file PlotHolder.qo.h.
bool casa::PlotHolder::xAxisUV [private] |
The x-axis on the slice cuts and original graphs can either be u/v (two graphs) or radial (one graph).
Definition at line 120 of file PlotHolder.qo.h.
QAction casa::PlotHolder::zoom90Action [private] |
Definition at line 107 of file PlotHolder.qo.h.
QAction casa::PlotHolder::zoomNeutralAction [private] |
Definition at line 108 of file PlotHolder.qo.h.