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

#include "ComboButton.h"

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

Signals

void textChanged (void)
 

Public Member Functions

 ComboButton (QWidget *_parent=(QWidget *) nullptr)
 
 ComboButton (const QString &_text, QWidget *_parent=(QWidget *) nullptr)
 
 ComboButton (const QString &_text, const QStringList &_items, QWidget *_parent=(QWidget *) nullptr)
 
virtual ~ComboButton ()
 
virtual void mousePressEvent (QMouseEvent *_event) override
 
void setItems (const QStringList &_items)
 
- Public Member Functions inherited from ot::PushButton
 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

- Public Slots inherited from ot::PushButton
void setSelectedProperty (void)
 
void unsetSelectedProperty (void)
 
- Protected Member Functions inherited from ot::QWidgetInterface
virtual void otWidgetFlagsChanged (const WidgetFlags &_flags)
 

Constructor & Destructor Documentation

◆ ComboButton() [1/3]

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

◆ ComboButton() [2/3]

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

◆ ComboButton() [3/3]

ot::ComboButton::ComboButton ( const QString & _text,
const QStringList & _items,
QWidget * _parent = (QWidget*)nullptr )

◆ ~ComboButton()

ot::ComboButton::~ComboButton ( )
virtual

Member Function Documentation

◆ mousePressEvent()

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

◆ setItems()

void ot::ComboButton::setItems ( const QStringList & _items)

◆ textChanged

void ot::ComboButton::textChanged ( void )
signal

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