#include "PushButton.h"
Public Slots | |
void | setSelectedProperty (void) |
void | unsetSelectedProperty (void) |
Public Member Functions | |
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. | |
![]() | |
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 | |
![]() | |
WidgetFlags | m_widgetFlags |
ot::PushButton::PushButton | ( | QWidget * | _parent = (QWidget*)nullptr | ) |
ot::PushButton::PushButton | ( | const QString & | _text, |
QWidget * | _parent = (QWidget*)nullptr ) |
ot::PushButton::PushButton | ( | const QIcon & | _icon, |
const QString & | _text, | ||
QWidget * | _parent = (QWidget*)nullptr ) |
|
inlinevirtual |
|
inlineoverridevirtual |
Returns a pointer to the root widget of this object.
Implements ot::QWidgetInterface.
|
slot |
|
slot |