From a14a99b43679bd2ba088a397eec1503e94554f31 Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Fri, 13 Jul 2012 13:36:20 +0200 Subject: [PATCH] Add MousePositionUpdatedSignal --- vv/vvSlicerManager.cxx | 9 +++++++++ vv/vvSlicerManager.h | 2 ++ 2 files changed, 11 insertions(+) diff --git a/vv/vvSlicerManager.cxx b/vv/vvSlicerManager.cxx index c86928f..8bcc290 100644 --- a/vv/vvSlicerManager.cxx +++ b/vv/vvSlicerManager.cxx @@ -418,6 +418,15 @@ void vvSlicerManager::LeftButtonReleaseEvent(int slicer) } //---------------------------------------------------------------------------- + +//---------------------------------------------------------------------------- +void vvSlicerManager::EmitMousePositionUpdated(int slicer) +{ + emit MousePositionUpdatedSignal(slicer); +} +//---------------------------------------------------------------------------- + + //---------------------------------------------------------------------------- void vvSlicerManager::SetSliceOrientation(int slicer, int orientation) { diff --git a/vv/vvSlicerManager.h b/vv/vvSlicerManager.h index 9858d69..e046f9d 100644 --- a/vv/vvSlicerManager.h +++ b/vv/vvSlicerManager.h @@ -199,6 +199,7 @@ class vvSlicerManager : public QObject { void Activated(); void Picked(); void UpdateInfoOnCursorPosition(int slicer); + void EmitMousePositionUpdated(int slicer); void UpdateWindowLevel(); void UpdateSlice(int slicer); void UpdateTSlice(int slicer); @@ -220,6 +221,7 @@ signals : void UpdateVector(int display, double x, double y, double z, double value); void UpdateOverlay(int display, double valueOver, double valueRef); void UpdateFusion(int display, double valueFus); + void MousePositionUpdatedSignal(int slicer); void UpdateOrientation(int slicer, int orientation); void UpdateSlice(int slicer, int slice); void UpdateTSlice(int slicer, int slice); -- 2.47.1