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