102 bool hasRect()
const;
108 bool hasDraggedRect()
const;
114 inline void setMinDim(
int minDim) { m_minDim = minDim; }
core::Color4D m_outerWhileDrag
as m_outer, but for the dragged rectangle
Definition: DragRectangleMouseHandler.h:88
undocument this line if you encounter any issues!
Definition: Any.h:37
utils::Point m_origin
point where the drag gesture started
Definition: DragRectangleMouseHandler.h:76
int getMinDim() const
returns the minimum rectangle size
Definition: DragRectangleMouseHandler.h:117
utils::Point m_curr
current mouse-position while dragging
Definition: DragRectangleMouseHandler.h:77
core::Color4D m_outer
color that is used for everything outside the rectangle
Definition: DragRectangleMouseHandler.h:84
core::Color4D m_edge
edge color for the defined rectangle
Definition: DragRectangleMouseHandler.h:82
int m_minDim
minimum rectangle size
Definition: DragRectangleMouseHandler.h:78
utils::Rect m_rect
last defined rectangle
Definition: DragRectangleMouseHandler.h:79
MouseEvent Handler.
Definition: MouseHandler.h:92
core::Color4D m_fill
fill color for the defined rectangle
Definition: DragRectangleMouseHandler.h:83
#define ICLQt_API
Definition: CompatMacros.h:178
Point class of the ICL used e.g. for the Images ROI offset.
Definition: Point.h:58
void setMinDim(int minDim)
sets the minimum rectangle size
Definition: DragRectangleMouseHandler.h:114
Provided by interface MouseGrabber.
Definition: MouseEvent.h:86
core::Color4D m_fillWhileDrag
fill color for the dragged rectangle
Definition: DragRectangleMouseHandler.h:87
core::Color4D m_edgeWhileDrag
edge color for the dragged rectangle
Definition: DragRectangleMouseHandler.h:86
Interface for objects, that can be locked using an internal mutex.
Definition: Lockable.h:41
Rectangle class of the ICL used e.g. for the Images ROI-rect.
Definition: Rect.h:95
Special MouseHandler implementation that allows for dragging a Rectangle.
Definition: DragRectangleMouseHandler.h:74