QXRD  0.11.16
Public Member Functions | List of all members
QxrdHistogramPlot Class Reference

#include <qxrdhistogramplot.h>

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

Public Member Functions

 QxrdHistogramPlot (QWidget *parent=0)
 
void init (QxrdHistogramPlotSettingsWPtr settings)
 
- 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 ()
 

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 7 of file qxrdhistogramplot.h.

Constructor & Destructor Documentation

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

Definition at line 3 of file qxrdhistogramplot.cpp.

3  :
4  QcepPlot(parent)
5 {
6 }
QcepPlot(QWidget *parent=0)
Definition: qcepplot.cpp:18

Member Function Documentation

void QxrdHistogramPlot::init ( QxrdHistogramPlotSettingsWPtr  settings)

Definition at line 8 of file qxrdhistogramplot.cpp.

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

9 {
10  QcepPlot::init(settings);
11 
12  insertLegend(m_Legend, QwtPlot::BottomLegend);
13  setAxisTitle(QwtPlot::yLeft, "# Pixels");
14  setAxisTitle(QwtPlot::xBottom, "Intensity (% of overflow value)");
15 }
QwtLegend * m_Legend
Definition: qcepplot.h:58
void init(QcepPlotSettingsWPtr settings)
Definition: qcepplot.cpp:36

Here is the call graph for this function:


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