Radium Engine
1.5.20
Loading...
Searching...
No Matches
QtTypeWrapper.hpp
1
#pragma once
2
3
#include <QDoubleSpinBox>
4
#include <QSpinBox>
5
6
namespace
Ra
{
7
namespace
Gui {
8
namespace
Widgets {
12
namespace
QtSpinBox {
13
template
<
typename
T>
14
struct
getType {
15
using
Type = QSpinBox;
16
using
SignalType = int;
17
};
18
19
template
<>
20
struct
getType<float> {
21
using
Type = QDoubleSpinBox;
22
using
SignalType = double;
23
};
24
25
template
<>
26
struct
getType<double> {
27
using
Type = QDoubleSpinBox;
28
using
SignalType = double;
29
};
30
31
}
// namespace QtSpinBox
32
33
}
// namespace Widgets
34
}
// namespace Gui
35
}
// namespace Ra
Ra
hepler function to manage enum as underlying types in VariableSet
Definition
Cage.cpp:3
src
Gui
Widgets
QtTypeWrapper.hpp
Generated by
1.12.0