UltraScan III
Namespaces
Classes
Files
File List
File Members
gui
us_associations_gui.h
Go to the documentation of this file.
1
#ifndef US_ASSOCIATIONS_GUI_H
3
#define US_ASSOCIATIONS_GUI_H
4
5
#include <QtGui>
6
7
#include "
us_widgets_dialog.h
"
8
#include "
us_widgets.h
"
9
#include "
us_model.h
"
10
#include "
us_help.h
"
11
#include "
us_extern.h
"
12
14
15
class
US_GUI_EXTERN
US_AssociationsGui
:
public
US_WidgetsDialog
16
{
17
Q_OBJECT
18
19
public
:
21
US_AssociationsGui
(
US_Model
& );
22
23
signals:
24
26
void
done(
void
);
27
28
private
:
29
US_Model
&
model
;
30
US_Help
showhelp
;
31
US_ListWidget
*
lw_analytes
;
32
QTableWidget*
tw
;
33
34
QFontMetrics*
fm
;
35
36
QList< QwtCounter* >
keq
;
37
QList< QwtCounter* >
koff
;
38
39
void
new_row (
void
);
40
void
populate (
void
);
41
void
set_component(
int
,
int
,
int
);
42
bool
combine_reactants(
US_Model::Association
* );
43
44
private
slots:
45
void
changed (
int
,
int
);
46
void
del (
int
);
47
void
complete (
void
);
48
49
void
help
(
void
)
50
{ showhelp.show_help(
"associations.html"
); };
51
};
52
56
class
US_GUI_EXTERN
US_PushButton
:
public
QPushButton
57
{
58
Q_OBJECT
59
60
public
:
64
US_PushButton
(
const
QString&,
int
);
67
void
setIndex
(
int
i ){ index = i; };
68
69
signals:
71
void
pushed(
int
);
72
73
private
:
74
int
index
;
75
76
private
slots:
77
void
mousePressEvent( QMouseEvent* );
78
};
79
80
#endif
Generated on Sun Jun 21 2015 11:40:41 for UltraScan III by
1.8.3.1-20130324