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

A window to edit a discreteGA constraints model. More...

#include "us_constraints_edit.h"

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

Signals

void done (void)
 
void use_db (bool DB)
 

Public Member Functions

 US_ConstraintsEdit (US_Model &)
 
- 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  {
  MW, S, D, F,
  F_F0
}
 

Private Slots

void check_mw (bool)
 
void check_ff0 (bool)
 
void check_s (bool)
 
void check_D (bool)
 
void check_f (bool)
 
void float_vbar (bool)
 
void float_mw (bool)
 
void float_ff0 (bool)
 
void float_s (bool)
 
void float_D (bool)
 
void float_f (bool)
 
void float_conc (bool)
 
void float_kd (bool)
 
void float_koff (bool)
 
void logsc_mw (bool)
 
void logsc_kd (bool)
 
void logsc_koff (bool)
 
void comps_connect (bool)
 
void assocs_connect (bool)
 
int count_checks (void)
 
void check_selects (void)
 
void acceptProp (void)
 
void load_c0 (void)
 
void co_sed (int)
 
void set_molar (void)
 
void source_changed (bool)
 
void component_select (int)
 
void association_select (int)
 
void save_comp_settings (int, QVector< C_CONSTRAINT > &)
 
void save_assoc_settings (int, QVector< C_CONSTRAINT > &)
 
void float_par (bool, QLineEdit *, QLineEdit *, QLineEdit *)
 
void check_value (const C_CONSTRAINT, QLineEdit *, QLineEdit *, QLineEdit *)
 
double constr_value (const C_ATYPE, QVector< C_CONSTRAINT > &)
 
void help (void)
 

Private Attributes

US_Modelcmodel
 
US_Help showhelp
 
O_CONSTRAINTS constraints
 
QVector< C_CONSTRAINTattribs
 
QVector< C_CONSTRAINTflt_attrs
 
QVector< C_CONSTRAINTwrk_attrs
 
int investigator
 
int oldRow
 
int db_access
 
int dbg_level
 
int crow
 
int arow
 
bool inUpdate
 
bool chgStoi
 
US_Analyte analyte
 
enum US_ConstraintsEdit:: { ... }  check_type
 
US_Hydrosim hydro_data
 
US_Hydrosim working_data
 
QIcon check
 
QPalette gray
 
QPalette normal
 
QListWidget * lw_comps
 
QListWidget * lw_assocs
 
QList< int > lcompx
 
QPushButton * pb_accept
 
QPushButton * pb_load_c0
 
QLineEdit * le_val_vbar
 
QLineEdit * le_min_vbar
 
QLineEdit * le_max_vbar
 
QLineEdit * le_val_mw
 
QLineEdit * le_min_mw
 
QLineEdit * le_max_mw
 
QLineEdit * le_val_s
 
QLineEdit * le_min_s
 
QLineEdit * le_max_s
 
QLineEdit * le_val_D
 
QLineEdit * le_min_D
 
QLineEdit * le_max_D
 
QLineEdit * le_val_ff0
 
QLineEdit * le_min_ff0
 
QLineEdit * le_max_ff0
 
QLineEdit * le_val_f
 
QLineEdit * le_min_f
 
QLineEdit * le_max_f
 
QLineEdit * le_val_conc
 
QLineEdit * le_min_conc
 
QLineEdit * le_max_conc
 
QLineEdit * le_extinction
 
QLineEdit * le_wavelength
 
QLineEdit * le_oligomer
 
QLineEdit * le_analyteConc
 
QLineEdit * le_molar
 
QLineEdit * le_lbl_kd
 
QLineEdit * le_val_kd
 
QLineEdit * le_min_kd
 
QLineEdit * le_max_kd
 
QLineEdit * le_lbl_koff
 
QLineEdit * le_val_koff
 
QLineEdit * le_min_koff
 
QLineEdit * le_max_koff
 
QLineEdit * le_sigma
 
QLineEdit * le_delta
 
QLineEdit * le_description
 
QCheckBox * ck_sel_vbar
 
QCheckBox * ck_sel_mw
 
QCheckBox * ck_sel_ff0
 
QCheckBox * ck_sel_s
 
QCheckBox * ck_sel_D
 
QCheckBox * ck_sel_f
 
QCheckBox * ck_sel_conc
 
QCheckBox * ck_flt_vbar
 
QCheckBox * ck_flt_mw
 
QCheckBox * ck_flt_ff0
 
QCheckBox * ck_flt_s
 
QCheckBox * ck_flt_D
 
QCheckBox * ck_flt_f
 
QCheckBox * ck_flt_conc
 
QCheckBox * ck_flt_kd
 
QCheckBox * ck_flt_koff
 
QCheckBox * ck_log_mw
 
QCheckBox * ck_log_kd
 
QCheckBox * ck_log_koff
 
QCheckBox * ck_co_sed
 
QCheckBox * ck_isreact
 
QCheckBox * ck_isprod
 

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 window to edit a discreteGA constraints model.

Definition at line 32 of file us_constraints_edit.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
MW 
S 
D 
F 
F_F0 

Definition at line 73 of file us_constraints_edit.h.

Constructor & Destructor Documentation

US_ConstraintsEdit::US_ConstraintsEdit ( US_Model current_model)
Parameters
current_model- Location of model structure for editing

Definition at line 20 of file us_constraints_edit.cpp.

Member Function Documentation

void US_ConstraintsEdit::acceptProp ( void  )
privateslot

Definition at line 581 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::association_select ( int  srow)
privateslot

Definition at line 1154 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::assocs_connect ( bool  c_on)
privateslot

Definition at line 800 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::check_D ( bool  checked)
privateslot

Definition at line 667 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::check_f ( bool  checked)
privateslot

Definition at line 674 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::check_ff0 ( bool  checked)
privateslot

Definition at line 652 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::check_mw ( bool  checked)
privateslot

Definition at line 643 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::check_s ( bool  checked)
privateslot

Definition at line 660 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::check_selects ( void  )
privateslot

Definition at line 1421 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::check_value ( const C_CONSTRAINT  cnse,
QLineEdit *  le_val,
QLineEdit *  le_min,
QLineEdit *  le_max 
)
privateslot

Definition at line 1390 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::co_sed ( int  new_state)
privateslot

Definition at line 606 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::component_select ( int  srow)
privateslot

Definition at line 834 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::comps_connect ( bool  c_on)
privateslot

Definition at line 750 of file us_constraints_edit.cpp.

double US_ConstraintsEdit::constr_value ( const C_ATYPE  atype,
QVector< C_CONSTRAINT > &  cnsv 
)
privateslot

Definition at line 1620 of file us_constraints_edit.cpp.

int US_ConstraintsEdit::count_checks ( void  )
privateslot

Definition at line 823 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::done ( void  )
signal

A signal that the class is complete and the passed model reference has been updated.

void US_ConstraintsEdit::float_conc ( bool  floats)
privateslot

Definition at line 717 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::float_D ( bool  floats)
privateslot

Definition at line 705 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::float_f ( bool  floats)
privateslot

Definition at line 711 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::float_ff0 ( bool  floats)
privateslot

Definition at line 693 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::float_kd ( bool  floats)
privateslot

Definition at line 723 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::float_koff ( bool  floats)
privateslot

Definition at line 729 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::float_mw ( bool  floats)
privateslot

Definition at line 687 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::float_par ( bool  floats,
QLineEdit *  le_val,
QLineEdit *  le_min,
QLineEdit *  le_max 
)
privateslot

Definition at line 1354 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::float_s ( bool  floats)
privateslot

Definition at line 699 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::float_vbar ( bool  floats)
privateslot

Definition at line 681 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::help ( void  )
inlineprivateslot

Definition at line 190 of file us_constraints_edit.h.

void US_ConstraintsEdit::load_c0 ( void  )
privateslot

Definition at line 475 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::logsc_kd ( bool  logscl)
privateslot

Definition at line 740 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::logsc_koff ( bool  logscl)
privateslot

Definition at line 744 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::logsc_mw ( bool  logscl)
privateslot

Definition at line 735 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::save_assoc_settings ( int  arow,
QVector< C_CONSTRAINT > &  cnsv 
)
privateslot

Definition at line 1327 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::save_comp_settings ( int  crow,
QVector< C_CONSTRAINT > &  cnsv 
)
privateslot

Definition at line 1203 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::set_molar ( void  )
privateslot

Definition at line 564 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::source_changed ( bool  db)
privateslot

Definition at line 637 of file us_constraints_edit.cpp.

void US_ConstraintsEdit::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

Member Data Documentation

US_Analyte US_ConstraintsEdit::analyte
private

Definition at line 71 of file us_constraints_edit.h.

int US_ConstraintsEdit::arow
private

Definition at line 66 of file us_constraints_edit.h.

QVector< C_CONSTRAINT > US_ConstraintsEdit::attribs
private

Definition at line 57 of file us_constraints_edit.h.

QIcon US_ConstraintsEdit::check
private

Definition at line 78 of file us_constraints_edit.h.

enum { ... } US_ConstraintsEdit::check_type
bool US_ConstraintsEdit::chgStoi
private

Definition at line 69 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_co_sed
private

Definition at line 148 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_flt_conc
private

Definition at line 142 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_flt_D
private

Definition at line 140 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_flt_f
private

Definition at line 141 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_flt_ff0
private

Definition at line 138 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_flt_kd
private

Definition at line 143 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_flt_koff
private

Definition at line 144 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_flt_mw
private

Definition at line 137 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_flt_s
private

Definition at line 139 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_flt_vbar
private

Definition at line 136 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_isprod
private

Definition at line 150 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_isreact
private

Definition at line 149 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_log_kd
private

Definition at line 146 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_log_koff
private

Definition at line 147 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_log_mw
private

Definition at line 145 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_sel_conc
private

Definition at line 135 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_sel_D
private

Definition at line 133 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_sel_f
private

Definition at line 134 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_sel_ff0
private

Definition at line 131 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_sel_mw
private

Definition at line 130 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_sel_s
private

Definition at line 132 of file us_constraints_edit.h.

QCheckBox* US_ConstraintsEdit::ck_sel_vbar
private

Definition at line 129 of file us_constraints_edit.h.

US_Model& US_ConstraintsEdit::cmodel
private

Definition at line 51 of file us_constraints_edit.h.

O_CONSTRAINTS US_ConstraintsEdit::constraints
private

Definition at line 55 of file us_constraints_edit.h.

int US_ConstraintsEdit::crow
private

Definition at line 65 of file us_constraints_edit.h.

int US_ConstraintsEdit::db_access
private

Definition at line 63 of file us_constraints_edit.h.

int US_ConstraintsEdit::dbg_level
private

Definition at line 64 of file us_constraints_edit.h.

QVector< C_CONSTRAINT > US_ConstraintsEdit::flt_attrs
private

Definition at line 58 of file us_constraints_edit.h.

QPalette US_ConstraintsEdit::gray
private

Definition at line 80 of file us_constraints_edit.h.

US_Hydrosim US_ConstraintsEdit::hydro_data
private

Definition at line 75 of file us_constraints_edit.h.

bool US_ConstraintsEdit::inUpdate
private

Definition at line 68 of file us_constraints_edit.h.

int US_ConstraintsEdit::investigator
private

Definition at line 61 of file us_constraints_edit.h.

QList< int > US_ConstraintsEdit::lcompx
private

Definition at line 86 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_analyteConc
private

Definition at line 115 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_delta
private

Definition at line 126 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_description
private

Definition at line 127 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_extinction
private

Definition at line 112 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_lbl_kd
private

Definition at line 117 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_lbl_koff
private

Definition at line 121 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_max_conc
private

Definition at line 111 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_max_D
private

Definition at line 102 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_max_f
private

Definition at line 108 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_max_ff0
private

Definition at line 105 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_max_kd
private

Definition at line 120 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_max_koff
private

Definition at line 124 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_max_mw
private

Definition at line 96 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_max_s
private

Definition at line 99 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_max_vbar
private

Definition at line 93 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_min_conc
private

Definition at line 110 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_min_D
private

Definition at line 101 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_min_f
private

Definition at line 107 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_min_ff0
private

Definition at line 104 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_min_kd
private

Definition at line 119 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_min_koff
private

Definition at line 123 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_min_mw
private

Definition at line 95 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_min_s
private

Definition at line 98 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_min_vbar
private

Definition at line 92 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_molar
private

Definition at line 116 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_oligomer
private

Definition at line 114 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_sigma
private

Definition at line 125 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_val_conc
private

Definition at line 109 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_val_D
private

Definition at line 100 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_val_f
private

Definition at line 106 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_val_ff0
private

Definition at line 103 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_val_kd
private

Definition at line 118 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_val_koff
private

Definition at line 122 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_val_mw
private

Definition at line 94 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_val_s
private

Definition at line 97 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_val_vbar
private

Definition at line 91 of file us_constraints_edit.h.

QLineEdit* US_ConstraintsEdit::le_wavelength
private

Definition at line 113 of file us_constraints_edit.h.

QListWidget* US_ConstraintsEdit::lw_assocs
private

Definition at line 84 of file us_constraints_edit.h.

QListWidget* US_ConstraintsEdit::lw_comps
private

Definition at line 83 of file us_constraints_edit.h.

QPalette US_ConstraintsEdit::normal
private

Definition at line 81 of file us_constraints_edit.h.

int US_ConstraintsEdit::oldRow
private

Definition at line 62 of file us_constraints_edit.h.

QPushButton* US_ConstraintsEdit::pb_accept
private

Definition at line 88 of file us_constraints_edit.h.

QPushButton* US_ConstraintsEdit::pb_load_c0
private

Definition at line 89 of file us_constraints_edit.h.

US_Help US_ConstraintsEdit::showhelp
private

Definition at line 53 of file us_constraints_edit.h.

US_Hydrosim US_ConstraintsEdit::working_data
private

Definition at line 76 of file us_constraints_edit.h.

QVector< C_CONSTRAINT > US_ConstraintsEdit::wrk_attrs
private

Definition at line 59 of file us_constraints_edit.h.


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