Loading [MathJax]/extensions/TeX/AMSmath.js
Radium Engine  1.5.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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
Definition: Cage.cpp:3