Class to show results of Self-Association Equilibrium Simulation This program allows you to simulate the relative amounts of monomer, dimer and tetramer species present in a self-association equilibrium. More...
#include "us_sassoc.h"
Public Member Functions | |
US_Sassoc (double, double, double, double, const QString &, int, bool, bool=true, QWidget *=0, Qt::WindowFlags=0) | |
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 | |
void | new_value (const QwtDoublePoint &) |
void | mouseD (const QwtDoublePoint &) |
void | mouseU (const QwtDoublePoint &) |
void | update_stoich1 (const QString &) |
void | update_stoich2 (const QString &) |
void | update_eq1 (const QString &) |
void | update_eq2 (const QString &) |
void | update_eq1Count (double) |
void | update_eq2Count (double) |
void | save (void) |
void | help (void) |
Private Member Functions | |
void | recalc (void) |
double | monomer_root (double) |
double | polynomial (double, double) |
void | update_legend (double) |
Private Attributes | |
double | eq [2] |
double | stoich [2] |
QString | project |
int | model |
double | x [ARRAY_SIZE] |
double | species1 [ARRAY_SIZE] |
double | species2 [ARRAY_SIZE] |
double | species3 [ARRAY_SIZE] |
bool | updating |
QwtPlot * | plot |
QwtPlotCurve * | curve1 |
QwtPlotCurve * | curve2 |
QwtPlotCurve * | curve3 |
QwtCounter * | c_equil1 |
QwtCounter * | c_equil2 |
QLineEdit * | le_species1 |
QLineEdit * | le_species2 |
QLineEdit * | le_species3 |
QLineEdit * | le_conc |
QLineEdit * | le_assoc1 |
QLineEdit * | le_assoc2 |
QLineEdit * | le_equil1 |
QLineEdit * | le_equil2 |
US_Plot * | plot1 |
US_Help | showHelp |
QwtPlotPicker * | pick |
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... | |
Class to show results of Self-Association Equilibrium Simulation This program allows you to simulate the relative amounts of monomer, dimer and tetramer species present in a self-association equilibrium.
Definition at line 22 of file us_sassoc.h.
US_Sassoc::US_Sassoc | ( | double | eq0, |
double | eq1, | ||
double | stoich1, | ||
double | stoich2, | ||
const QString & | t_project, | ||
int | t_model, | ||
bool | status, | ||
bool | position_win = true , |
||
QWidget * | parent = 0 , |
||
Qt::WindowFlags | flags = 0 |
||
) |
Constructor
eq0 | Equilibrium constant for first component |
eq1 | Equilibrium constant for second component |
stoich1 | Stoichiometry for first component |
stoich2 | Stoichiometry for second component |
t_project | Project Name |
t_model | Index into redefined model US_Constants::modelStrings() |
status | Not used |
position_win | If true, set the window position upper left corner to 30, 30 from parent, otherwise system default |
parent | Parent window, normally 0 |
flags | Window flags, normally 0 (default) |
Definition at line 9 of file us_sassoc.cpp.
|
inlineprivateslot |
Definition at line 99 of file us_sassoc.h.
|
private |
Definition at line 241 of file us_sassoc.cpp.
|
privateslot |
Definition at line 283 of file us_sassoc.cpp.
|
privateslot |
Definition at line 278 of file us_sassoc.cpp.
|
privateslot |
Definition at line 273 of file us_sassoc.cpp.
|
private |
Definition at line 265 of file us_sassoc.cpp.
|
private |
Definition at line 221 of file us_sassoc.cpp.
|
privateslot |
Definition at line 351 of file us_sassoc.cpp.
|
privateslot |
Definition at line 323 of file us_sassoc.cpp.
|
privateslot |
Definition at line 337 of file us_sassoc.cpp.
|
privateslot |
Definition at line 330 of file us_sassoc.cpp.
|
privateslot |
Definition at line 344 of file us_sassoc.cpp.
|
private |
Definition at line 289 of file us_sassoc.cpp.
|
privateslot |
Definition at line 311 of file us_sassoc.cpp.
|
privateslot |
Definition at line 317 of file us_sassoc.cpp.
|
private |
Definition at line 64 of file us_sassoc.h.
|
private |
Definition at line 65 of file us_sassoc.h.
|
private |
Definition at line 60 of file us_sassoc.h.
|
private |
Definition at line 61 of file us_sassoc.h.
|
private |
Definition at line 62 of file us_sassoc.h.
|
private |
Definition at line 46 of file us_sassoc.h.
|
private |
Definition at line 71 of file us_sassoc.h.
|
private |
Definition at line 72 of file us_sassoc.h.
|
private |
Definition at line 70 of file us_sassoc.h.
|
private |
Definition at line 73 of file us_sassoc.h.
|
private |
Definition at line 74 of file us_sassoc.h.
|
private |
Definition at line 67 of file us_sassoc.h.
|
private |
Definition at line 68 of file us_sassoc.h.
|
private |
Definition at line 69 of file us_sassoc.h.
|
private |
Definition at line 49 of file us_sassoc.h.
|
private |
Definition at line 80 of file us_sassoc.h.
|
private |
Definition at line 58 of file us_sassoc.h.
|
private |
Definition at line 76 of file us_sassoc.h.
|
private |
Definition at line 48 of file us_sassoc.h.
|
private |
Definition at line 78 of file us_sassoc.h.
|
private |
Definition at line 52 of file us_sassoc.h.
|
private |
Definition at line 53 of file us_sassoc.h.
|
private |
Definition at line 54 of file us_sassoc.h.
|
private |
Definition at line 47 of file us_sassoc.h.
|
private |
Definition at line 56 of file us_sassoc.h.
|
private |
Definition at line 51 of file us_sassoc.h.