QXRD
0.11.16
|
#include <qcepplot.h>
Public Slots | |
virtual void | autoScale () |
void | printGraph () |
void | zoomIn () |
void | zoomOut () |
void | enableZooming () |
void | enableMeasuring () |
virtual void | onLegendClicked (const QVariant &itemInfo, int index) |
virtual void | onLegendChecked (const QVariant &itemInfo, bool on, int index) |
void | setXAxisLog (bool isLog) |
void | setYAxisLog (bool isLog) |
void | setX2AxisLog (bool isLog) |
void | setY2AxisLog (bool isLog) |
void | setLogAxis (int axis, int isLog) |
int | logAxis (int axis) |
Public Member Functions | |
QcepPlot (QWidget *parent=0) | |
virtual | ~QcepPlot () |
void | init (QcepPlotSettingsWPtr settings) |
void | setPlotCurveStyle (int index, QwtPlotCurve *curve) |
virtual QwtText | trackerTextF (const QPointF &pos) |
void | contextMenuEvent (QContextMenuEvent *event) |
void | updateZoomer () |
Protected Attributes | |
QcepPlotSettingsWPtr | m_PlotSettings |
QwtLegend * | m_Legend |
QwtPlotZoomer * | m_Zoomer |
QwtPlotPanner * | m_Panner |
QwtPlotMagnifier * | m_Magnifier |
QcepPlotMeasurerPtr | m_Measurer |
int | m_IsLog [QwtPlot::axisCnt] |
Definition at line 15 of file qcepplot.h.
QcepPlot::QcepPlot | ( | QWidget * | parent = 0 | ) |
|
virtual |
Definition at line 32 of file qcepplot.cpp.
|
virtualslot |
Definition at line 188 of file qcepplot.cpp.
References m_Zoomer.
Referenced by QxrdImagePlot::autoScale(), contextMenuEvent(), init(), QxrdWindow::initialize(), and QxrdCenterFinderPlot::onCenterChanged().
void QcepPlot::contextMenuEvent | ( | QContextMenuEvent * | event | ) |
Definition at line 356 of file qcepplot.cpp.
References autoScale(), m_PlotSettings, and printGraph().
|
slot |
Definition at line 267 of file qcepplot.cpp.
References m_Measurer, and m_Zoomer.
Referenced by QxrdWindow::initialize().
|
slot |
Definition at line 261 of file qcepplot.cpp.
References m_Measurer, and m_Zoomer.
Referenced by QxrdWindow::initialize().
void QcepPlot::init | ( | QcepPlotSettingsWPtr | settings | ) |
Definition at line 36 of file qcepplot.cpp.
References autoScale(), m_Legend, m_Magnifier, m_Measurer, m_Panner, m_PlotSettings, m_Zoomer, onLegendChecked(), onLegendClicked(), setX2AxisLog(), setXAxisLog(), setY2AxisLog(), and setYAxisLog().
Referenced by QxrdHistogramPlot::init(), QxrdSynchronizedAcquisitionPlot::init(), QxrdSlicePlot::init(), QxrdAcquisitionExtraInputsPlot::init(), QxrdIntegratorPlot::init(), QxrdDistortionCorrectionPlot::init(), QxrdCenterFinderPlot::init(), and QxrdImagePlot::init().
|
slot |
Definition at line 389 of file qcepplot.cpp.
References m_IsLog.
Referenced by QwtPlotPiecewiseCurve::ignorePoint().
|
virtualslot |
Definition at line 280 of file qcepplot.cpp.
Referenced by init(), and QxrdImagePlot::onLegendChecked().
|
virtualslot |
Definition at line 273 of file qcepplot.cpp.
Referenced by init().
|
slot |
Definition at line 199 of file qcepplot.cpp.
Referenced by QxrdDetectorImagePlot::contextMenuEvent(), contextMenuEvent(), QxrdImagePlot::contextMenuEvent(), and QxrdWindow::initialize().
|
slot |
Definition at line 341 of file qcepplot.cpp.
References m_IsLog.
Referenced by setX2AxisLog(), setXAxisLog(), setY2AxisLog(), and setYAxisLog().
void QcepPlot::setPlotCurveStyle | ( | int | index, |
QwtPlotCurve * | curve | ||
) |
Definition at line 103 of file qcepplot.cpp.
Referenced by QxrdImagePlot::displayPowderMarkers(), QxrdIntegratorPlot::onNewIntegrationAvailable(), and QxrdImagePlot::updateROIDisplay().
|
slot |
Definition at line 331 of file qcepplot.cpp.
References setLogAxis().
Referenced by init().
|
slot |
Definition at line 321 of file qcepplot.cpp.
References setLogAxis().
Referenced by init().
|
slot |
Definition at line 336 of file qcepplot.cpp.
References setLogAxis().
Referenced by init().
|
slot |
Definition at line 326 of file qcepplot.cpp.
References setLogAxis().
Referenced by init().
|
virtual |
Reimplemented in QxrdImagePlot.
Definition at line 394 of file qcepplot.cpp.
References m_PlotSettings.
Referenced by QcepPlotMeasurer::trackerTextF(), and QcepPlotZoomer::trackerTextF().
void QcepPlot::updateZoomer | ( | ) |
Definition at line 252 of file qcepplot.cpp.
References m_Zoomer.
Referenced by QxrdIntegratorPlot::onNewIntegrationAvailable().
|
slot |
|
slot |
Definition at line 247 of file qcepplot.cpp.
References m_Zoomer.
Referenced by QxrdWindow::initialize().
|
protected |
Definition at line 64 of file qcepplot.h.
Referenced by logAxis(), QcepPlot(), and setLogAxis().
|
protected |
Definition at line 58 of file qcepplot.h.
Referenced by QxrdIntegratorPlot::clearSelectedCurves(), QxrdHistogramPlot::init(), QxrdSlicePlot::init(), QxrdSynchronizedAcquisitionPlot::init(), QxrdAcquisitionExtraInputsPlot::init(), QxrdIntegratorPlot::init(), QxrdDistortionCorrectionPlot::init(), init(), QxrdCenterFinderPlot::init(), QxrdImagePlot::init(), QxrdIntegratorPlot::onNewIntegrationAvailable(), and QxrdImagePlot::selectROILabel().
|
protected |
Definition at line 61 of file qcepplot.h.
Referenced by init().
|
protected |
Definition at line 62 of file qcepplot.h.
Referenced by enableMeasuring(), enableZooming(), init(), QxrdIntegratorPlot::setDataProcessor(), and QxrdCenterFinderPlot::setWindow().
|
protected |
Definition at line 60 of file qcepplot.h.
Referenced by init().
|
protected |
Definition at line 57 of file qcepplot.h.
Referenced by contextMenuEvent(), init(), and trackerTextF().
|
protected |
Definition at line 59 of file qcepplot.h.
Referenced by autoScale(), QxrdImagePlot::disablePickers(), enableMeasuring(), enableZooming(), QxrdImagePlot::enableZooming(), init(), QxrdImagePlot::init(), QxrdCenterFinderPlot::onCenterChanged(), QxrdImagePlot::setTrackerPen(), updateZoomer(), zoomIn(), and zoomOut().