![]() |
ImFusion SDK 4.3
|
#include <ImFusion/GUI/HistogramInteraction.h>
Implements mouse interaction logic for the InteractiveHistogramOverlay. More...
Inheritance diagram for HistogramInteraction:Implements mouse interaction logic for the InteractiveHistogramOverlay.
Public Member Functions | |
| HistogramInteraction (InteractiveHistogramOverlay &interactiveOverlay) | |
| void | setImage (const SharedImageSet *sis, int index) |
| bool | sceneEvent (QEvent *event) override |
| Handles the event and returns true if the event was handles and should not passed to other interactions. | |
| void | contextMenuCreate (QMenu &m) override |
| Create context menu entries. | |
| void | contextMenuEvaluate (QAction *action) override |
| Evaluate action chosen in context menu or by shortcut. | |
Public Member Functions inherited from OverlayInteraction | |
| OverlayInteraction (InteractiveOverlay &overlay) | |
Public Member Functions inherited from Interaction | |
| virtual void | openContextMenu (QPoint pos, QPoint globalPos, Qt::KeyboardModifiers modifiers) |
| virtual void | reset () |
| void | setUseContextMenu (bool use) |
| Set if the context menu must be created or not. | |
| bool | useContextMenu () const |
| Specifies if the view creates context menu entries or not. Default value is false. | |
Additional Inherited Members | |
Protected Member Functions inherited from Interaction | |
| virtual void | createActions () |
| Create actions shown in context menu. | |
Protected Attributes inherited from OverlayInteraction | |
| InteractiveOverlay & | m_overlay |
Protected Attributes inherited from Interaction | |
| QMap< QString, QAction * > | m_actions |
| Actions used in the context menu. | |
| bool | m_useContextMenu = false |
| Default value is false. | |
|
overridevirtual |
Handles the event and returns true if the event was handles and should not passed to other interactions.
Implements Interaction.
|
overridevirtual |
Create context menu entries.
Reimplemented from Interaction.
|
overridevirtual |
Evaluate action chosen in context menu or by shortcut.
Reimplemented from Interaction.