VAPOR3
3.9.4
apps
vaporgui
VIntSpinBox.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
#include <QWidget>
6
#include <QSpinBox>
7
8
#include "
VHBoxWidget.h
"
9
14
15
class
VIntSpinBox
:
public
VHBoxWidget
{
16
Q_OBJECT
17
18
public
:
19
VIntSpinBox
(
int
min,
int
max);
20
21
void
SetValue
(
int
value);
22
void
SetRange
(
int
min,
int
max);
23
24
int
GetValue
()
const
;
25
26
private
:
27
QSpinBox *_spinBox;
28
int
_value;
29
30
public
slots:
31
void
emitValueChanged
();
32
void
emitValueChangedIntermediate
(
int
value);
33
34
signals:
35
void
ValueChanged
(
int
value);
36
void
ValueChangedIntermediate
(
int
value);
37
};
VHBoxWidget.h
VHBoxWidget
Definition:
VHBoxWidget.h:16
VIntSpinBox
Definition:
VIntSpinBox.h:15
VIntSpinBox::emitValueChangedIntermediate
void emitValueChangedIntermediate(int value)
VIntSpinBox::SetRange
void SetRange(int min, int max)
VIntSpinBox::GetValue
int GetValue() const
VIntSpinBox::ValueChanged
void ValueChanged(int value)
VIntSpinBox::SetValue
void SetValue(int value)
VIntSpinBox::emitValueChanged
void emitValueChanged()
VIntSpinBox::VIntSpinBox
VIntSpinBox(int min, int max)
VIntSpinBox::ValueChangedIntermediate
void ValueChangedIntermediate(int value)
Generated by
1.9.6