StaticWidgets.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
LabelBuilder
:
8
public
ValueMixin
<Label, std::string, LabelBuilder>,
9
public
ToolTipMixin
<LabelBuilder>
10
{
11
using
ValueMixin::ValueMixin;
12
};
13
}
// namespace armarx::RemoteGui::detail
14
15
namespace
armarx::RemoteGui
16
{
17
inline
detail::LabelBuilder
18
makeLabel
(std::string
const
& name)
19
{
20
return
detail::LabelBuilder
(name);
21
}
22
23
inline
detail::LabelBuilder
24
makeTextLabel
(std::string
const
& text)
25
{
26
return
detail::LabelBuilder
(
""
).
value
(text);
27
}
28
}
// namespace armarx::RemoteGui
Basic.h
armarx::RemoteGui
Definition:
LightweightRemoteGuiComponentPlugin.h:30
armarx::RemoteGui::makeLabel
detail::LabelBuilder makeLabel(std::string const &name)
Definition:
StaticWidgets.h:18
armarx::RemoteGui::detail
Definition:
Basic.h:10
armarx::RemoteGui::makeTextLabel
detail::LabelBuilder makeTextLabel(std::string const &text)
Definition:
StaticWidgets.h:24
armarx::RemoteGui::detail::ValueMixin::value
Derived & value(ValueT const &value)
Definition:
Basic.h:84
armarx::RemoteGui::detail::ToolTipMixin
Definition:
Basic.h:225
armarx::RemoteGui::detail::LabelBuilder
Definition:
StaticWidgets.h:7
armarx::RemoteGui::detail::ValueMixin
Definition:
Basic.h:73
ArmarXGui
libraries
RemoteGui
WidgetBuilder
StaticWidgets.h
Generated on Sat Mar 29 2025 09:17:23 for armarx_documentation by
1.8.17