7 #include <qwt_counter.h>
8 #include <qwt_plot_curve.h>
16 #define ARRAY_SIZE 555
41 US_Sassoc(
double,
double,
double,
double,
42 const QString&,
int,
bool,
43 bool =
true, QWidget* = 0, Qt::WindowFlags = 0 );
83 double monomer_root (
double );
84 double polynomial (
double,
double );
85 void update_legend (
double );
88 void new_value (
const QwtDoublePoint& );
89 void mouseD (
const QwtDoublePoint& );
90 void mouseU (
const QwtDoublePoint& );
91 void update_stoich1 (
const QString& );
92 void update_stoich2 (
const QString& );
93 void update_eq1 (
const QString& );
94 void update_eq2 (
const QString& );
95 void update_eq1Count(
double );
96 void update_eq2Count(
double );
100 { showHelp.show_help(
"manual/sassoc.html" ); };
106 #include "us_pixmap.h"
108 #include "us_selectplot.h"
109 #include "us_printfilter.h"
112 class US_SassocLegend :
public QFrame
118 US_SassocLegend(QWidget *
p=0 ,
const char *name=0);
123 QLabel *lbl_species1a;
124 QLabel *lbl_species2a;
125 QLabel *lbl_species3a;
126 QLabel *lbl_species4a;
127 QLabel *lbl_species1b;
128 QLabel *lbl_species2b;
129 QLabel *lbl_species3b;
130 QLabel *lbl_species4b;
131 QLabel *lbl_instructions;
141 US_Sassoc(
float,
float,
float,
float, QString,
int,
bool, QWidget *
p=0 ,
const char *name=0);
156 QTextEdit *mle_model;
157 QPushButton *pb_cancel;
158 QPushButton *pb_write;
159 QPushButton *pb_help;
160 QPushButton *pb_print;
161 QPushButton *pb_recalc;
164 QLineEdit *le_stoich1;
165 QLineEdit *le_stoich2;
169 US_SassocLegend *sas_l;
176 unsigned int curve[3];
182 void closeEvent(QCloseEvent *);
184 void mouseMoved(
const QMouseEvent &e);
185 void mousePressed(
const QMouseEvent &e);
186 void mouseReleased(
const QMouseEvent &e);
192 bool createHtmlDir();
196 double monomer_root(
double);
197 double polynomial(
double,
double);
198 void update_stoich1(
const QString &);
199 void update_stoich2(
const QString &);
200 void update_eq1(
const QString &);
201 void update_eq2(
const QString &);
202 void update_eq1Count(
double);
203 void update_eq2Count(
double);