VR-Vantage
Loading...
Searching...
No Matches
HumbleDialogWidgetInterface Class Referenceabstract

Interface for the HumbleDialogWidget. This class defines the implementation-agnostic interface for the HumbleDialogWidget. This interface is used by the HumbleDialogLogic to communicate with the widget without any understanding of how the widget was implemented. More...

Inheritance diagram for HumbleDialogWidgetInterface:

Public Member Functions

virtual void setText (const std::string &text)=0
 Called by the logic to set the text in the widget.

Public Attributes

makVrv::vrvSignalsLib::signal< void(const std::string &text)> signal_processText
 Signal emitted when the user changes the text in the widget then presses the [Return] or [Enter] key. Connected to a slot in the logic.

Detailed Description

Interface for the HumbleDialogWidget. This class defines the implementation-agnostic interface for the HumbleDialogWidget. This interface is used by the HumbleDialogLogic to communicate with the widget without any understanding of how the widget was implemented.

Examples

Member Function Documentation

◆ setText()

virtual void HumbleDialogWidgetInterface::setText ( const std::string & text)
pure virtual

Called by the logic to set the text in the widget.

Implemented in HumbleDialogWidget.

Member Data Documentation

◆ signal_processText

makVrv::vrvSignalsLib::signal<void (const std::string& text)> HumbleDialogWidgetInterface::signal_processText

Signal emitted when the user changes the text in the widget then presses the [Return] or [Enter] key. Connected to a slot in the logic.


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