WidgetHandler Struct Referenceabstract

#include <ArmarXGui/libraries/RemoteGui/WidgetHandler.h>

+ Inheritance diagram for WidgetHandler:

Public Member Functions

virtual QWidget * createWidget (Widget const &desc, ValueVariant const &initialValue, CreateWidgetCallback const &createChild, const QObject *stateChangeReceiver, const char *stateChangeSlot) const =0
 
virtual std::string getHandlerT () const =0
 
virtual RemoteGui::ValueVariant handleGuiChange (Widget const &desc, QWidget *widget) const =0
 
virtual bool isValid (Widget const &desc, std::ostream &out=cnull) const =0
 
virtual void updateGui (Widget const &desc, QWidget *widget, ValueVariant const &value) const =0
 
virtual ~WidgetHandler ()=default
 

Detailed Description

Definition at line 22 of file WidgetHandler.h.

Constructor & Destructor Documentation

◆ ~WidgetHandler()

virtual ~WidgetHandler ( )
virtualdefault

Member Function Documentation

◆ createWidget()

virtual QWidget* createWidget ( Widget const &  desc,
ValueVariant const &  initialValue,
CreateWidgetCallback const &  createChild,
const QObject *  stateChangeReceiver,
const char *  stateChangeSlot 
) const
pure virtual

◆ getHandlerT()

virtual std::string getHandlerT ( ) const
pure virtual

◆ handleGuiChange()

virtual RemoteGui::ValueVariant handleGuiChange ( Widget const &  desc,
QWidget *  widget 
) const
pure virtual

Implemented in TypedWidgetHandler< HandlerT >.

+ Here is the caller graph for this function:

◆ isValid()

virtual bool isValid ( Widget const &  desc,
std::ostream &  out = cnull 
) const
pure virtual

◆ updateGui()

virtual void updateGui ( Widget const &  desc,
QWidget *  widget,
ValueVariant const &  value 
) const
pure virtual

The documentation for this struct was generated from the following file: