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

#include "TabWidget.h"

Inheritance diagram for ot::TabWidget:
ot::QWidgetInterface

Signals

void widgetGotFocus (void)
 
void widgetLostFocus (void)
 

Public Member Functions

 TabWidget ()
 
virtual ~TabWidget ()
 
virtual void focusInEvent (QFocusEvent *_event) override
 
virtual void focusOutEvent (QFocusEvent *_event) override
 
virtual QWidget * getQWidget (void) override
 Returns a pointer to the root widget of this object.
 
- 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

◆ TabWidget()

ot::TabWidget::TabWidget ( )

◆ ~TabWidget()

ot::TabWidget::~TabWidget ( )
virtual

Member Function Documentation

◆ focusInEvent()

void ot::TabWidget::focusInEvent ( QFocusEvent * _event)
overridevirtual

◆ focusOutEvent()

void ot::TabWidget::focusOutEvent ( QFocusEvent * _event)
overridevirtual

◆ getQWidget()

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

Returns a pointer to the root widget of this object.

Implements ot::QWidgetInterface.

◆ widgetGotFocus

void ot::TabWidget::widgetGotFocus ( void )
signal

◆ widgetLostFocus

void ot::TabWidget::widgetLostFocus ( void )
signal

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