UltraScan III
Namespaces
Classes
Files
File List
File Members
gui
us_abstractrotor_gui.h
Go to the documentation of this file.
1
#ifndef US_ABSTRACTROTOR_GUI_H
3
#define US_ABSTRACTROTOR_GUI_H
4
5
#include <QtGui>
6
7
#include "
us_extern.h
"
8
#include "
us_rotor.h
"
9
#include "
us_widgets.h
"
10
#include "
us_widgets_dialog.h
"
11
#include "
us_help.h
"
12
#include "
us_editor.h
"
13
#include "
us_investigator.h
"
14
15
22
class
US_GUI_EXTERN
US_AbstractRotorGui
:
public
US_WidgetsDialog
23
{
24
25
Q_OBJECT
26
27
public
:
28
37
US_AbstractRotorGui
(
bool
=
false
,
38
int
=
US_Disk_DB_Controls::Default
,
39
US_Rotor::Rotor
* =
new
US_Rotor::Rotor
() );
40
41
signals:
42
45
void
use_db(
bool
DB );
46
47
private
:
48
US_Rotor::Rotor
*
currentRotor
;
49
bool
signal
;
50
51
QPushButton*
pb_help
;
52
QPushButton*
pb_reset
;
53
QPushButton*
pb_accept
;
54
QPushButton*
pb_close
;
55
56
QRadioButton*
rb_db
;
57
QRadioButton*
rb_disk
;
58
59
QLineEdit*
le_name
;
60
QLineEdit*
le_serialNumber
;
61
62
QComboBox*
cb_rotors
;
63
64
QTextEdit*
te_details
;
65
66
US_Disk_DB_Controls
*
disk_controls
;
67
68
QVector <US_Rotor::AbstractRotor>
abstractRotorList
;
69
int
currentARIndex
;
// current index into abstractRotorList
70
71
US_Help
showHelp
;
72
73
private
slots:
74
75
void
setupGui (
int
);
76
void
reset (
void
);
77
void
source_changed (
bool
);
78
bool
loadAbstractRotors (
void
);
79
void
showDetails (
int
);
80
int
getIndex (
void
);
81
void
select (
void
);
82
void
connect_error (
const
QString & );
83
void
help
(
void
)
84
{ showHelp.show_help(
"manual/abstractrotor.html"
); };
85
};
86
#endif
Generated on Sun Jun 21 2015 11:40:41 for UltraScan III by
1.8.3.1-20130324