OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
TabWidget.h
Go to the documentation of this file.
1
4// ###########################################################################################################################################################################################################################################################################################################################
5
6#pragma once
7
8// OpenTwin header
11
12// Qt header
13#include <QtWidgets/qtabwidget.h>
14
15namespace ot {
16
17 class OT_WIDGETS_API_EXPORT TabWidget : public QTabWidget, public ot::QWidgetInterface {
18 Q_OBJECT
19 public:
20 TabWidget();
21 virtual ~TabWidget();
22
23 virtual void focusInEvent(QFocusEvent* _event) override;
24 virtual void focusOutEvent(QFocusEvent* _event) override;
25
27 virtual QWidget* getQWidget(void) override { return this; };
28
29 Q_SIGNALS:
30 void widgetGotFocus(void);
31 void widgetLostFocus(void);
32 };
33
34}
#define OT_WIDGETS_API_EXPORT
Definition OTWidgetsAPIExport.h:12
Definition QWidgetInterface.h:18
Definition TabWidget.h:17
virtual QWidget * getQWidget(void) override
Returns a pointer to the root widget of this object.
Definition TabWidget.h:27
Definition Connector.h:8