StaticWidgets.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Basic.h"
4 
6 {
7  struct LabelBuilder
8  : public ValueMixin<Label, std::string, LabelBuilder>
9  , public ToolTipMixin<LabelBuilder>
10  {
11  using ValueMixin::ValueMixin;
12  };
13 }
14 
15 namespace armarx::RemoteGui
16 {
17  inline detail::LabelBuilder makeLabel(std::string const& name)
18  {
19  return detail::LabelBuilder(name);
20  }
21 
22  inline detail::LabelBuilder makeTextLabel(std::string const& text)
23  {
24  return detail::LabelBuilder("").value(text);
25  }
26 }
Basic.h
armarx::RemoteGui
Definition: LightweightRemoteGuiComponentPlugin.h:30
armarx::RemoteGui::makeLabel
detail::LabelBuilder makeLabel(std::string const &name)
Definition: StaticWidgets.h:17
armarx::RemoteGui::detail
Definition: Basic.h:10
armarx::RemoteGui::makeTextLabel
detail::LabelBuilder makeTextLabel(std::string const &text)
Definition: StaticWidgets.h:22
armarx::RemoteGui::detail::ValueMixin::value
Derived & value(ValueT const &value)
Definition: Basic.h:77
armarx::RemoteGui::detail::ToolTipMixin
Definition: Basic.h:200
armarx::RemoteGui::detail::LabelBuilder
Definition: StaticWidgets.h:7
armarx::RemoteGui::detail::ValueMixin
Definition: Basic.h:68