OverrideAction Class Reference

#include <MemoryX/gui-plugins/SceneEditor/gui/OverrideAction.h>

+ Inheritance diagram for OverrideAction:

Public Member Functions

 OverrideAction (const QIcon &icon, const QString &text, QObject *parent)
 Constructor. More...
 
 OverrideAction (const QString &text, QObject *parent)
 Constructor. More...
 
bool publicEvent (QEvent *e)
 Passes the Event to protected method event. More...
 

Protected Member Functions

bool event (QEvent *e) override
 Event triggered. More...
 

Detailed Description

Definition at line 31 of file OverrideAction.h.

Constructor & Destructor Documentation

◆ OverrideAction() [1/2]

OverrideAction ( const QIcon &  icon,
const QString &  text,
QObject *  parent 
)

Constructor.

Parameters
iconIcon
textText
parentParent
See also
UI::QWidget

Definition at line 39 of file OverrideAction.cpp.

◆ OverrideAction() [2/2]

OverrideAction ( const QString &  text,
QObject *  parent 
)

Constructor.

Parameters
textText
parentParent
See also
UI::QWidget

Definition at line 44 of file OverrideAction.cpp.

Member Function Documentation

◆ event()

bool event ( QEvent *  e)
overrideprotected

Event triggered.

Parameters
eQEvent that has been triggered
Returns
Status of event

Definition at line 28 of file OverrideAction.cpp.

◆ publicEvent()

bool publicEvent ( QEvent *  e)

Passes the Event to protected method event.

Parameters
eventEvent to be passed

Definition at line 49 of file OverrideAction.cpp.


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