QXRD  0.11.16
Public Member Functions | Private Attributes | List of all members
QxrdDistortionCorrectionPlot Class Reference

#include <qxrddistortioncorrectionplot.h>

Inheritance diagram for QxrdDistortionCorrectionPlot:
Inheritance graph
[legend]
Collaboration diagram for QxrdDistortionCorrectionPlot:
Collaboration graph
[legend]

Public Member Functions

 QxrdDistortionCorrectionPlot (QWidget *parent=0)
 
void init (QcepPlotSettingsWPtr settings)
 
void setWindow (QxrdWindow *win)
 
- Public Member Functions inherited from QcepPlot
 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 ()
 

Private Attributes

QcepObjectNamer m_ObjectNamer
 
QxrdWindowm_Window
 
QxrdDataProcessorWPtr m_DataProcessor
 
QxrdDistortionCorrectionWPtr m_DistortionCorrection
 
bool m_FirstTime
 

Additional Inherited Members

- Public Slots inherited from QcepPlot
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)
 
- Protected Attributes inherited from QcepPlot
QcepPlotSettingsWPtr m_PlotSettings
 
QwtLegend * m_Legend
 
QwtPlotZoomer * m_Zoomer
 
QwtPlotPanner * m_Panner
 
QwtPlotMagnifier * m_Magnifier
 
QcepPlotMeasurerPtr m_Measurer
 
int m_IsLog [QwtPlot::axisCnt]
 

Detailed Description

Definition at line 13 of file qxrddistortioncorrectionplot.h.

Constructor & Destructor Documentation

QxrdDistortionCorrectionPlot::QxrdDistortionCorrectionPlot ( QWidget *  parent = 0)
explicit

Definition at line 4 of file qxrddistortioncorrectionplot.cpp.

4  :
5  QcepPlot(parent),
6  m_ObjectNamer(this, "distortionCorrectionPlot"),
7  m_Window(),
10  m_FirstTime(true)
11 {
12 }
QcepPlot(QWidget *parent=0)
Definition: qcepplot.cpp:18
QxrdDistortionCorrectionWPtr m_DistortionCorrection

Member Function Documentation

void QxrdDistortionCorrectionPlot::init ( QcepPlotSettingsWPtr  settings)

Definition at line 14 of file qxrddistortioncorrectionplot.cpp.

References QcepPlot::init(), and QcepPlot::m_Legend.

15 {
16  QcepPlot::init(settings);
17 
18  if (m_Legend) {
19  insertLegend(m_Legend, QwtPlot::RightLegend);
20  }
21 }
QwtLegend * m_Legend
Definition: qcepplot.h:58
void init(QcepPlotSettingsWPtr settings)
Definition: qcepplot.cpp:36

Here is the call graph for this function:

void QxrdDistortionCorrectionPlot::setWindow ( QxrdWindow win)

Definition at line 23 of file qxrddistortioncorrectionplot.cpp.

References m_DataProcessor, m_DistortionCorrection, and m_Window.

24 {
25  m_Window = win;
26 
27  QxrdWindow *wp = m_Window;
28 
29  if (wp) {
30  m_DataProcessor = wp -> dataProcessor();
31  }
32 
34 
35  if (dp) {
36  m_DistortionCorrection = dp -> distortionCorrection();
37  }
38 }
QSharedPointer< QxrdDataProcessor > QxrdDataProcessorPtr
QxrdDistortionCorrectionWPtr m_DistortionCorrection

Member Data Documentation

QxrdDataProcessorWPtr QxrdDistortionCorrectionPlot::m_DataProcessor
private

Definition at line 28 of file qxrddistortioncorrectionplot.h.

Referenced by setWindow().

QxrdDistortionCorrectionWPtr QxrdDistortionCorrectionPlot::m_DistortionCorrection
private

Definition at line 29 of file qxrddistortioncorrectionplot.h.

Referenced by setWindow().

bool QxrdDistortionCorrectionPlot::m_FirstTime
private

Definition at line 30 of file qxrddistortioncorrectionplot.h.

QcepObjectNamer QxrdDistortionCorrectionPlot::m_ObjectNamer
private

Definition at line 26 of file qxrddistortioncorrectionplot.h.

QxrdWindow* QxrdDistortionCorrectionPlot::m_Window
private

Definition at line 27 of file qxrddistortioncorrectionplot.h.

Referenced by setWindow().


The documentation for this class was generated from the following files: