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

#include "Painter2DEditButton.h"

Inheritance diagram for ot::Painter2DEditButton:
ot::QWidgetInterface

Signals

void painter2DChanged (void)
 

Public Member Functions

 Painter2DEditButton (Painter2D *_painter=(Painter2D *) nullptr, QWidget *_parent=(QWidget *) nullptr)
 Creates an instance. Object takes ownership of the painter.
 
 Painter2DEditButton (const Painter2D *_painter, QWidget *_parent=(QWidget *) nullptr)
 Creates an instance. Objects creates a copy of the painter.
 
virtual ~Painter2DEditButton ()
 
virtual bool eventFilter (QObject *_obj, QEvent *_event) override
 
virtual QWidget * getQWidget (void) override
 Returns a pointer to the root widget of this object.
 
virtual const QWidget * getQWidget (void) const override
 
PushButtongetPushButton (void) const
 
void setPainter (Painter2D *_painter)
 
void setPainter (const Painter2D *_painter)
 
const Painter2DgetPainter (void)
 
- Public Member Functions inherited from ot::QWidgetInterface
 QWidgetInterface ()
 
virtual ~QWidgetInterface ()
 
void setOTWidgetFlags (const WidgetFlags &_flags)
 
const WidgetFlagsotWidgetFlags (void) const
 

Additional Inherited Members

- Protected Member Functions inherited from ot::QWidgetInterface
virtual void otWidgetFlagsChanged (const WidgetFlags &_flags)
 

Constructor & Destructor Documentation

◆ Painter2DEditButton() [1/2]

ot::Painter2DEditButton::Painter2DEditButton ( Painter2D * _painter = (Painter2D*)nullptr,
QWidget * _parent = (QWidget*)nullptr )

Creates an instance. Object takes ownership of the painter.

◆ Painter2DEditButton() [2/2]

ot::Painter2DEditButton::Painter2DEditButton ( const Painter2D * _painter,
QWidget * _parent = (QWidget*)nullptr )

Creates an instance. Objects creates a copy of the painter.

◆ ~Painter2DEditButton()

ot::Painter2DEditButton::~Painter2DEditButton ( )
virtual

Member Function Documentation

◆ eventFilter()

bool ot::Painter2DEditButton::eventFilter ( QObject * _obj,
QEvent * _event )
overridevirtual

◆ getPainter()

const Painter2D * ot::Painter2DEditButton::getPainter ( void )
inline

◆ getPushButton()

PushButton * ot::Painter2DEditButton::getPushButton ( void ) const
inline

◆ getQWidget() [1/2]

virtual const QWidget * ot::Painter2DEditButton::getQWidget ( void ) const
inlineoverridevirtual

Implements ot::QWidgetInterface.

◆ getQWidget() [2/2]

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

Returns a pointer to the root widget of this object.

Implements ot::QWidgetInterface.

◆ painter2DChanged

void ot::Painter2DEditButton::painter2DChanged ( void )
signal

◆ setPainter() [1/2]

void ot::Painter2DEditButton::setPainter ( const Painter2D * _painter)

◆ setPainter() [2/2]

void ot::Painter2DEditButton::setPainter ( Painter2D * _painter)

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