ToggleButtonHandler Struct Reference

#include <ArmarXGui/libraries/RemoteGui/WidgetHandlers/BoolWidgets.h>

+ Inheritance diagram for ToggleButtonHandler:

Static Public Member Functions

static QWidgetTcreateWidget (RemoteWidgetT const &desc, CreateWidgetCallback const &createChild, const QObject *stateChangeReceiver, const char *stateChangeSlot)
 
static ValueT handleGuiChange (RemoteWidgetT const &desc, QWidgetT *widget)
 
static void updateGui (RemoteWidgetT const &desc, QWidgetT *widget, ValueT const &value)
 
- Static Public Member Functions inherited from TypedWidget< ToggleButton, QPushButton, VALUE_VARIANT_BOOL >
static bool isValid (RemoteWidgetT const &, std::ostream &out)
 

Additional Inherited Members

- Public Types inherited from TypedWidget< ToggleButton, QPushButton, VALUE_VARIANT_BOOL >
using QWidgetT = QPushButton
 
using RemoteWidgetT = ToggleButton
 
using ValueT = typename Storage< ValueType >::Type
 
- Static Public Attributes inherited from TypedWidget< ToggleButton, QPushButton, VALUE_VARIANT_BOOL >
static const ValueVariantType ValueType
 

Detailed Description

Definition at line 36 of file BoolWidgets.h.

Member Function Documentation

◆ createWidget()

static QWidgetT* createWidget ( RemoteWidgetT const &  desc,
CreateWidgetCallback const &  createChild,
const QObject *  stateChangeReceiver,
const char *  stateChangeSlot 
)
inlinestatic

Definition at line 38 of file BoolWidgets.h.

+ Here is the call graph for this function:

◆ handleGuiChange()

static ValueT handleGuiChange ( RemoteWidgetT const &  desc,
QWidgetT widget 
)
inlinestatic

Definition at line 57 of file BoolWidgets.h.

◆ updateGui()

static void updateGui ( RemoteWidgetT const &  desc,
QWidgetT widget,
ValueT const &  value 
)
inlinestatic

Definition at line 52 of file BoolWidgets.h.

+ Here is the call graph for this function:

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