OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::LineEdit Class Reference

#include "LineEdit.h"

Inheritance diagram for ot::LineEdit:
ot::QWidgetInterface

Public Slots

void setInputErrorStateProperty (void)
 
void unsetInputErrorStateProperty (void)
 

Signals

void leftMouseButtonPressed (void)
 

Public Member Functions

 LineEdit (QWidget *_parentWidget=(QWidget *) nullptr)
 
 LineEdit (const QString &_initialText, QWidget *_parentWidget=(QWidget *) nullptr)
 
virtual ~LineEdit ()
 
virtual QWidget * getQWidget (void) override
 Returns a pointer to the root widget of this object.
 
virtual const QWidget * getQWidget (void) const override
 
- Public Member Functions inherited from ot::QWidgetInterface
 QWidgetInterface ()
 
virtual ~QWidgetInterface ()
 
void setOTWidgetFlags (const WidgetFlags &_flags)
 
const WidgetFlagsotWidgetFlags (void) const
 

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *_event) override
 
- Protected Member Functions inherited from ot::QWidgetInterface
virtual void otWidgetFlagsChanged (const WidgetFlags &_flags)
 

Constructor & Destructor Documentation

◆ LineEdit() [1/2]

ot::LineEdit::LineEdit ( QWidget * _parentWidget = (QWidget*)nullptr)

◆ LineEdit() [2/2]

ot::LineEdit::LineEdit ( const QString & _initialText,
QWidget * _parentWidget = (QWidget*)nullptr )

◆ ~LineEdit()

virtual ot::LineEdit::~LineEdit ( )
inlinevirtual

Member Function Documentation

◆ getQWidget() [1/2]

virtual const QWidget * ot::LineEdit::getQWidget ( void ) const
inlineoverridevirtual

Implements ot::QWidgetInterface.

◆ getQWidget() [2/2]

virtual QWidget * ot::LineEdit::getQWidget ( void )
inlineoverridevirtual

Returns a pointer to the root widget of this object.

Implements ot::QWidgetInterface.

◆ leftMouseButtonPressed

void ot::LineEdit::leftMouseButtonPressed ( void )
signal

◆ mousePressEvent()

void ot::LineEdit::mousePressEvent ( QMouseEvent * _event)
overrideprotectedvirtual

◆ setInputErrorStateProperty

void ot::LineEdit::setInputErrorStateProperty ( void )
slot

◆ unsetInputErrorStateProperty

void ot::LineEdit::unsetInputErrorStateProperty ( void )
slot

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