iCub-main
Loading...
Searching...
No Matches
icub-main
src
tools
FirmwareUpdater
customspinbox.h
Go to the documentation of this file.
1
#ifndef CUSTOMSPINBOX_H
2
#define CUSTOMSPINBOX_H
3
4
#include <QObject>
5
#include <QSpinBox>
6
#include "
downloader.h
"
7
8
class
CustomSpinBox
:
public
QSpinBox
9
{
10
Q_OBJECT
11
public
:
12
CustomSpinBox
(icubCanProto_boardType_t boardType, QWidget *parent =
nullptr
);
13
14
void
setData
(QVariant v);
15
QVariant
getData
();
16
void
clear
();
17
void
setCurrentValue
(
int
v);
18
19
private
:
20
QVariant data;
21
int
previousValue;
22
bool
modified;
23
24
private
slots:
25
void
onValueChanged(
int
);
26
};
27
28
#endif
// CUSTOMSPINBOX_H
CustomSpinBox
Definition
customspinbox.h:9
CustomSpinBox::setCurrentValue
void setCurrentValue(int v)
Definition
customspinbox.cpp:34
CustomSpinBox::getData
QVariant getData()
Definition
customspinbox.cpp:22
CustomSpinBox::clear
void clear()
Definition
customspinbox.cpp:27
CustomSpinBox::setData
void setData(QVariant v)
Definition
customspinbox.cpp:17
downloader.h
Generated on Wed Dec 18 2024 16:34:48 for iCub-main by
1.9.8