Loading [MathJax]/extensions/tex2jax.js
iCub-main
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
a
b
c
d
e
h
i
j
l
m
n
p
r
s
t
w
z
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
b
c
e
g
i
l
n
p
r
s
t
u
Enumerator
a
b
c
d
e
f
g
i
l
m
p
r
s
t
u
Properties
Related Symbols
a
b
c
g
i
l
o
q
r
s
t
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
x
y
z
Typedefs
Enumerations
Enumerator
_
a
c
d
e
g
j
m
n
p
s
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
icub-main
src
tools
FirmwareUpdater
customcombobox.h
Go to the documentation of this file.
1
#ifndef CUSTOMCOMBOBOX_H
2
#define CUSTOMCOMBOBOX_H
3
4
#include <QObject>
5
#include <QComboBox>
6
#include <QMutex>
7
8
#define GAINAMPROLE Qt::UserRole + 1
9
10
class
CustomComboBox
:
public
QComboBox
11
{
12
Q_OBJECT
13
14
public
:
15
CustomComboBox
(QWidget *parent =
nullptr
);
16
void
clear
();
17
void
setCurrIndex
(
int
v);
18
void
initItems
();
19
void
clearItems
();
20
void
addCustomValue
(
float
val);
21
void
setIndexFromAmpGain
(
int
g);
22
23
private
:
24
int
previousIndex;
25
bool
modified;
26
bool
initialized;
27
QMutex mutex;
28
29
private
slots:
30
void
onCurrentIndexChanged(
int
v);
31
};
10
class
CustomComboBox
:
public
QComboBox {
…
};
32
33
#endif
// CUSTOMCOMBOBOX_H
CustomComboBox
Definition
customcombobox.h:11
CustomComboBox::setCurrIndex
void setCurrIndex(int v)
Definition
customcombobox.cpp:33
CustomComboBox::addCustomValue
void addCustomValue(float val)
Definition
customcombobox.cpp:159
CustomComboBox::clearItems
void clearItems()
Definition
customcombobox.cpp:73
CustomComboBox::clear
void clear()
Definition
customcombobox.cpp:17
CustomComboBox::initItems
void initItems()
Definition
customcombobox.cpp:82
CustomComboBox::setIndexFromAmpGain
void setIndexFromAmpGain(int g)
Definition
customcombobox.cpp:121
Generated on Tue May 6 2025 15:42:06 for iCub-main by
1.9.8