LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SEE_RedirectedQEvent Class Referencefinal

The SEE_RedirectedQEvent class. More...

#include <schematiceditorevent.h>

+ Inheritance diagram for SEE_RedirectedQEvent:
+ Collaboration diagram for SEE_RedirectedQEvent:

Public Member Functions

 SEE_RedirectedQEvent (EventType_t type, QEvent *event)
 
virtual ~SEE_RedirectedQEvent ()
 
QEvent * getQEvent () const noexcept
 
void setAccepted (bool accepted) noexcept
 
- Public Member Functions inherited from SEE_Base
 SEE_Base (EventType_t type)
 
virtual ~SEE_Base ()
 
EventType_t getType () const noexcept
 
bool isAccepted () const noexcept
 

Static Public Member Functions

static QEvent * getQEventFromSEE (const SEE_Base *see) noexcept
 Helper method to get the QEvent from a pointer to SEE_Base. More...
 

Private Attributes

QEvent * mQEvent
 

Additional Inherited Members

- Public Types inherited from SEE_Base
enum  EventType_t
 FSM event types. More...
 
- Protected Attributes inherited from SEE_Base
EventType_t mType
 
bool mAccepted
 

Detailed Description

Constructor & Destructor Documentation

SEE_RedirectedQEvent ( EventType_t  type,
QEvent *  event 
)
inline
virtual ~SEE_RedirectedQEvent ( )
inlinevirtual

Member Function Documentation

QEvent* getQEvent ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

void setAccepted ( bool  accepted)
inlinevirtualnoexcept

Reimplemented from SEE_Base.

+ Here is the call graph for this function:

static QEvent* getQEventFromSEE ( const SEE_Base see)
inlinestaticnoexcept

Helper method to get the QEvent from a pointer to SEE_Base.

Parameters
seeA SEE_Base pointer to a SEE_RedirectedQEvent object
Returns
  • the pointer to the QEvent (if "see" was a pointer to a SEE_RedirectedQEvent object)
  • nullptr otherwise

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

QEvent* mQEvent
private

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