QElectroTech  0.70
Public Member Functions | Private Attributes | List of all members
ESEventAddTerminal Class Reference

The ESEventAddTerminal class This ESEvent manage creation of terminal in an ElementScene. More...

#include <eseventaddterminal.h>

Public Member Functions

 ESEventAddTerminal (ElementScene *scene)
 ESEventAddTerminal::ESEventAddTerminal. More...
 
 ~ESEventAddTerminal () override
 ESEventAddTerminal::~ESEventAddTerminal. More...
 
bool mouseMoveEvent (QGraphicsSceneMouseEvent *event) override
 ESEventAddTerminal::mouseMoveEvent. More...
 
bool mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override
 ESEventAddTerminal::mouseReleaseEvent. More...
 
bool keyPressEvent (QKeyEvent *event) override
 ESEventAddTerminal::keyPressEvent. More...
 
- Public Member Functions inherited from ESEventInterface
 ESEventInterface (ElementScene *scene)
 
virtual ~ESEventInterface ()
 ESEventInterface::~ESEventInterface Destructor. More...
 
void init ()
 ESEventInterface::init Init this event interface. More...
 
virtual bool mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event)
 
virtual bool mousePressEvent (QGraphicsSceneMouseEvent *event)
 
virtual bool wheelEvent (QGraphicsSceneWheelEvent *event)
 
virtual bool KeyReleaseEvent (QKeyEvent *event)
 
virtual bool isRunning () const
 
virtual bool isFinish () const
 

Private Attributes

PartTerminalm_terminal
 

Additional Inherited Members

- Protected Member Functions inherited from ESEventInterface
void updateHelpCross (const QPointF &p)
 
- Protected Attributes inherited from ESEventInterface
ElementScenem_scene
 
QETElementEditorm_editor
 
QGraphicsLineItem * m_help_horiz
 
QGraphicsLineItem * m_help_verti
 
bool m_running
 
bool m_abort
 

Detailed Description

The ESEventAddTerminal class This ESEvent manage creation of terminal in an ElementScene.

Definition at line 31 of file eseventaddterminal.h.

Constructor & Destructor Documentation

◆ ESEventAddTerminal()

ESEventAddTerminal::ESEventAddTerminal ( ElementScene scene)

◆ ~ESEventAddTerminal()

ESEventAddTerminal::~ESEventAddTerminal ( )
override

Member Function Documentation

◆ keyPressEvent()

bool ESEventAddTerminal::keyPressEvent ( QKeyEvent *  event)
overridevirtual

◆ mouseMoveEvent()

bool ESEventAddTerminal::mouseMoveEvent ( QGraphicsSceneMouseEvent *  event)
overridevirtual

ESEventAddTerminal::mouseMoveEvent.

Parameters
event
Returns

Reimplemented from ESEventInterface.

Definition at line 49 of file eseventaddterminal.cpp.

References ESEventInterface::m_scene, m_terminal, and ESEventInterface::updateHelpCross().

◆ mouseReleaseEvent()

bool ESEventAddTerminal::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)
overridevirtual

Member Data Documentation

◆ m_terminal

PartTerminal* ESEventAddTerminal::m_terminal
private

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