From 8e3ff5e3e344de09e902d608c3cb97fa14dd49c6 Mon Sep 17 00:00:00 2001 From: kga Date: Thu, 28 Feb 2013 05:53:40 +0000 Subject: [PATCH] 0021830: [CEA 652] TUI createAndDisplayGO Unify the way of presentation properties handling --- src/GEOMToolsGUI/GEOMToolsGUI_1.cxx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx index 307fced25..1d87448c4 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx @@ -267,9 +267,9 @@ void GEOMToolsGUI::OnColor() if ( window->isVisible( io ) ) displayer.Redisplay( io, false ); } displayer.UpdateViewer(); + GeometryGUI::Modified(); // update actions - appStudy->Modified(); app->updateActions(); //SRN: To update a Save button in the toolbar } @@ -304,9 +304,9 @@ void GEOMToolsGUI::OnTexture() } } displayer.UpdateViewer(); + GeometryGUI::Modified(); // update actions - appStudy->Modified(); app->updateActions(); //SRN: To update a Save button in the toolbar } @@ -358,6 +358,7 @@ void GEOMToolsGUI::OnChangeTransparency( bool increase ) if ( window->isVisible( io ) ) displayer.Redisplay( io, false ); } displayer.UpdateViewer(); + GeometryGUI::Modified(); } void GEOMToolsGUI::OnNbIsos( ActionType actionType ) @@ -427,6 +428,7 @@ void GEOMToolsGUI::OnNbIsos( ActionType actionType ) if ( window->isVisible( io ) ) displayer.Redisplay( io, false ); } displayer.UpdateViewer(); + GeometryGUI::Modified(); } void GEOMToolsGUI::OnDeflection() @@ -467,6 +469,7 @@ void GEOMToolsGUI::OnDeflection() } } displayer.UpdateViewer(); + GeometryGUI::Modified(); } void GEOMToolsGUI::OnSelectOnly(int mode) @@ -660,6 +663,7 @@ void GEOMToolsGUI::OnEdgeWidth() if ( window->isVisible( io ) ) displayer.Redisplay( io, false ); } displayer.UpdateViewer(); + GeometryGUI::Modified(); } @@ -702,6 +706,7 @@ void GEOMToolsGUI::OnIsosWidth() { if ( window->isVisible( io ) ) displayer.Redisplay( io, false ); } displayer.UpdateViewer(); + GeometryGUI::Modified(); } void GEOMToolsGUI::OnBringToFront() { @@ -734,6 +739,7 @@ void GEOMToolsGUI::OnBringToFront() { if ( window->isVisible( io ) ) displayer.Redisplay( io, false ); } displayer.UpdateViewer(); + GeometryGUI::Modified(); } void GEOMToolsGUI::OnClsBringToFront() { @@ -760,6 +766,7 @@ void GEOMToolsGUI::OnClsBringToFront() { } displayer.Redisplay( anIOlst ); displayer.UpdateViewer(); + GeometryGUI::Modified(); } void GEOMToolsGUI::OnSetMaterial( const QVariant& theParam ) -- 2.39.2