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

#include "us_buoyancy.h"

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

Public Member Functions

 US_Buoyancy ()
 
- Public Member Functions inherited from US_Widgets
 US_Widgets (bool=true, QWidget *p=0, Qt::WindowFlags f=0)
 
 ~US_Widgets (void)
 
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=-1, 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)
 
void write_plot (const QString &, const QwtPlot *)
 Write a plot file (PNG or SVG+PNG) from a plot. More...
 
int clean_etc_dir (bool=false)
 Clean install and work ./etc directories. More...
 

Private Slots

double calc_stretch (void)
 
void draw_vline (double)
 
void mouse (const QwtDoublePoint &)
 
void sel_investigator (void)
 
void update_disk_db (bool)
 
void load (void)
 
void details (void)
 
void new_triple (int)
 
void plot_scan (double)
 
void write (void)
 
void save (void)
 
void reset (void)
 
void calc_points (void)
 
void new_rpmval (int)
 
void update_fields (void)
 
void update_speedData (void)
 
void update_dens_0 (void)
 
void update_bufferDensity (void)
 
void update_bottom (void)
 
void update_bottom_calc (void)
 
void update_vbar (void)
 
void update_MW (void)
 
void update_peakName (void)
 
void update_meniscus (void)
 
void help (void)
 

Private Attributes

US_DataIO::RawData data
 
QList< US_DataIO::SpeedDatasData
 
QVector< US_DataIO::RawDataallData
 
QVector< double > meniscus
 
QVector< DataPointdpoint
 
QRadioButton * rb_meniscus
 
QRadioButton * rb_datapoint
 
DataPoint tmp_dpoint
 
int current_triple
 
int current_scan
 
int total_speeds
 
int dbg_level
 
bool expIsBuoyancy
 
double bottom
 
double bottom_calc
 
double current_rpm
 
double current_stretch
 
double current_point
 
QList< int > sd_offs
 
QList< int > sd_knts
 
US_Help showHelp
 
US_Editorte
 
QVector< US_SimulationParameterssimparams
 
QString workingDir
 
QString runID
 
QString editID
 
QString dataType
 
QString expType
 
QStringList files
 
QStringList triples
 
QStringList trip_rpms
 
QPushButton * pb_details
 
QwtPlot * data_plot
 
QwtPlotCurve * v_line
 
QwtPlotCurve * minimum_curve
 
QwtPlotGrid * grid
 
QwtPlotMarker * marker
 
US_PlotPickerpick
 
US_Plotplot
 
QLabel * lbl_rpms
 
QLabel * lbl_stretch
 
QLabel * lbl_dens_0
 
QLabel * lbl_bottom
 
QLabel * lbl_bottom_calc
 
QLabel * lbl_vbar
 
QLabel * lbl_MW
 
QLabel * lbl_meniscus
 
QLabel * lbl_temperature
 
QLabel * lbl_peakVbar
 
QLabel * lbl_peakPosition
 
QLabel * lbl_peakDensity
 
QLabel * lbl_peakName
 
QLabel * lbl_buffer_density
 
QLineEdit * le_info
 
QLineEdit * le_stretch
 
QLineEdit * le_investigator
 
QLineEdit * le_dens_0
 
QLineEdit * le_bottom
 
QLineEdit * le_bottom_calc
 
QLineEdit * le_vbar
 
QLineEdit * le_MW
 
QLineEdit * le_meniscus
 
QLineEdit * le_temperature
 
QLineEdit * le_peakVbar
 
QLineEdit * le_peakPosition
 
QLineEdit * le_peakDensity
 
QLineEdit * le_peakName
 
QLineEdit * le_buffer_density
 
US_Disk_DB_Controlsdisk_controls
 Radiobuttons for disk/db choice. More...
 
QComboBox * cb_triple
 
QComboBox * cb_rpms
 
QPushButton * pb_write
 
QPushButton * pb_save
 
QwtCounter * ct_selectScan
 

Additional Inherited Members

- Static Public Member Functions inherited from US_Widgets
static QFont fixedFont (void)
 
- Public Attributes inherited from US_Widgets
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

Definition at line 24 of file us_buoyancy.h.

Constructor & Destructor Documentation

US_Buoyancy::US_Buoyancy ( )

Definition at line 43 of file us_buoyancy.cpp.

Member Function Documentation

void US_Buoyancy::calc_points ( void  )
privateslot

Definition at line 340 of file us_buoyancy.cpp.

double US_Buoyancy::calc_stretch ( void  )
privateslot

Definition at line 982 of file us_buoyancy.cpp.

void US_Buoyancy::details ( void  )
privateslot

Definition at line 618 of file us_buoyancy.cpp.

void US_Buoyancy::draw_vline ( double  radius)
privateslot

Definition at line 779 of file us_buoyancy.cpp.

void US_Buoyancy::help ( void  )
inlineprivateslot

Definition at line 151 of file us_buoyancy.h.

void US_Buoyancy::load ( void  )
privateslot

Definition at line 373 of file us_buoyancy.cpp.

void US_Buoyancy::mouse ( const QwtDoublePoint &  p)
privateslot

Definition at line 563 of file us_buoyancy.cpp.

void US_Buoyancy::new_rpmval ( int  index)
privateslot

Definition at line 861 of file us_buoyancy.cpp.

void US_Buoyancy::new_triple ( int  index)
privateslot

Definition at line 298 of file us_buoyancy.cpp.

void US_Buoyancy::plot_scan ( double  scan_number)
privateslot

Definition at line 696 of file us_buoyancy.cpp.

void US_Buoyancy::reset ( void  )
privateslot

Definition at line 644 of file us_buoyancy.cpp.

void US_Buoyancy::save ( void  )
privateslot

Definition at line 803 of file us_buoyancy.cpp.

void US_Buoyancy::sel_investigator ( void  )
privateslot

Definition at line 628 of file us_buoyancy.cpp.

void US_Buoyancy::update_bottom ( void  )
privateslot

Definition at line 877 of file us_buoyancy.cpp.

void US_Buoyancy::update_bottom_calc ( void  )
privateslot

Definition at line 882 of file us_buoyancy.cpp.

void US_Buoyancy::update_bufferDensity ( void  )
privateslot

Definition at line 902 of file us_buoyancy.cpp.

void US_Buoyancy::update_dens_0 ( void  )
privateslot

Definition at line 887 of file us_buoyancy.cpp.

void US_Buoyancy::update_disk_db ( bool  isDB)
privateslot

Definition at line 687 of file us_buoyancy.cpp.

void US_Buoyancy::update_fields ( void  )
privateslot

Definition at line 308 of file us_buoyancy.cpp.

void US_Buoyancy::update_meniscus ( void  )
privateslot

Definition at line 913 of file us_buoyancy.cpp.

void US_Buoyancy::update_MW ( void  )
privateslot

Definition at line 897 of file us_buoyancy.cpp.

void US_Buoyancy::update_peakName ( void  )
privateslot

Definition at line 907 of file us_buoyancy.cpp.

void US_Buoyancy::update_speedData ( void  )
privateslot

Definition at line 918 of file us_buoyancy.cpp.

void US_Buoyancy::update_vbar ( void  )
privateslot

Definition at line 892 of file us_buoyancy.cpp.

void US_Buoyancy::write ( void  )
privateslot

Definition at line 825 of file us_buoyancy.cpp.

Member Data Documentation

QVector< US_DataIO::RawData > US_Buoyancy::allData
private

Definition at line 36 of file us_buoyancy.h.

double US_Buoyancy::bottom
private

Definition at line 52 of file us_buoyancy.h.

double US_Buoyancy::bottom_calc
private

Definition at line 53 of file us_buoyancy.h.

QComboBox* US_Buoyancy::cb_rpms
private

Definition at line 119 of file us_buoyancy.h.

QComboBox* US_Buoyancy::cb_triple
private

Definition at line 118 of file us_buoyancy.h.

QwtCounter* US_Buoyancy::ct_selectScan
private

Definition at line 124 of file us_buoyancy.h.

double US_Buoyancy::current_point
private

Definition at line 56 of file us_buoyancy.h.

double US_Buoyancy::current_rpm
private

Definition at line 54 of file us_buoyancy.h.

int US_Buoyancy::current_scan
private

Definition at line 46 of file us_buoyancy.h.

double US_Buoyancy::current_stretch
private

Definition at line 55 of file us_buoyancy.h.

int US_Buoyancy::current_triple
private

Definition at line 45 of file us_buoyancy.h.

US_DataIO::RawData US_Buoyancy::data
private

Definition at line 34 of file us_buoyancy.h.

QwtPlot* US_Buoyancy::data_plot
private

Definition at line 77 of file us_buoyancy.h.

QString US_Buoyancy::dataType
private

Definition at line 69 of file us_buoyancy.h.

int US_Buoyancy::dbg_level
private

Definition at line 48 of file us_buoyancy.h.

US_Disk_DB_Controls* US_Buoyancy::disk_controls
private

Radiobuttons for disk/db choice.

Definition at line 116 of file us_buoyancy.h.

QVector< DataPoint > US_Buoyancy::dpoint
private

Definition at line 38 of file us_buoyancy.h.

QString US_Buoyancy::editID
private

Definition at line 68 of file us_buoyancy.h.

bool US_Buoyancy::expIsBuoyancy
private

Definition at line 50 of file us_buoyancy.h.

QString US_Buoyancy::expType
private

Definition at line 70 of file us_buoyancy.h.

QStringList US_Buoyancy::files
private

Definition at line 71 of file us_buoyancy.h.

QwtPlotGrid* US_Buoyancy::grid
private

Definition at line 80 of file us_buoyancy.h.

QLabel* US_Buoyancy::lbl_bottom
private

Definition at line 88 of file us_buoyancy.h.

QLabel* US_Buoyancy::lbl_bottom_calc
private

Definition at line 89 of file us_buoyancy.h.

QLabel* US_Buoyancy::lbl_buffer_density
private

Definition at line 98 of file us_buoyancy.h.

QLabel* US_Buoyancy::lbl_dens_0
private

Definition at line 87 of file us_buoyancy.h.

QLabel* US_Buoyancy::lbl_meniscus
private

Definition at line 92 of file us_buoyancy.h.

QLabel* US_Buoyancy::lbl_MW
private

Definition at line 91 of file us_buoyancy.h.

QLabel* US_Buoyancy::lbl_peakDensity
private

Definition at line 96 of file us_buoyancy.h.

QLabel* US_Buoyancy::lbl_peakName
private

Definition at line 97 of file us_buoyancy.h.

QLabel* US_Buoyancy::lbl_peakPosition
private

Definition at line 95 of file us_buoyancy.h.

QLabel* US_Buoyancy::lbl_peakVbar
private

Definition at line 94 of file us_buoyancy.h.

QLabel* US_Buoyancy::lbl_rpms
private

Definition at line 85 of file us_buoyancy.h.

QLabel* US_Buoyancy::lbl_stretch
private

Definition at line 86 of file us_buoyancy.h.

QLabel* US_Buoyancy::lbl_temperature
private

Definition at line 93 of file us_buoyancy.h.

QLabel* US_Buoyancy::lbl_vbar
private

Definition at line 90 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_bottom
private

Definition at line 104 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_bottom_calc
private

Definition at line 105 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_buffer_density
private

Definition at line 114 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_dens_0
private

Definition at line 103 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_info
private

Definition at line 100 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_investigator
private

Definition at line 102 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_meniscus
private

Definition at line 108 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_MW
private

Definition at line 107 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_peakDensity
private

Definition at line 112 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_peakName
private

Definition at line 113 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_peakPosition
private

Definition at line 111 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_peakVbar
private

Definition at line 110 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_stretch
private

Definition at line 101 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_temperature
private

Definition at line 109 of file us_buoyancy.h.

QLineEdit* US_Buoyancy::le_vbar
private

Definition at line 106 of file us_buoyancy.h.

QwtPlotMarker* US_Buoyancy::marker
private

Definition at line 81 of file us_buoyancy.h.

QVector< double > US_Buoyancy::meniscus
private

Definition at line 37 of file us_buoyancy.h.

QwtPlotCurve* US_Buoyancy::minimum_curve
private

Definition at line 79 of file us_buoyancy.h.

QPushButton* US_Buoyancy::pb_details
private

Definition at line 75 of file us_buoyancy.h.

QPushButton* US_Buoyancy::pb_save
private

Definition at line 122 of file us_buoyancy.h.

QPushButton* US_Buoyancy::pb_write
private

Definition at line 121 of file us_buoyancy.h.

US_PlotPicker* US_Buoyancy::pick
private

Definition at line 82 of file us_buoyancy.h.

US_Plot* US_Buoyancy::plot
private

Definition at line 83 of file us_buoyancy.h.

QRadioButton* US_Buoyancy::rb_datapoint
private

Definition at line 42 of file us_buoyancy.h.

QRadioButton* US_Buoyancy::rb_meniscus
private

Definition at line 41 of file us_buoyancy.h.

QString US_Buoyancy::runID
private

Definition at line 67 of file us_buoyancy.h.

QList< int > US_Buoyancy::sd_knts
private

Definition at line 59 of file us_buoyancy.h.

QList< int > US_Buoyancy::sd_offs
private

Definition at line 58 of file us_buoyancy.h.

QList< US_DataIO::SpeedData > US_Buoyancy::sData
private

Definition at line 35 of file us_buoyancy.h.

US_Help US_Buoyancy::showHelp
private

Definition at line 61 of file us_buoyancy.h.

QVector<US_SimulationParameters> US_Buoyancy::simparams
private

Definition at line 64 of file us_buoyancy.h.

US_Editor* US_Buoyancy::te
private

Definition at line 62 of file us_buoyancy.h.

DataPoint US_Buoyancy::tmp_dpoint
private

Definition at line 43 of file us_buoyancy.h.

int US_Buoyancy::total_speeds
private

Definition at line 47 of file us_buoyancy.h.

QStringList US_Buoyancy::trip_rpms
private

Definition at line 73 of file us_buoyancy.h.

QStringList US_Buoyancy::triples
private

Definition at line 72 of file us_buoyancy.h.

QwtPlotCurve* US_Buoyancy::v_line
private

Definition at line 78 of file us_buoyancy.h.

QString US_Buoyancy::workingDir
private

Definition at line 66 of file us_buoyancy.h.


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