Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[bos #40650][CEA 33012] Beta Law distribution: added a new type of distribution for...
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_TransparencyDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx
b/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx
index 2ecc7d220b34eca1e7e23024e7b8fecea4da93c0..4863b499dec6b1bcd206b8f6a3abf1c8a5f59077 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16 CEA/DEN, EDF R&D
, OPEN CASCADE
+// Copyright (C) 2007-20
24 CEA, EDF
, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-143,7
+143,7
@@
SMESHGUI_TransparencyDlg::SMESHGUI_TransparencyDlg( SMESHGUI* theModule )
connect( mySMESHGUI, SIGNAL( SignalCloseAllDialogs() ), this, SLOT( ClickOnOk() ) );
connect( mySelectionMgr, SIGNAL( currentSelectionChanged() ), this, SLOT( onSelectionChanged() ) );
connect( mySMESHGUI, SIGNAL( SignalCloseAllDialogs() ), this, SLOT( ClickOnOk() ) );
connect( mySelectionMgr, SIGNAL( currentSelectionChanged() ), this, SLOT( onSelectionChanged() ) );
- myHelpFileName = "transparency
_page
.html";
+ myHelpFileName = "transparency.html";
}
//=================================================================================
}
//=================================================================================
@@
-191,13
+191,14
@@
void SMESHGUI_TransparencyDlg::ClickOnHelp()
//=================================================================================
// function : SetTransparency()
// purpose : Called when value of slider change
//=================================================================================
// function : SetTransparency()
// purpose : Called when value of slider change
-// : or the first time as initilisation
+// : or the first time as initi
a
lisation
//=================================================================================
void SMESHGUI_TransparencyDlg::SetTransparency()
{
if ( myViewWindow ) {
SUIT_OverrideCursor wc;
//=================================================================================
void SMESHGUI_TransparencyDlg::SetTransparency()
{
if ( myViewWindow ) {
SUIT_OverrideCursor wc;
- float opacity = ( 100 - Slider1->value() ) / 100.;
+ //float opacity = ( 100.f - Slider1->value() ) / 100.;
+ float opacity = float( 100 - Slider1->value() ) / 100.;
SALOME_ListIO aList;
mySelectionMgr->selectedObjects( aList );
SALOME_ListIO aList;
mySelectionMgr->selectedObjects( aList );