UltraScan III
List of all members | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | Static Private Attributes
US_Predict1 Class Reference

#include "us_predict1.h"

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

Signals

void changed (US_Analyte)
 Return a data set of current analyte values. This also indicates that the class is done and the Hydrosim reference has been updated. More...
 
void changed (void)
 A signal to indicate that calculations have been updated. More...
 
void done (void)
 A signal to indicate that the class is finished and is closing. More...
 
void use_db (bool DB)
 

Public Member Functions

 US_Predict1 (US_Hydrosim &, US_Analyte=US_Analyte(), int=US_Disk_DB_Controls::Default, bool=false)
 Constructor. More...
 
- 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 Slots

void new_value (const QwtDoublePoint &)
 
void mouseU (const QwtDoublePoint &)
 
void update_ratio (void)
 
void update_mw (const QString &)
 
void degC (const QString &)
 
void density (const QString &)
 
void viscosity (const QString &)
 
void vbar (const QString &)
 
void get_buffer (void)
 
void get_peptide (void)
 
void complete (void)
 
void debug (void)
 
void source_changed (bool)
 
void get_solution (void)
 
void update_buffer (const US_Buffer)
 
void update_vbar (const US_Analyte)
 
void update_solution (const US_Solution)
 
void choose (int)
 
void help (void)
 

Private Member Functions

void update (void)
 

Private Attributes

US_Hydrosimallparams
 
US_Analyte base_analyte
 
int access
 
int analyte_number
 
bool signal
 
US_Math2::SolutionData solution
 
US_Buffer buffer
 
US_Analyte analyte
 
double oblate [ARRAYSIZE]
 
double rod [ARRAYSIZE]
 
double prolate [ARRAYSIZE]
 
double ratio_x [ARRAYSIZE]
 
double vline_x [2]
 
double vline_y [2]
 
double temperature
 
double mw
 
double ratio
 
QLineEdit * le_mw
 
QLineEdit * le_density
 
QLineEdit * le_viscosity
 
QLineEdit * le_vbar
 
QLineEdit * le_axial
 
QLabel * lb_info
 
QLabel * lb_sphere [8]
 
QLabel * lb_prolate [8]
 
QLabel * lb_oblate [8]
 
QLabel * lb_rod [8]
 
US_PlotplotLayout
 
QwtPlot * plot
 
QwtPlotPicker * pick
 
QwtPlotCurve * prolate_curve
 
QwtPlotCurve * oblate_curve
 
QwtPlotCurve * rod_curve
 
QwtPlotCurve * vline_curve
 
US_Help showHelp
 

Static Private Attributes

static const int ARRAYSIZE = 999
 

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 present a graph of frictional ratio as a function of axial ratio. Allows specification of parameters and calulate resulting molecular characteristics.

Definition at line 22 of file us_predict1.h.

Constructor & Destructor Documentation

US_Predict1::US_Predict1 ( US_Hydrosim parm,
US_Analyte  a_data = US_Analyte(),
int  disk_access = US_Disk_DB_Controls::Default,
bool  signal_wanted = false 
)

Constructor.

Parameters
parm- Reference to molecular characteristics
a_data- Analyte data for initialization
disk_access- A value to pass to US_Analyte to initial use disk or DB access
signal_wanted- A value to indicate if signals are wanted.

Definition at line 13 of file us_predict1.cpp.

Member Function Documentation

void US_Predict1::changed ( US_Analyte  )
signal

Return a data set of current analyte values. This also indicates that the class is done and the Hydrosim reference has been updated.

void US_Predict1::changed ( void  )
signal

A signal to indicate that calculations have been updated.

void US_Predict1::choose ( int  value)
privateslot

Definition at line 618 of file us_predict1.cpp.

void US_Predict1::complete ( void  )
privateslot

Definition at line 300 of file us_predict1.cpp.

void US_Predict1::debug ( void  )
privateslot

Definition at line 516 of file us_predict1.cpp.

void US_Predict1::degC ( const QString &  s)
privateslot

Definition at line 322 of file us_predict1.cpp.

void US_Predict1::density ( const QString &  s)
privateslot

Definition at line 385 of file us_predict1.cpp.

void US_Predict1::done ( void  )
signal

A signal to indicate that the class is finished and is closing.

void US_Predict1::get_buffer ( void  )
privateslot

Definition at line 357 of file us_predict1.cpp.

void US_Predict1::get_peptide ( void  )
privateslot

Definition at line 331 of file us_predict1.cpp.

void US_Predict1::get_solution ( void  )
privateslot

Definition at line 562 of file us_predict1.cpp.

void US_Predict1::help ( void  )
inlineprivateslot

Definition at line 126 of file us_predict1.h.

void US_Predict1::mouseU ( const QwtDoublePoint &  p)
privateslot

Definition at line 418 of file us_predict1.cpp.

void US_Predict1::new_value ( const QwtDoublePoint &  p)
privateslot

Definition at line 406 of file us_predict1.cpp.

void US_Predict1::source_changed ( bool  db)
privateslot

Definition at line 510 of file us_predict1.cpp.

void US_Predict1::update ( void  )
private

Definition at line 465 of file us_predict1.cpp.

void US_Predict1::update_buffer ( const US_Buffer  b)
privateslot

Definition at line 372 of file us_predict1.cpp.

void US_Predict1::update_mw ( const QString &  s)
privateslot

Definition at line 316 of file us_predict1.cpp.

void US_Predict1::update_ratio ( void  )
privateslot

Definition at line 310 of file us_predict1.cpp.

void US_Predict1::update_solution ( const US_Solution  soln)
privateslot

Definition at line 571 of file us_predict1.cpp.

void US_Predict1::update_vbar ( const US_Analyte  ad)
privateslot

Definition at line 344 of file us_predict1.cpp.

void US_Predict1::use_db ( bool  DB)
signal

A signal to indicate that the current disk/db selection has changed. /param DB True if DB is the new selection

void US_Predict1::vbar ( const QString &  s)
privateslot

Definition at line 399 of file us_predict1.cpp.

void US_Predict1::viscosity ( const QString &  s)
privateslot

Definition at line 392 of file us_predict1.cpp.

Member Data Documentation

int US_Predict1::access
private

Definition at line 57 of file us_predict1.h.

US_Hydrosim& US_Predict1::allparams
private

Definition at line 55 of file us_predict1.h.

US_Analyte US_Predict1::analyte
private

Definition at line 64 of file us_predict1.h.

int US_Predict1::analyte_number
private

Definition at line 58 of file us_predict1.h.

const int US_Predict1::ARRAYSIZE = 999
staticprivate

Definition at line 66 of file us_predict1.h.

US_Analyte US_Predict1::base_analyte
private

Definition at line 56 of file us_predict1.h.

US_Buffer US_Predict1::buffer
private

Definition at line 63 of file us_predict1.h.

QLabel* US_Predict1::lb_info
private

Definition at line 86 of file us_predict1.h.

QLabel* US_Predict1::lb_oblate[8]
private

Definition at line 89 of file us_predict1.h.

QLabel* US_Predict1::lb_prolate[8]
private

Definition at line 88 of file us_predict1.h.

QLabel* US_Predict1::lb_rod[8]
private

Definition at line 90 of file us_predict1.h.

QLabel* US_Predict1::lb_sphere[8]
private

Definition at line 87 of file us_predict1.h.

QLineEdit* US_Predict1::le_axial
private

Definition at line 84 of file us_predict1.h.

QLineEdit* US_Predict1::le_density
private

Definition at line 81 of file us_predict1.h.

QLineEdit* US_Predict1::le_mw
private

Definition at line 80 of file us_predict1.h.

QLineEdit* US_Predict1::le_vbar
private

Definition at line 83 of file us_predict1.h.

QLineEdit* US_Predict1::le_viscosity
private

Definition at line 82 of file us_predict1.h.

double US_Predict1::mw
private

Definition at line 77 of file us_predict1.h.

double US_Predict1::oblate[ARRAYSIZE]
private

Definition at line 68 of file us_predict1.h.

QwtPlotCurve* US_Predict1::oblate_curve
private

Definition at line 97 of file us_predict1.h.

QwtPlotPicker* US_Predict1::pick
private

Definition at line 94 of file us_predict1.h.

QwtPlot* US_Predict1::plot
private

Definition at line 93 of file us_predict1.h.

US_Plot* US_Predict1::plotLayout
private

Definition at line 92 of file us_predict1.h.

double US_Predict1::prolate[ARRAYSIZE]
private

Definition at line 70 of file us_predict1.h.

QwtPlotCurve* US_Predict1::prolate_curve
private

Definition at line 96 of file us_predict1.h.

double US_Predict1::ratio
private

Definition at line 78 of file us_predict1.h.

double US_Predict1::ratio_x[ARRAYSIZE]
private

Definition at line 71 of file us_predict1.h.

double US_Predict1::rod[ARRAYSIZE]
private

Definition at line 69 of file us_predict1.h.

QwtPlotCurve* US_Predict1::rod_curve
private

Definition at line 98 of file us_predict1.h.

US_Help US_Predict1::showHelp
private

Definition at line 101 of file us_predict1.h.

bool US_Predict1::signal
private

Definition at line 59 of file us_predict1.h.

US_Math2::SolutionData US_Predict1::solution
private

Definition at line 61 of file us_predict1.h.

double US_Predict1::temperature
private

Definition at line 76 of file us_predict1.h.

QwtPlotCurve* US_Predict1::vline_curve
private

Definition at line 99 of file us_predict1.h.

double US_Predict1::vline_x[2]
private

Definition at line 73 of file us_predict1.h.

double US_Predict1::vline_y[2]
private

Definition at line 74 of file us_predict1.h.


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