CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
NLMPushButton Struct Reference

#include <nlmpushbutton.h>

Inheritance diagram for NLMPushButton:
Collaboration diagram for NLMPushButton:

Public Member Functions

 NLMPushButton ()
 
void pressedCbk (const pressed_t &cb) override
 
QWidget * mainWidget () override
 
void init (const QString &buttonName, bool isEnable) override
 
void setDisabled (bool state) override
 
bool isEnabled () override
 
void setCheckable (bool checked) override
 
bool checkable () override
 
bool checked () override
 
void setChecked (bool checked) override
 
- Public Member Functions inherited from PushButtonInterface
virtual ~PushButtonInterface ()
 

Additional Inherited Members

- Public Types inherited from PushButtonInterface
typedef std::function< void()> pressed_t
 

Constructor & Destructor Documentation

◆ NLMPushButton()

NLMPushButton::NLMPushButton ( )
inline

Member Function Documentation

◆ checkable()

bool NLMPushButton::checkable ( )
inlineoverridevirtual

Implements PushButtonInterface.

◆ checked()

bool NLMPushButton::checked ( )
inlineoverridevirtual

Implements PushButtonInterface.

◆ init()

void NLMPushButton::init ( const QString &  buttonName,
bool  isEnable 
)
inlineoverridevirtual

Implements PushButtonInterface.

◆ isEnabled()

bool NLMPushButton::isEnabled ( )
inlineoverridevirtual

Implements PushButtonInterface.

◆ mainWidget()

QWidget * NLMPushButton::mainWidget ( )
inlineoverridevirtual

Implements PushButtonInterface.

◆ pressedCbk()

void NLMPushButton::pressedCbk ( const pressed_t cb)
inlineoverridevirtual

Implements PushButtonInterface.

◆ setCheckable()

void NLMPushButton::setCheckable ( bool  checked)
inlineoverridevirtual

Implements PushButtonInterface.

◆ setChecked()

void NLMPushButton::setChecked ( bool  checked)
inlineoverridevirtual

Implements PushButtonInterface.

◆ setDisabled()

void NLMPushButton::setDisabled ( bool  state)
inlineoverridevirtual

Implements PushButtonInterface.


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