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

#include "ComboBox.h"

Inheritance diagram for ot::ComboBox:
ot::QWidgetInterface

Public Slots

void togglePopup (void)
 

Public Member Functions

 ComboBox (QWidget *_parent=(QWidget *) nullptr)
 
virtual ~ComboBox ()
 
virtual QWidget * getQWidget (void) override
 Returns a pointer to the root widget of this object.
 
bool isPopupVisible (void) const
 
virtual void showPopup (void) override
 
virtual void hidePopup (void) override
 
- Public Member Functions inherited from ot::QWidgetInterface
 QWidgetInterface ()
 
virtual ~QWidgetInterface ()
 
void setOTWidgetFlags (const WidgetFlags &_flags)
 
const WidgetFlagsotWidgetFlags (void) const
 
virtual void otWidgetFlagsChanged (const WidgetFlags &_flags)
 
void centerOnParent (const QWidget *const _parentWidget)
 Centers this widget on the parent. If no parent is provided the widget will center on the screen.
 
QPoint calculateCenterOnParentPos (const QWidget *const _parentWidget)
 Calculates the top left corner of this widget centered on the parent widget. If no parent is provided the widget will center on the screen.
 

Additional Inherited Members

- Protected Attributes inherited from ot::QWidgetInterface
WidgetFlags m_widgetFlags
 

Constructor & Destructor Documentation

◆ ComboBox()

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

◆ ~ComboBox()

virtual ot::ComboBox::~ComboBox ( )
inlinevirtual

Member Function Documentation

◆ getQWidget()

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

Returns a pointer to the root widget of this object.

Implements ot::QWidgetInterface.

◆ hidePopup()

void ot::ComboBox::hidePopup ( void )
overridevirtual

◆ isPopupVisible()

bool ot::ComboBox::isPopupVisible ( void ) const
inline

◆ showPopup()

void ot::ComboBox::showPopup ( void )
overridevirtual

◆ togglePopup

void ot::ComboBox::togglePopup ( void )
slot

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