CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
PushButtonInterface Struct Referenceabstract

#include <pushbuttoninterface.h>

Inheritance diagram for PushButtonInterface:

Public Types

typedef std::function< void()> pressed_t
 

Public Member Functions

virtual ~PushButtonInterface ()
 
virtual void pressedCbk (const pressed_t &cb)=0
 
virtual QWidget * mainWidget ()=0
 
virtual void init (const QString &buttonName, bool isEnable)=0
 
virtual void setDisabled (bool state)=0
 
virtual bool isEnabled ()=0
 
virtual void setCheckable (bool checked)=0
 
virtual bool checkable ()=0
 
virtual bool checked ()=0
 
virtual void setChecked (bool checked)=0
 

Member Typedef Documentation

◆ pressed_t

typedef std::function<void()> PushButtonInterface::pressed_t

Constructor & Destructor Documentation

◆ ~PushButtonInterface()

virtual PushButtonInterface::~PushButtonInterface ( )
inlinevirtual

Member Function Documentation

◆ checkable()

virtual bool PushButtonInterface::checkable ( )
pure virtual

Implemented in NLMPushButton.

◆ checked()

virtual bool PushButtonInterface::checked ( )
pure virtual

Implemented in NLMPushButton.

◆ init()

virtual void PushButtonInterface::init ( const QString &  buttonName,
bool  isEnable 
)
pure virtual

Implemented in NLMPushButton.

◆ isEnabled()

virtual bool PushButtonInterface::isEnabled ( )
pure virtual

Implemented in NLMPushButton.

◆ mainWidget()

virtual QWidget * PushButtonInterface::mainWidget ( )
pure virtual

Implemented in NLMPushButton.

◆ pressedCbk()

virtual void PushButtonInterface::pressedCbk ( const pressed_t cb)
pure virtual

Implemented in NLMPushButton.

◆ setCheckable()

virtual void PushButtonInterface::setCheckable ( bool  checked)
pure virtual

Implemented in NLMPushButton.

◆ setChecked()

virtual void PushButtonInterface::setChecked ( bool  checked)
pure virtual

Implemented in NLMPushButton.

◆ setDisabled()

virtual void PushButtonInterface::setDisabled ( bool  state)
pure virtual

Implemented in NLMPushButton.


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