#include "ToolButton.h"
Public Member Functions | |
| ToolButton () | |
| ToolButton (const QString &_text) | |
| ToolButton (const QIcon &_icon, const QString &_text) | |
| virtual | ~ToolButton () |
| virtual QWidget * | getQWidget (void) override |
| Will return the widgets widget to display it. | |
Public Member Functions inherited from ot::QWidgetInterface | |
| QWidgetInterface () | |
| virtual | ~QWidgetInterface () |
| void | setOTWidgetFlags (const WidgetFlags &_flags) |
| const WidgetFlags & | otWidgetFlags (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 |
| ot::ToolButton::ToolButton | ( | ) |
| ot::ToolButton::ToolButton | ( | const QString & | _text | ) |
| ot::ToolButton::ToolButton | ( | const QIcon & | _icon, |
| const QString & | _text ) |
|
virtual |
|
inlineoverridevirtual |
Will return the widgets widget to display it.
Implements ot::QWidgetInterface.