iCub-main
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
CustomSpinBox::CustomSpinBox
CustomSpinBox(icubCanProto_boardType_t boardType, QWidget *parent=nullptr)
Definition:
customspinbox.cpp:3
downloader.h
Generated on Wed Nov 13 2024 21:11:42 for iCub-main by
1.9.1