From 262673d109c8b4228271044960f0ae9a1e08153d Mon Sep 17 00:00:00 2001 From: kradchen Date: Tue, 15 Jul 2025 09:35:16 +0800 Subject: [PATCH] feat: disable calibration widget for ruler annotation --- src/src/Rendering/Measure/RulerAnnotationActor.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/src/Rendering/Measure/RulerAnnotationActor.cpp b/src/src/Rendering/Measure/RulerAnnotationActor.cpp index f0e46e5..cbc8fa6 100644 --- a/src/src/Rendering/Measure/RulerAnnotationActor.cpp +++ b/src/src/Rendering/Measure/RulerAnnotationActor.cpp @@ -53,8 +53,6 @@ RulerAnnotationActor::RulerAnnotationActor() //textProperty->SetFrameColor(1.0,0.0,0.0); textProperty->SetBackgroundColor(1.0, 0.0, 0.0); textProperty->SetBackgroundOpacity(0.3); - this->AddObserver(DraggableStyleEvents::RightButtonClickEvent, this, - &RulerAnnotationActor::selfCalibCb); mUnitmm = QCoreApplication::translate("RulerAnnotationActor","mm"); mUnitcm = QCoreApplication::translate("RulerAnnotationActor","cm"); mDistance = QCoreApplication::translate("RulerAnnotationActor","Distance");