UltraScan III
List of all members | Public Member Functions | Private Member Functions | Private Attributes
US_Intensity Class Reference

A class to provide a detail plot of the intensity profile. More...

#include "us_intensity.h"

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

Public Member Functions

 US_Intensity (const QString, const QString, const QVector< double > &, const QVector< double > &)
 
- Public Member Functions inherited from US_WidgetsDialog
 US_WidgetsDialog (QWidget *, Qt::WindowFlags)
 
QLabel * us_label (const QString &, int=0, int=QFont::Bold)
 
QLabel * us_textlabel (const QString &, int=-1, int=QFont::Bold)
 
QLabel * us_banner (const QString &, int=0, int=QFont::Bold)
 
QPushButton * us_pushbutton (const QString &, bool=true, int=0)
 
QTextEdit * us_textedit (void)
 
QLineEdit * us_lineedit (const QString &=0, int=0, bool=false)
 
void us_setReadOnly (QLineEdit *, bool=true)
 
void us_setReadOnly (QTextEdit *, bool=true)
 
QListWidget * us_listwidget (int=0)
 
QGridLayout * us_checkbox (const QString &, QCheckBox *&, bool=false)
 
QGridLayout * us_radiobutton (const QString &text, QRadioButton *&rb, bool state=false)
 
QProgressBar * us_progressBar (int, int, int=0)
 
QComboBox * us_comboBox (void)
 
QLCDNumber * us_lcd (int, int=0)
 
QwtCounter * us_counter (int, double, double, double=0.0)
 
QwtPlot * us_plot (const QString &, const QString &=QString(), const QString &=QString())
 
QwtPlotGrid * us_grid (QwtPlot *)
 
QwtPlotCurve * us_curve (QwtPlot *, const QString &)
 
QwtPlotPicker * us_picker (QwtPlot *)
 
QTabWidget * us_tabwidget (int=0, int=QFont::Bold)
 

Private Member Functions

void draw_plot (const QVector< double > &, const QVector< double > &)
 

Private Attributes

QwtPlot * data_plot
 
const QVector< double > & dataIn
 
const QVector< double > & scanIn
 

Additional Inherited Members

- Public Attributes inherited from US_WidgetsDialog
US_Global g
 Connect to global memory and make the values accessible. More...
 
QPalette vlgray
 Very light gray palette for read-only line edits. More...
 

Detailed Description

A class to provide a detail plot of the intensity profile.

Definition at line 13 of file us_intensity.h.

Constructor & Destructor Documentation

US_Intensity::US_Intensity ( const QString  runID,
const QString  triple,
const QVector< double > &  data,
const QVector< double > &  scan 
)
Parameters
runIDThe runID of the experiment
tripleThe triple to place in the name of the saved file
dataA reference to a list of doubles to plot
scanA reference to a list of scan number

Definition at line 9 of file us_intensity.cpp.

Member Function Documentation

void US_Intensity::draw_plot ( const QVector< double > &  scanData,
const QVector< double > &  scanNbrs 
)
private

Definition at line 75 of file us_intensity.cpp.

Member Data Documentation

QwtPlot* US_Intensity::data_plot
private

Definition at line 26 of file us_intensity.h.

const QVector< double >& US_Intensity::dataIn
private

Definition at line 27 of file us_intensity.h.

const QVector< double >& US_Intensity::scanIn
private

Definition at line 28 of file us_intensity.h.


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