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

#include "Label.h"

Inheritance diagram for ot::Label:
ot::QWidgetInterface

Signals

void mousePressed (void)
 

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from ot::QWidgetInterface
virtual void otWidgetFlagsChanged (const WidgetFlags &_flags)
 

Constructor & Destructor Documentation

◆ Label() [1/2]

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

◆ Label() [2/2]

ot::Label::Label ( const QString & _text,
QWidget * _parentWidget = (QWidget*)nullptr )

◆ ~Label()

virtual ot::Label::~Label ( )
inlinevirtual

Member Function Documentation

◆ getQWidget() [1/2]

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

Implements ot::QWidgetInterface.

◆ getQWidget() [2/2]

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

Returns a pointer to the root widget of this object.

Implements ot::QWidgetInterface.

◆ mousePressed

void ot::Label::mousePressed ( void )
signal

◆ mousePressEvent()

void ot::Label::mousePressEvent ( QMouseEvent * _event)
overridevirtual

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