Computer Assisted Medical Intervention Tool Kit  version 5.2
HistogramGraphicsRectItem Class Reference

The class HistogramGraphicsRectItem defines the histogram graphics item and is required to manage the tooltip when the mouse moves over the histogram. More...

#include <HistogramGraphicsRectItem.h>

+ Inheritance diagram for HistogramGraphicsRectItem:
+ Collaboration diagram for HistogramGraphicsRectItem:

Public Member Functions

 HistogramGraphicsRectItem (ImageLutWidget *lw, QRectF rect)
 Default construtor. More...
 
 ~HistogramGraphicsRectItem () override=default
 destructor More...
 

Protected Member Functions

void hoverMoveEvent (QGraphicsSceneHoverEvent *event) override
 just send a the position of the mouse to the ImageLutWidget More...
 

Detailed Description

The class HistogramGraphicsRectItem defines the histogram graphics item and is required to manage the tooltip when the mouse moves over the histogram.

Constructor & Destructor Documentation

◆ HistogramGraphicsRectItem()

HistogramGraphicsRectItem::HistogramGraphicsRectItem ( ImageLutWidget lw,
QRectF  rect 
)
inline

Default construtor.

◆ ~HistogramGraphicsRectItem()

HistogramGraphicsRectItem::~HistogramGraphicsRectItem ( )
overridedefault

destructor

Member Function Documentation

◆ hoverMoveEvent()

void HistogramGraphicsRectItem::hoverMoveEvent ( QGraphicsSceneHoverEvent *  event)
inlineoverrideprotected

just send a the position of the mouse to the ImageLutWidget

References ImageLutWidget::showHistogramTooltip().

+ Here is the call graph for this function:

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