![]() |
ImFusion C++ SDK 4.4.0
|
#include <ImFusion/GUI/HistogramInteraction.h>
Implements mouse interaction logic for the InteractiveHistogramOverlay. More...
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 ImFusion::OverlayInteraction | |
| OverlayInteraction (InteractiveOverlay &overlay) | |
| Public Member Functions inherited from ImFusion::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 ImFusion::Interaction | |
| virtual void | createActions () |
| Create actions shown in context menu. | |
| Protected Attributes inherited from ImFusion::OverlayInteraction | |
| InteractiveOverlay & | m_overlay |
| Protected Attributes inherited from ImFusion::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 ImFusion::Interaction.
|
overridevirtual |
Create context menu entries.
Reimplemented from ImFusion::Interaction.
|
overridevirtual |
Evaluate action chosen in context menu or by shortcut.
Reimplemented from ImFusion::Interaction.