UltraScan III
List of all members | Public Member Functions | Private Types | Private Slots | Private Attributes
US_DistribPlot Class Reference

A class to provide a window with the details of a run. More...

#include "us_distrib_plot.h"

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

Public Member Functions

 US_DistribPlot (QVector< double > &, QVector< double > &, const double)
 
void save_plots (QString &, QString &)
 
- 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 Types

enum  pType {
  DISTR, HISTO, ENVEL, COMBO,
  NONE
}
 

Private Slots

void type_plot (void)
 
void hide_histo (void)
 
void hide_envel (void)
 
void show_plot (void)
 
void plot_distrib (void)
 
void plot_histogram (void)
 
void plot_envelope (void)
 
void plot_combined (void)
 
void change_sensit (double)
 
void change_smooth (double)
 
int histo_data (QVector< double > &, QVector< double > &)
 
int envel_data (QVector< double > &, QVector< double > &)
 
void save_data_file (QString)
 
void save_and_close (void)
 
void help (void)
 

Private Attributes

QVector< double > & bfracs
 
QVector< double > & dsedcs
 
double tot_conc
 
US_Help showHelp
 
pType plotType
 
pType plotTypeH
 
QLabel * lb_sensitivity
 
QLabel * lb_smoothing
 
QPushButton * pb_histogram
 
QPushButton * pb_envelope
 
QPushButton * pb_plot_type
 
QPushButton * pb_help
 
QPushButton * pb_close
 
QwtCounter * ct_sensitivity
 
QwtCounter * ct_smoothing
 
QwtPlot * data_plot
 
QwtPlotCurve * dcurve
 
QwtPlotCurve * hcurve
 
QwtPlotCurve * ecurve
 
int divsCount
 
int nSensit
 
int nSmooth
 
int dbg_level
 

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 window with the details of a run.

Definition at line 19 of file us_distrib_plot.h.

Member Enumeration Documentation

enum US_DistribPlot::pType
private
Enumerator
DISTR 
HISTO 
ENVEL 
COMBO 
NONE 

Definition at line 38 of file us_distrib_plot.h.

Constructor & Destructor Documentation

US_DistribPlot::US_DistribPlot ( QVector< double > &  divfracs,
QVector< double > &  divsedcs,
const double  tconc 
)
Parameters
divfracsReference to a vector of division bdoundary fractions
divsedcsReference to a vector of division intercept sedcoeffs
tconcTotal concentration

Definition at line 11 of file us_distrib_plot.cpp.

Member Function Documentation

void US_DistribPlot::change_sensit ( double  value)
privateslot

Definition at line 266 of file us_distrib_plot.cpp.

void US_DistribPlot::change_smooth ( double  value)
privateslot

Definition at line 274 of file us_distrib_plot.cpp.

int US_DistribPlot::envel_data ( QVector< double > &  xvec,
QVector< double > &  yvec 
)
privateslot

Definition at line 538 of file us_distrib_plot.cpp.

void US_DistribPlot::help ( void  )
inlineprivateslot

Definition at line 82 of file us_distrib_plot.h.

void US_DistribPlot::hide_envel ( void  )
privateslot

Definition at line 243 of file us_distrib_plot.cpp.

void US_DistribPlot::hide_histo ( void  )
privateslot

Definition at line 220 of file us_distrib_plot.cpp.

int US_DistribPlot::histo_data ( QVector< double > &  xvec,
QVector< double > &  yvec 
)
privateslot

Definition at line 483 of file us_distrib_plot.cpp.

void US_DistribPlot::plot_combined ( void  )
privateslot

Definition at line 476 of file us_distrib_plot.cpp.

void US_DistribPlot::plot_distrib ( void  )
privateslot

Definition at line 282 of file us_distrib_plot.cpp.

void US_DistribPlot::plot_envelope ( void  )
privateslot

Definition at line 409 of file us_distrib_plot.cpp.

void US_DistribPlot::plot_histogram ( void  )
privateslot

Definition at line 334 of file us_distrib_plot.cpp.

void US_DistribPlot::save_and_close ( void  )
privateslot

Definition at line 640 of file us_distrib_plot.cpp.

void US_DistribPlot::save_data_file ( QString  data2File)
privateslot

Definition at line 654 of file us_distrib_plot.cpp.

void US_DistribPlot::save_plots ( QString &  plot1File,
QString &  plot2File 
)
Parameters
plot1FileThe name of the distribution plot file
plot2FileThe name of the histogram plot file

Definition at line 114 of file us_distrib_plot.cpp.

void US_DistribPlot::show_plot ( void  )
privateslot

Definition at line 155 of file us_distrib_plot.cpp.

void US_DistribPlot::type_plot ( void  )
privateslot

Definition at line 194 of file us_distrib_plot.cpp.

Member Data Documentation

QVector< double >& US_DistribPlot::bfracs
private

Definition at line 34 of file us_distrib_plot.h.

QwtCounter* US_DistribPlot::ct_sensitivity
private

Definition at line 54 of file us_distrib_plot.h.

QwtCounter* US_DistribPlot::ct_smoothing
private

Definition at line 55 of file us_distrib_plot.h.

QwtPlot* US_DistribPlot::data_plot
private

Definition at line 57 of file us_distrib_plot.h.

int US_DistribPlot::dbg_level
private

Definition at line 65 of file us_distrib_plot.h.

QwtPlotCurve* US_DistribPlot::dcurve
private

Definition at line 58 of file us_distrib_plot.h.

int US_DistribPlot::divsCount
private

Definition at line 62 of file us_distrib_plot.h.

QVector< double >& US_DistribPlot::dsedcs
private

Definition at line 35 of file us_distrib_plot.h.

QwtPlotCurve* US_DistribPlot::ecurve
private

Definition at line 60 of file us_distrib_plot.h.

QwtPlotCurve* US_DistribPlot::hcurve
private

Definition at line 59 of file us_distrib_plot.h.

QLabel* US_DistribPlot::lb_sensitivity
private

Definition at line 45 of file us_distrib_plot.h.

QLabel* US_DistribPlot::lb_smoothing
private

Definition at line 46 of file us_distrib_plot.h.

int US_DistribPlot::nSensit
private

Definition at line 63 of file us_distrib_plot.h.

int US_DistribPlot::nSmooth
private

Definition at line 64 of file us_distrib_plot.h.

QPushButton* US_DistribPlot::pb_close
private

Definition at line 52 of file us_distrib_plot.h.

QPushButton* US_DistribPlot::pb_envelope
private

Definition at line 49 of file us_distrib_plot.h.

QPushButton* US_DistribPlot::pb_help
private

Definition at line 51 of file us_distrib_plot.h.

QPushButton* US_DistribPlot::pb_histogram
private

Definition at line 48 of file us_distrib_plot.h.

QPushButton* US_DistribPlot::pb_plot_type
private

Definition at line 50 of file us_distrib_plot.h.

pType US_DistribPlot::plotType
private

Definition at line 42 of file us_distrib_plot.h.

pType US_DistribPlot::plotTypeH
private

Definition at line 43 of file us_distrib_plot.h.

US_Help US_DistribPlot::showHelp
private

Definition at line 40 of file us_distrib_plot.h.

double US_DistribPlot::tot_conc
private

Definition at line 36 of file us_distrib_plot.h.


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