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

#include "us_predict2.h"

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

Public Slots

void update (void)
 
void do_mw_s (void)
 
void do_mw_d (void)
 
void do_s_d (void)
 
void update_param1 (const QString &)
 
void update_param2 (const QString &)
 
void density (const QString &)
 
void viscosity (const QString &)
 
void vbar (const QString &)
 
void degC (const QString &)
 
void get_buffer (void)
 
void get_solution (void)
 
void get_peptide (void)
 
void update_buffer (double, double)
 
void update_vbar (US_Analyte)
 
void update_solution (US_Solution)
 
void choose (int)
 
void help (void)
 

Public Member Functions

 US_Predict2 ()
 
- 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 Types

enum  { None, MW_SEDIMENTATION, MW_DIFFUSION, SED_DIFF }
 
enum  { PROLATE, OBLATE, ROD }
 

Private Member Functions

bool check_valid (double)
 
double root (int, double)
 

Private Attributes

enum US_Predict2:: { ... }  model
 
int analyte_number
 
double sed_coeff
 
double mw
 
double diff_coeff
 
double temperature
 
US_Help showHelp
 
US_Math2::SolutionData d
 
QLabel * lb_param1
 
QLabel * lb_param2
 
QLabel * lb_param3
 
QLineEdit * le_density
 
QLineEdit * le_viscosity
 
QLineEdit * le_vbar
 
QLineEdit * le_param1
 
QLineEdit * le_param2
 
QLineEdit * le_param3
 
QLineEdit * le_prolate_a
 
QLineEdit * le_prolate_b
 
QLineEdit * le_prolate_ab
 
QLineEdit * le_oblate_a
 
QLineEdit * le_oblate_b
 
QLineEdit * le_oblate_ab
 
QLineEdit * le_rod_a
 
QLineEdit * le_rod_b
 
QLineEdit * le_rod_ab
 
QLineEdit * le_fCoef
 
QLineEdit * le_r0
 
QLineEdit * le_f0
 
QLineEdit * le_volume
 
QLineEdit * le_ff0
 
QPushButton * pb_mw_s
 
QPushButton * pb_mw_d
 
QPushButton * pb_s_d
 

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

Member Enumeration Documentation

anonymous enum
private
Enumerator
None 
MW_SEDIMENTATION 
MW_DIFFUSION 
SED_DIFF 

Definition at line 21 of file us_predict2.h.

anonymous enum
private
Enumerator
PROLATE 
OBLATE 
ROD 

Definition at line 22 of file us_predict2.h.

Constructor & Destructor Documentation

US_Predict2::US_Predict2 ( )

Definition at line 12 of file us_predict2.cpp.

Member Function Documentation

bool US_Predict2::check_valid ( double  f_f0)
private

Definition at line 436 of file us_predict2.cpp.

void US_Predict2::choose ( int  value)
slot

Definition at line 749 of file us_predict2.cpp.

void US_Predict2::degC ( const QString &  s)
slot

Definition at line 621 of file us_predict2.cpp.

void US_Predict2::density ( const QString &  s)
slot

Definition at line 602 of file us_predict2.cpp.

void US_Predict2::do_mw_d ( void  )
slot

Definition at line 254 of file us_predict2.cpp.

void US_Predict2::do_mw_s ( void  )
slot

Definition at line 233 of file us_predict2.cpp.

void US_Predict2::do_s_d ( void  )
slot

Definition at line 275 of file us_predict2.cpp.

void US_Predict2::get_buffer ( void  )
slot

Definition at line 627 of file us_predict2.cpp.

void US_Predict2::get_peptide ( void  )
slot

Definition at line 657 of file us_predict2.cpp.

void US_Predict2::get_solution ( void  )
slot

Definition at line 686 of file us_predict2.cpp.

void US_Predict2::help ( void  )
inlineslot

Definition at line 89 of file us_predict2.h.

double US_Predict2::root ( int  shape,
double  goal 
)
private

This function uses the frictional coefficient ration to solve for the ratio of a/b of a model where a and b are the axes of a prolate ellipsoid or an oblate ellipsoid. In the case of a long rod, a is the half length of the rod and b is the radius.

Parameters
shapeThe shape assumed for the calculation
goalThe f/f0 value used to for the calculation

Definition at line 484 of file us_predict2.cpp.

void US_Predict2::update ( void  )
slot

Definition at line 296 of file us_predict2.cpp.

void US_Predict2::update_buffer ( double  density,
double  viscosity 
)
slot

Definition at line 646 of file us_predict2.cpp.

void US_Predict2::update_param1 ( const QString &  s)
slot

Definition at line 582 of file us_predict2.cpp.

void US_Predict2::update_param2 ( const QString &  s)
slot

Definition at line 592 of file us_predict2.cpp.

void US_Predict2::update_solution ( US_Solution  solution)
slot

Definition at line 705 of file us_predict2.cpp.

void US_Predict2::update_vbar ( US_Analyte  analyte)
slot

Definition at line 678 of file us_predict2.cpp.

void US_Predict2::vbar ( const QString &  s)
slot

Definition at line 614 of file us_predict2.cpp.

void US_Predict2::viscosity ( const QString &  s)
slot

Definition at line 608 of file us_predict2.cpp.

Member Data Documentation

int US_Predict2::analyte_number
private

Definition at line 24 of file us_predict2.h.

US_Math2::SolutionData US_Predict2::d
private

Definition at line 31 of file us_predict2.h.

double US_Predict2::diff_coeff
private

Definition at line 27 of file us_predict2.h.

QLabel* US_Predict2::lb_param1
private

Definition at line 33 of file us_predict2.h.

QLabel* US_Predict2::lb_param2
private

Definition at line 34 of file us_predict2.h.

QLabel* US_Predict2::lb_param3
private

Definition at line 35 of file us_predict2.h.

QLineEdit* US_Predict2::le_density
private

Definition at line 37 of file us_predict2.h.

QLineEdit* US_Predict2::le_f0
private

Definition at line 59 of file us_predict2.h.

QLineEdit* US_Predict2::le_fCoef
private

Definition at line 57 of file us_predict2.h.

QLineEdit* US_Predict2::le_ff0
private

Definition at line 61 of file us_predict2.h.

QLineEdit* US_Predict2::le_oblate_a
private

Definition at line 49 of file us_predict2.h.

QLineEdit* US_Predict2::le_oblate_ab
private

Definition at line 51 of file us_predict2.h.

QLineEdit* US_Predict2::le_oblate_b
private

Definition at line 50 of file us_predict2.h.

QLineEdit* US_Predict2::le_param1
private

Definition at line 41 of file us_predict2.h.

QLineEdit* US_Predict2::le_param2
private

Definition at line 42 of file us_predict2.h.

QLineEdit* US_Predict2::le_param3
private

Definition at line 43 of file us_predict2.h.

QLineEdit* US_Predict2::le_prolate_a
private

Definition at line 45 of file us_predict2.h.

QLineEdit* US_Predict2::le_prolate_ab
private

Definition at line 47 of file us_predict2.h.

QLineEdit* US_Predict2::le_prolate_b
private

Definition at line 46 of file us_predict2.h.

QLineEdit* US_Predict2::le_r0
private

Definition at line 58 of file us_predict2.h.

QLineEdit* US_Predict2::le_rod_a
private

Definition at line 53 of file us_predict2.h.

QLineEdit* US_Predict2::le_rod_ab
private

Definition at line 55 of file us_predict2.h.

QLineEdit* US_Predict2::le_rod_b
private

Definition at line 54 of file us_predict2.h.

QLineEdit* US_Predict2::le_vbar
private

Definition at line 39 of file us_predict2.h.

QLineEdit* US_Predict2::le_viscosity
private

Definition at line 38 of file us_predict2.h.

QLineEdit* US_Predict2::le_volume
private

Definition at line 60 of file us_predict2.h.

enum { ... } US_Predict2::model
double US_Predict2::mw
private

Definition at line 26 of file us_predict2.h.

QPushButton* US_Predict2::pb_mw_d
private

Definition at line 64 of file us_predict2.h.

QPushButton* US_Predict2::pb_mw_s
private

Definition at line 63 of file us_predict2.h.

QPushButton* US_Predict2::pb_s_d
private

Definition at line 65 of file us_predict2.h.

double US_Predict2::sed_coeff
private

Definition at line 25 of file us_predict2.h.

US_Help US_Predict2::showHelp
private

Definition at line 29 of file us_predict2.h.

double US_Predict2::temperature
private

Definition at line 28 of file us_predict2.h.


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