Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions
Visualization::InteractionHandler Class Reference
Inheritance diagram for Visualization::InteractionHandler:
Interaction::GenericHandler CodeReview::HReviewableItem Comments::HComment Comments::HCommentDiagram Comments::HCommentDiagramConnector Comments::HCommentDiagramShape Comments::HCommentFreeNode Comments::HCommentImage InformationScripting::HQuery Interaction::HActionPrompt Interaction::HArrowHandler Interaction::HComposite Interaction::HInfoNode Interaction::HList Interaction::HMovableItem Interaction::HPositionLayout Interaction::HPromptShell Interaction::HRootItem Interaction::HSceneHandlerItem Interaction::HText Interaction::HViewItem OOInteraction::HClass OOInteraction::HExpression OOInteraction::HFormalArgument OOInteraction::HMethod OOInteraction::HModule OOInteraction::HProject OOInteraction::HStatement VersionControlUI::HObjectPathCrumb

Public Member Functions

virtual ~InteractionHandler ()
 
virtual void afterEvent (Item *target, QEvent *event)
 
virtual void beforeEvent (Item *target, QEvent *event)
 
virtual void command (Item *target, const QString &command, const std::unique_ptr< Cursor > &cursor)
 
virtual void contextMenuEvent (Item *target, QGraphicsSceneContextMenuEvent *event)
 
virtual void dragEnterEvent (Item *target, QGraphicsSceneDragDropEvent *event)
 
virtual void dragLeaveEvent (Item *target, QGraphicsSceneDragDropEvent *event)
 
virtual void dragMoveEvent (Item *target, QGraphicsSceneDragDropEvent *event)
 
virtual void dropEvent (Item *target, QGraphicsSceneDragDropEvent *event)
 
virtual void focusInEvent (Item *target, QFocusEvent *event)
 
virtual void focusOutEvent (Item *target, QFocusEvent *event)
 
virtual void hoverEnterEvent (Item *target, QGraphicsSceneHoverEvent *event)
 
virtual void hoverLeaveEvent (Item *target, QGraphicsSceneHoverEvent *event)
 
virtual void hoverMoveEvent (Item *target, QGraphicsSceneHoverEvent *event)
 
virtual void keyPressEvent (Item *target, QKeyEvent *event)
 
virtual void keyReleaseEvent (Item *target, QKeyEvent *event)
 
virtual void mouseDoubleClickEvent (Item *target, QGraphicsSceneMouseEvent *event)
 
virtual void mouseMoveEvent (Item *target, QGraphicsSceneMouseEvent *event)
 
virtual void mousePressEvent (Item *target, QGraphicsSceneMouseEvent *event)
 
virtual void mouseReleaseEvent (Item *target, QGraphicsSceneMouseEvent *event)
 
virtual void wheelEvent (Item *target, QGraphicsSceneWheelEvent *event)
 

Static Public Member Functions

static InteractionHandlerinstance ()
 
static bool isClick (Item *target)
 
static bool isDrag (Item *target)
 

Protected Member Functions

 InteractionHandler ()
 

Constructor & Destructor Documentation

◆ InteractionHandler()

Visualization::InteractionHandler::InteractionHandler ( )
protected

◆ ~InteractionHandler()

Visualization::InteractionHandler::~InteractionHandler ( )
virtual

Member Function Documentation

◆ afterEvent()

void Visualization::InteractionHandler::afterEvent ( Item target,
QEvent *  event 
)
virtual

◆ beforeEvent()

void Visualization::InteractionHandler::beforeEvent ( Item target,
QEvent *  event 
)
virtual

Reimplemented in Interaction::GenericHandler.

◆ command()

void Visualization::InteractionHandler::command ( Item target,
const QString &  command,
const std::unique_ptr< Cursor > &  cursor 
)
virtual

◆ contextMenuEvent()

void Visualization::InteractionHandler::contextMenuEvent ( Item target,
QGraphicsSceneContextMenuEvent *  event 
)
virtual

◆ dragEnterEvent()

void Visualization::InteractionHandler::dragEnterEvent ( Item target,
QGraphicsSceneDragDropEvent *  event 
)
virtual

◆ dragLeaveEvent()

void Visualization::InteractionHandler::dragLeaveEvent ( Item target,
QGraphicsSceneDragDropEvent *  event 
)
virtual

◆ dragMoveEvent()

void Visualization::InteractionHandler::dragMoveEvent ( Item target,
QGraphicsSceneDragDropEvent *  event 
)
virtual

◆ dropEvent()

void Visualization::InteractionHandler::dropEvent ( Item target,
QGraphicsSceneDragDropEvent *  event 
)
virtual

◆ focusInEvent()

void Visualization::InteractionHandler::focusInEvent ( Item target,
QFocusEvent *  event 
)
virtual

Reimplemented in Interaction::GenericHandler.

◆ focusOutEvent()

void Visualization::InteractionHandler::focusOutEvent ( Item target,
QFocusEvent *  event 
)
virtual

Reimplemented in Interaction::HList, and Interaction::HText.

◆ hoverEnterEvent()

void Visualization::InteractionHandler::hoverEnterEvent ( Item target,
QGraphicsSceneHoverEvent *  event 
)
virtual

◆ hoverLeaveEvent()

void Visualization::InteractionHandler::hoverLeaveEvent ( Item target,
QGraphicsSceneHoverEvent *  event 
)
virtual

◆ hoverMoveEvent()

void Visualization::InteractionHandler::hoverMoveEvent ( Item target,
QGraphicsSceneHoverEvent *  event 
)
virtual

Reimplemented in Comments::HCommentDiagramShape.

◆ instance()

InteractionHandler * Visualization::InteractionHandler::instance ( )
static

◆ isClick()

bool Visualization::InteractionHandler::isClick ( Item target)
static

◆ isDrag()

bool Visualization::InteractionHandler::isDrag ( Item target)
static

◆ keyPressEvent()

void Visualization::InteractionHandler::keyPressEvent ( Item target,
QKeyEvent *  event 
)
virtual

◆ keyReleaseEvent()

void Visualization::InteractionHandler::keyReleaseEvent ( Item target,
QKeyEvent *  event 
)
virtual

◆ mouseDoubleClickEvent()

void Visualization::InteractionHandler::mouseDoubleClickEvent ( Item target,
QGraphicsSceneMouseEvent *  event 
)
virtual

◆ mouseMoveEvent()

void Visualization::InteractionHandler::mouseMoveEvent ( Item target,
QGraphicsSceneMouseEvent *  event 
)
virtual

◆ mousePressEvent()

void Visualization::InteractionHandler::mousePressEvent ( Item target,
QGraphicsSceneMouseEvent *  event 
)
virtual

◆ mouseReleaseEvent()

void Visualization::InteractionHandler::mouseReleaseEvent ( Item target,
QGraphicsSceneMouseEvent *  event 
)
virtual

◆ wheelEvent()

void Visualization::InteractionHandler::wheelEvent ( Item target,
QGraphicsSceneWheelEvent *  event 
)
virtual

Reimplemented in Interaction::GenericHandler.