Computer Assited Medical Intervention Tool Kit  version 5.0
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...
 

Private Attributes

ImageLutWidgetlutWidget
 

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

Member Data Documentation

◆ lutWidget

ImageLutWidget* HistogramGraphicsRectItem::lutWidget
private

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