VAPOR3 3.9.4
PDisplay.h
Go to the documentation of this file.
1#pragma once
2
3#include "PWidget.h"
4
5class VLabel;
6
10
11class PDisplay : public PWidget {
12 Q_OBJECT
13
14public:
15 PDisplay(const std::string &tag, const std::string &label = "");
17
18protected:
20
21 void setText(std::string text) const;
22};
23
26
27class PStringDisplay : public PDisplay {
28 Q_OBJECT
29
30public:
32
33protected:
34 void updateGUI() const override;
35};
36
39
40class PIntegerDisplay : public PDisplay {
41 Q_OBJECT
42
43public:
45
46protected:
47 void updateGUI() const override;
48};
49
52
53class PDoubleDisplay : public PDisplay {
54 Q_OBJECT
55
56public:
58
59protected:
60 void updateGUI() const override;
61};
62
65
66class PBooleanDisplay : public PDisplay {
67 Q_OBJECT
68
69public:
71
72protected:
73 void updateGUI() const override;
74};
void updateGUI() const override
VLabel * _label
Definition: PDisplay.h:19
PDisplay * Selectable()
void setText(std::string text) const
PDisplay(const std::string &tag, const std::string &label="")
void updateGUI() const override
void updateGUI() const override
void updateGUI() const override
Definition: VLabel.h:8