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

#include "PushButton.h"

Inheritance diagram for ot::PushButton:
ot::QWidgetInterface ot::ComboButton

Public Slots

void setSelectedProperty (void)
 
void unsetSelectedProperty (void)
 

Public Member Functions

 PushButton (QWidget *_parent=(QWidget *) nullptr)
 
 PushButton (const QString &_text, QWidget *_parent=(QWidget *) nullptr)
 
 PushButton (const QIcon &_icon, const QString &_text, QWidget *_parent=(QWidget *) nullptr)
 
virtual ~PushButton ()
 
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
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ PushButton() [1/3]

ot::PushButton::PushButton ( QWidget * _parent = (QWidget*)nullptr)

◆ PushButton() [2/3]

ot::PushButton::PushButton ( const QString & _text,
QWidget * _parent = (QWidget*)nullptr )

◆ PushButton() [3/3]

ot::PushButton::PushButton ( const QIcon & _icon,
const QString & _text,
QWidget * _parent = (QWidget*)nullptr )

◆ ~PushButton()

virtual ot::PushButton::~PushButton ( )
inlinevirtual

Member Function Documentation

◆ getQWidget() [1/2]

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

Implements ot::QWidgetInterface.

◆ getQWidget() [2/2]

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

Returns a pointer to the root widget of this object.

Implements ot::QWidgetInterface.

◆ setSelectedProperty

void ot::PushButton::setSelectedProperty ( void )
slot

◆ unsetSelectedProperty

void ot::PushButton::unsetSelectedProperty ( void )
slot

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