VAPOR3
3.9.4
apps
vaporgui
PIntegerInput.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
PLineItem.h
"
4
#include "
PDynamicMixin.h
"
5
6
class
VIntSpinBox
;
7
11
12
class
PIntegerInput
:
public
PLineItem
,
public
PDynamicMixin
{
13
Q_OBJECT
14
15
VIntSpinBox
*_spinbox;
16
17
public
:
18
PIntegerInput
(
const
std::string &tag,
const
std::string &label =
""
);
20
PIntegerInput
*
SetRange
(
int
min,
int
max);
21
22
protected
:
23
void
updateGUI
()
const override
;
24
25
private
slots:
26
void
spinboxValueChanged(
int
i);
27
void
valueChangedIntermediate(
int
i);
28
};
PDynamicMixin.h
PLineItem.h
PDynamicMixin
Definition:
PDynamicMixin.h:10
PIntegerInput
Definition:
PIntegerInput.h:12
PIntegerInput::SetRange
PIntegerInput * SetRange(int min, int max)
PIntegerInput::updateGUI
void updateGUI() const override
PIntegerInput::PIntegerInput
PIntegerInput(const std::string &tag, const std::string &label="")
PLineItem
Definition:
PLineItem.h:9
VIntSpinBox
Definition:
VIntSpinBox.h:15
Generated by
1.9.6