BoolWidgets.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Basic.h
"
4
5
namespace
armarx::RemoteGui::detail
6
{
7
struct
CheckBoxBuilder
8
:
public
ValueMixin
<CheckBox, bool, CheckBoxBuilder>
9
,
public
LabelMixin
<CheckBoxBuilder>
10
,
public
ToolTipMixin
<CheckBoxBuilder>
11
{
12
using
ValueMixin::ValueMixin;
13
};
14
15
struct
ToggleButtonBuilder
16
:
public
ValueMixin
<ToggleButton, bool, ToggleButtonBuilder>
17
,
public
LabelMixin
<ToggleButtonBuilder>
18
,
public
ToolTipMixin
<ToggleButtonBuilder>
19
{
20
using
ValueMixin::ValueMixin;
21
};
22
}
23
24
namespace
armarx::RemoteGui
25
{
26
inline
detail::CheckBoxBuilder
makeCheckBox
(std::string
const
& name)
27
{
28
detail::CheckBoxBuilder
b(name);
29
b.
label
(name);
30
return
b;
31
}
32
33
inline
detail::ToggleButtonBuilder
makeToggleButton
(std::string
const
& name)
34
{
35
detail::ToggleButtonBuilder
b(name);
36
b.
label
(name);
37
return
b;
38
}
39
}
Basic.h
armarx::RemoteGui
Definition:
LightweightRemoteGuiComponentPlugin.h:30
armarx::RemoteGui::detail
Definition:
Basic.h:10
armarx::RemoteGui::detail::LabelMixin
Definition:
Basic.h:189
armarx::RemoteGui::detail::ToggleButtonBuilder
Definition:
BoolWidgets.h:15
armarx::RemoteGui::makeCheckBox
detail::CheckBoxBuilder makeCheckBox(std::string const &name)
Definition:
BoolWidgets.h:26
armarx::RemoteGui::detail::CheckBoxBuilder
Definition:
BoolWidgets.h:7
armarx::RemoteGui::detail::LabelMixin::label
Derived & label(std::string const &label)
Definition:
Basic.h:191
armarx::RemoteGui::detail::ToolTipMixin
Definition:
Basic.h:200
armarx::RemoteGui::detail::ValueMixin
Definition:
Basic.h:68
armarx::RemoteGui::makeToggleButton
detail::ToggleButtonBuilder makeToggleButton(std::string const &name)
Definition:
BoolWidgets.h:33
ArmarXGui
libraries
RemoteGui
WidgetBuilder
BoolWidgets.h
Generated on Sat Oct 12 2024 09:14:04 for armarx_documentation by
1.8.17