UltraScan III
Namespaces
Classes
Files
File List
File Members
programs
us_ramp
us_selectbox_ra.h
Go to the documentation of this file.
1
#ifndef US_SELECTBOX_H
3
#define US_SELECTBOX_H
4
5
#include <QtGui>
6
7
#include "
us_extern.h
"
8
9
struct
listInfo
10
{
11
QString
ID
;
12
QString
text
;
13
};
14
23
class
US_SelectBaseRa
24
{
25
public
:
31
US_SelectBaseRa
();
32
34
~US_SelectBaseRa
() {};
35
36
protected
:
37
QList< listInfo >
widgetList
;
38
39
};
40
48
class
US_SelectBoxRa
:
public
QComboBox,
public
US_SelectBaseRa
49
{
50
public
:
56
US_SelectBoxRa
( QWidget* parent = 0 );
57
59
~US_SelectBoxRa
() {};
60
66
void
addOption
(
listInfo
& );
67
73
void
addOptions
( QList< listInfo >& );
74
78
void
load
(
void
);
79
85
void
setLogicalIndex
(
int
);
86
90
int
getLogicalID
(
void
);
91
};
92
100
class
US_ListwidgetBoxRa
:
public
QListWidget,
public
US_SelectBaseRa
101
{
102
public
:
109
US_ListwidgetBoxRa
( QWidget* parent = 0,
int
fontAdjust = 0 );
110
112
~US_ListwidgetBoxRa
() {};
113
118
void
addOption
(
listInfo
& );
119
124
void
addOptions
( QList< listInfo >& );
125
129
void
load
(
void
);
130
135
void
setLogicalIndex
(
int
);
136
140
int
getLogicalID
(
void
);
141
};
142
143
#endif
Generated on Sun Jun 21 2015 11:40:43 for UltraScan III by
1.8.3.1-20130324