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

#include <lineeditinterface.h>

Inheritance diagram for LineEditInterface:

Public Types

typedef std::function< void()> textChanged_t
 

Public Member Functions

virtual ~LineEditInterface ()
 
virtual void editingFinishedCbk (const textChanged_t &cb)=0
 
virtual void textChangedCbk (const textChanged_t &cb)=0
 
virtual QWidget * mainWidget ()=0
 
virtual void init (const QString &placeholderText, QValidator *qValidator)=0
 
virtual void setPlaceholderText (const QString &placeholderText)=0
 
virtual void setDisabled (bool state)=0
 
virtual int getTextLength ()=0
 
virtual const QString getText ()=0
 
virtual void setText (const QString &text)=0
 

Member Typedef Documentation

◆ textChanged_t

typedef std::function<void()> LineEditInterface::textChanged_t

Constructor & Destructor Documentation

◆ ~LineEditInterface()

virtual LineEditInterface::~LineEditInterface ( )
inlinevirtual

Member Function Documentation

◆ editingFinishedCbk()

virtual void LineEditInterface::editingFinishedCbk ( const textChanged_t cb)
pure virtual

Implemented in NLMLineEdit.

◆ getText()

virtual const QString LineEditInterface::getText ( )
pure virtual

Implemented in NLMLineEdit.

◆ getTextLength()

virtual int LineEditInterface::getTextLength ( )
pure virtual

Implemented in NLMLineEdit.

◆ init()

virtual void LineEditInterface::init ( const QString &  placeholderText,
QValidator *  qValidator 
)
pure virtual

Implemented in NLMLineEdit.

◆ mainWidget()

virtual QWidget * LineEditInterface::mainWidget ( )
pure virtual

Implemented in NLMLineEdit.

◆ setDisabled()

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

Implemented in NLMLineEdit.

◆ setPlaceholderText()

virtual void LineEditInterface::setPlaceholderText ( const QString &  placeholderText)
pure virtual

Implemented in NLMLineEdit.

◆ setText()

virtual void LineEditInterface::setText ( const QString &  text)
pure virtual

Implemented in NLMLineEdit.

◆ textChangedCbk()

virtual void LineEditInterface::textChangedCbk ( const textChanged_t cb)
pure virtual

Implemented in NLMLineEdit.


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