VAPOR3 3.9.4
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
15class VIntSpinBox : public VHBoxWidget {
16 Q_OBJECT
17
18public:
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
26private:
27 QSpinBox *_spinBox;
28 int _value;
29
30public slots:
33
34signals:
35 void ValueChanged(int value);
36 void ValueChangedIntermediate(int value);
37};
void emitValueChangedIntermediate(int value)
void SetRange(int min, int max)
int GetValue() const
void ValueChanged(int value)
void SetValue(int value)
void emitValueChanged()
VIntSpinBox(int min, int max)
void ValueChangedIntermediate(int value)