QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ESEventAddDynamicTextField Class Reference

The ESEventAddDynamicTextField class This ESEvent manage creation of dynamic text field in an ElementScene. More...

#include <eseventadddynamictextfield.h>

Inheritance diagram for ESEventAddDynamicTextField:
Inheritance graph
Collaboration diagram for ESEventAddDynamicTextField:
Collaboration graph

Public Member Functions

 ESEventAddDynamicTextField (ElementScene *scene)
 ESEventAddDynamicTextField::ESEventAddDynamicTextField.
 
 ~ESEventAddDynamicTextField () override
 ESEventAddDynamicTextField::~ESEventAddDynamicTextField.
 
bool mouseMoveEvent (QGraphicsSceneMouseEvent *event) override
 ESEventAddDynamicTextField::mouseMoveEvent.
 
bool mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override
 ESEventAddDynamicTextField::mouseReleaseEvent.
 
- Public Member Functions inherited from ESEventInterface
 ESEventInterface (ElementScene *scene)
 
virtual ~ESEventInterface ()
 ESEventInterface::~ESEventInterface Destructor.
 
void init ()
 ESEventInterface::init Init this event interface.
 
virtual bool mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event)
 
virtual bool mousePressEvent (QGraphicsSceneMouseEvent *event)
 
virtual bool wheelEvent (QGraphicsSceneWheelEvent *event)
 
virtual bool keyPressEvent (QKeyEvent *event)
 ESEventInterface::keyPressEvent By default, press escape key abort the current action.
 
virtual bool KeyReleaseEvent (QKeyEvent *event)
 
virtual bool isRunning () const
 
virtual bool isFinish () const
 

Private Attributes

PartDynamicTextFieldm_text
 

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 ESEventAddDynamicTextField class This ESEvent manage creation of dynamic text field in an ElementScene.

Constructor & Destructor Documentation

◆ ESEventAddDynamicTextField()

ESEventAddDynamicTextField::ESEventAddDynamicTextField ( ElementScene scene)

◆ ~ESEventAddDynamicTextField()

ESEventAddDynamicTextField::~ESEventAddDynamicTextField ( )
override

Member Function Documentation

◆ mouseMoveEvent()

bool ESEventAddDynamicTextField::mouseMoveEvent ( QGraphicsSceneMouseEvent *  event)
overridevirtual

ESEventAddDynamicTextField::mouseMoveEvent.

Parameters
event
Returns

Reimplemented from ESEventInterface.

Here is the call graph for this function:

◆ mouseReleaseEvent()

bool ESEventAddDynamicTextField::mouseReleaseEvent ( QGraphicsSceneMouseEvent *  event)
overridevirtual

ESEventAddDynamicTextField::mouseReleaseEvent.

Parameters
event
Returns

Reimplemented from ESEventInterface.

Here is the call graph for this function:

Member Data Documentation

◆ m_text

PartDynamicTextField* ESEventAddDynamicTextField::m_text
private

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