UltraScan III
Namespaces
Classes
Files
File List
File Members
gui
us_model_gui.h
Go to the documentation of this file.
1
#ifndef US_MODEL_GUI_H
3
#define US_MODEL_GUI_H
4
5
#include <QtGui>
6
7
#include "
us_widgets.h
"
8
#include "
us_model.h
"
9
#include "
us_help.h
"
10
#include "
us_predict1.h
"
11
#include "
us_analyte_gui.h
"
12
#include "
us_buffer.h
"
13
#include "
us_extern.h
"
14
16
17
class
US_GUI_EXTERN
US_ModelGui
:
public
US_WidgetsDialog
18
{
19
Q_OBJECT
20
21
public
:
23
US_ModelGui
(
US_Model
& );
24
26
enum
optics_t
{ ABSORBANCE, INTERFERENCE, FLUORESCENCE };
27
28
signals:
29
32
void
valueChanged(
US_Model
model );
33
34
private
:
35
int
investigator
;
36
int
recent_row
;
37
38
bool
newFile
;
39
bool
model_saved
;
40
41
US_Model
model
;
42
US_Model
working_model
;
43
US_Buffer
buffer
;
44
US_Help
showhelp
;
45
46
class
US_GUI_EXTERN
ModelDesc
47
{
48
public
:
49
QString
description
;
50
QString
filename
;
51
QString
modelGUID
;
52
QString
DB_id
;
53
QString
editGUID
;
54
};
55
56
QList< ModelDesc >
model_descriptions
;
57
58
QLineEdit*
le_mlfilt
;
59
QLineEdit*
le_nlines
;
60
QLineEdit*
le_description
;
61
QLineEdit*
le_investigator
;
62
QLineEdit*
le_wavelength
;
63
QLineEdit*
le_guid
;
64
65
QListWidget*
lw_models
;
66
67
QPushButton*
pb_save
;
68
QPushButton*
pb_delete
;
69
70
QComboBox*
cb_optics
;
71
72
US_Disk_DB_Controls
*
dkdb_cntrls
;
73
74
bool
verify_model (
void
);
75
bool
status_query (
const
QStringList& );
76
bool
database_ok (
US_DB2
& );
77
bool
ignore_changes (
void
);
78
void
show_model_desc(
void
);
79
void
connect_error (
const
QString& );
80
81
private
slots:
82
void
manage_components (
void
);
83
void
list_models (
void
);
84
void
select_model ( QListWidgetItem* );
85
void
save_model (
void
);
86
void
accept_model (
void
);
87
void
update_sim (
void
);
88
void
edit_description (
void
);
89
void
get_person (
void
);
90
void
check_db (
void
);
91
void
new_model (
void
);
92
void
delete_model (
void
);
93
void
associations (
void
);
94
void
update_assoc (
void
);
95
void
source_changed (
bool
);
96
void
filter_changed (
void
);
97
void
upd_disk_db (
bool
);
98
int
modelIndex ( QString, QList< ModelDesc > );
99
100
void
help
(
void
){ showhelp.show_help(
"model_editor.html"
); };
101
};
102
#endif
Generated on Sun Jun 21 2015 11:40:42 for UltraScan III by
1.8.3.1-20130324