mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-18 22:17:55 +05:00
0021830: [CEA 652] TUI createAndDisplayGO
Unify the way of presentation properties handling
This commit is contained in:
parent
12f75c7787
commit
8e3ff5e3e3
@ -267,9 +267,9 @@ void GEOMToolsGUI::OnColor()
|
|||||||
if ( window->isVisible( io ) ) displayer.Redisplay( io, false );
|
if ( window->isVisible( io ) ) displayer.Redisplay( io, false );
|
||||||
}
|
}
|
||||||
displayer.UpdateViewer();
|
displayer.UpdateViewer();
|
||||||
|
GeometryGUI::Modified();
|
||||||
|
|
||||||
// update actions
|
// update actions
|
||||||
appStudy->Modified();
|
|
||||||
app->updateActions(); //SRN: To update a Save button in the toolbar
|
app->updateActions(); //SRN: To update a Save button in the toolbar
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -304,9 +304,9 @@ void GEOMToolsGUI::OnTexture()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
displayer.UpdateViewer();
|
displayer.UpdateViewer();
|
||||||
|
GeometryGUI::Modified();
|
||||||
|
|
||||||
// update actions
|
// update actions
|
||||||
appStudy->Modified();
|
|
||||||
app->updateActions(); //SRN: To update a Save button in the toolbar
|
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 );
|
if ( window->isVisible( io ) ) displayer.Redisplay( io, false );
|
||||||
}
|
}
|
||||||
displayer.UpdateViewer();
|
displayer.UpdateViewer();
|
||||||
|
GeometryGUI::Modified();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GEOMToolsGUI::OnNbIsos( ActionType actionType )
|
void GEOMToolsGUI::OnNbIsos( ActionType actionType )
|
||||||
@ -427,6 +428,7 @@ void GEOMToolsGUI::OnNbIsos( ActionType actionType )
|
|||||||
if ( window->isVisible( io ) ) displayer.Redisplay( io, false );
|
if ( window->isVisible( io ) ) displayer.Redisplay( io, false );
|
||||||
}
|
}
|
||||||
displayer.UpdateViewer();
|
displayer.UpdateViewer();
|
||||||
|
GeometryGUI::Modified();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GEOMToolsGUI::OnDeflection()
|
void GEOMToolsGUI::OnDeflection()
|
||||||
@ -467,6 +469,7 @@ void GEOMToolsGUI::OnDeflection()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
displayer.UpdateViewer();
|
displayer.UpdateViewer();
|
||||||
|
GeometryGUI::Modified();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GEOMToolsGUI::OnSelectOnly(int mode)
|
void GEOMToolsGUI::OnSelectOnly(int mode)
|
||||||
@ -660,6 +663,7 @@ void GEOMToolsGUI::OnEdgeWidth()
|
|||||||
if ( window->isVisible( io ) ) displayer.Redisplay( io, false );
|
if ( window->isVisible( io ) ) displayer.Redisplay( io, false );
|
||||||
}
|
}
|
||||||
displayer.UpdateViewer();
|
displayer.UpdateViewer();
|
||||||
|
GeometryGUI::Modified();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -702,6 +706,7 @@ void GEOMToolsGUI::OnIsosWidth() {
|
|||||||
if ( window->isVisible( io ) ) displayer.Redisplay( io, false );
|
if ( window->isVisible( io ) ) displayer.Redisplay( io, false );
|
||||||
}
|
}
|
||||||
displayer.UpdateViewer();
|
displayer.UpdateViewer();
|
||||||
|
GeometryGUI::Modified();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GEOMToolsGUI::OnBringToFront() {
|
void GEOMToolsGUI::OnBringToFront() {
|
||||||
@ -734,6 +739,7 @@ void GEOMToolsGUI::OnBringToFront() {
|
|||||||
if ( window->isVisible( io ) ) displayer.Redisplay( io, false );
|
if ( window->isVisible( io ) ) displayer.Redisplay( io, false );
|
||||||
}
|
}
|
||||||
displayer.UpdateViewer();
|
displayer.UpdateViewer();
|
||||||
|
GeometryGUI::Modified();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GEOMToolsGUI::OnClsBringToFront() {
|
void GEOMToolsGUI::OnClsBringToFront() {
|
||||||
@ -760,6 +766,7 @@ void GEOMToolsGUI::OnClsBringToFront() {
|
|||||||
}
|
}
|
||||||
displayer.Redisplay( anIOlst );
|
displayer.Redisplay( anIOlst );
|
||||||
displayer.UpdateViewer();
|
displayer.UpdateViewer();
|
||||||
|
GeometryGUI::Modified();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GEOMToolsGUI::OnSetMaterial( const QVariant& theParam )
|
void GEOMToolsGUI::OnSetMaterial( const QVariant& theParam )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user