WidgetProxy.cpp
Go to the documentation of this file.
1 #include "WidgetProxy.h"
2 
3 namespace armarx::RemoteGui
4 {
5  ButtonProxy
6  TabProxy::getButton(const std::string& name)
7  {
8  return ButtonProxy(this, name);
9  }
10 
11  bool
12  TabProxy::getButtonClicked(const std::string& name)
13  {
14  return getButton(name).clicked();
15  }
16 
17  bool
18  TabProxy::hasValueChanged(const std::string& name)
19  {
21  return oldValues.at(name) != currentValues.at(name);
22  }
23 } // namespace armarx::RemoteGui
armarx::RemoteGui::TabProxy::hasValueChanged
bool hasValueChanged(std::string const &name)
Definition: WidgetProxy.cpp:18
armarx::RemoteGui
Definition: LightweightRemoteGuiComponentPlugin.h:30
armarx::RemoteGui::ButtonProxy
Definition: WidgetProxy.h:111
ARMARX_TRACE
#define ARMARX_TRACE
Definition: trace.h:77
armarx::RemoteGui::TabProxy::getButton
ButtonProxy getButton(std::string const &name)
Definition: WidgetProxy.cpp:6
armarx::RemoteGui::ButtonProxy::clicked
bool clicked() const
Definition: WidgetProxy.h:362
WidgetProxy.h
armarx::RemoteGui::TabProxy::getButtonClicked
bool getButtonClicked(std::string const &name)
Definition: WidgetProxy.cpp:12